2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for libjava version-unused.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # Check that we are running under the correct shell.
246 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Remove one level of quotation (which was required for Make).
251 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
256 if test "X$1" = X--no-reexec
; then
257 # Discard the --no-reexec flag, and continue.
259 elif test "X$1" = X--fallback-echo
; then
260 # Avoid inline document here, it may be left over
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo
; then
271 # used as fallback echo
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
281 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
283 if test -z "$lt_ECHO"; then
284 if test "X${echo_test_string+set}" != Xset
; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
289 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
305 # So, first we look for a working echo in the user's PATH.
307 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
308 for dir
in $PATH /usr
/ucb
; do
310 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
320 if test "X$ECHO" = Xecho
; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
327 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL
=/bin
/ksh
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
343 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
349 SHELL
="$CONFIG_SHELL"
351 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
358 # maybe with a smaller string...
361 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string
=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
374 # Oops. We lost completely, so just stick with echo.
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
403 ac_default_prefix
=/usr
/local
404 ac_config_libobj_dir
=.
409 SHELL
=${CONFIG_SHELL-/bin/sh}
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
416 # Identity of this package.
417 PACKAGE_NAME
='libjava'
418 PACKAGE_TARNAME
='libjava'
419 PACKAGE_VERSION
='version-unused'
420 PACKAGE_STRING
='libjava version-unused'
423 ac_unique_file
="java/lang/System.java"
424 # Factoring default headers for most tests.
425 ac_includes_default
="\
428 # include <sys/types.h>
431 # include <sys/stat.h>
442 # if !STDC_HEADERS && HAVE_MEMORY_H
448 # include <strings.h>
451 # include <inttypes.h>
461 ac_subdirs_all
="$ac_subdirs_all classpath libltdl"
462 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 build_libsubdir build_subdir host_subdir target_subdir multi_basedir host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical LN_S mkinstalldirs JAVA_MAINTAINER_MODE_TRUE JAVA_MAINTAINER_MODE_FALSE CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LDFLAGS 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 DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE AS ac_ct_AS LD ac_ct_LD AR ac_ct_AR RANLIB ac_ct_RANLIB JAR ZIP UNZIP MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBGCJ_CFLAGS LIBGCJ_CXXFLAGS LIBGCJ_JAVAFLAGS LIBGCJ_LD_SYMBOLIC LIBGCJ_LD_SYMBOLIC_FUNCTIONS LIBGCJDEBUG TOOLKIT XLIB_AWT_TRUE XLIB_AWT_FALSE X_AWT_TRUE X_AWT_FALSE GCJ_FOR_ECJX GCJH host_exeext INCLTDL LIBLTDL DIRLTDL LIBTOOL SED EGREP FGREP GREP DUMPBIN ac_ct_DUMPBIN NM lt_ECHO CPP CPPFLAGS CXXCPP GCJ GCJFLAGS GCJDEPMODE am__fastdepGCJ_TRUE am__fastdepGCJ_FALSE subdirs TESTSUBDIR_TRUE TESTSUBDIR_FALSE ECJ_BUILD_JAR ECJ_JAR BUILD_ECJ1_TRUE BUILD_ECJ1_FALSE INSTALL_ECJ_JAR_TRUE INSTALL_ECJ_JAR_FALSE JAVA_HOME_SET_TRUE JAVA_HOME_SET_FALSE JAVA_HOME SUPPRESS_LIBGCJ_BC_TRUE SUPPRESS_LIBGCJ_BC_FALSE INTERPRETER INTERPRETER_TRUE INTERPRETER_FALSE LIBFFI LIBFFIINCS PLATFORM USING_WIN32_PLATFORM_TRUE USING_WIN32_PLATFORM_FALSE USING_POSIX_PLATFORM_TRUE USING_POSIX_PLATFORM_FALSE USING_DARWIN_CRT_TRUE USING_DARWIN_CRT_FALSE SYSTEMSPEC ZLIBSPEC ZLIBTESTSPEC X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS extra_ldflags_libjava extra_gij_ldflags extra_ldflags LIBSTDCXXSPEC LIBGCJTESTSPEC GCLIBS GCINCS GCDEPS GCSPEC JC1GCSPEC GCTESTSPEC USING_BOEHMGC_TRUE USING_BOEHMGC_FALSE USING_NOGC_TRUE USING_NOGC_FALSE THREADLIBS THREADINCS THREADDEPS THREADSPEC THREADSTARTFILESPEC THREADLDFLAGS THREADCXXFLAGS USING_POSIX_THREADS_TRUE USING_POSIX_THREADS_FALSE USING_WIN32_THREADS_TRUE USING_WIN32_THREADS_FALSE USING_NO_THREADS_TRUE USING_NO_THREADS_FALSE USE_LIBGCJ_BC_TRUE USE_LIBGCJ_BC_FALSE LIBGCJ_SPEC HASH_SYNC_SPEC USING_GCC_TRUE USING_GCC_FALSE LIBICONV LTLIBICONV PKG_CONFIG GTK_CFLAGS GTK_LIBS GLIB_CFLAGS GLIB_LIBS LIBART_CFLAGS LIBART_LIBS CLASSPATH_SEPARATOR ZLIBS SYS_ZLIBS ZINCS DIVIDESPEC CHECKREFSPEC EXCEPTIONSPEC BACKTRACESPEC IEEESPEC NATIVE_TRUE NATIVE_FALSE ENABLE_SHARED_TRUE ENABLE_SHARED_FALSE NEEDS_DATA_START_TRUE NEEDS_DATA_START_FALSE GCC_UNWIND_INCLUDE toolexecdir toolexecmainlibdir toolexeclibdir GCJVERSION dbexecdir gcjsubdir gxx_include_dir libstdcxx_incdir PERL SYSDEP_SOURCES ANONVERSCRIPT_TRUE ANONVERSCRIPT_FALSE LD_START_STATIC_SPEC LD_FINISH_STATIC_SPEC here python_mod_dir python_mod_dir_expanded MAKE INSTALL_AOT_RPM_TRUE INSTALL_AOT_RPM_FALSE CREATE_JAVA_HOME_TRUE CREATE_JAVA_HOME_FALSE gcc_suffix JAVA_VERSION BUILD_VERSION JVM_ROOT_DIR JVM_JAR_ROOT_DIR JVM_JAR_DIR JRE_DIR SDK_DIR JRE_LNK SDK_LNK SDK_BIN_DIR SDK_LIB_DIR SDK_INCLUDE_DIR JRE_BIN_DIR JRE_LIB_DIR GCJ_BIN_DIR CPU OS LIBDIR LIBOBJS LTLIBOBJS'
466 # Initialize some variables set by options.
468 ac_init_version
=false
469 # The variables have the same names as the options, with
470 # dashes changed to underlines.
478 program_transform_name
=s
,x
,x
,
486 # Installation directory options.
487 # These are left unexpanded so users can "make install exec_prefix=/foo"
488 # and all the variables that are supposed to be based on exec_prefix
489 # by default will actually change.
490 # Use braces instead of parens because sh, perl, etc. also accept them.
491 bindir
='${exec_prefix}/bin'
492 sbindir
='${exec_prefix}/sbin'
493 libexecdir
='${exec_prefix}/libexec'
494 datadir
='${prefix}/share'
495 sysconfdir
='${prefix}/etc'
496 sharedstatedir
='${prefix}/com'
497 localstatedir
='${prefix}/var'
498 libdir
='${exec_prefix}/lib'
499 includedir
='${prefix}/include'
500 oldincludedir
='/usr/include'
501 infodir
='${prefix}/info'
502 mandir
='${prefix}/man'
507 # If the previous option needs an argument, assign it.
508 if test -n "$ac_prev"; then
509 eval "$ac_prev=\$ac_option"
514 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
516 # Accept the important Cygnus configure options, so we can diagnose typos.
520 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
522 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
525 -build |
--build |
--buil |
--bui |
--bu)
526 ac_prev
=build_alias
;;
527 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
528 build_alias
=$ac_optarg ;;
530 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
531 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
532 ac_prev
=cache_file
;;
533 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
534 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
535 cache_file
=$ac_optarg ;;
538 cache_file
=config.cache
;;
540 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
542 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
544 datadir
=$ac_optarg ;;
546 -disable-* |
--disable-*)
547 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
548 # Reject names that are not valid shell variable names.
549 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
550 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
551 { (exit 1); exit 1; }; }
552 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
553 eval "enable_$ac_feature=no" ;;
555 -enable-* |
--enable-*)
556 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
557 # Reject names that are not valid shell variable names.
558 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
559 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
560 { (exit 1); exit 1; }; }
561 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
563 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
566 eval "enable_$ac_feature='$ac_optarg'" ;;
568 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
569 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
570 |
--exec |
--exe |
--ex)
571 ac_prev
=exec_prefix
;;
572 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
573 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
574 |
--exec=* |
--exe=* |
--ex=*)
575 exec_prefix
=$ac_optarg ;;
577 -gas |
--gas |
--ga |
--g)
578 # Obsolete; use --with-gas.
581 -help |
--help |
--hel |
--he |
-h)
583 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
584 ac_init_help
=recursive
;;
585 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
586 ac_init_help
=short
;;
588 -host |
--host |
--hos |
--ho)
589 ac_prev
=host_alias
;;
590 -host=* |
--host=* |
--hos=* |
--ho=*)
591 host_alias
=$ac_optarg ;;
593 -includedir |
--includedir |
--includedi |
--included |
--include \
594 |
--includ |
--inclu |
--incl |
--inc)
595 ac_prev
=includedir
;;
596 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
597 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
598 includedir
=$ac_optarg ;;
600 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
602 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
603 infodir
=$ac_optarg ;;
605 -libdir |
--libdir |
--libdi |
--libd)
607 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
610 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
611 |
--libexe |
--libex |
--libe)
612 ac_prev
=libexecdir
;;
613 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
614 |
--libexe=* |
--libex=* |
--libe=*)
615 libexecdir
=$ac_optarg ;;
617 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
618 |
--localstate |
--localstat |
--localsta |
--localst \
619 |
--locals |
--local |
--loca |
--loc |
--lo)
620 ac_prev
=localstatedir
;;
621 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
622 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
623 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
624 localstatedir
=$ac_optarg ;;
626 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
628 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
632 # Obsolete; use --without-fp.
635 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
636 |
--no-cr |
--no-c |
-n)
639 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
640 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
643 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
644 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
645 |
--oldin |
--oldi |
--old |
--ol |
--o)
646 ac_prev
=oldincludedir
;;
647 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
648 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
649 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
650 oldincludedir
=$ac_optarg ;;
652 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
654 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
657 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
658 |
--program-pre |
--program-pr |
--program-p)
659 ac_prev
=program_prefix
;;
660 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
661 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
662 program_prefix
=$ac_optarg ;;
664 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
665 |
--program-suf |
--program-su |
--program-s)
666 ac_prev
=program_suffix
;;
667 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
668 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
669 program_suffix
=$ac_optarg ;;
671 -program-transform-name |
--program-transform-name \
672 |
--program-transform-nam |
--program-transform-na \
673 |
--program-transform-n |
--program-transform- \
674 |
--program-transform |
--program-transfor \
675 |
--program-transfo |
--program-transf \
676 |
--program-trans |
--program-tran \
677 |
--progr-tra |
--program-tr |
--program-t)
678 ac_prev
=program_transform_name
;;
679 -program-transform-name=* |
--program-transform-name=* \
680 |
--program-transform-nam=* |
--program-transform-na=* \
681 |
--program-transform-n=* |
--program-transform-=* \
682 |
--program-transform=* |
--program-transfor=* \
683 |
--program-transfo=* |
--program-transf=* \
684 |
--program-trans=* |
--program-tran=* \
685 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
686 program_transform_name
=$ac_optarg ;;
688 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
689 |
-silent |
--silent |
--silen |
--sile |
--sil)
692 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
694 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
696 sbindir
=$ac_optarg ;;
698 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
699 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
700 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
702 ac_prev
=sharedstatedir
;;
703 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
704 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
705 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
707 sharedstatedir
=$ac_optarg ;;
709 -site |
--site |
--sit)
711 -site=* |
--site=* |
--sit=*)
714 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
716 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
719 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
720 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
721 ac_prev
=sysconfdir
;;
722 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
723 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
724 sysconfdir
=$ac_optarg ;;
726 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
727 ac_prev
=target_alias
;;
728 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
729 target_alias
=$ac_optarg ;;
731 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
734 -version |
--version |
--versio |
--versi |
--vers |
-V)
738 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
739 # Reject names that are not valid shell variable names.
740 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
741 { echo "$as_me: error: invalid package name: $ac_package" >&2
742 { (exit 1); exit 1; }; }
743 ac_package
=`echo $ac_package| sed 's/-/_/g'`
745 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
748 eval "with_$ac_package='$ac_optarg'" ;;
750 -without-* |
--without-*)
751 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
752 # Reject names that are not valid shell variable names.
753 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
754 { echo "$as_me: error: invalid package name: $ac_package" >&2
755 { (exit 1); exit 1; }; }
756 ac_package
=`echo $ac_package | sed 's/-/_/g'`
757 eval "with_$ac_package=no" ;;
760 # Obsolete; use --with-x.
763 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
764 |
--x-incl |
--x-inc |
--x-in |
--x-i)
765 ac_prev
=x_includes
;;
766 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
767 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
768 x_includes
=$ac_optarg ;;
770 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
771 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
772 ac_prev
=x_libraries
;;
773 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
774 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
775 x_libraries
=$ac_optarg ;;
777 -*) { echo "$as_me: error: unrecognized option: $ac_option
778 Try \`$0 --help' for more information." >&2
779 { (exit 1); exit 1; }; }
783 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
784 # Reject names that are not valid shell variable names.
785 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
786 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
787 { (exit 1); exit 1; }; }
788 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
789 eval "$ac_envvar='$ac_optarg'"
793 # FIXME: should be removed in autoconf 3.0.
794 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
795 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
796 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
797 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
803 if test -n "$ac_prev"; then
804 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
805 { echo "$as_me: error: missing argument to $ac_option" >&2
806 { (exit 1); exit 1; }; }
809 # Be sure to have absolute paths.
810 for ac_var
in exec_prefix prefix
812 eval ac_val
=$
`echo $ac_var`
814 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
815 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
816 { (exit 1); exit 1; }; };;
820 # Be sure to have absolute paths.
821 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
822 localstatedir libdir includedir oldincludedir infodir mandir
824 eval ac_val
=$
`echo $ac_var`
826 [\\/$
]* | ?
:[\\/]* ) ;;
827 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
828 { (exit 1); exit 1; }; };;
832 # There might be people who depend on the old broken behavior: `$host'
833 # used to hold the argument of --host etc.
834 # FIXME: To remove some day.
839 # FIXME: To remove some day.
840 if test "x$host_alias" != x
; then
841 if test "x$build_alias" = x
; then
842 cross_compiling
=maybe
843 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
844 If a cross compiler is detected then cross compile mode will be used." >&2
845 elif test "x$build_alias" != "x$host_alias"; then
851 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
853 test "$silent" = yes && exec 6>/dev
/null
856 # Find the source files, if location was not specified.
857 if test -z "$srcdir"; then
858 ac_srcdir_defaulted
=yes
859 # Try the directory containing this script, then its parent.
860 ac_confdir
=`(dirname "$0") 2>/dev/null ||
861 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
862 X"$0" : 'X\(//\)[^/]' \| \
863 X"$0" : 'X\(//\)$' \| \
864 X"$0" : 'X\(/\)' \| \
865 . : '\(.\)' 2>/dev/null ||
867 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
868 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
869 /^X\(\/\/\)$/{ s//\1/; q; }
870 /^X\(\/\).*/{ s//\1/; q; }
873 if test ! -r $srcdir/$ac_unique_file; then
877 ac_srcdir_defaulted
=no
879 if test ! -r $srcdir/$ac_unique_file; then
880 if test "$ac_srcdir_defaulted" = yes; then
881 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
882 { (exit 1); exit 1; }; }
884 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
885 { (exit 1); exit 1; }; }
888 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
889 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
890 { (exit 1); exit 1; }; }
891 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
892 ac_env_build_alias_set
=${build_alias+set}
893 ac_env_build_alias_value
=$build_alias
894 ac_cv_env_build_alias_set
=${build_alias+set}
895 ac_cv_env_build_alias_value
=$build_alias
896 ac_env_host_alias_set
=${host_alias+set}
897 ac_env_host_alias_value
=$host_alias
898 ac_cv_env_host_alias_set
=${host_alias+set}
899 ac_cv_env_host_alias_value
=$host_alias
900 ac_env_target_alias_set
=${target_alias+set}
901 ac_env_target_alias_value
=$target_alias
902 ac_cv_env_target_alias_set
=${target_alias+set}
903 ac_cv_env_target_alias_value
=$target_alias
904 ac_env_CPP_set
=${CPP+set}
905 ac_env_CPP_value
=$CPP
906 ac_cv_env_CPP_set
=${CPP+set}
907 ac_cv_env_CPP_value
=$CPP
908 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
909 ac_env_CPPFLAGS_value
=$CPPFLAGS
910 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
911 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
912 ac_env_CXX_set
=${CXX+set}
913 ac_env_CXX_value
=$CXX
914 ac_cv_env_CXX_set
=${CXX+set}
915 ac_cv_env_CXX_value
=$CXX
916 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
917 ac_env_CXXFLAGS_value
=$CXXFLAGS
918 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
919 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
920 ac_env_LDFLAGS_set
=${LDFLAGS+set}
921 ac_env_LDFLAGS_value
=$LDFLAGS
922 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
923 ac_cv_env_LDFLAGS_value
=$LDFLAGS
924 ac_env_CXXCPP_set
=${CXXCPP+set}
925 ac_env_CXXCPP_value
=$CXXCPP
926 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
927 ac_cv_env_CXXCPP_value
=$CXXCPP
930 # Report the --help message.
932 if test "$ac_init_help" = "long"; then
933 # Omit some internal or obsolete options to make the list less imposing.
934 # This message is too long to be a string in the A/UX 3.1 sh.
936 \`configure' configures libjava version-unused to adapt to many kinds of systems.
938 Usage: $0 [OPTION]... [VAR=VALUE]...
940 To assign environment variables (e.g., CC, CFLAGS...), specify them as
941 VAR=VALUE. See below for descriptions of some of the useful variables.
943 Defaults for the options are specified in brackets.
946 -h, --help display this help and exit
947 --help=short display options specific to this package
948 --help=recursive display the short help of all the included packages
949 -V, --version display version information and exit
950 -q, --quiet, --silent do not print \`checking...' messages
951 --cache-file=FILE cache test results in FILE [disabled]
952 -C, --config-cache alias for \`--cache-file=config.cache'
953 -n, --no-create do not create output files
954 --srcdir=DIR find the sources in DIR [configure dir or \`..']
959 Installation directories:
960 --prefix=PREFIX install architecture-independent files in PREFIX
962 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
965 By default, \`make install' will install all the files in
966 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
967 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
968 for instance \`--prefix=\$HOME'.
970 For better control, use the options below.
972 Fine tuning of the installation directories:
973 --bindir=DIR user executables [EPREFIX/bin]
974 --sbindir=DIR system admin executables [EPREFIX/sbin]
975 --libexecdir=DIR program executables [EPREFIX/libexec]
976 --datadir=DIR read-only architecture-independent data [PREFIX/share]
977 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
978 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
979 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
980 --libdir=DIR object code libraries [EPREFIX/lib]
981 --includedir=DIR C header files [PREFIX/include]
982 --oldincludedir=DIR C header files for non-gcc [/usr/include]
983 --infodir=DIR info documentation [PREFIX/info]
984 --mandir=DIR man documentation [PREFIX/man]
990 --program-prefix=PREFIX prepend PREFIX to installed program names
991 --program-suffix=SUFFIX append SUFFIX to installed program names
992 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
995 --x-includes=DIR X include files are
in DIR
996 --x-libraries=DIR X library files are
in DIR
999 --build=BUILD configure
for building on BUILD
[guessed
]
1000 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1001 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1005 if test -n "$ac_init_help"; then
1006 case $ac_init_help in
1007 short | recursive
) echo "Configuration of libjava version-unused:";;
1012 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1013 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1014 --enable-multilib build many library versions
(default
)
1015 --enable-version-specific-runtime-libs
1016 specify that runtime libraries should be installed
1017 in a compiler-specific directory
1018 --enable-plugin build gcjwebplugin web browser plugin
1019 --enable-gconf-peer compile GConf native peers
for util.preferences
1020 --enable-java-maintainer-mode
1021 allow rebuilding of .class and .h files
1022 --disable-dependency-tracking speeds up one-time build
1023 --enable-dependency-tracking do not reject slow dependency extractors
1024 --enable-maintainer-mode enable make rules and dependencies not useful
1025 (and sometimes confusing
) to the casual installer
1026 --enable-libgcj-debug enable runtime debugging code
1027 --enable-java-awt list of AWT peer implementations to be built
1028 --enable-shared[=PKGS
]
1029 build shared libraries
[default
=yes]
1030 --enable-static[=PKGS
]
1031 build static libraries
[default
=yes]
1032 --enable-fast-install[=PKGS
]
1033 optimize
for fast installation
[default
=yes]
1034 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1035 --disable-getenv-properties
1036 don
't set system properties from GCJ_PROPERTIES
1037 --enable-hash-synchronization
1038 use global hash table for monitor locks
1039 --enable-libgcj-bc enable(default) or disable BC ABI for portions of
1041 --enable-gc-debug include full support for pointer backtracing etc.
1042 --enable-interpreter enable interpreter
1043 --enable-sjlj-exceptions
1044 force use of builtin_setjmp for exceptions
1045 --disable-java-net disable java.net
1046 --disable-jvmpi disable JVMPI support
1047 --enable-java-gc=TYPE choose garbage collector (default is boehm)
1048 --disable-rpath do not hardcode runtime library paths
1049 --enable-tls Use thread-local storage [default=yes]
1050 --enable-aot-compile-rpm
1051 enable installation of aot-compile-rpm [default=no]
1052 --enable-java-home create a standard JDK-style directory layout in the
1053 install tree [default=no]
1056 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1057 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1058 --with-build-libsubdir=DIR Directory where to find libraries for build system
1059 --with-target-subdir=SUBDIR
1060 configure in a subdirectory
1061 --with-cross-host=HOST configure with a cross compiler from HOST
1062 --with-newlib configure with newlib
1063 --with-escher=ABS.PATH specify path to escher dir or JAR for X peers
1064 --with-pic try to use only PIC/non-PIC objects [default=use
1066 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1067 --with-ecj-jar=FILE use preinstalled ecj jar
1068 --with-java-home=DIRECTORY
1069 value of java.home system property
1070 --with-win32-nlsapi=ansi or unicows or unicode
1071 native MinGW libgcj Win32 OS API (default is ansi)
1072 --without-libffi don't use libffi
1073 --with-ecos enable runtime eCos target support
1074 --with-system-zlib use installed libz
1075 --with-x use the X Window System
1076 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1077 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1078 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1079 --with-python-dir the location to install Python modules. This path
1080 should NOT include the prefix.
1081 --with-gcc-suffix the GCC tool suffix (defaults to empty string)
1082 --with-arch-directory the arch directory under jre/lib (defaults to
1084 --with-os-directory the os directory under include (defaults to
1086 --with-origin-name the JPackage origin name of this package (default is
1088 --with-arch-suffix the arch directory suffix (default is the empty
1090 --with-jvm-root-dir where to install SDK (default is ${prefix}/lib/jvm)
1091 --with-jvm-jar-dir where to install jars (default is
1092 ${prefix}/lib/jvm-exports)
1094 Some influential environment variables:
1095 CC C compiler command
1096 CFLAGS C compiler flags
1097 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1098 nonstandard directory <lib dir>
1099 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1100 headers in a nonstandard directory <include dir>
1101 CXX C++ compiler command
1102 CXXFLAGS C++ compiler flags
1104 CXXCPP C++ preprocessor
1106 Use these variables to override the choices made by `configure' or to
help
1107 it to
find libraries and programs with nonstandard names
/locations.
1112 if test "$ac_init_help" = "recursive"; then
1113 # If there are subdirs, report their specific --help.
1115 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1116 test -d $ac_dir ||
continue
1119 if test "$ac_dir" != .
; then
1120 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1121 # A "../" for each directory in $ac_dir_suffix.
1122 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1124 ac_dir_suffix
= ac_top_builddir
=
1128 .
) # No --srcdir option. We are building in place.
1130 if test -z "$ac_top_builddir"; then
1133 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1135 [\\/]* | ?
:[\\/]* ) # Absolute path.
1136 ac_srcdir
=$srcdir$ac_dir_suffix;
1137 ac_top_srcdir
=$srcdir ;;
1139 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1140 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1143 # Do not use `cd foo && pwd` to compute absolute paths, because
1144 # the directories may not exist.
1146 .
) ac_abs_builddir
="$ac_dir";;
1149 .
) ac_abs_builddir
=`pwd`;;
1150 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1151 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1154 case $ac_abs_builddir in
1155 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1157 case ${ac_top_builddir}.
in
1158 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1159 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1160 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1163 case $ac_abs_builddir in
1164 .
) ac_abs_srcdir
=$ac_srcdir;;
1167 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1168 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1169 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1172 case $ac_abs_builddir in
1173 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1175 case $ac_top_srcdir in
1176 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1177 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1178 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1183 # Check for guested configure; otherwise get Cygnus style configure.
1184 if test -f $ac_srcdir/configure.gnu
; then
1186 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1187 elif test -f $ac_srcdir/configure
; then
1189 $SHELL $ac_srcdir/configure
--help=recursive
1190 elif test -f $ac_srcdir/configure.ac ||
1191 test -f $ac_srcdir/configure.
in; then
1193 $ac_configure --help
1195 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1201 test -n "$ac_init_help" && exit 0
1202 if $ac_init_version; then
1204 libjava configure version-unused
1205 generated by GNU Autoconf
2.59
1207 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1208 This configure
script is free software
; the Free Software Foundation
1209 gives unlimited permission to copy
, distribute and modify it.
1215 This file contains any messages produced by compilers while
1216 running configure, to aid debugging if configure makes a mistake.
1218 It was created by libjava $as_me version-unused, which was
1219 generated by GNU Autoconf 2.59. Invocation command line was
1230 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1231 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1232 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1233 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1234 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1236 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1237 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1239 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1240 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1241 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1242 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1243 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1244 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1245 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1253 test -z "$as_dir" && as_dir
=.
1254 echo "PATH: $as_dir"
1269 # Keep a trace of the command line.
1270 # Strip out --no-create and --no-recursion so they do not pile up.
1271 # Strip out --silent because we don't want to record it for future runs.
1272 # Also quote any args containing shell meta-characters.
1273 # Make two passes to allow for proper duplicate-argument suppression.
1278 ac_must_keep_next
=false
1284 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1285 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1286 |
-silent |
--silent |
--silen |
--sile |
--sil)
1288 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1289 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1292 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1294 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1295 if test $ac_must_keep_next = true
; then
1296 ac_must_keep_next
=false
# Got value, back to normal.
1299 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1300 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1301 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1302 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1303 case "$ac_configure_args0 " in
1304 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1307 -* ) ac_must_keep_next
=true
;;
1310 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1311 # Get rid of the leading space.
1317 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1318 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1320 # When interrupted or exit'd, cleanup temporary files, and complete
1321 # config.log. We remove comments because anyway the quotes in there
1322 # would cause problems or look ugly.
1323 # WARNING: Be sure not to use single quotes in there, as some shells,
1324 # such as our DU 5.0 friend, will then `close' the trap.
1325 trap 'exit_status=$?
1326 # Save into config.log some information that might help in debugging.
1331 ## ---------------- ##
1332 ## Cache variables. ##
1333 ## ---------------- ##
1336 # The following way of writing the cache mishandles newlines in values,
1339 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1342 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1343 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1347 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1354 ## ----------------- ##
1355 ## Output variables. ##
1356 ## ----------------- ##
1359 for ac_var in $ac_subst_vars
1361 eval ac_val=$`echo $ac_var`
1362 echo "$ac_var='"'"'$ac_val'"'"'"
1366 if test -n "$ac_subst_files"; then
1373 for ac_var in $ac_subst_files
1375 eval ac_val=$`echo $ac_var`
1376 echo "$ac_var='"'"'$ac_val'"'"'"
1381 if test -s confdefs.h; then
1388 sed "/^$/d" confdefs.h | sort
1391 test "$ac_signal" != 0 &&
1392 echo "$as_me: caught signal $ac_signal"
1393 echo "$as_me: exit $exit_status"
1395 rm -f core *.core &&
1396 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1399 for ac_signal
in 1 2 13 15; do
1400 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1404 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1405 rm -rf conftest
* confdefs.h
1406 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1409 # Predefined preprocessor variables.
1411 cat >>confdefs.h
<<_ACEOF
1412 #define PACKAGE_NAME "$PACKAGE_NAME"
1416 cat >>confdefs.h
<<_ACEOF
1417 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1421 cat >>confdefs.h
<<_ACEOF
1422 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1426 cat >>confdefs.h
<<_ACEOF
1427 #define PACKAGE_STRING "$PACKAGE_STRING"
1431 cat >>confdefs.h
<<_ACEOF
1432 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1436 # Let the site file select an alternate cache file if it wants to.
1437 # Prefer explicitly selected file to automatically selected ones.
1438 if test -z "$CONFIG_SITE"; then
1439 if test "x$prefix" != xNONE
; then
1440 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1442 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1445 for ac_site_file
in $CONFIG_SITE; do
1446 if test -r "$ac_site_file"; then
1447 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1448 echo "$as_me: loading site script $ac_site_file" >&6;}
1449 sed 's/^/| /' "$ac_site_file" >&5
1454 if test -r "$cache_file"; then
1455 # Some versions of bash will fail to source /dev/null (special
1456 # files actually), so we avoid doing that.
1457 if test -f "$cache_file"; then
1458 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1459 echo "$as_me: loading cache $cache_file" >&6;}
1461 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1462 *) . .
/$cache_file;;
1466 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1467 echo "$as_me: creating cache $cache_file" >&6;}
1471 # Check that the precious variables saved in the cache have kept the same
1473 ac_cache_corrupted
=false
1474 for ac_var
in `(set) 2>&1 |
1475 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1476 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1477 eval ac_new_set
=\
$ac_env_${ac_var}_set
1478 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1479 eval ac_new_val
="\$ac_env_${ac_var}_value"
1480 case $ac_old_set,$ac_new_set in
1482 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1483 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1484 ac_cache_corrupted
=: ;;
1486 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1487 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1488 ac_cache_corrupted
=: ;;
1491 if test "x$ac_old_val" != "x$ac_new_val"; then
1492 # differences in whitespace do not lead to failure.
1493 ac_old_val_w
=`echo x $ac_old_val`
1494 ac_new_val_w
=`echo x $ac_new_val`
1495 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1496 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1497 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1498 ac_cache_corrupted
=:
1500 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1501 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1502 eval $ac_var=\
$ac_old_val
1504 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1505 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1506 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1507 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1510 # Pass precious variables to config.status.
1511 if test "$ac_new_set" = set; then
1513 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1514 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1515 *) ac_arg
=$ac_var=$ac_new_val ;;
1517 case " $ac_configure_args " in
1518 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1519 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1523 if $ac_cache_corrupted; then
1524 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1525 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1526 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1527 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1528 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1529 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1530 { (exit 1); exit 1; }; }
1534 ac_cpp
='$CPP $CPPFLAGS'
1535 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1536 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1537 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1572 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1573 if test -f $ac_dir/install-sh
; then
1575 ac_install_sh
="$ac_aux_dir/install-sh -c"
1577 elif test -f $ac_dir/install.sh
; then
1579 ac_install_sh
="$ac_aux_dir/install.sh -c"
1581 elif test -f $ac_dir/shtool
; then
1583 ac_install_sh
="$ac_aux_dir/shtool install -c"
1587 if test -z "$ac_aux_dir"; then
1588 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1589 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1590 { (exit 1); exit 1; }; }
1592 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1593 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1594 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1596 # Make sure we can run config.sub.
1597 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1598 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1599 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1600 { (exit 1); exit 1; }; }
1602 echo "$as_me:$LINENO: checking build system type" >&5
1603 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1604 if test "${ac_cv_build+set}" = set; then
1605 echo $ECHO_N "(cached) $ECHO_C" >&6
1607 ac_cv_build_alias
=$build_alias
1608 test -z "$ac_cv_build_alias" &&
1609 ac_cv_build_alias
=`$ac_config_guess`
1610 test -z "$ac_cv_build_alias" &&
1611 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1612 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1613 { (exit 1); exit 1; }; }
1614 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1615 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1616 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1617 { (exit 1); exit 1; }; }
1620 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1621 echo "${ECHO_T}$ac_cv_build" >&6
1623 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1624 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1625 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1628 case ${build_alias} in
1629 "") build_noncanonical
=${build} ;;
1630 *) build_noncanonical
=${build_alias} ;;
1633 case ${host_alias} in
1634 "") host_noncanonical
=${build_noncanonical} ;;
1635 *) host_noncanonical
=${host_alias} ;;
1638 case ${target_alias} in
1639 "") target_noncanonical
=${host_noncanonical} ;;
1640 *) target_noncanonical
=${target_alias} ;;
1644 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1645 # have matching libraries, they should use host libraries: Makefile.tpl
1646 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1647 # However, they still use the build modules, because the corresponding
1648 # host modules (e.g. bison) are only built for the host when bootstrap
1650 # - build_subdir is where we find build modules, and never changes.
1651 # - build_libsubdir is where we find build libraries, and can be overridden.
1653 # Prefix 'build-' so this never conflicts with target_subdir.
1654 build_subdir
="build-${build_noncanonical}"
1656 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1657 if test "${with_build_libsubdir+set}" = set; then
1658 withval
="$with_build_libsubdir"
1659 build_libsubdir
="$withval"
1661 build_libsubdir
="$build_subdir"
1663 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1664 if ( test $srcdir = .
&& test -d gcc
) \
1665 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1666 host_subdir
="host-${host_noncanonical}"
1671 target_subdir
=${target_noncanonical}
1674 # We use these options to decide which functions to include.
1676 # Check whether --with-target-subdir or --without-target-subdir was given.
1677 if test "${with_target_subdir+set}" = set; then
1678 withval
="$with_target_subdir"
1682 # We may get other options which we don't document:
1683 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1685 # Find the rest of the source tree framework.
1686 # Default to --enable-multilib
1687 # Check whether --enable-multilib or --disable-multilib was given.
1688 if test "${enable_multilib+set}" = set; then
1689 enableval
="$enable_multilib"
1690 case "$enableval" in
1691 yes) multilib
=yes ;;
1693 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1694 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1695 { (exit 1); exit 1; }; } ;;
1701 # We may get other options which we leave undocumented:
1702 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1703 # See config-ml.in if you want the gory details.
1705 if test "$srcdir" = "."; then
1706 if test "$with_target_subdir" != "."; then
1707 multi_basedir
="$srcdir/$with_multisrctop../.."
1709 multi_basedir
="$srcdir/$with_multisrctop.."
1712 multi_basedir
="$srcdir/.."
1716 # Even if the default multilib is not a cross compilation,
1717 # it may be that some of the other multilibs are.
1718 if test $cross_compiling = no
&& test $multilib = yes \
1719 && test "x${with_multisubdir}" != x
; then
1720 cross_compiling
=maybe
1723 ac_config_commands
="$ac_config_commands default-1"
1726 echo "$as_me:$LINENO: checking host system type" >&5
1727 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1728 if test "${ac_cv_host+set}" = set; then
1729 echo $ECHO_N "(cached) $ECHO_C" >&6
1731 ac_cv_host_alias
=$host_alias
1732 test -z "$ac_cv_host_alias" &&
1733 ac_cv_host_alias
=$ac_cv_build_alias
1734 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1735 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1736 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1737 { (exit 1); exit 1; }; }
1740 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1741 echo "${ECHO_T}$ac_cv_host" >&6
1743 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1744 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1745 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1748 echo "$as_me:$LINENO: checking target system type" >&5
1749 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1750 if test "${ac_cv_target+set}" = set; then
1751 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 ac_cv_target_alias
=$target_alias
1754 test "x$ac_cv_target_alias" = "x" &&
1755 ac_cv_target_alias
=$ac_cv_host_alias
1756 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1757 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1758 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1759 { (exit 1); exit 1; }; }
1762 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1763 echo "${ECHO_T}$ac_cv_target" >&6
1764 target
=$ac_cv_target
1765 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1766 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1767 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1770 # The aliases save the names the user supplied, while $host etc.
1771 # will get canonicalized.
1772 test -n "$target_alias" &&
1773 test "$program_prefix$program_suffix$program_transform_name" = \
1775 program_prefix
=${target_alias}-
1776 case ${build_alias} in
1777 "") build_noncanonical
=${build} ;;
1778 *) build_noncanonical
=${build_alias} ;;
1781 case ${target_alias} in
1782 "") target_noncanonical
=${host_noncanonical} ;;
1783 *) target_noncanonical
=${target_alias} ;;
1789 # This works around the fact that libtool configuration may change LD
1790 # for this particular configuration, but some shells, instead of
1791 # keeping the changes in LD private, export them just because LD is
1793 ORIGINAL_LD_FOR_MULTILIBS
=$LD
1795 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1796 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1798 if test "$LN_S" = "ln -s"; then
1799 echo "$as_me:$LINENO: result: yes" >&5
1800 echo "${ECHO_T}yes" >&6
1802 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1803 echo "${ECHO_T}no, using $LN_S" >&6
1807 # This works around an automake problem.
1808 mkinstalldirs
="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
1812 # Check whether --with-cross-host or --without-cross-host was given.
1813 if test "${with_cross_host+set}" = set; then
1814 withval
="$with_cross_host"
1819 # Check whether --with-newlib or --without-newlib was given.
1820 if test "${with_newlib+set}" = set; then
1821 withval
="$with_newlib"
1825 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1826 if test "${enable_version_specific_runtime_libs+set}" = set; then
1827 enableval
="$enable_version_specific_runtime_libs"
1828 case "$enableval" in
1829 yes) version_specific_libs
=yes ;;
1830 no
) version_specific_libs
=no
;;
1831 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1832 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1833 { (exit 1); exit 1; }; };;
1836 version_specific_libs
=no
1840 # Check whether --enable-plugin or --disable-plugin was given.
1841 if test "${enable_plugin+set}" = set; then
1842 enableval
="$enable_plugin"
1843 case "$enableval" in
1844 yes) plugin_enabled
=yes ;;
1845 no
) plugin_enabled
=no
;;
1846 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable plugin" >&5
1847 echo "$as_me: error: Unknown argument to enable/disable plugin" >&2;}
1848 { (exit 1); exit 1; }; };;
1855 # Check whether --enable-gconf-peer or --disable-gconf-peer was given.
1856 if test "${enable_gconf_peer+set}" = set; then
1857 enableval
="$enable_gconf_peer"
1858 case "$enableval" in
1859 yes) gconf_enabled
=yes ;;
1860 no
) gconf_enabled
=no
;;
1861 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable gconf-peer" >&5
1862 echo "$as_me: error: Unknown argument to enable/disable gconf-peer" >&2;}
1863 { (exit 1); exit 1; }; };;
1870 # Check whether --enable-java-maintainer-mode or --disable-java-maintainer-mode was given.
1871 if test "${enable_java_maintainer_mode+set}" = set; then
1872 enableval
="$enable_java_maintainer_mode"
1877 if test "$enable_java_maintainer_mode" = yes; then
1878 JAVA_MAINTAINER_MODE_TRUE
=
1879 JAVA_MAINTAINER_MODE_FALSE
='#'
1881 JAVA_MAINTAINER_MODE_TRUE
='#'
1882 JAVA_MAINTAINER_MODE_FALSE
=
1886 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
1889 # (1) We use an abnormal CXX (without library references), so we
1890 # must cache it under a different name.
1891 # (2) CC, CFLAGS, CXX, CXXFLAGS, LDFLAGS must not be 'precious', or
1892 # the non-multilib-adjusted value will be used in multilibs.
1893 # (3) As a side effect, we must SUBST CXXFLAGS, CFLAGS, and LDFLAGS ourselves.
1894 # (4) As another side effect, automake doesn't automatically include them
1896 # (5) For libstdc++-v3, -fno-builtin must be present here so that a
1897 # non-conflicting form of std::exit can be guessed by AC_PROG_CXX, and
1898 # used in later tests. This may not be necessary in libjava; I don't know.
1901 save_CXXFLAGS
="$CXXFLAGS"
1902 CXXFLAGS
="$CXXFLAGS -fno-builtin"
1904 ac_cpp
='$CPP $CPPFLAGS'
1905 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1906 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1907 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1908 if test -n "$ac_tool_prefix"; then
1909 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1910 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1911 echo "$as_me:$LINENO: checking for $ac_word" >&5
1912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1913 if test "${ac_cv_prog_CC+set}" = set; then
1914 echo $ECHO_N "(cached) $ECHO_C" >&6
1916 if test -n "$CC"; then
1917 ac_cv_prog_CC
="$CC" # Let the user override the test.
1919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1923 test -z "$as_dir" && as_dir
=.
1924 for ac_exec_ext
in '' $ac_executable_extensions; do
1925 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1926 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1936 if test -n "$CC"; then
1937 echo "$as_me:$LINENO: result: $CC" >&5
1938 echo "${ECHO_T}$CC" >&6
1940 echo "$as_me:$LINENO: result: no" >&5
1941 echo "${ECHO_T}no" >&6
1945 if test -z "$ac_cv_prog_CC"; then
1947 # Extract the first word of "gcc", so it can be a program name with args.
1948 set dummy gcc
; ac_word
=$2
1949 echo "$as_me:$LINENO: checking for $ac_word" >&5
1950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1951 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1952 echo $ECHO_N "(cached) $ECHO_C" >&6
1954 if test -n "$ac_ct_CC"; then
1955 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1961 test -z "$as_dir" && as_dir
=.
1962 for ac_exec_ext
in '' $ac_executable_extensions; do
1963 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1964 ac_cv_prog_ac_ct_CC
="gcc"
1965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1973 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1974 if test -n "$ac_ct_CC"; then
1975 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1976 echo "${ECHO_T}$ac_ct_CC" >&6
1978 echo "$as_me:$LINENO: result: no" >&5
1979 echo "${ECHO_T}no" >&6
1987 if test -z "$CC"; then
1988 if test -n "$ac_tool_prefix"; then
1989 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1990 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1991 echo "$as_me:$LINENO: checking for $ac_word" >&5
1992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1993 if test "${ac_cv_prog_CC+set}" = set; then
1994 echo $ECHO_N "(cached) $ECHO_C" >&6
1996 if test -n "$CC"; then
1997 ac_cv_prog_CC
="$CC" # Let the user override the test.
1999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2003 test -z "$as_dir" && as_dir
=.
2004 for ac_exec_ext
in '' $ac_executable_extensions; do
2005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2006 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2016 if test -n "$CC"; then
2017 echo "$as_me:$LINENO: result: $CC" >&5
2018 echo "${ECHO_T}$CC" >&6
2020 echo "$as_me:$LINENO: result: no" >&5
2021 echo "${ECHO_T}no" >&6
2025 if test -z "$ac_cv_prog_CC"; then
2027 # Extract the first word of "cc", so it can be a program name with args.
2028 set dummy cc
; ac_word
=$2
2029 echo "$as_me:$LINENO: checking for $ac_word" >&5
2030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2031 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2032 echo $ECHO_N "(cached) $ECHO_C" >&6
2034 if test -n "$ac_ct_CC"; then
2035 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2041 test -z "$as_dir" && as_dir
=.
2042 for ac_exec_ext
in '' $ac_executable_extensions; do
2043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2044 ac_cv_prog_ac_ct_CC
="cc"
2045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2053 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2054 if test -n "$ac_ct_CC"; then
2055 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2056 echo "${ECHO_T}$ac_ct_CC" >&6
2058 echo "$as_me:$LINENO: result: no" >&5
2059 echo "${ECHO_T}no" >&6
2068 if test -z "$CC"; then
2069 # Extract the first word of "cc", so it can be a program name with args.
2070 set dummy cc
; ac_word
=$2
2071 echo "$as_me:$LINENO: checking for $ac_word" >&5
2072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2073 if test "${ac_cv_prog_CC+set}" = set; then
2074 echo $ECHO_N "(cached) $ECHO_C" >&6
2076 if test -n "$CC"; then
2077 ac_cv_prog_CC
="$CC" # Let the user override the test.
2080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2084 test -z "$as_dir" && as_dir
=.
2085 for ac_exec_ext
in '' $ac_executable_extensions; do
2086 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2087 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2088 ac_prog_rejected
=yes
2092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2098 if test $ac_prog_rejected = yes; then
2099 # We found a bogon in the path, so make sure we never use it.
2100 set dummy
$ac_cv_prog_CC
2102 if test $# != 0; then
2103 # We chose a different compiler from the bogus one.
2104 # However, it has the same basename, so the bogon will be chosen
2105 # first if we set CC to just the basename; use the full file name.
2107 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2113 if test -n "$CC"; then
2114 echo "$as_me:$LINENO: result: $CC" >&5
2115 echo "${ECHO_T}$CC" >&6
2117 echo "$as_me:$LINENO: result: no" >&5
2118 echo "${ECHO_T}no" >&6
2122 if test -z "$CC"; then
2123 if test -n "$ac_tool_prefix"; then
2126 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2127 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2128 echo "$as_me:$LINENO: checking for $ac_word" >&5
2129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2130 if test "${ac_cv_prog_CC+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2133 if test -n "$CC"; then
2134 ac_cv_prog_CC
="$CC" # Let the user override the test.
2136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2140 test -z "$as_dir" && as_dir
=.
2141 for ac_exec_ext
in '' $ac_executable_extensions; do
2142 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2143 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2153 if test -n "$CC"; then
2154 echo "$as_me:$LINENO: result: $CC" >&5
2155 echo "${ECHO_T}$CC" >&6
2157 echo "$as_me:$LINENO: result: no" >&5
2158 echo "${ECHO_T}no" >&6
2161 test -n "$CC" && break
2164 if test -z "$CC"; then
2168 # Extract the first word of "$ac_prog", so it can be a program name with args.
2169 set dummy
$ac_prog; ac_word
=$2
2170 echo "$as_me:$LINENO: checking for $ac_word" >&5
2171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2172 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2173 echo $ECHO_N "(cached) $ECHO_C" >&6
2175 if test -n "$ac_ct_CC"; then
2176 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2182 test -z "$as_dir" && as_dir
=.
2183 for ac_exec_ext
in '' $ac_executable_extensions; do
2184 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2185 ac_cv_prog_ac_ct_CC
="$ac_prog"
2186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2194 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2195 if test -n "$ac_ct_CC"; then
2196 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2197 echo "${ECHO_T}$ac_ct_CC" >&6
2199 echo "$as_me:$LINENO: result: no" >&5
2200 echo "${ECHO_T}no" >&6
2203 test -n "$ac_ct_CC" && break
2212 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2213 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2214 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2215 See \`config.log' for more details." >&5
2216 echo "$as_me: error: no acceptable C compiler found in \$PATH
2217 See \`config.log' for more details." >&2;}
2218 { (exit 1); exit 1; }; }; }
2220 # Provide some information about the compiler.
2221 echo "$as_me:$LINENO:" \
2222 "checking for C compiler version" >&5
2223 ac_compiler
=`set X $ac_compile; echo $2`
2224 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2225 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2228 (exit $ac_status); }
2229 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2230 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2233 (exit $ac_status); }
2234 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2235 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2238 (exit $ac_status); }
2240 cat >conftest.
$ac_ext <<_ACEOF
2243 cat confdefs.h
>>conftest.
$ac_ext
2244 cat >>conftest.
$ac_ext <<_ACEOF
2245 /* end confdefs.h. */
2256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2257 (eval $ac_link) 2>&5
2259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2260 (exit $ac_status); }; then
2266 if test x
$gcc_no_link = xyes
; then
2267 # Setting cross_compile will disable run tests; it will
2268 # also disable AC_CHECK_FILE but that's generally
2269 # correct if we can't link.
2273 cat >conftest.
$ac_ext <<_ACEOF
2276 cat confdefs.h
>>conftest.
$ac_ext
2277 cat >>conftest.
$ac_ext <<_ACEOF
2278 /* end confdefs.h. */
2288 ac_clean_files_save
=$ac_clean_files
2289 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2290 # Try to create an executable without -o first, disregard a.out.
2291 # It will help us diagnose broken compilers, and finding out an intuition
2293 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2294 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2295 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2296 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2297 (eval $ac_link_default) 2>&5
2299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2300 (exit $ac_status); }; then
2301 # Find the output, starting from the most likely. This scheme is
2302 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2305 # Be careful to initialize this variable, since it used to be cached.
2306 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2308 # b.out is created by i960 compilers.
2309 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2311 test -f "$ac_file" ||
continue
2313 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2316 # This is the source file.
2319 # We found the default executable, but exeext='' is most
2323 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2324 # FIXME: I believe we export ac_cv_exeext for Libtool,
2325 # but it would be cool to find out if it's true. Does anybody
2326 # maintain Libtool? --akim.
2334 echo "$as_me: failed program was:" >&5
2335 sed 's/^/| /' conftest.
$ac_ext >&5
2337 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2338 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2339 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2340 See \`config.log' for more details." >&5
2341 echo "$as_me: error: C compiler cannot create executables
2342 See \`config.log' for more details." >&2;}
2343 { (exit 77); exit 77; }; }; }
2346 ac_exeext
=$ac_cv_exeext
2347 echo "$as_me:$LINENO: result: $ac_file" >&5
2348 echo "${ECHO_T}$ac_file" >&6
2350 # Check the compiler produces executables we can run. If not, either
2351 # the compiler is broken, or we cross compile.
2352 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2353 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2354 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2355 # If not cross compiling, check that we can run a simple program.
2356 if test "$cross_compiling" != yes; then
2357 if { ac_try
='./$ac_file'
2358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }; }; then
2365 if test "$cross_compiling" = maybe
; then
2368 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2369 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2370 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2371 If you meant to cross compile, use \`--host'.
2372 See \`config.log' for more details." >&5
2373 echo "$as_me: error: cannot run C compiled programs.
2374 If you meant to cross compile, use \`--host'.
2375 See \`config.log' for more details." >&2;}
2376 { (exit 1); exit 1; }; }; }
2380 echo "$as_me:$LINENO: result: yes" >&5
2381 echo "${ECHO_T}yes" >&6
2383 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2384 ac_clean_files
=$ac_clean_files_save
2385 # Check the compiler produces executables we can run. If not, either
2386 # the compiler is broken, or we cross compile.
2387 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2388 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2389 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2390 echo "${ECHO_T}$cross_compiling" >&6
2392 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2393 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2395 (eval $ac_link) 2>&5
2397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2398 (exit $ac_status); }; then
2399 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2400 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2401 # work properly (i.e., refer to `conftest.exe'), while it won't with
2403 for ac_file
in conftest.exe conftest conftest.
*; do
2404 test -f "$ac_file" ||
continue
2406 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2407 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2414 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2415 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2416 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2417 See \`config.log' for more details." >&5
2418 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2419 See \`config.log' for more details." >&2;}
2420 { (exit 1); exit 1; }; }; }
2423 rm -f conftest
$ac_cv_exeext
2424 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2425 echo "${ECHO_T}$ac_cv_exeext" >&6
2427 rm -f conftest.
$ac_ext
2428 EXEEXT
=$ac_cv_exeext
2431 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2432 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2433 if test "${ac_cv_objext+set}" = set; then
2434 echo $ECHO_N "(cached) $ECHO_C" >&6
2436 cat >conftest.
$ac_ext <<_ACEOF
2439 cat confdefs.h
>>conftest.
$ac_ext
2440 cat >>conftest.
$ac_ext <<_ACEOF
2441 /* end confdefs.h. */
2451 rm -f conftest.o conftest.obj
2452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2453 (eval $ac_compile) 2>&5
2455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 (exit $ac_status); }; then
2457 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2459 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2460 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2465 echo "$as_me: failed program was:" >&5
2466 sed 's/^/| /' conftest.
$ac_ext >&5
2468 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2469 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2470 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2471 See \`config.log' for more details." >&5
2472 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2473 See \`config.log' for more details." >&2;}
2474 { (exit 1); exit 1; }; }; }
2477 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2479 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2480 echo "${ECHO_T}$ac_cv_objext" >&6
2481 OBJEXT
=$ac_cv_objext
2483 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2484 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2485 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2486 echo $ECHO_N "(cached) $ECHO_C" >&6
2488 cat >conftest.
$ac_ext <<_ACEOF
2491 cat confdefs.h
>>conftest.
$ac_ext
2492 cat >>conftest.
$ac_ext <<_ACEOF
2493 /* end confdefs.h. */
2506 rm -f conftest.
$ac_objext
2507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2508 (eval $ac_compile) 2>conftest.er1
2510 grep -v '^ *+' conftest.er1
>conftest.err
2512 cat conftest.err
>&5
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); } &&
2515 { ac_try
='test -z "$ac_c_werror_flag"
2516 || test ! -s conftest.err'
2517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); }; } &&
2522 { ac_try
='test -s conftest.$ac_objext'
2523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); }; }; then
2530 echo "$as_me: failed program was:" >&5
2531 sed 's/^/| /' conftest.
$ac_ext >&5
2535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2536 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2539 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2540 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2541 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2542 ac_test_CFLAGS
=${CFLAGS+set}
2543 ac_save_CFLAGS
=$CFLAGS
2545 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2546 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2547 if test "${ac_cv_prog_cc_g+set}" = set; then
2548 echo $ECHO_N "(cached) $ECHO_C" >&6
2550 cat >conftest.
$ac_ext <<_ACEOF
2553 cat confdefs.h
>>conftest.
$ac_ext
2554 cat >>conftest.
$ac_ext <<_ACEOF
2555 /* end confdefs.h. */
2565 rm -f conftest.
$ac_objext
2566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2567 (eval $ac_compile) 2>conftest.er1
2569 grep -v '^ *+' conftest.er1
>conftest.err
2571 cat conftest.err
>&5
2572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2573 (exit $ac_status); } &&
2574 { ac_try
='test -z "$ac_c_werror_flag"
2575 || test ! -s conftest.err'
2576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2580 (exit $ac_status); }; } &&
2581 { ac_try
='test -s conftest.$ac_objext'
2582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586 (exit $ac_status); }; }; then
2589 echo "$as_me: failed program was:" >&5
2590 sed 's/^/| /' conftest.
$ac_ext >&5
2594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2596 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2597 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2598 if test "$ac_test_CFLAGS" = set; then
2599 CFLAGS
=$ac_save_CFLAGS
2600 elif test $ac_cv_prog_cc_g = yes; then
2601 if test "$GCC" = yes; then
2607 if test "$GCC" = yes; then
2613 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2614 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2615 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2616 echo $ECHO_N "(cached) $ECHO_C" >&6
2618 ac_cv_prog_cc_stdc
=no
2620 cat >conftest.
$ac_ext <<_ACEOF
2623 cat confdefs.h
>>conftest.
$ac_ext
2624 cat >>conftest.
$ac_ext <<_ACEOF
2625 /* end confdefs.h. */
2628 #include <sys/types.h>
2629 #include <sys/stat.h>
2630 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2631 struct buf { int x; };
2632 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2633 static char *e (p, i)
2639 static char *f (char * (*g) (char **, int), char **p, ...)
2644 s = g (p, va_arg (v,int));
2649 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2650 function prototypes and stuff, but not '\xHH' hex character constants.
2651 These don't provoke an error unfortunately, instead are silently treated
2652 as 'x'. The following induces an error, until -std1 is added to get
2653 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2654 array size at least. It's necessary to write '\x00'==0 to get something
2655 that's true only with -std1. */
2656 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2658 int test (int i, double x);
2659 struct s1 {int (*f) (int a);};
2660 struct s2 {int (*f) (double a);};
2661 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2667 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2672 # Don't try gcc -ansi; that turns off useful extensions and
2673 # breaks some systems' header files.
2674 # AIX -qlanglvl=ansi
2675 # Ultrix and OSF/1 -std1
2676 # HP-UX 10.20 and later -Ae
2677 # HP-UX older versions -Aa -D_HPUX_SOURCE
2678 # SVR4 -Xc -D__EXTENSIONS__
2679 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2681 CC
="$ac_save_CC $ac_arg"
2682 rm -f conftest.
$ac_objext
2683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2684 (eval $ac_compile) 2>conftest.er1
2686 grep -v '^ *+' conftest.er1
>conftest.err
2688 cat conftest.err
>&5
2689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2690 (exit $ac_status); } &&
2691 { ac_try
='test -z "$ac_c_werror_flag"
2692 || test ! -s conftest.err'
2693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2697 (exit $ac_status); }; } &&
2698 { ac_try
='test -s conftest.$ac_objext'
2699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2703 (exit $ac_status); }; }; then
2704 ac_cv_prog_cc_stdc
=$ac_arg
2707 echo "$as_me: failed program was:" >&5
2708 sed 's/^/| /' conftest.
$ac_ext >&5
2711 rm -f conftest.err conftest.
$ac_objext
2713 rm -f conftest.
$ac_ext conftest.
$ac_objext
2718 case "x$ac_cv_prog_cc_stdc" in
2720 echo "$as_me:$LINENO: result: none needed" >&5
2721 echo "${ECHO_T}none needed" >&6 ;;
2723 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2724 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2725 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2728 # Some people use a C++ compiler to compile C. Since we use `exit',
2729 # in C++ we need to declare it. In case someone uses the same compiler
2730 # for both compiling C and C++ we need to have the C++ compiler decide
2731 # the declaration of exit, since it's the most demanding environment.
2732 cat >conftest.
$ac_ext <<_ACEOF
2737 rm -f conftest.
$ac_objext
2738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2739 (eval $ac_compile) 2>conftest.er1
2741 grep -v '^ *+' conftest.er1
>conftest.err
2743 cat conftest.err
>&5
2744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2745 (exit $ac_status); } &&
2746 { ac_try
='test -z "$ac_c_werror_flag"
2747 || test ! -s conftest.err'
2748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2752 (exit $ac_status); }; } &&
2753 { ac_try
='test -s conftest.$ac_objext'
2754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758 (exit $ac_status); }; }; then
2759 for ac_declaration
in \
2761 'extern "C" void std::exit (int) throw (); using std::exit;' \
2762 'extern "C" void std::exit (int); using std::exit;' \
2763 'extern "C" void exit (int) throw ();' \
2764 'extern "C" void exit (int);' \
2767 cat >conftest.
$ac_ext <<_ACEOF
2770 cat confdefs.h
>>conftest.
$ac_ext
2771 cat >>conftest.
$ac_ext <<_ACEOF
2772 /* end confdefs.h. */
2783 rm -f conftest.
$ac_objext
2784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2785 (eval $ac_compile) 2>conftest.er1
2787 grep -v '^ *+' conftest.er1
>conftest.err
2789 cat conftest.err
>&5
2790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2791 (exit $ac_status); } &&
2792 { ac_try
='test -z "$ac_c_werror_flag"
2793 || test ! -s conftest.err'
2794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); }; } &&
2799 { ac_try
='test -s conftest.$ac_objext'
2800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 (exit $ac_status); }; }; then
2807 echo "$as_me: failed program was:" >&5
2808 sed 's/^/| /' conftest.
$ac_ext >&5
2812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2813 cat >conftest.
$ac_ext <<_ACEOF
2816 cat confdefs.h
>>conftest.
$ac_ext
2817 cat >>conftest.
$ac_ext <<_ACEOF
2818 /* end confdefs.h. */
2828 rm -f conftest.
$ac_objext
2829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2830 (eval $ac_compile) 2>conftest.er1
2832 grep -v '^ *+' conftest.er1
>conftest.err
2834 cat conftest.err
>&5
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); } &&
2837 { ac_try
='test -z "$ac_c_werror_flag"
2838 || test ! -s conftest.err'
2839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843 (exit $ac_status); }; } &&
2844 { ac_try
='test -s conftest.$ac_objext'
2845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); }; }; then
2852 echo "$as_me: failed program was:" >&5
2853 sed 's/^/| /' conftest.
$ac_ext >&5
2856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2859 if test -n "$ac_declaration"; then
2860 echo '#ifdef __cplusplus' >>confdefs.h
2861 echo $ac_declaration >>confdefs.h
2862 echo '#endif' >>confdefs.h
2866 echo "$as_me: failed program was:" >&5
2867 sed 's/^/| /' conftest.
$ac_ext >&5
2870 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2872 ac_cpp
='$CPP $CPPFLAGS'
2873 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2874 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2875 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2878 ac_cpp
='$CXXCPP $CPPFLAGS'
2879 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2880 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2881 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2882 if test -n "$ac_tool_prefix"; then
2883 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2885 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2886 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2887 echo "$as_me:$LINENO: checking for $ac_word" >&5
2888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2889 if test "${ac_cv_prog_CXX+set}" = set; then
2890 echo $ECHO_N "(cached) $ECHO_C" >&6
2892 if test -n "$CXX"; then
2893 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2899 test -z "$as_dir" && as_dir
=.
2900 for ac_exec_ext
in '' $ac_executable_extensions; do
2901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2902 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2912 if test -n "$CXX"; then
2913 echo "$as_me:$LINENO: result: $CXX" >&5
2914 echo "${ECHO_T}$CXX" >&6
2916 echo "$as_me:$LINENO: result: no" >&5
2917 echo "${ECHO_T}no" >&6
2920 test -n "$CXX" && break
2923 if test -z "$CXX"; then
2925 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2927 # Extract the first word of "$ac_prog", so it can be a program name with args.
2928 set dummy
$ac_prog; ac_word
=$2
2929 echo "$as_me:$LINENO: checking for $ac_word" >&5
2930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2931 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2932 echo $ECHO_N "(cached) $ECHO_C" >&6
2934 if test -n "$ac_ct_CXX"; then
2935 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2941 test -z "$as_dir" && as_dir
=.
2942 for ac_exec_ext
in '' $ac_executable_extensions; do
2943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2944 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2953 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2954 if test -n "$ac_ct_CXX"; then
2955 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2956 echo "${ECHO_T}$ac_ct_CXX" >&6
2958 echo "$as_me:$LINENO: result: no" >&5
2959 echo "${ECHO_T}no" >&6
2962 test -n "$ac_ct_CXX" && break
2964 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2970 # Provide some information about the compiler.
2971 echo "$as_me:$LINENO:" \
2972 "checking for C++ compiler version" >&5
2973 ac_compiler
=`set X $ac_compile; echo $2`
2974 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2975 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); }
2979 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2980 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2983 (exit $ac_status); }
2984 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2985 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2988 (exit $ac_status); }
2990 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2991 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2992 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2993 echo $ECHO_N "(cached) $ECHO_C" >&6
2995 cat >conftest.
$ac_ext <<_ACEOF
2998 cat confdefs.h
>>conftest.
$ac_ext
2999 cat >>conftest.
$ac_ext <<_ACEOF
3000 /* end confdefs.h. */
3013 rm -f conftest.
$ac_objext
3014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3015 (eval $ac_compile) 2>conftest.er1
3017 grep -v '^ *+' conftest.er1
>conftest.err
3019 cat conftest.err
>&5
3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021 (exit $ac_status); } &&
3022 { ac_try
='test -z "$ac_cxx_werror_flag"
3023 || test ! -s conftest.err'
3024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3028 (exit $ac_status); }; } &&
3029 { ac_try
='test -s conftest.$ac_objext'
3030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034 (exit $ac_status); }; }; then
3037 echo "$as_me: failed program was:" >&5
3038 sed 's/^/| /' conftest.
$ac_ext >&5
3042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3043 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3046 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3047 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3048 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3049 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3050 ac_save_CXXFLAGS
=$CXXFLAGS
3052 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3053 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3054 if test "${ac_cv_prog_cxx_g+set}" = set; then
3055 echo $ECHO_N "(cached) $ECHO_C" >&6
3057 cat >conftest.
$ac_ext <<_ACEOF
3060 cat confdefs.h
>>conftest.
$ac_ext
3061 cat >>conftest.
$ac_ext <<_ACEOF
3062 /* end confdefs.h. */
3072 rm -f conftest.
$ac_objext
3073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3074 (eval $ac_compile) 2>conftest.er1
3076 grep -v '^ *+' conftest.er1
>conftest.err
3078 cat conftest.err
>&5
3079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3080 (exit $ac_status); } &&
3081 { ac_try
='test -z "$ac_cxx_werror_flag"
3082 || test ! -s conftest.err'
3083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087 (exit $ac_status); }; } &&
3088 { ac_try
='test -s conftest.$ac_objext'
3089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 (exit $ac_status); }; }; then
3094 ac_cv_prog_cxx_g
=yes
3096 echo "$as_me: failed program was:" >&5
3097 sed 's/^/| /' conftest.
$ac_ext >&5
3101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3103 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3104 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3105 if test "$ac_test_CXXFLAGS" = set; then
3106 CXXFLAGS
=$ac_save_CXXFLAGS
3107 elif test $ac_cv_prog_cxx_g = yes; then
3108 if test "$GXX" = yes; then
3114 if test "$GXX" = yes; then
3120 for ac_declaration
in \
3122 'extern "C" void std::exit (int) throw (); using std::exit;' \
3123 'extern "C" void std::exit (int); using std::exit;' \
3124 'extern "C" void exit (int) throw ();' \
3125 'extern "C" void exit (int);' \
3128 cat >conftest.
$ac_ext <<_ACEOF
3131 cat confdefs.h
>>conftest.
$ac_ext
3132 cat >>conftest.
$ac_ext <<_ACEOF
3133 /* end confdefs.h. */
3144 rm -f conftest.
$ac_objext
3145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3146 (eval $ac_compile) 2>conftest.er1
3148 grep -v '^ *+' conftest.er1
>conftest.err
3150 cat conftest.err
>&5
3151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3152 (exit $ac_status); } &&
3153 { ac_try
='test -z "$ac_cxx_werror_flag"
3154 || test ! -s conftest.err'
3155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159 (exit $ac_status); }; } &&
3160 { ac_try
='test -s conftest.$ac_objext'
3161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165 (exit $ac_status); }; }; then
3168 echo "$as_me: failed program was:" >&5
3169 sed 's/^/| /' conftest.
$ac_ext >&5
3173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3174 cat >conftest.
$ac_ext <<_ACEOF
3177 cat confdefs.h
>>conftest.
$ac_ext
3178 cat >>conftest.
$ac_ext <<_ACEOF
3179 /* end confdefs.h. */
3189 rm -f conftest.
$ac_objext
3190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3191 (eval $ac_compile) 2>conftest.er1
3193 grep -v '^ *+' conftest.er1
>conftest.err
3195 cat conftest.err
>&5
3196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3197 (exit $ac_status); } &&
3198 { ac_try
='test -z "$ac_cxx_werror_flag"
3199 || test ! -s conftest.err'
3200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204 (exit $ac_status); }; } &&
3205 { ac_try
='test -s conftest.$ac_objext'
3206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); }; }; then
3213 echo "$as_me: failed program was:" >&5
3214 sed 's/^/| /' conftest.
$ac_ext >&5
3217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3220 if test -n "$ac_declaration"; then
3221 echo '#ifdef __cplusplus' >>confdefs.h
3222 echo $ac_declaration >>confdefs.h
3223 echo '#endif' >>confdefs.h
3227 ac_cpp
='$CPP $CPPFLAGS'
3228 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3229 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3230 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3232 CXXFLAGS
="$save_CXXFLAGS"
3238 am__api_version
="1.9"
3239 # Find a good install program. We prefer a C program (faster),
3240 # so one script is as good as another. But avoid the broken or
3241 # incompatible versions:
3242 # SysV /etc/install, /usr/sbin/install
3243 # SunOS /usr/etc/install
3244 # IRIX /sbin/install
3246 # AmigaOS /C/install, which installs bootblocks on floppy discs
3247 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3248 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3249 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3250 # OS/2's system install, which has a completely different semantic
3251 # ./install, which can be erroneously created by make from ./install.sh.
3252 # Reject install programs that cannot install multiple files.
3253 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3254 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3255 if test -z "$INSTALL"; then
3256 if test "${ac_cv_path_install+set}" = set; then
3257 echo $ECHO_N "(cached) $ECHO_C" >&6
3259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3263 test -z "$as_dir" && as_dir
=.
3264 # Account for people who put trailing slashes in PATH elements.
3266 .
/ | .
// |
/cC
/* | \
3267 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3268 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3271 # OSF1 and SCO ODT 3.0 have their own names for install.
3272 # Don't use installbsd from OSF since it installs stuff as root
3274 for ac_prog
in ginstall scoinst
install; do
3275 for ac_exec_ext
in '' $ac_executable_extensions; do
3276 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3277 if test $ac_prog = install &&
3278 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3279 # AIX install. It has an incompatible calling convention.
3281 elif test $ac_prog = install &&
3282 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3283 # program-specific install script used by HP pwplus--don't use.
3286 rm -rf conftest.one conftest.two conftest.dir
3287 echo one
> conftest.one
3288 echo two
> conftest.two
3290 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3291 test -s conftest.one
&& test -s conftest.two
&&
3292 test -s conftest.dir
/conftest.one
&&
3293 test -s conftest.dir
/conftest.two
3295 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3306 rm -rf conftest.one conftest.two conftest.dir
3309 if test "${ac_cv_path_install+set}" = set; then
3310 INSTALL
=$ac_cv_path_install
3312 # As a last resort, use the slow shell script. Don't cache a
3313 # value for INSTALL within a source directory, because that will
3314 # break other packages using the cache if that directory is
3315 # removed, or if the value is a relative name.
3316 INSTALL
=$ac_install_sh
3319 echo "$as_me:$LINENO: result: $INSTALL" >&5
3320 echo "${ECHO_T}$INSTALL" >&6
3322 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3323 # It thinks the first close brace ends the variable substitution.
3324 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3326 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3328 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3330 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3331 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
3334 echo timestamp
> conftest.
file
3335 # Do `set' in a subshell so we don't clobber the current shell's
3336 # arguments. Must try -L first in case configure is actually a
3337 # symlink; some systems play weird games with the mod time of symlinks
3338 # (eg FreeBSD returns the mod time of the symlink's containing
3341 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
3342 if test "$*" = "X"; then
3344 set X
`ls -t $srcdir/configure conftest.file`
3347 if test "$*" != "X $srcdir/configure conftest.file" \
3348 && test "$*" != "X conftest.file $srcdir/configure"; then
3350 # If neither matched, then we have a broken ls. This can happen
3351 # if, for instance, CONFIG_SHELL is bash and it inherits a
3352 # broken ls alias from the environment. This has actually
3353 # happened. Such a system could not be considered "sane".
3354 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
3355 alias in your environment" >&5
3356 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
3357 alias in your environment" >&2;}
3358 { (exit 1); exit 1; }; }
3361 test "$2" = conftest.
file
3367 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
3368 Check your system clock" >&5
3369 echo "$as_me: error: newly created file is older than distributed files!
3370 Check your system clock" >&2;}
3371 { (exit 1); exit 1; }; }
3373 echo "$as_me:$LINENO: result: yes" >&5
3374 echo "${ECHO_T}yes" >&6
3375 test "$program_prefix" != NONE
&&
3376 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
3377 # Use a double $ so make ignores it.
3378 test "$program_suffix" != NONE
&&
3379 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
3380 # Double any \ or $. echo might interpret backslashes.
3381 # By default was `s,x,x', remove it if useless.
3382 cat <<\_ACEOF
>conftest.
sed
3383 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
3385 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
3388 # expand $ac_aux_dir to an absolute path
3389 am_aux_dir
=`cd $ac_aux_dir && pwd`
3391 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
3392 # Use eval to expand $SHELL
3393 if eval "$MISSING --run true"; then
3394 am_missing_run
="$MISSING --run "
3397 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
3398 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3401 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
3402 # We used to keeping the `.' as first argument, in order to
3403 # allow $(mkdir_p) to be used without argument. As in
3404 # $(mkdir_p) $(somedir)
3405 # where $(somedir) is conditionally defined. However this is wrong
3407 # 1. if the package is installed by a user who cannot write `.'
3408 # make install will fail,
3409 # 2. the above comment should most certainly read
3410 # $(mkdir_p) $(DESTDIR)$(somedir)
3411 # so it does not work when $(somedir) is undefined and
3412 # $(DESTDIR) is not.
3413 # To support the latter case, we have to write
3414 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
3415 # so the `.' trick is pointless.
3416 mkdir_p
='mkdir -p --'
3418 # On NextStep and OpenStep, the `mkdir' command does not
3419 # recognize any option. It will interpret all options as
3420 # directories to create, and then abort because `.' already
3422 for d
in .
/-p .
/--version;
3424 test -d $d && rmdir $d
3426 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
3427 if test -f "$ac_aux_dir/mkinstalldirs"; then
3428 mkdir_p
='$(mkinstalldirs)'
3430 mkdir_p
='$(install_sh) -d'
3434 for ac_prog
in gawk mawk nawk
awk
3436 # Extract the first word of "$ac_prog", so it can be a program name with args.
3437 set dummy
$ac_prog; ac_word
=$2
3438 echo "$as_me:$LINENO: checking for $ac_word" >&5
3439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3440 if test "${ac_cv_prog_AWK+set}" = set; then
3441 echo $ECHO_N "(cached) $ECHO_C" >&6
3443 if test -n "$AWK"; then
3444 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3450 test -z "$as_dir" && as_dir
=.
3451 for ac_exec_ext
in '' $ac_executable_extensions; do
3452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3453 ac_cv_prog_AWK
="$ac_prog"
3454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3463 if test -n "$AWK"; then
3464 echo "$as_me:$LINENO: result: $AWK" >&5
3465 echo "${ECHO_T}$AWK" >&6
3467 echo "$as_me:$LINENO: result: no" >&5
3468 echo "${ECHO_T}no" >&6
3471 test -n "$AWK" && break
3474 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3475 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3476 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3477 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3478 echo $ECHO_N "(cached) $ECHO_C" >&6
3480 cat >conftest.
make <<\_ACEOF
3482 @
echo 'ac_maketemp="$(MAKE)"'
3484 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3485 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3486 if test -n "$ac_maketemp"; then
3487 eval ac_cv_prog_make_
${ac_make}_set
=yes
3489 eval ac_cv_prog_make_
${ac_make}_set
=no
3493 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3494 echo "$as_me:$LINENO: result: yes" >&5
3495 echo "${ECHO_T}yes" >&6
3498 echo "$as_me:$LINENO: result: no" >&5
3499 echo "${ECHO_T}no" >&6
3500 SET_MAKE
="MAKE=${MAKE-make}"
3503 rm -rf .tst
2>/dev
/null
3504 mkdir .tst
2>/dev
/null
3505 if test -d .tst
; then
3510 rmdir .tst
2>/dev
/null
3512 DEPDIR
="${am__leading_dot}deps"
3514 ac_config_commands
="$ac_config_commands depfiles"
3517 am_make
=${MAKE-make}
3518 cat > confinc
<< 'END'
3523 # If we don't find an include directive, just comment out the code.
3524 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3525 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3529 # First try GNU make style include.
3530 echo "include confinc" > confmf
3531 # We grep out `Entering directory' and `Leaving directory'
3532 # messages which can occur if `w' ends up in MAKEFLAGS.
3533 # In particular we don't look at `^make:' because GNU make might
3534 # be invoked under some other name (usually "gmake"), in which
3535 # case it prints its new name instead of `make'.
3536 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3541 # Now try BSD make style include.
3542 if test "$am__include" = "#"; then
3543 echo '.include "confinc"' > confmf
3544 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3545 am__include
=.include
3552 echo "$as_me:$LINENO: result: $_am_result" >&5
3553 echo "${ECHO_T}$_am_result" >&6
3554 rm -f confinc confmf
3556 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3557 if test "${enable_dependency_tracking+set}" = set; then
3558 enableval
="$enable_dependency_tracking"
3561 if test "x$enable_dependency_tracking" != xno
; then
3562 am_depcomp
="$ac_aux_dir/depcomp"
3567 if test "x$enable_dependency_tracking" != xno; then
3577 # test to see if srcdir already configured
3578 if test "`cd $srcdir && pwd`" != "`pwd`" &&
3579 test -f $srcdir/config.status
; then
3580 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3581 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3582 { (exit 1); exit 1; }; }
3585 # test whether we have cygpath
3586 if test -z "$CYGPATH_W"; then
3587 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3588 CYGPATH_W
='cygpath -w'
3595 # Define the identity of the package.
3597 VERSION
='version-unused'
3600 cat >>confdefs.h
<<_ACEOF
3601 #define PACKAGE "$PACKAGE"
3605 cat >>confdefs.h
<<_ACEOF
3606 #define VERSION "$VERSION"
3609 # Some tools Automake needs.
3611 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3614 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3617 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3620 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3623 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3625 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3627 # Installed binaries are usually stripped using `strip' when the user
3628 # run `make install-strip'. However `strip' might not be the right
3629 # tool to use in cross-compilation environments, therefore Automake
3630 # will honor the `STRIP' environment variable to overrule this program.
3631 if test "$cross_compiling" != no
; then
3632 if test -n "$ac_tool_prefix"; then
3633 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3634 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3635 echo "$as_me:$LINENO: checking for $ac_word" >&5
3636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3637 if test "${ac_cv_prog_STRIP+set}" = set; then
3638 echo $ECHO_N "(cached) $ECHO_C" >&6
3640 if test -n "$STRIP"; then
3641 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3647 test -z "$as_dir" && as_dir
=.
3648 for ac_exec_ext
in '' $ac_executable_extensions; do
3649 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3650 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3659 STRIP
=$ac_cv_prog_STRIP
3660 if test -n "$STRIP"; then
3661 echo "$as_me:$LINENO: result: $STRIP" >&5
3662 echo "${ECHO_T}$STRIP" >&6
3664 echo "$as_me:$LINENO: result: no" >&5
3665 echo "${ECHO_T}no" >&6
3669 if test -z "$ac_cv_prog_STRIP"; then
3671 # Extract the first word of "strip", so it can be a program name with args.
3672 set dummy strip
; ac_word
=$2
3673 echo "$as_me:$LINENO: checking for $ac_word" >&5
3674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3675 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3676 echo $ECHO_N "(cached) $ECHO_C" >&6
3678 if test -n "$ac_ct_STRIP"; then
3679 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3685 test -z "$as_dir" && as_dir
=.
3686 for ac_exec_ext
in '' $ac_executable_extensions; do
3687 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3688 ac_cv_prog_ac_ct_STRIP
="strip"
3689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3695 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3698 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3699 if test -n "$ac_ct_STRIP"; then
3700 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3701 echo "${ECHO_T}$ac_ct_STRIP" >&6
3703 echo "$as_me:$LINENO: result: no" >&5
3704 echo "${ECHO_T}no" >&6
3709 STRIP
="$ac_cv_prog_STRIP"
3713 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3715 # We need awk for the "check" target. The system "awk" is bad on
3717 # Always define AMTAR for backward compatibility.
3719 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3721 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3726 depcc
="$CC" am_compiler_list
=
3728 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3729 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3730 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3731 echo $ECHO_N "(cached) $ECHO_C" >&6
3733 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3734 # We make a subdir and do the tests there. Otherwise we can end up
3735 # making bogus files that we don't know about and never remove. For
3736 # instance it was reported that on HP-UX the gcc test will end up
3737 # making a dummy file named `D' -- because `-MD' means `put the output
3740 # Copy depcomp to subdir because otherwise we won't find it if we're
3741 # using a relative directory.
3742 cp "$am_depcomp" conftest.dir
3744 # We will build objects and dependencies in a subdirectory because
3745 # it helps to detect inapplicable dependency modes. For instance
3746 # both Tru64's cc and ICC support -MD to output dependencies as a
3747 # side effect of compilation, but ICC will put the dependencies in
3748 # the current directory while Tru64 will put them in the object
3752 am_cv_CC_dependencies_compiler_type
=none
3753 if test "$am_compiler_list" = ""; then
3754 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3756 for depmode
in $am_compiler_list; do
3757 # Setup a source with many dependencies, because some compilers
3758 # like to wrap large dependency lists on column 80 (with \), and
3759 # we should not choose a depcomp mode which is confused by this.
3761 # We need to recreate these files for each test, as the compiler may
3762 # overwrite some of them when testing with obscure command lines.
3763 # This happens at least with the AIX C compiler.
3765 for i
in 1 2 3 4 5 6; do
3766 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3767 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3768 # Solaris 8's {/usr,}/bin/sh.
3769 touch sub
/conftst
$i.h
3771 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3775 # after this tag, mechanisms are not by side-effect, so they'll
3776 # only be used when explicitly requested
3777 if test "x$enable_dependency_tracking" = xyes
; then
3785 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3786 # mode. It turns out that the SunPro C++ compiler does not properly
3787 # handle `-M -o', and we need to detect this.
3788 if depmode
=$depmode \
3789 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3790 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3791 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3792 >/dev
/null
2>conftest.err
&&
3793 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3794 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3795 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3796 # icc doesn't choke on unknown options, it will just issue warnings
3797 # or remarks (even with -Werror). So we grep stderr for any message
3798 # that says an option was ignored or not supported.
3799 # When given -MP, icc 7.0 and 7.1 complain thusly:
3800 # icc: Command line warning: ignoring option '-M'; no argument required
3801 # The diagnosis changed in icc 8.0:
3802 # icc: Command line remark: option '-MP' not supported
3803 if (grep 'ignoring option' conftest.err ||
3804 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3805 am_cv_CC_dependencies_compiler_type
=$depmode
3814 am_cv_CC_dependencies_compiler_type
=none
3818 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3819 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3820 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3825 test "x$enable_dependency_tracking" != xno \
3826 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3828 am__fastdepCC_FALSE
='#'
3830 am__fastdepCC_TRUE
='#'
3831 am__fastdepCC_FALSE
=
3835 depcc
="$CXX" am_compiler_list
=
3837 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3838 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3839 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3840 echo $ECHO_N "(cached) $ECHO_C" >&6
3842 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3843 # We make a subdir and do the tests there. Otherwise we can end up
3844 # making bogus files that we don't know about and never remove. For
3845 # instance it was reported that on HP-UX the gcc test will end up
3846 # making a dummy file named `D' -- because `-MD' means `put the output
3849 # Copy depcomp to subdir because otherwise we won't find it if we're
3850 # using a relative directory.
3851 cp "$am_depcomp" conftest.dir
3853 # We will build objects and dependencies in a subdirectory because
3854 # it helps to detect inapplicable dependency modes. For instance
3855 # both Tru64's cc and ICC support -MD to output dependencies as a
3856 # side effect of compilation, but ICC will put the dependencies in
3857 # the current directory while Tru64 will put them in the object
3861 am_cv_CXX_dependencies_compiler_type
=none
3862 if test "$am_compiler_list" = ""; then
3863 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3865 for depmode
in $am_compiler_list; do
3866 # Setup a source with many dependencies, because some compilers
3867 # like to wrap large dependency lists on column 80 (with \), and
3868 # we should not choose a depcomp mode which is confused by this.
3870 # We need to recreate these files for each test, as the compiler may
3871 # overwrite some of them when testing with obscure command lines.
3872 # This happens at least with the AIX C compiler.
3874 for i
in 1 2 3 4 5 6; do
3875 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3876 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3877 # Solaris 8's {/usr,}/bin/sh.
3878 touch sub
/conftst
$i.h
3880 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3884 # after this tag, mechanisms are not by side-effect, so they'll
3885 # only be used when explicitly requested
3886 if test "x$enable_dependency_tracking" = xyes
; then
3894 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3895 # mode. It turns out that the SunPro C++ compiler does not properly
3896 # handle `-M -o', and we need to detect this.
3897 if depmode
=$depmode \
3898 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3899 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3900 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3901 >/dev
/null
2>conftest.err
&&
3902 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3903 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3904 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3905 # icc doesn't choke on unknown options, it will just issue warnings
3906 # or remarks (even with -Werror). So we grep stderr for any message
3907 # that says an option was ignored or not supported.
3908 # When given -MP, icc 7.0 and 7.1 complain thusly:
3909 # icc: Command line warning: ignoring option '-M'; no argument required
3910 # The diagnosis changed in icc 8.0:
3911 # icc: Command line remark: option '-MP' not supported
3912 if (grep 'ignoring option' conftest.err ||
3913 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3914 am_cv_CXX_dependencies_compiler_type
=$depmode
3923 am_cv_CXX_dependencies_compiler_type
=none
3927 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3928 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3929 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3934 test "x$enable_dependency_tracking" != xno \
3935 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3936 am__fastdepCXX_TRUE
=
3937 am__fastdepCXX_FALSE
='#'
3939 am__fastdepCXX_TRUE
='#'
3940 am__fastdepCXX_FALSE
=
3946 if test -n "$ac_tool_prefix"; then
3947 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3948 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3949 echo "$as_me:$LINENO: checking for $ac_word" >&5
3950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3951 if test "${ac_cv_prog_AS+set}" = set; then
3952 echo $ECHO_N "(cached) $ECHO_C" >&6
3954 if test -n "$AS"; then
3955 ac_cv_prog_AS
="$AS" # Let the user override the test.
3957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3961 test -z "$as_dir" && as_dir
=.
3962 for ac_exec_ext
in '' $ac_executable_extensions; do
3963 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3964 ac_cv_prog_AS
="${ac_tool_prefix}as"
3965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3974 if test -n "$AS"; then
3975 echo "$as_me:$LINENO: result: $AS" >&5
3976 echo "${ECHO_T}$AS" >&6
3978 echo "$as_me:$LINENO: result: no" >&5
3979 echo "${ECHO_T}no" >&6
3983 if test -z "$ac_cv_prog_AS"; then
3985 # Extract the first word of "as", so it can be a program name with args.
3986 set dummy as
; ac_word
=$2
3987 echo "$as_me:$LINENO: checking for $ac_word" >&5
3988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3989 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3990 echo $ECHO_N "(cached) $ECHO_C" >&6
3992 if test -n "$ac_ct_AS"; then
3993 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3999 test -z "$as_dir" && as_dir
=.
4000 for ac_exec_ext
in '' $ac_executable_extensions; do
4001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4002 ac_cv_prog_ac_ct_AS
="as"
4003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4011 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4012 if test -n "$ac_ct_AS"; then
4013 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4014 echo "${ECHO_T}$ac_ct_AS" >&6
4016 echo "$as_me:$LINENO: result: no" >&5
4017 echo "${ECHO_T}no" >&6
4025 if test -n "$ac_tool_prefix"; then
4026 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4027 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4028 echo "$as_me:$LINENO: checking for $ac_word" >&5
4029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4030 if test "${ac_cv_prog_LD+set}" = set; then
4031 echo $ECHO_N "(cached) $ECHO_C" >&6
4033 if test -n "$LD"; then
4034 ac_cv_prog_LD
="$LD" # Let the user override the test.
4036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4040 test -z "$as_dir" && as_dir
=.
4041 for ac_exec_ext
in '' $ac_executable_extensions; do
4042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4043 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4053 if test -n "$LD"; then
4054 echo "$as_me:$LINENO: result: $LD" >&5
4055 echo "${ECHO_T}$LD" >&6
4057 echo "$as_me:$LINENO: result: no" >&5
4058 echo "${ECHO_T}no" >&6
4062 if test -z "$ac_cv_prog_LD"; then
4064 # Extract the first word of "ld", so it can be a program name with args.
4065 set dummy ld
; ac_word
=$2
4066 echo "$as_me:$LINENO: checking for $ac_word" >&5
4067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4068 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4069 echo $ECHO_N "(cached) $ECHO_C" >&6
4071 if test -n "$ac_ct_LD"; then
4072 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4078 test -z "$as_dir" && as_dir
=.
4079 for ac_exec_ext
in '' $ac_executable_extensions; do
4080 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4081 ac_cv_prog_ac_ct_LD
="ld"
4082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4090 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4091 if test -n "$ac_ct_LD"; then
4092 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4093 echo "${ECHO_T}$ac_ct_LD" >&6
4095 echo "$as_me:$LINENO: result: no" >&5
4096 echo "${ECHO_T}no" >&6
4104 if test -n "$ac_tool_prefix"; then
4105 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4106 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4107 echo "$as_me:$LINENO: checking for $ac_word" >&5
4108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4109 if test "${ac_cv_prog_AR+set}" = set; then
4110 echo $ECHO_N "(cached) $ECHO_C" >&6
4112 if test -n "$AR"; then
4113 ac_cv_prog_AR
="$AR" # Let the user override the test.
4115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4119 test -z "$as_dir" && as_dir
=.
4120 for ac_exec_ext
in '' $ac_executable_extensions; do
4121 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4122 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4132 if test -n "$AR"; then
4133 echo "$as_me:$LINENO: result: $AR" >&5
4134 echo "${ECHO_T}$AR" >&6
4136 echo "$as_me:$LINENO: result: no" >&5
4137 echo "${ECHO_T}no" >&6
4141 if test -z "$ac_cv_prog_AR"; then
4143 # Extract the first word of "ar", so it can be a program name with args.
4144 set dummy
ar; ac_word
=$2
4145 echo "$as_me:$LINENO: checking for $ac_word" >&5
4146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4147 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4148 echo $ECHO_N "(cached) $ECHO_C" >&6
4150 if test -n "$ac_ct_AR"; then
4151 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4157 test -z "$as_dir" && as_dir
=.
4158 for ac_exec_ext
in '' $ac_executable_extensions; do
4159 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4160 ac_cv_prog_ac_ct_AR
="ar"
4161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4169 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4170 if test -n "$ac_ct_AR"; then
4171 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4172 echo "${ECHO_T}$ac_ct_AR" >&6
4174 echo "$as_me:$LINENO: result: no" >&5
4175 echo "${ECHO_T}no" >&6
4183 if test -n "$ac_tool_prefix"; then
4184 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4185 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4186 echo "$as_me:$LINENO: checking for $ac_word" >&5
4187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4188 if test "${ac_cv_prog_RANLIB+set}" = set; then
4189 echo $ECHO_N "(cached) $ECHO_C" >&6
4191 if test -n "$RANLIB"; then
4192 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4198 test -z "$as_dir" && as_dir
=.
4199 for ac_exec_ext
in '' $ac_executable_extensions; do
4200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4201 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4210 RANLIB
=$ac_cv_prog_RANLIB
4211 if test -n "$RANLIB"; then
4212 echo "$as_me:$LINENO: result: $RANLIB" >&5
4213 echo "${ECHO_T}$RANLIB" >&6
4215 echo "$as_me:$LINENO: result: no" >&5
4216 echo "${ECHO_T}no" >&6
4220 if test -z "$ac_cv_prog_RANLIB"; then
4221 ac_ct_RANLIB
=$RANLIB
4222 # Extract the first word of "ranlib", so it can be a program name with args.
4223 set dummy ranlib
; ac_word
=$2
4224 echo "$as_me:$LINENO: checking for $ac_word" >&5
4225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4226 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4227 echo $ECHO_N "(cached) $ECHO_C" >&6
4229 if test -n "$ac_ct_RANLIB"; then
4230 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4236 test -z "$as_dir" && as_dir
=.
4237 for ac_exec_ext
in '' $ac_executable_extensions; do
4238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4239 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4246 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4249 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4250 if test -n "$ac_ct_RANLIB"; then
4251 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4252 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4254 echo "$as_me:$LINENO: result: no" >&5
4255 echo "${ECHO_T}no" >&6
4258 RANLIB
=$ac_ct_RANLIB
4260 RANLIB
="$ac_cv_prog_RANLIB"
4263 for ac_prog
in gawk mawk nawk
awk
4265 # Extract the first word of "$ac_prog", so it can be a program name with args.
4266 set dummy
$ac_prog; ac_word
=$2
4267 echo "$as_me:$LINENO: checking for $ac_word" >&5
4268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4269 if test "${ac_cv_prog_AWK+set}" = set; then
4270 echo $ECHO_N "(cached) $ECHO_C" >&6
4272 if test -n "$AWK"; then
4273 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4279 test -z "$as_dir" && as_dir
=.
4280 for ac_exec_ext
in '' $ac_executable_extensions; do
4281 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4282 ac_cv_prog_AWK
="$ac_prog"
4283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4292 if test -n "$AWK"; then
4293 echo "$as_me:$LINENO: result: $AWK" >&5
4294 echo "${ECHO_T}$AWK" >&6
4296 echo "$as_me:$LINENO: result: no" >&5
4297 echo "${ECHO_T}no" >&6
4300 test -n "$AWK" && break
4303 for ac_prog
in jar fastjar gjar
4305 # Extract the first word of "$ac_prog", so it can be a program name with args.
4306 set dummy
$ac_prog; ac_word
=$2
4307 echo "$as_me:$LINENO: checking for $ac_word" >&5
4308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4309 if test "${ac_cv_prog_JAR+set}" = set; then
4310 echo $ECHO_N "(cached) $ECHO_C" >&6
4312 if test -n "$JAR"; then
4313 ac_cv_prog_JAR
="$JAR" # Let the user override the test.
4315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4319 test -z "$as_dir" && as_dir
=.
4320 for ac_exec_ext
in '' $ac_executable_extensions; do
4321 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4322 ac_cv_prog_JAR
="$ac_prog"
4323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4332 if test -n "$JAR"; then
4333 echo "$as_me:$LINENO: result: $JAR" >&5
4334 echo "${ECHO_T}$JAR" >&6
4336 echo "$as_me:$LINENO: result: no" >&5
4337 echo "${ECHO_T}no" >&6
4340 test -n "$JAR" && break
4342 test -n "$JAR" || JAR
="no"
4344 # Extract the first word of "zip", so it can be a program name with args.
4345 set dummy
zip; ac_word
=$2
4346 echo "$as_me:$LINENO: checking for $ac_word" >&5
4347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4348 if test "${ac_cv_path_ZIP+set}" = set; then
4349 echo $ECHO_N "(cached) $ECHO_C" >&6
4353 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
4356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4360 test -z "$as_dir" && as_dir
=.
4361 for ac_exec_ext
in '' $ac_executable_extensions; do
4362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4363 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
4364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4370 test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP
="no"
4376 if test -n "$ZIP"; then
4377 echo "$as_me:$LINENO: result: $ZIP" >&5
4378 echo "${ECHO_T}$ZIP" >&6
4380 echo "$as_me:$LINENO: result: no" >&5
4381 echo "${ECHO_T}no" >&6
4384 # Extract the first word of "unzip", so it can be a program name with args.
4385 set dummy
unzip; ac_word
=$2
4386 echo "$as_me:$LINENO: checking for $ac_word" >&5
4387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4388 if test "${ac_cv_path_UNZIP+set}" = set; then
4389 echo $ECHO_N "(cached) $ECHO_C" >&6
4393 ac_cv_path_UNZIP
="$UNZIP" # Let the user override the test with a path.
4396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4400 test -z "$as_dir" && as_dir
=.
4401 for ac_exec_ext
in '' $ac_executable_extensions; do
4402 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4403 ac_cv_path_UNZIP
="$as_dir/$ac_word$ac_exec_ext"
4404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4410 test -z "$ac_cv_path_UNZIP" && ac_cv_path_UNZIP
="unzip"
4414 UNZIP
=$ac_cv_path_UNZIP
4416 if test -n "$UNZIP"; then
4417 echo "$as_me:$LINENO: result: $UNZIP" >&5
4418 echo "${ECHO_T}$UNZIP" >&6
4420 echo "$as_me:$LINENO: result: no" >&5
4421 echo "${ECHO_T}no" >&6
4425 # We need a jar that supports -@. This is a GNU extension.
4426 if test "$JAR" != no
; then
4427 rm -f config-test.jar
4428 echo $srcdir/configure.ac |
$JAR -cf@ config-test.jar
4429 if test -f config-test.jar
; then
4430 rm -f config-test.jar
4436 # Prefer the jar we found, but fall back to our jar script.
4437 if test "$JAR" = no
; then
4438 if test "$ZIP" = no
; then
4439 { { echo "$as_me:$LINENO: error: cannot find neither zip nor jar, cannot continue" >&5
4440 echo "$as_me: error: cannot find neither zip nor jar, cannot continue" >&2;}
4441 { (exit 1); exit 1; }; }
4443 # InfoZIP available, use the 'guaranteed' Bourne-shell JAR to build libjava
4444 JAR
=`pwd`/scripts
/jar
4448 # Find a good install program. We prefer a C program (faster),
4449 # so one script is as good as another. But avoid the broken or
4450 # incompatible versions:
4451 # SysV /etc/install, /usr/sbin/install
4452 # SunOS /usr/etc/install
4453 # IRIX /sbin/install
4455 # AmigaOS /C/install, which installs bootblocks on floppy discs
4456 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4457 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4458 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4459 # OS/2's system install, which has a completely different semantic
4460 # ./install, which can be erroneously created by make from ./install.sh.
4461 # Reject install programs that cannot install multiple files.
4462 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4463 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4464 if test -z "$INSTALL"; then
4465 if test "${ac_cv_path_install+set}" = set; then
4466 echo $ECHO_N "(cached) $ECHO_C" >&6
4468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4472 test -z "$as_dir" && as_dir
=.
4473 # Account for people who put trailing slashes in PATH elements.
4475 .
/ | .
// |
/cC
/* | \
4476 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4477 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4480 # OSF1 and SCO ODT 3.0 have their own names for install.
4481 # Don't use installbsd from OSF since it installs stuff as root
4483 for ac_prog
in ginstall scoinst
install; do
4484 for ac_exec_ext
in '' $ac_executable_extensions; do
4485 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4486 if test $ac_prog = install &&
4487 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4488 # AIX install. It has an incompatible calling convention.
4490 elif test $ac_prog = install &&
4491 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4492 # program-specific install script used by HP pwplus--don't use.
4495 rm -rf conftest.one conftest.two conftest.dir
4496 echo one
> conftest.one
4497 echo two
> conftest.two
4499 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4500 test -s conftest.one
&& test -s conftest.two
&&
4501 test -s conftest.dir
/conftest.one
&&
4502 test -s conftest.dir
/conftest.two
4504 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4515 rm -rf conftest.one conftest.two conftest.dir
4518 if test "${ac_cv_path_install+set}" = set; then
4519 INSTALL
=$ac_cv_path_install
4521 # As a last resort, use the slow shell script. Don't cache a
4522 # value for INSTALL within a source directory, because that will
4523 # break other packages using the cache if that directory is
4524 # removed, or if the value is a relative name.
4525 INSTALL
=$ac_install_sh
4528 echo "$as_me:$LINENO: result: $INSTALL" >&5
4529 echo "${ECHO_T}$INSTALL" >&6
4531 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4532 # It thinks the first close brace ends the variable substitution.
4533 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4535 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4537 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4540 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4541 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4542 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4543 if test "${enable_maintainer_mode+set}" = set; then
4544 enableval
="$enable_maintainer_mode"
4545 USE_MAINTAINER_MODE
=$enableval
4547 USE_MAINTAINER_MODE
=no
4549 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4550 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4553 if test $USE_MAINTAINER_MODE = yes; then
4554 MAINTAINER_MODE_TRUE
=
4555 MAINTAINER_MODE_FALSE
='#'
4557 MAINTAINER_MODE_TRUE
='#'
4558 MAINTAINER_MODE_FALSE
=
4561 MAINT
=$MAINTAINER_MODE_TRUE
4567 # configure.host sets the following important variables
4568 # libgcj_cflags - host specific C compiler flags
4569 # libgcj_cxxflags - host specific C++ compiler flags
4570 # libgcj_javaflags - host specific Java compiler flags
4576 .
${srcdir}/configure.
host
4578 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4579 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4580 if test "${acl_cv_prog_gnu_ld+set}" = set; then
4581 echo $ECHO_N "(cached) $ECHO_C" >&6
4583 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4584 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4585 acl_cv_prog_gnu_ld
=yes
4587 acl_cv_prog_gnu_ld
=no
4590 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
4591 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
4592 with_gnu_ld
=$acl_cv_prog_gnu_ld
4594 echo "$as_me:$LINENO: checking if the GNU linker ($LD) supports -Bsymbolic-functions" >&5
4595 echo $ECHO_N "checking if the GNU linker ($LD) supports -Bsymbolic-functions... $ECHO_C" >&6
4596 if test "${acl_cv_prog_gnu_ld_symbolic+set}" = set; then
4597 echo $ECHO_N "(cached) $ECHO_C" >&6
4600 acl_cv_prog_gnu_ld_symbolic
=no
4602 if test x
"$with_gnu_ld" = x
"yes"; then
4603 if $LD --help 2>&1 </dev
/null |
grep Bsymbolic-functions
1>&5; then
4604 acl_cv_prog_gnu_ld_symbolic
=yes
4608 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld_symbolic" >&5
4609 echo "${ECHO_T}$acl_cv_prog_gnu_ld_symbolic" >&6
4610 if test x
"$acl_cv_prog_gnu_ld_symbolic" = x
"yes"; then
4611 SYMBOLIC_LDFLAGS
="-Wl,-Bsymbolic-functions"
4616 libgcj_ld_symbolic_functions
=$SYMBOLIC_LDFLAGS
4617 if test -z "$libgcj_ld_symbolic"; then
4618 libgcj_ld_symbolic
=$SYMBOLIC_LDFLAGS
4621 LIBGCJ_CFLAGS
="${libgcj_cflags}"
4622 LIBGCJ_CXXFLAGS
="${libgcj_cxxflags}"
4623 LIBGCJ_JAVAFLAGS
="${libgcj_javaflags}"
4624 LIBGCJ_LD_SYMBOLIC
="${libgcj_ld_symbolic}"
4625 LIBGCJ_LD_SYMBOLIC_FUNCTIONS
="${libgcj_ld_symbolic_functions}"
4632 # Only use libltdl for non-newlib builds.
4633 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
4634 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
4635 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
4637 libname_spec
='lib$name'
4645 shlibpath_overrides_runpath
=unknown
4647 dynamic_linker
="$host_os ld.so"
4648 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
4649 if test "$GCC" = yes; then
4650 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
4651 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
4652 # if the path contains ";" then we assume it to be the separator
4653 # otherwise default to the standard path separator (i.e. ":") - it is
4654 # assumed that no part of a normal pathname contains ";" but that should
4655 # okay in the real world where ";" in dirpaths is itself problematic.
4656 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
4658 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
4661 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
4663 need_lib_prefix
=unknown
4664 hardcode_into_libs
=no
4666 # when you set need_version to no, make sure it does not cause -set_version
4667 # flags to be left without arguments
4668 need_version
=unknown
4673 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
4674 shlibpath_var
=LIBPATH
4676 # AIX 3 has no versioning support, so we append a major version to the name.
4677 soname_spec
='${libname}${release}${shared_ext}$major'
4684 hardcode_into_libs
=yes
4685 if test "$host_cpu" = ia64
; then
4686 # AIX 5 supports IA64
4687 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
4688 shlibpath_var
=LD_LIBRARY_PATH
4690 # With GCC up to 2.95.x, collect2 would create an import file
4691 # for dependence libraries. The import file would start with
4692 # the line `#! .'. This would cause the generated library to
4693 # depend on `.', always an invalid library. This was fixed in
4694 # development snapshots of GCC prior to 3.0.
4696 aix4 | aix4.
[01] | aix4.
[01].
*)
4697 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
4699 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
4706 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
4707 # soname into executable. Probably we can add versioning support to
4708 # collect2, so additional links can be useful in future.
4709 if test "$aix_use_runtimelinking" = yes; then
4710 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
4711 # instead of lib<name>.a to let people know that these are not
4712 # typical AIX shared libraries.
4713 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4715 # We preserve .a as extension for shared libraries through AIX4.2
4716 # and later when we are not doing run time linking.
4717 library_names_spec
='${libname}${release}.a $libname.a'
4718 soname_spec
='${libname}${release}${shared_ext}$major'
4720 shlibpath_var
=LIBPATH
4725 library_names_spec
='$libname.ixlibrary $libname.a'
4726 # Create ${libname}_ixlibrary.a entries in /sys/libs.
4727 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'
4731 library_names_spec
='${libname}${shared_ext}'
4732 dynamic_linker
="$host_os ld.so"
4733 shlibpath_var
=LIBRARY_PATH
4739 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4740 soname_spec
='${libname}${release}${shared_ext}$major'
4741 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
4742 shlibpath_var
=LD_LIBRARY_PATH
4743 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
4744 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
4745 # the default ld.so.conf also contains /usr/contrib/lib and
4746 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
4747 # libtool to hard-code these into programs
4750 cygwin
* | mingw
* | pw32
*)
4751 version_type
=windows
4756 case $GCC,$host_os in
4757 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
4758 library_names_spec
='$libname.dll.a'
4759 # DLL is installed to $(libdir)/../bin by postinstall_cmds
4760 postinstall_cmds
='base_file=`basename \${file}`~
4761 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
4762 dldir=$destdir/`dirname \$dlpath`~
4763 test -d \$dldir || mkdir -p \$dldir~
4764 $install_prog $dir/$dlname \$dldir/$dlname'
4765 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
4766 dlpath=$dir/\$dldll~
4768 shlibpath_overrides_runpath
=yes
4772 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
4773 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
4774 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
4777 # MinGW DLLs use traditional 'lib' prefix
4778 soname_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
4779 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
4780 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
4781 # It is most probably a Windows format PATH printed by
4782 # mingw gcc, but we are running on Cygwin. Gcc prints its search
4783 # path with ; separators, and with drive letters. We can handle the
4784 # drive letters (cygwin fileutils understands them), so leave them,
4785 # especially as we might pass files found there to a mingw objdump,
4786 # which wouldn't understand a cygwinified path. Ahh.
4787 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
4789 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
4793 # pw32 DLLs use 'pw' prefix rather than 'lib'
4794 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}${shared_ext}'
4800 library_names_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
4803 dynamic_linker
='Win32 ld.exe'
4804 # FIXME: first we should search . and the directory the executable is in
4808 darwin
* | rhapsody
*)
4809 dynamic_linker
="$host_os dyld"
4813 # FIXME: Relying on posixy $() will cause problems for
4814 # cross-compilation, but unfortunately the echo tests do not
4815 # yet detect zsh echo's removal of \ escapes.
4816 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
4817 soname_spec
='${libname}${release}${major}$shared_ext'
4818 shlibpath_overrides_runpath
=yes
4819 shlibpath_var
=DYLD_LIBRARY_PATH
4820 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
4821 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
4822 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
4823 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
4825 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
4832 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
4833 soname_spec
='${libname}${release}${shared_ext}$major'
4834 shlibpath_var
=LD_LIBRARY_PATH
4842 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
4843 version_type
=freebsd-
$objformat
4844 case $version_type in
4846 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
4851 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
4855 shlibpath_var
=LD_LIBRARY_PATH
4858 shlibpath_overrides_runpath
=yes
4860 freebsd3.01
* | freebsdelf3.01
*)
4861 shlibpath_overrides_runpath
=yes
4862 hardcode_into_libs
=yes
4865 shlibpath_overrides_runpath
=no
4866 hardcode_into_libs
=yes
4875 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
4876 soname_spec
='${libname}${release}${shared_ext}$major'
4877 shlibpath_var
=LD_LIBRARY_PATH
4878 hardcode_into_libs
=yes
4881 hpux9
* | hpux10
* | hpux11
*)
4882 # Give a soname corresponding to the major version so that dld.sl refuses to
4883 # link against other versions.
4890 hardcode_into_libs
=yes
4891 dynamic_linker
="$host_os dld.so"
4892 shlibpath_var
=LD_LIBRARY_PATH
4893 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
4894 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4895 soname_spec
='${libname}${release}${shared_ext}$major'
4896 if test "X$HPUX_IA64_MODE" = X32
; then
4897 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
4899 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
4901 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
4905 hardcode_into_libs
=yes
4906 dynamic_linker
="$host_os dld.sl"
4907 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
4908 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
4909 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4910 soname_spec
='${libname}${release}${shared_ext}$major'
4911 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
4912 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
4916 dynamic_linker
="$host_os dld.sl"
4917 shlibpath_var
=SHLIB_PATH
4918 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
4919 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4920 soname_spec
='${libname}${release}${shared_ext}$major'
4923 # HP-UX runs *really* slowly unless shared libraries are mode 555.
4924 postinstall_cmds
='chmod 555 $lib'
4927 irix5
* | irix6
* | nonstopux
*)
4929 nonstopux
*) version_type
=nonstopux
;;
4931 if test "$lt_cv_prog_gnu_ld" = yes; then
4939 soname_spec
='${libname}${release}${shared_ext}$major'
4940 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
4942 irix5
* | nonstopux
*)
4946 case $LD in # libtool.m4 will add one of these switches to LD
4947 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
4948 libsuff
= shlibsuff
= libmagic
=32-bit;;
4949 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
4950 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
4951 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
4952 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
4953 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
4957 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
4958 shlibpath_overrides_runpath
=no
4959 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
4960 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
4961 hardcode_into_libs
=yes
4964 # No shared lib support for Linux oldld, aout, or coff.
4965 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
4969 # This must be Linux ELF.
4974 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4975 soname_spec
='${libname}${release}${shared_ext}$major'
4976 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
4977 shlibpath_var
=LD_LIBRARY_PATH
4978 shlibpath_overrides_runpath
=no
4979 # This implies no fast_install, which is unacceptable.
4980 # Some rework will be needed to allow for fast_install
4981 # before this can be enabled.
4982 hardcode_into_libs
=yes
4984 # We used to test for /lib/ld.so.1 and disable shared libraries on
4985 # powerpc, because MkLinux only supported shared libraries with the
4986 # GNU dynamic linker. Since this was broken with cross compilers,
4987 # most powerpc-linux boxes support dynamic linking these days and
4988 # people can always --disable-shared, the test was removed, and we
4989 # assume the GNU/Linux dynamic linker is in use.
4990 dynamic_linker
='GNU/Linux ld.so'
4997 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
4998 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4999 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
5000 dynamic_linker
='NetBSD (a.out) ld.so'
5002 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
5003 soname_spec
='${libname}${release}${shared_ext}$major'
5004 dynamic_linker
='NetBSD ld.elf_so'
5006 shlibpath_var
=LD_LIBRARY_PATH
5007 shlibpath_overrides_runpath
=yes
5008 hardcode_into_libs
=yes
5013 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5014 shlibpath_var
=LD_LIBRARY_PATH
5015 shlibpath_overrides_runpath
=yes
5022 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5023 soname_spec
='${libname}${release}${shared_ext}$major'
5024 shlibpath_var
=LD_LIBRARY_PATH
5025 shlibpath_overrides_runpath
=yes
5032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5033 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
5034 shlibpath_var
=LD_LIBRARY_PATH
5035 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5037 openbsd2.
[89] | openbsd2.
[89].
*)
5038 shlibpath_overrides_runpath
=no
5041 shlibpath_overrides_runpath
=yes
5045 shlibpath_overrides_runpath
=yes
5050 libname_spec
='$name'
5053 library_names_spec
='$libname${shared_ext} $libname.a'
5054 dynamic_linker
='OS/2 ld.exe'
5055 shlibpath_var
=LIBPATH
5058 osf3
* | osf4
* | osf5
*)
5062 soname_spec
='${libname}${release}${shared_ext}$major'
5063 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5064 shlibpath_var
=LD_LIBRARY_PATH
5065 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
5066 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
5071 soname_spec
='${libname}${release}${shared_ext}$major'
5072 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5073 shlibpath_var
=LD_LIBRARY_PATH
5080 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5081 soname_spec
='${libname}${release}${shared_ext}$major'
5082 shlibpath_var
=LD_LIBRARY_PATH
5083 shlibpath_overrides_runpath
=yes
5084 hardcode_into_libs
=yes
5085 # ldd complains unless libraries are executable
5086 postinstall_cmds
='chmod +x $lib'
5091 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5092 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
5093 shlibpath_var
=LD_LIBRARY_PATH
5094 shlibpath_overrides_runpath
=yes
5095 if test "$with_gnu_ld" = yes; then
5101 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
5103 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5104 soname_spec
='${libname}${release}${shared_ext}$major'
5105 shlibpath_var
=LD_LIBRARY_PATH
5106 case $host_vendor in
5108 shlibpath_overrides_runpath
=no
5110 export_dynamic_flag_spec
='${wl}-Blargedynsym'
5111 runpath_var
=LD_RUN_PATH
5119 shlibpath_overrides_runpath
=no
5120 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
5126 if test -d /usr
/nec
;then
5128 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
5129 soname_spec
='$libname${shared_ext}.$major'
5130 shlibpath_var
=LD_LIBRARY_PATH
5136 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5137 soname_spec
='${libname}${release}${shared_ext}$major'
5138 shlibpath_var
=LD_LIBRARY_PATH
5145 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
5146 echo "${ECHO_T}$dynamic_linker" >&6
5147 test "$dynamic_linker" = no
&& can_build_shared
=no
5150 echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
5151 echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6
5152 if test "${libltdl_cv_shlibpath_var+set}" = set; then
5153 echo $ECHO_N "(cached) $ECHO_C" >&6
5155 libltdl_cv_shlibpath_var
="$shlibpath_var"
5157 echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
5158 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6
5159 if test -n "$libltdl_cv_shlibpath_var"; then
5161 cat >>confdefs.h
<<_ACEOF
5162 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
5169 ac_config_headers
="$ac_config_headers include/config.h gcj/libgcj-config.h"
5172 # See if the user has requested runtime debugging.
5173 LIBGCJDEBUG
="disable"
5175 # Check whether --enable-libgcj-debug or --disable-libgcj-debug was given.
5176 if test "${enable_libgcj_debug+set}" = set; then
5177 enableval
="$enable_libgcj_debug"
5178 if test "$enable_libgcj_debug" = yes; then
5180 cat >>confdefs.h
<<\_ACEOF
5184 LIBGCJDEBUG
="enable"
5189 # Check whether --with-escher or --without-escher was given.
5190 if test "${with_escher+set}" = set; then
5191 withval
="$with_escher"
5194 case "$with_escher" in
5202 { { echo "$as_me:$LINENO: error: Please supply an absolute path to Escher library" >&5
5203 echo "$as_me: error: Please supply an absolute path to Escher library" >&2;}
5204 { (exit 1); exit 1; }; }
5211 # Determine which AWT peer libraries to build
5212 # Check whether --enable-java-awt or --disable-java-awt was given.
5213 if test "${enable_java_awt+set}" = set; then
5214 enableval
="$enable_java_awt"
5218 peerlibs
="`echo ${enable_java_awt} | tr ',' ' '`"
5223 # The default toolkit to use is the first one specified.
5227 for peer
in $peerlibs ; do
5230 if test "$no_x" = yes; then
5231 echo "*** xlib peers requested but no X library available" 1>&2
5235 if test -z "$TOOLKIT"; then
5236 TOOLKIT
=gnu.awt.xlib.XToolkit
5241 if test "$no_x" = yes; then
5242 echo "*** gtk peers requested but no X library available" 1>&2
5246 if test -z "$TOOLKIT"; then
5247 TOOLKIT
=gnu.java.awt.peer.gtk.GtkToolkit
5252 if test "$no_x" = yes; then
5253 # Perhaps we should admit the possibility of embedded Qt.
5254 echo "*** Qt peers requested but no X library available" 1>&2
5258 if test -z "$TOOLKIT"; then
5259 TOOLKIT
=gnu.java.awt.peer.qt.QtToolkit
5265 if test -z "$TOOLKIT"; then
5266 TOOLKIT
=gnu.java.awt.peer.x.XToolkit
5277 echo "*** unrecognised argument \"${peer}\" for --enable-java-awt" 1>&2
5284 if test "$use_xlib_awt" = yes; then
5294 if test "$use_x_awt" = yes; then
5304 cat >>confdefs.h
<<_ACEOF
5305 #define AWT_TOOLKIT "$TOOLKIT"
5310 cat >>confdefs.h
<<_ACEOF
5311 #define LIBGCJ_PREFIX "$prefix"
5315 # Create standard.omit based on decisions we just made.
5316 cp $srcdir/standard.omit.
in standard.omit
5317 if test "$use_xlib_awt" != yes; then
5318 echo gnu
/awt
/xlib
>> standard.omit
5319 echo gnu
/gcj
/xlib
>> standard.omit
5321 if test "$use_x_awt" != yes; then
5322 echo gnu
/java
/awt
/peer
/x
>> standard.omit
5325 # Tools that need to be compiled against classpath's tools classes
5326 : > vm-tools-packages
5327 for package
in gnu
/gcj
/tools
/gc_analyze
; do
5328 echo $package >> standard.omit
5329 echo $package >> vm-tools-packages
5332 if test -z "${with_multisubdir}"; then
5335 builddotdot
=`echo ${with_multisubdir} | sed -e 's:[^/][^/]*:..:g'`
5340 # Which gcj and host gcj (for ecjx) do we use?
5342 host_exeext
=${ac_exeext}
5344 built_gcc_dir
="`cd ${builddotdot}/../../${host_subdir}/gcc && ${PWDCMD-pwd}`"
5345 if test -n "${with_cross_host}"; then
5346 # We are being configured with a cross compiler. We can't
5347 # use ac_exeext, because that is for the target platform.
5350 GCJ_FOR_ECJX
="${with_cross_host}-gcj"
5351 case "${with_cross_host}" in
5353 cross_host_exeext
=.exe
5356 host_exeext
=${cross_host_exeext}
5357 if test -x "${built_gcc_dir}/gcj${cross_host_exeext}"; then
5358 if test x
"$build_noncanonical" = x
"$with_cross_host"; then
5359 # Ordinary cross (host!=target and host=build)
5362 # Canadian cross (host!=target and host!=build)
5369 # We are being configured with a native or crossed-native compiler
5370 if test -x "${built_gcc_dir}/gcj${ac_exeext}"; then
5371 if test x
"$build" = x
"$host"; then
5372 # True native build (host=target and host=build)
5375 # Crossed-native build (host=target and host!=build)
5382 case "${which_gcj}" in
5384 GCJ
="$built_gcc_dir/gcj -B`${PWDCMD-pwd}`/ -B$built_gcc_dir/"
5385 GCJH
='$(top_builddir)/$(MULTIBUILDTOP)../../$(host_subdir)/gcc/gcjh'
5388 if test "x${with_newlib}" = "xyes"; then
5389 # FIXME (comment): Why is this needed?
5391 GCJ
="${target_noncanonical}-gcj"
5393 GCJ
="${target_noncanonical}-gcj -B`${PWDCMD-pwd}`/"
5395 GCJH
='$(target_noncanonical)-gcjh'
5398 GCJ
="gcj -B`${PWDCMD-pwd}`/"
5409 # Create it, so that compile/link tests don't fail
5410 test -f libgcj.spec ||
touch libgcj.spec
5414 # Set up to configure Classpath.
5415 # FIXME: no supported way to pass args in autoconf.
5416 ac_configure_args
="$ac_configure_args --with-fastjar=$JAR"
5417 # Disable tool wrappers to avoid ltdl.h configure check.
5418 ac_configure_args
="$ac_configure_args --disable-tool-wrappers"
5419 ac_configure_args
="$ac_configure_args --disable-load-library"
5420 ac_configure_args
="$ac_configure_args --${LIBGCJDEBUG}-debug"
5421 ac_configure_args
="$ac_configure_args --enable-default-toolkit=$TOOLKIT"
5422 dir1
=`cd $srcdir && pwd`
5424 ac_configure_args
="$ac_configure_args --with-vm-classes=$dir1:$dir2"
5425 ac_configure_args
="$ac_configure_args --disable-core-jni"
5426 ac_configure_args
="$ac_configure_args --disable-examples"
5427 ac_configure_args
="$ac_configure_args --with-glibj=build"
5428 if test "$plugin_enabled" != yes; then
5429 ac_configure_args
="$ac_configure_args --disable-plugin"
5431 if test "$gconf_enabled" != yes; then
5432 ac_configure_args
="$ac_configure_args --disable-gconf-peer"
5433 ac_configure_args
="$ac_configure_args --enable-default-preferences-peer=gnu.java.util.prefs.FileBasedFactory"
5435 if test "$use_gtk_awt" != yes; then
5436 ac_configure_args
="$ac_configure_args --disable-gtk-peer --disable-plugin"
5438 if test "$use_qt_awt" != yes; then
5439 ac_configure_args
="$ac_configure_args --disable-qt-peer"
5441 # We need this as qt is disabled by default in classpath.
5442 ac_configure_args
="$ac_configure_args --enable-qt-peer"
5444 if test "$use_x_awt" != yes; then
5445 ac_configure_args
="$ac_configure_args --without-escher"
5447 # We need this as escher is disabled by default in classpath.
5448 if test "$use_escher" != true
; then
5449 { { echo "$as_me:$LINENO: error: Please supply an absolute path to the Escher library" >&5
5450 echo "$as_me: error: Please supply an absolute path to the Escher library" >&2;}
5451 { (exit 1); exit 1; }; }
5453 ac_configure_args
="$ac_configure_args --with-escher=$with_escher"
5456 # -Werror causes unavoidable problems in code using alsa.
5457 ac_configure_args
="$ac_configure_args --disable-regen-headers"
5458 ac_configure_args
="$ac_configure_args --disable-Werror"
5460 # Only use libltdl for non-newlib builds.
5461 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
5462 case $enable_ltdl_convenience in
5463 no
) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
5464 echo "$as_me: error: this package needs a convenience libltdl" >&2;}
5465 { (exit 1); exit 1; }; } ;;
5466 "") enable_ltdl_convenience
=yes
5467 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
5469 LIBLTDL
='${top_builddir}/''libltdl'/libltdlc.la
5470 LTDLINCL
='-I${top_srcdir}/''libltdl'
5471 # For backwards non-gettext consistent compatibility...
5480 cat >>confdefs.h
<<\_ACEOF
5484 # Sigh. Libtool's macro doesn't do the right thing.
5485 INCLTDL
="-I\$(top_srcdir)/libltdl $INCLTDL"
5486 # FIXME: this is a hack.
5487 sub_auxdir
="`cd $ac_aux_dir && ${PWDCMD-pwd}`"
5488 ac_configure_args
="$ac_configure_args --with-auxdir=$sub_auxdir"
5495 macro_version
='2.1a'
5496 macro_revision
='1.2435'
5509 ltmain
="$ac_aux_dir/ltmain.sh"
5517 # Check whether --enable-shared or --disable-shared was given.
5518 if test "${enable_shared+set}" = set; then
5519 enableval
="$enable_shared"
5520 p
=${PACKAGE-default}
5522 yes) enable_shared
=yes ;;
5523 no
) enable_shared
=no
;;
5526 # Look at the argument we got. We use all the common list separators.
5527 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5528 for pkg
in $enableval; do
5530 if test "X$pkg" = "X$p"; then
5548 # Check whether --enable-static or --disable-static was given.
5549 if test "${enable_static+set}" = set; then
5550 enableval
="$enable_static"
5551 p
=${PACKAGE-default}
5553 yes) enable_static
=yes ;;
5554 no
) enable_static
=no
;;
5557 # Look at the argument we got. We use all the common list separators.
5558 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5559 for pkg
in $enableval; do
5561 if test "X$pkg" = "X$p"; then
5580 # Check whether --with-pic or --without-pic was given.
5581 if test "${with_pic+set}" = set; then
5588 test -z "$pic_mode" && pic_mode
=default
5596 # Check whether --enable-fast-install or --disable-fast-install was given.
5597 if test "${enable_fast_install+set}" = set; then
5598 enableval
="$enable_fast_install"
5599 p
=${PACKAGE-default}
5601 yes) enable_fast_install
=yes ;;
5602 no
) enable_fast_install
=no
;;
5604 enable_fast_install
=no
5605 # Look at the argument we got. We use all the common list separators.
5606 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5607 for pkg
in $enableval; do
5609 if test "X$pkg" = "X$p"; then
5610 enable_fast_install
=yes
5617 enable_fast_install
=yes
5627 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5628 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
5629 if test "${lt_cv_path_SED+set}" = set; then
5630 echo $ECHO_N "(cached) $ECHO_C" >&6
5632 # Loop through the user's path and test for sed and gsed.
5633 # Then use that list of sed's as ones to test for truncation.
5634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5638 test -z "$as_dir" && as_dir
=.
5639 for lt_ac_prog
in sed gsed
; do
5640 for ac_exec_ext
in '' $ac_executable_extensions; do
5641 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5642 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5650 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5651 # along with /bin/sed that truncates output.
5652 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
5653 test ! -f $lt_ac_sed && continue
5654 cat /dev
/null
> conftest.
in
5656 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
5657 # Check for GNU sed and select it if it is found.
5658 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
5659 lt_cv_path_SED
=$lt_ac_sed
5663 cat conftest.
in conftest.
in >conftest.tmp
5664 mv conftest.tmp conftest.
in
5665 cp conftest.
in conftest.
nl
5667 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
5668 cmp -s conftest.out conftest.
nl ||
break
5669 # 10000 chars as input seems more than enough
5670 test $lt_ac_count -gt 10 && break
5671 lt_ac_count
=`expr $lt_ac_count + 1`
5672 if test $lt_ac_count -gt $lt_ac_max; then
5673 lt_ac_max
=$lt_ac_count
5674 lt_cv_path_SED
=$lt_ac_sed
5683 echo "$as_me:$LINENO: result: $SED" >&5
5684 echo "${ECHO_T}$SED" >&6
5686 test -z "$SED" && SED
=sed
5687 Xsed
="$SED -e 1s/^X//"
5699 echo "$as_me:$LINENO: checking for egrep" >&5
5700 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5701 if test "${ac_cv_prog_egrep+set}" = set; then
5702 echo $ECHO_N "(cached) $ECHO_C" >&6
5704 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5705 then ac_cv_prog_egrep
='grep -E'
5706 else ac_cv_prog_egrep
='egrep'
5709 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5710 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5711 EGREP
=$ac_cv_prog_egrep
5714 echo "$as_me:$LINENO: checking for fgrep" >&5
5715 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
5716 if test "${ac_cv_prog_fgrep+set}" = set; then
5717 echo $ECHO_N "(cached) $ECHO_C" >&6
5719 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
5720 then ac_cv_prog_fgrep
='grep -F'
5721 else ac_cv_prog_fgrep
='fgrep'
5724 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
5725 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
5726 FGREP
=$ac_cv_prog_fgrep
5729 test -z "$GREP" && GREP
=grep
5749 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5750 if test "${with_gnu_ld+set}" = set; then
5751 withval
="$with_gnu_ld"
5752 test "$withval" = no || with_gnu_ld
=yes
5757 if test "$GCC" = yes; then
5758 # Check if gcc -print-prog-name=ld gives a path.
5759 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5760 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5763 # gcc leaves a trailing carriage return which upsets mingw
5764 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5766 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5769 # Accept absolute paths.
5771 re_direlt
='/[^/][^/]*/\.\./'
5772 # Canonicalize the pathname of ld
5773 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5774 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5775 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5777 test -z "$LD" && LD
="$ac_prog"
5780 # If it fails, then pretend we aren't using GCC.
5784 # If it is relative, then search for the first ld in PATH.
5788 elif test "$with_gnu_ld" = yes; then
5789 echo "$as_me:$LINENO: checking for GNU ld" >&5
5790 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5792 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5793 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5795 if test "${lt_cv_path_LD+set}" = set; then
5796 echo $ECHO_N "(cached) $ECHO_C" >&6
5798 if test -z "$LD"; then
5799 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5800 for ac_dir
in $PATH; do
5802 test -z "$ac_dir" && ac_dir
=.
5803 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5804 lt_cv_path_LD
="$ac_dir/$ac_prog"
5805 # Check to see if the program is GNU ld. I'd rather use --version,
5806 # but apparently some variants of GNU ld only accept -v.
5807 # Break only if it was the GNU/non-GNU ld that we prefer.
5808 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5809 *GNU
* |
*'with BFD'*)
5810 test "$with_gnu_ld" != no
&& break
5813 test "$with_gnu_ld" != yes && break
5820 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5825 if test -n "$LD"; then
5826 echo "$as_me:$LINENO: result: $LD" >&5
5827 echo "${ECHO_T}$LD" >&6
5829 echo "$as_me:$LINENO: result: no" >&5
5830 echo "${ECHO_T}no" >&6
5832 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5833 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5834 { (exit 1); exit 1; }; }
5835 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5836 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5837 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5838 echo $ECHO_N "(cached) $ECHO_C" >&6
5840 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5841 case `$LD -v 2>&1 </dev/null` in
5842 *GNU
* |
*'with BFD'*)
5843 lt_cv_prog_gnu_ld
=yes
5846 lt_cv_prog_gnu_ld
=no
5850 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5851 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5852 with_gnu_ld
=$lt_cv_prog_gnu_ld
5863 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5864 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
5865 if test "${lt_cv_path_NM+set}" = set; then
5866 echo $ECHO_N "(cached) $ECHO_C" >&6
5868 if test -n "$NM"; then
5869 # Let the user override the test.
5872 lt_nm_to_check
="${ac_tool_prefix}nm"
5873 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5874 lt_nm_to_check
="$lt_nm_to_check nm"
5876 for lt_tmp_nm
in $lt_nm_to_check; do
5877 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5878 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5880 test -z "$ac_dir" && ac_dir
=.
5881 tmp_nm
="$ac_dir/$lt_tmp_nm"
5882 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5883 # Check to see if the nm accepts a BSD-compat flag.
5884 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5885 # nm: unknown option "B" ignored
5886 # Tru64's nm complains that /dev/null is an invalid object file
5887 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5888 */dev
/null
* |
*'Invalid file or object type'*)
5889 lt_cv_path_NM
="$tmp_nm -B"
5893 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5895 lt_cv_path_NM
="$tmp_nm -p"
5899 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5900 continue # so that we can try to find one that supports BSD flags
5909 : ${lt_cv_path_NM=no}
5912 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5913 echo "${ECHO_T}$lt_cv_path_NM" >&6
5914 if test "$lt_cv_path_NM" != "no"; then
5917 # Didn't find any BSD compatible name lister, look for dumpbin.
5918 if test -n "$ac_tool_prefix"; then
5919 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5921 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5922 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5923 echo "$as_me:$LINENO: checking for $ac_word" >&5
5924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5925 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5926 echo $ECHO_N "(cached) $ECHO_C" >&6
5928 if test -n "$DUMPBIN"; then
5929 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5935 test -z "$as_dir" && as_dir
=.
5936 for ac_exec_ext
in '' $ac_executable_extensions; do
5937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5938 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5947 DUMPBIN
=$ac_cv_prog_DUMPBIN
5948 if test -n "$DUMPBIN"; then
5949 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5950 echo "${ECHO_T}$DUMPBIN" >&6
5952 echo "$as_me:$LINENO: result: no" >&5
5953 echo "${ECHO_T}no" >&6
5956 test -n "$DUMPBIN" && break
5959 if test -z "$DUMPBIN"; then
5960 ac_ct_DUMPBIN
=$DUMPBIN
5961 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5963 # Extract the first word of "$ac_prog", so it can be a program name with args.
5964 set dummy
$ac_prog; ac_word
=$2
5965 echo "$as_me:$LINENO: checking for $ac_word" >&5
5966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5967 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5968 echo $ECHO_N "(cached) $ECHO_C" >&6
5970 if test -n "$ac_ct_DUMPBIN"; then
5971 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5977 test -z "$as_dir" && as_dir
=.
5978 for ac_exec_ext
in '' $ac_executable_extensions; do
5979 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5980 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5989 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5990 if test -n "$ac_ct_DUMPBIN"; then
5991 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5992 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
5994 echo "$as_me:$LINENO: result: no" >&5
5995 echo "${ECHO_T}no" >&6
5998 test -n "$ac_ct_DUMPBIN" && break
6000 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
6002 DUMPBIN
=$ac_ct_DUMPBIN
6006 if test "$DUMPBIN" != ":"; then
6010 test -z "$NM" && NM
=nm
6017 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
6018 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
6019 if test "${lt_cv_nm_interface+set}" = set; then
6020 echo $ECHO_N "(cached) $ECHO_C" >&6
6022 lt_cv_nm_interface
="BSD nm"
6023 echo "int some_variable = 0;" > conftest.
$ac_ext
6024 (eval echo "\"\$as_me:6024: $ac_compile\"" >&5)
6025 (eval "$ac_compile" 2>conftest.err
)
6026 cat conftest.err
>&5
6027 (eval echo "\"\$as_me:6027: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6028 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6029 cat conftest.err
>&5
6030 (eval echo "\"\$as_me:6030: output\"" >&5)
6031 cat conftest.out
>&5
6032 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6033 lt_cv_nm_interface
="MS dumpbin"
6037 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
6038 echo "${ECHO_T}$lt_cv_nm_interface" >&6
6040 # find the maximum length of command line arguments
6041 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6042 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
6043 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6044 echo $ECHO_N "(cached) $ECHO_C" >&6
6051 # On DJGPP, this test can blow up pretty badly due to problems in libc
6052 # (any single argument exceeding 2000 bytes causes a buffer overrun
6053 # during glob expansion). Even if it were fixed, the result of this
6054 # check would be larger than it should be.
6055 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6059 # Under GNU Hurd, this test is not required because there is
6060 # no limit to the length of command line arguments.
6061 # Libtool will interpret -1 as no limit whatsoever
6062 lt_cv_sys_max_cmd_len
=-1;
6066 # On Win9x/ME, this test blows up -- it succeeds, but takes
6067 # about 5 minutes as the teststring grows exponentially.
6068 # Worse, since 9x/ME are not pre-emptively multitasking,
6069 # you end up with a "frozen" computer, even though with patience
6070 # the test eventually succeeds (with a max line length of 256k).
6071 # Instead, let's just punt: use the minimum linelength reported by
6072 # all of the supported platforms: 8192 (on NT/2K/XP).
6073 lt_cv_sys_max_cmd_len
=8192;
6077 # On AmigaOS with pdksh, this test takes hours, literally.
6078 # So we just punt and use a minimum line length of 8192.
6079 lt_cv_sys_max_cmd_len
=8192;
6082 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6083 # This has been around since 386BSD, at least. Likely further.
6084 if test -x /sbin
/sysctl
; then
6085 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6086 elif test -x /usr
/sbin
/sysctl
; then
6087 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6089 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6091 # And add a safety zone
6092 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6093 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6097 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6098 lt_cv_sys_max_cmd_len
=196608
6102 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6103 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6104 # nice to cause kernel panics so lets avoid the loop below.
6105 # First set a reasonable default.
6106 lt_cv_sys_max_cmd_len
=16384
6108 if test -x /sbin
/sysconfig
; then
6109 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6110 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6115 lt_cv_sys_max_cmd_len
=102400
6117 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6118 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6119 if test -n "$kargmax"; then
6120 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6122 lt_cv_sys_max_cmd_len
=32768
6126 lt_cv_sys_max_cmd_len
=`getconf ARG_MAX 2> /dev/null`
6127 if test -n $lt_cv_sys_max_cmd_len; then
6128 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6129 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6131 # Make teststring a little bigger before we do anything with it.
6132 # a 1K string should be a reasonable start.
6133 for i
in 1 2 3 4 5 6 7 8 ; do
6134 teststring
=$teststring$teststring
6136 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6137 # If test is not a shell built-in, we'll probably end up computing a
6138 # maximum length that is only half of the actual maximum length, but
6140 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6141 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
6142 test $i != 17 # 1/2 MB should be enough
6145 teststring
=$teststring$teststring
6147 # Only check the string length outside the loop.
6148 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6150 # Add a significant safety factor because C++ compilers can tack on
6151 # massive amounts of additional arguments before passing them to the
6152 # linker. It appears as though 1/2 is a usable value.
6153 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6160 if test -n $lt_cv_sys_max_cmd_len ; then
6161 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6162 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
6164 echo "$as_me:$LINENO: result: none" >&5
6165 echo "${ECHO_T}none" >&6
6167 max_cmd_len
=$lt_cv_sys_max_cmd_len
6178 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6179 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
6180 # Try some XSI features
6183 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6184 = c,a/b,, ) >/dev/null 2>&1 \
6186 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
6187 echo "${ECHO_T}$xsi_shell" >&6
6190 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
6191 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
6193 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6195 && lt_shell_append=yes
6196 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
6197 echo "${ECHO_T}$lt_shell_append" >&6
6200 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6210 # test EBCDIC or ASCII
6211 case `echo X|tr X '\101'` in
6212 A) # ASCII based system
6213 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6214 lt_SP2NL='tr \040 \012'
6215 lt_NL2SP='tr \015\012 \040\040'
6217 *) # EBCDIC based system
6218 lt_SP2NL='tr \100 \n'
6219 lt_NL2SP='tr \r\n \100\100'
6231 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
6232 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
6233 if test "${lt_cv_ld_reload_flag+set}" = set; then
6234 echo $ECHO_N "(cached
) $ECHO_C" >&6
6236 lt_cv_ld_reload_flag='-r'
6238 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
6239 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
6240 reload_flag=$lt_cv_ld_reload_flag
6241 case $reload_flag in
6243 *) reload_flag=" $reload_flag" ;;
6245 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6248 if test "$GCC" = yes; then
6249 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6251 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6265 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
6266 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
6267 if test "${lt_cv_deplibs_check_method+set}" = set; then
6268 echo $ECHO_N "(cached
) $ECHO_C" >&6
6270 lt_cv_file_magic_cmd='$MAGIC_CMD'
6271 lt_cv_file_magic_test_file=
6272 lt_cv_deplibs_check_method='unknown'
6273 # Need to set the preceding variable on all platforms that support
6274 # interlibrary dependencies.
6275 # 'none' -- dependencies not supported.
6276 # `unknown' -- same as none, but documents that we really don't know.
6277 # 'pass_all' -- all dependencies passed with no checks.
6278 # 'test_compile' -- check by making test program.
6279 # 'file_magic [[regex]]' -- check by looking for files in library path
6280 # which responds to the $file_magic_cmd with a given extended regex.
6281 # If you have `file' or equivalent on your system and you're not sure
6282 # whether `pass_all' will *always* work, you probably want this one.
6286 lt_cv_deplibs_check_method=pass_all
6290 lt_cv_deplibs_check_method=pass_all
6294 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6295 lt_cv_file_magic_cmd='/usr/bin/file -L'
6296 lt_cv_file_magic_test_file=/shlib/libc.so
6300 # func_win32_libid is a shell function defined in ltmain.sh
6301 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6302 lt_cv_file_magic_cmd='func_win32_libid'
6306 # Base MSYS/MinGW do not provide the 'file' command needed by
6307 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6308 # unless we find 'file', for example because we are cross-compiling.
6309 if ( file / ) >/dev/null 2>&1; then
6310 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6311 lt_cv_file_magic_cmd='func_win32_libid'
6313 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6314 lt_cv_file_magic_cmd='$OBJDUMP -f'
6318 darwin* | rhapsody*)
6319 lt_cv_deplibs_check_method=pass_all
6322 freebsd* | dragonfly*)
6323 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6326 # Not sure whether the presence of OpenBSD here was a mistake.
6327 # Let's accept both of them until this is cleared up.
6328 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6329 lt_cv_file_magic_cmd=/usr/bin/file
6330 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6334 lt_cv_deplibs_check_method=pass_all
6339 lt_cv_deplibs_check_method=pass_all
6342 hpux10.20* | hpux11*)
6343 lt_cv_file_magic_cmd=/usr/bin/file
6346 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6347 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6350 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]'
6351 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6354 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6355 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6361 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6362 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6365 irix5* | irix6* | nonstopux*)
6367 *-32|*"-32 ") libmagic=32-bit;;
6368 *-n32|*"-n32 ") libmagic=N32;;
6369 *-64|*"-64 ") libmagic=64-bit;;
6370 *) libmagic=never-match;;
6372 lt_cv_deplibs_check_method=pass_all
6375 # This must be Linux ELF.
6376 linux* | k*bsd*-gnu)
6377 lt_cv_deplibs_check_method=pass_all
6381 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6382 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6384 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6389 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6390 lt_cv_file_magic_cmd=/usr/bin/file
6391 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6395 lt_cv_deplibs_check_method=pass_all
6399 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6400 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6402 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6406 osf3* | osf4* | osf5*)
6407 lt_cv_deplibs_check_method=pass_all
6411 lt_cv_deplibs_check_method=pass_all
6415 lt_cv_deplibs_check_method=pass_all
6418 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6419 lt_cv_deplibs_check_method=pass_all
6423 case $host_vendor in
6425 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]'
6426 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6429 lt_cv_deplibs_check_method=pass_all
6432 lt_cv_file_magic_cmd='/bin/file'
6433 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6436 lt_cv_file_magic_cmd='/bin/file'
6437 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6438 lt_cv_file_magic_test_file=/lib/libc.so
6441 lt_cv_deplibs_check_method=pass_all
6444 lt_cv_deplibs_check_method=pass_all
6450 lt_cv_deplibs_check_method=pass_all
6455 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
6456 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
6457 file_magic_cmd=$lt_cv_file_magic_cmd
6458 deplibs_check_method=$lt_cv_deplibs_check_method
6459 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6472 if test -n "$ac_tool_prefix"; then
6473 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6474 set dummy ${ac_tool_prefix}ar; ac_word=$2
6475 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6476 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6477 if test "${ac_cv_prog_AR+set}" = set; then
6478 echo $ECHO_N "(cached
) $ECHO_C" >&6
6480 if test -n "$AR"; then
6481 ac_cv_prog_AR="$AR" # Let the user override the test.
6483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6487 test -z "$as_dir" && as_dir=.
6488 for ac_exec_ext in '' $ac_executable_extensions; do
6489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6490 ac_cv_prog_AR="${ac_tool_prefix}ar"
6491 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6500 if test -n "$AR"; then
6501 echo "$as_me:$LINENO: result
: $AR" >&5
6502 echo "${ECHO_T}$AR" >&6
6504 echo "$as_me:$LINENO: result
: no
" >&5
6505 echo "${ECHO_T}no
" >&6
6509 if test -z "$ac_cv_prog_AR"; then
6511 # Extract the first word of "ar", so it can be a program name with args.
6512 set dummy ar; ac_word=$2
6513 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6514 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6515 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6516 echo $ECHO_N "(cached
) $ECHO_C" >&6
6518 if test -n "$ac_ct_AR"; then
6519 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6525 test -z "$as_dir" && as_dir=.
6526 for ac_exec_ext in '' $ac_executable_extensions; do
6527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6528 ac_cv_prog_ac_ct_AR="ar"
6529 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6535 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
6538 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6539 if test -n "$ac_ct_AR"; then
6540 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
6541 echo "${ECHO_T}$ac_ct_AR" >&6
6543 echo "$as_me:$LINENO: result
: no
" >&5
6544 echo "${ECHO_T}no
" >&6
6552 test -z "$AR" && AR=ar
6553 test -z "$AR_FLAGS" && AR_FLAGS=cru
6565 if test -n "$ac_tool_prefix"; then
6566 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6567 set dummy ${ac_tool_prefix}strip; ac_word=$2
6568 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6569 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6570 if test "${ac_cv_prog_STRIP+set}" = set; then
6571 echo $ECHO_N "(cached
) $ECHO_C" >&6
6573 if test -n "$STRIP"; then
6574 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6580 test -z "$as_dir" && as_dir=.
6581 for ac_exec_ext in '' $ac_executable_extensions; do
6582 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6583 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6584 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6592 STRIP=$ac_cv_prog_STRIP
6593 if test -n "$STRIP"; then
6594 echo "$as_me:$LINENO: result
: $STRIP" >&5
6595 echo "${ECHO_T}$STRIP" >&6
6597 echo "$as_me:$LINENO: result
: no
" >&5
6598 echo "${ECHO_T}no
" >&6
6602 if test -z "$ac_cv_prog_STRIP"; then
6604 # Extract the first word of "strip
", so it can be a program name with args.
6605 set dummy strip; ac_word=$2
6606 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6607 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6608 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6609 echo $ECHO_N "(cached
) $ECHO_C" >&6
6611 if test -n "$ac_ct_STRIP"; then
6612 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6618 test -z "$as_dir" && as_dir=.
6619 for ac_exec_ext in '' $ac_executable_extensions; do
6620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6621 ac_cv_prog_ac_ct_STRIP="strip
"
6622 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6628 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6631 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6632 if test -n "$ac_ct_STRIP"; then
6633 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
6634 echo "${ECHO_T}$ac_ct_STRIP" >&6
6636 echo "$as_me:$LINENO: result
: no
" >&5
6637 echo "${ECHO_T}no
" >&6
6642 STRIP="$ac_cv_prog_STRIP"
6645 test -z "$STRIP" && STRIP=:
6652 if test -n "$ac_tool_prefix"; then
6653 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6654 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6655 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6656 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6657 if test "${ac_cv_prog_RANLIB+set}" = set; then
6658 echo $ECHO_N "(cached
) $ECHO_C" >&6
6660 if test -n "$RANLIB"; then
6661 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6667 test -z "$as_dir" && as_dir=.
6668 for ac_exec_ext in '' $ac_executable_extensions; do
6669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6670 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6671 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6679 RANLIB=$ac_cv_prog_RANLIB
6680 if test -n "$RANLIB"; then
6681 echo "$as_me:$LINENO: result
: $RANLIB" >&5
6682 echo "${ECHO_T}$RANLIB" >&6
6684 echo "$as_me:$LINENO: result
: no
" >&5
6685 echo "${ECHO_T}no
" >&6
6689 if test -z "$ac_cv_prog_RANLIB"; then
6690 ac_ct_RANLIB=$RANLIB
6691 # Extract the first word of "ranlib
", so it can be a program name with args.
6692 set dummy ranlib; ac_word=$2
6693 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6694 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6695 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6696 echo $ECHO_N "(cached
) $ECHO_C" >&6
6698 if test -n "$ac_ct_RANLIB"; then
6699 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6705 test -z "$as_dir" && as_dir=.
6706 for ac_exec_ext in '' $ac_executable_extensions; do
6707 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6708 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6709 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6715 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6718 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6719 if test -n "$ac_ct_RANLIB"; then
6720 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
6721 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6723 echo "$as_me:$LINENO: result
: no
" >&5
6724 echo "${ECHO_T}no
" >&6
6727 RANLIB=$ac_ct_RANLIB
6729 RANLIB="$ac_cv_prog_RANLIB"
6732 test -z "$RANLIB" && RANLIB=:
6739 # Determine commands to create old-style static archives.
6740 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6741 old_postinstall_cmds='chmod 644 $oldlib'
6742 old_postuninstall_cmds=
6744 if test -n "$RANLIB"; then
6747 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6750 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6753 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6789 # If no C compiler was specified, use CC.
6792 # If no C compiler flags were specified, use CFLAGS.
6793 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6795 # Allow CC to be a program name with arguments.
6799 # Check for command to grab the raw symbol name followed by C symbol from nm.
6800 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
6801 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
6802 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6803 echo $ECHO_N "(cached
) $ECHO_C" >&6
6806 # These are sane defaults that work on at least a few old systems.
6807 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6809 # Character class describing NM global symbol codes.
6810 symcode='[BCDEGRST]'
6812 # Regexp to match symbols that can be accessed directly from C.
6813 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6815 # Define system-specific variables.
6820 cygwin* | mingw* | pw32*)
6821 symcode='[ABCDGISTW]'
6824 if test "$host_cpu" = ia64; then
6825 symcode='[ABCDEGRST]'
6829 symcode='[BCDEGRST]'
6832 symcode='[BCDEGQRST]'
6843 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6851 # If we're using GNU nm, then use its standard symbol codes.
6852 case `$NM -V 2>&1` in
6853 *GNU* | *'with BFD'*)
6854 symcode='[ABCDGIRSTW]' ;;
6857 # Transform an extracted symbol line into a proper C declaration.
6858 # Some systems (esp. on ia64) link data and code symbols differently,
6859 # so use this general approach.
6860 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6862 # Transform an extracted symbol line into symbol name and symbol address
6863 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6865 # Handle CRLF in mingw tool chain
6869 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6873 # Try without a prefix underscore, then with it.
6874 for ac_symprfx in "" "_
"; do
6876 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6877 symxfrm="\\1 $ac_symprfx\\2 \\2"
6879 # Write the raw and C identifiers.
6880 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6881 # Fake it for dumpbin and say T for any non-static function
6882 # and D for any global variable.
6883 # Also find C++ and __fastcall symbols from MSVC++,
6884 # which start with @ or ?.
6885 lt_cv_sys_global_symbol_pipe="$AWK '"\
6886 " {last_section=section; section=\$ 3};"\
6887 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6888 " \$ 0!~/External *\|/{next};"\
6889 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6890 " {if(hide[section]) next};"\
6891 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6892 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6893 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6894 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6895 " ' prfx
=^
$ac_symprfx"
6897 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6900 # Check to see that the pipe works correctly.
6904 cat > conftest.$ac_ext <<_LT_EOF
6909 void nm_test_func(void);
6910 void nm_test_func(void){}
6914 int main(){nm_test_var='a';nm_test_func();return(0);}
6917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6918 (eval $ac_compile) 2>&5
6920 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6921 (exit $ac_status); }; then
6922 # Now try to grab the symbols.
6924 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
6925 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6927 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6928 (exit $ac_status); } && test -s "$nlist"; then
6929 # Try sorting and uniquifying the output.
6930 if sort "$nlist" | uniq > "$nlist"T; then
6931 mv -f "$nlist"T "$nlist"
6936 # Make sure that we snagged all the symbols we need.
6937 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6938 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6939 cat <<_LT_EOF > conftest.$ac_ext
6945 # Now generate the symbol file.
6946 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6948 cat <<_LT_EOF >> conftest.$ac_ext
6950 /* The mapping between symbol names and symbols. */
6955 lt__PROGRAM__LTX_preloaded_symbols[] =
6957 { "@PROGRAM@
", (void *) 0 },
6959 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6960 cat <<\_LT_EOF >> conftest.$ac_ext
6964 /* This works around a problem in FreeBSD linker */
6965 #ifdef FREEBSD_WORKAROUND
6966 static const void *lt_preloaded_setup() {
6967 return lt__PROGRAM__LTX_preloaded_symbols;
6975 # Now try linking the two files.
6976 mv conftest.$ac_objext conftstm.$ac_objext
6977 lt_save_LIBS="$LIBS"
6978 lt_save_CFLAGS="$CFLAGS"
6979 LIBS="conftstm.
$ac_objext"
6980 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6982 (eval $ac_link) 2>&5
6984 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6985 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6988 LIBS="$lt_save_LIBS"
6989 CFLAGS="$lt_save_CFLAGS"
6991 echo "cannot
find nm_test_func
in $nlist" >&5
6994 echo "cannot
find nm_test_var
in $nlist" >&5
6997 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7000 echo "$progname: failed program was
:" >&5
7001 cat conftest.$ac_ext >&5
7003 rm -f conftest* conftst*
7005 # Do not use the global_symbol_pipe unless it works.
7006 if test "$pipe_works" = yes; then
7009 lt_cv_sys_global_symbol_pipe=
7015 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7016 lt_cv_sys_global_symbol_to_cdecl=
7018 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7019 echo "$as_me:$LINENO: result
: failed
" >&5
7020 echo "${ECHO_T}failed
" >&6
7022 echo "$as_me:$LINENO: result
: ok
" >&5
7023 echo "${ECHO_T}ok
" >&6
7043 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
7044 if test "${enable_libtool_lock+set}" = set; then
7045 enableval="$enable_libtool_lock"
7048 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7050 # Some flags need to be propagated to the compiler or linker for good
7054 # Find out which ABI we are using.
7055 echo 'int i;' > conftest.$ac_ext
7056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7057 (eval $ac_compile) 2>&5
7059 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7060 (exit $ac_status); }; then
7061 case `/usr/bin/file conftest.$ac_objext` in
7073 # Find out which ABI we are using.
7074 echo '#line 7074 "configure
"' > conftest.$ac_ext
7075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7076 (eval $ac_compile) 2>&5
7078 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7079 (exit $ac_status); }; then
7080 if test "$lt_cv_prog_gnu_ld" = yes; then
7081 case `/usr/bin/file conftest.$ac_objext` in
7083 LD="${LD-ld} -melf32bsmip"
7086 LD="${LD-ld} -melf32bmipn32"
7089 LD="${LD-ld} -melf64bmip"
7093 case `/usr/bin/file conftest.$ac_objext` in
7109 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7110 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7111 # Find out which ABI we are using.
7112 echo 'int i;' > conftest.$ac_ext
7113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7114 (eval $ac_compile) 2>&5
7116 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7117 (exit $ac_status); }; then
7118 case `/usr/bin/file conftest.o` in
7121 x86_64-*kfreebsd*-gnu)
7122 LD="${LD-ld} -m elf_i386_fbsd
"
7125 LD="${LD-ld} -m elf_i386
"
7127 ppc64-*linux*|powerpc64-*linux*)
7128 LD="${LD-ld} -m elf32ppclinux
"
7131 LD="${LD-ld} -m elf_s390
"
7134 LD="${LD-ld} -m elf32_sparc
"
7140 x86_64-*kfreebsd*-gnu)
7141 LD="${LD-ld} -m elf_x86_64_fbsd
"
7144 LD="${LD-ld} -m elf_x86_64
"
7146 ppc*-*linux*|powerpc*-*linux*)
7147 LD="${LD-ld} -m elf64ppc
"
7149 s390*-*linux*|s390*-*tpf*)
7150 LD="${LD-ld} -m elf64_s390
"
7153 LD="${LD-ld} -m elf64_sparc
"
7163 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7164 SAVE_CFLAGS="$CFLAGS"
7165 CFLAGS="$CFLAGS -belf"
7166 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
7167 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
7168 if test "${lt_cv_cc_needs_belf+set}" = set; then
7169 echo $ECHO_N "(cached
) $ECHO_C" >&6
7172 ac_cpp='$CPP $CPPFLAGS'
7173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7177 if test x$gcc_no_link = xyes; then
7178 { { echo "$as_me:$LINENO: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&5
7179 echo "$as_me: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&2;}
7180 { (exit 1); exit 1; }; }
7182 cat >conftest.$ac_ext <<_ACEOF
7185 cat confdefs.h >>conftest.$ac_ext
7186 cat >>conftest.$ac_ext <<_ACEOF
7187 /* end confdefs.h. */
7197 rm -f conftest.$ac_objext conftest$ac_exeext
7198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7199 (eval $ac_link) 2>conftest.er1
7201 grep -v '^ *+' conftest.er1 >conftest.err
7203 cat conftest.err >&5
7204 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7205 (exit $ac_status); } &&
7206 { ac_try='test -z "$ac_c_werror_flag"
7207 || test ! -s conftest.err'
7208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7211 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7212 (exit $ac_status); }; } &&
7213 { ac_try='test -s conftest$ac_exeext'
7214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7217 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7218 (exit $ac_status); }; }; then
7219 lt_cv_cc_needs_belf=yes
7221 echo "$as_me: failed program was
:" >&5
7222 sed 's/^/| /' conftest.$ac_ext >&5
7224 lt_cv_cc_needs_belf=no
7226 rm -f conftest.err conftest.$ac_objext \
7227 conftest$ac_exeext conftest.$ac_ext
7229 ac_cpp='$CPP $CPPFLAGS'
7230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7235 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
7236 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
7237 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7238 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7239 CFLAGS="$SAVE_CFLAGS"
7243 # Find out which ABI we are using.
7244 echo 'int i;' > conftest.$ac_ext
7245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7246 (eval $ac_compile) 2>&5
7248 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7249 (exit $ac_status); }; then
7250 case `/usr/bin/file conftest.o` in
7252 case $lt_cv_prog_gnu_ld in
7253 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7254 *) LD="${LD-ld} -64" ;;
7263 need_locks="$enable_libtool_lock"
7266 ac_cpp='$CPP $CPPFLAGS'
7267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7270 echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
7271 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6
7272 # On Suns, sometimes $CPP names a directory.
7273 if test -n "$CPP" && test -d "$CPP"; then
7276 if test -z "$CPP"; then
7277 if test "${ac_cv_prog_CPP+set}" = set; then
7278 echo $ECHO_N "(cached
) $ECHO_C" >&6
7280 # Double quotes because CPP needs to be expanded
7281 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7284 for ac_c_preproc_warn_flag in '' yes
7286 # Use a header file that comes with gcc, so configuring glibc
7287 # with a fresh cross-compiler works.
7288 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7289 # <limits.h> exists even on freestanding compilers.
7290 # On the NeXT, cc -E runs the code through the compiler's parser,
7291 # not just through cpp. "Syntax error
" is here to catch this case.
7292 cat >conftest.$ac_ext <<_ACEOF
7295 cat confdefs.h >>conftest.$ac_ext
7296 cat >>conftest.$ac_ext <<_ACEOF
7297 /* end confdefs.h. */
7299 # include <limits.h>
7301 # include <assert.h>
7305 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7306 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7308 grep -v '^ *+' conftest.er1 >conftest.err
7310 cat conftest.err >&5
7311 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7312 (exit $ac_status); } >/dev/null; then
7313 if test -s conftest.err; then
7314 ac_cpp_err=$ac_c_preproc_warn_flag
7315 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7322 if test -z "$ac_cpp_err"; then
7325 echo "$as_me: failed program was
:" >&5
7326 sed 's/^/| /' conftest.$ac_ext >&5
7328 # Broken: fails on valid input.
7331 rm -f conftest.err conftest.$ac_ext
7333 # OK, works on sane cases. Now check whether non-existent headers
7334 # can be detected and how.
7335 cat >conftest.$ac_ext <<_ACEOF
7338 cat confdefs.h >>conftest.$ac_ext
7339 cat >>conftest.$ac_ext <<_ACEOF
7340 /* end confdefs.h. */
7341 #include <ac_nonexistent.h>
7343 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7344 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7346 grep -v '^ *+' conftest.er1 >conftest.err
7348 cat conftest.err >&5
7349 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7350 (exit $ac_status); } >/dev/null; then
7351 if test -s conftest.err; then
7352 ac_cpp_err=$ac_c_preproc_warn_flag
7353 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7360 if test -z "$ac_cpp_err"; then
7361 # Broken: success on invalid input.
7364 echo "$as_me: failed program was
:" >&5
7365 sed 's/^/| /' conftest.$ac_ext >&5
7367 # Passes both tests.
7371 rm -f conftest.err conftest.$ac_ext
7374 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7375 rm -f conftest.err conftest.$ac_ext
7376 if $ac_preproc_ok; then
7388 echo "$as_me:$LINENO: result
: $CPP" >&5
7389 echo "${ECHO_T}$CPP" >&6
7391 for ac_c_preproc_warn_flag in '' yes
7393 # Use a header file that comes with gcc, so configuring glibc
7394 # with a fresh cross-compiler works.
7395 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7396 # <limits.h> exists even on freestanding compilers.
7397 # On the NeXT, cc -E runs the code through the compiler's parser,
7398 # not just through cpp. "Syntax error
" is here to catch this case.
7399 cat >conftest.$ac_ext <<_ACEOF
7402 cat confdefs.h >>conftest.$ac_ext
7403 cat >>conftest.$ac_ext <<_ACEOF
7404 /* end confdefs.h. */
7406 # include <limits.h>
7408 # include <assert.h>
7412 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7413 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7415 grep -v '^ *+' conftest.er1 >conftest.err
7417 cat conftest.err >&5
7418 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7419 (exit $ac_status); } >/dev/null; then
7420 if test -s conftest.err; then
7421 ac_cpp_err=$ac_c_preproc_warn_flag
7422 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7429 if test -z "$ac_cpp_err"; then
7432 echo "$as_me: failed program was
:" >&5
7433 sed 's/^/| /' conftest.$ac_ext >&5
7435 # Broken: fails on valid input.
7438 rm -f conftest.err conftest.$ac_ext
7440 # OK, works on sane cases. Now check whether non-existent headers
7441 # can be detected and how.
7442 cat >conftest.$ac_ext <<_ACEOF
7445 cat confdefs.h >>conftest.$ac_ext
7446 cat >>conftest.$ac_ext <<_ACEOF
7447 /* end confdefs.h. */
7448 #include <ac_nonexistent.h>
7450 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7451 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7453 grep -v '^ *+' conftest.er1 >conftest.err
7455 cat conftest.err >&5
7456 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7457 (exit $ac_status); } >/dev/null; then
7458 if test -s conftest.err; then
7459 ac_cpp_err=$ac_c_preproc_warn_flag
7460 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7467 if test -z "$ac_cpp_err"; then
7468 # Broken: success on invalid input.
7471 echo "$as_me: failed program was
:" >&5
7472 sed 's/^/| /' conftest.$ac_ext >&5
7474 # Passes both tests.
7478 rm -f conftest.err conftest.$ac_ext
7481 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7482 rm -f conftest.err conftest.$ac_ext
7483 if $ac_preproc_ok; then
7486 { { echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
7487 echo "$as_me: error: in \`$ac_pwd':" >&2;}
7488 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7489 See \`config.log' for more details.
" >&5
7490 echo "$as_me: error
: C preprocessor
\"$CPP\" fails sanity check
7491 See \
`config.log' for more details." >&2;}
7492 { (exit 1); exit 1; }; }; }
7496 ac_cpp='$CPP $CPPFLAGS'
7497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7502 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7503 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7504 if test "${ac_cv_header_stdc+set}" = set; then
7505 echo $ECHO_N "(cached) $ECHO_C" >&6
7507 cat >conftest.$ac_ext <<_ACEOF
7510 cat confdefs.h >>conftest.$ac_ext
7511 cat >>conftest.$ac_ext <<_ACEOF
7512 /* end confdefs.h. */
7526 rm -f conftest.$ac_objext
7527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7528 (eval $ac_compile) 2>conftest.er1
7530 grep -v '^ *+' conftest.er1 >conftest.err
7532 cat conftest.err >&5
7533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7534 (exit $ac_status); } &&
7535 { ac_try='test -z "$ac_c_werror_flag"
7536 || test ! -s conftest.err'
7537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7541 (exit $ac_status); }; } &&
7542 { ac_try='test -s conftest.$ac_objext'
7543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7547 (exit $ac_status); }; }; then
7548 ac_cv_header_stdc=yes
7550 echo "$as_me: failed program was:" >&5
7551 sed 's/^/| /' conftest.$ac_ext >&5
7553 ac_cv_header_stdc=no
7555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7557 if test $ac_cv_header_stdc = yes; then
7558 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7559 cat >conftest.$ac_ext <<_ACEOF
7562 cat confdefs.h >>conftest.$ac_ext
7563 cat >>conftest.$ac_ext <<_ACEOF
7564 /* end confdefs.h. */
7568 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7569 $EGREP "memchr" >/dev/null 2>&1; then
7572 ac_cv_header_stdc=no
7578 if test $ac_cv_header_stdc = yes; then
7579 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7580 cat >conftest.$ac_ext <<_ACEOF
7583 cat confdefs.h >>conftest.$ac_ext
7584 cat >>conftest.$ac_ext <<_ACEOF
7585 /* end confdefs.h. */
7589 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7590 $EGREP "free" >/dev/null 2>&1; then
7593 ac_cv_header_stdc=no
7599 if test $ac_cv_header_stdc = yes; then
7600 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7601 if test "$cross_compiling" = yes; then
7604 cat >conftest.$ac_ext <<_ACEOF
7607 cat confdefs.h >>conftest.$ac_ext
7608 cat >>conftest.$ac_ext <<_ACEOF
7609 /* end confdefs.h. */
7611 #if ((' ' & 0x0FF) == 0x020)
7612 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7613 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7615 # define ISLOWER(c) \
7616 (('a' <= (c) && (c) <= 'i') \
7617 || ('j' <= (c) && (c) <= 'r') \
7618 || ('s' <= (c) && (c) <= 'z'))
7619 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7622 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7627 for (i = 0; i < 256; i++)
7628 if (XOR (islower (i), ISLOWER (i))
7629 || toupper (i) != TOUPPER (i))
7634 rm -f conftest$ac_exeext
7635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7636 (eval $ac_link) 2>&5
7638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7639 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7644 (exit $ac_status); }; }; then
7647 echo "$as_me: program exited with status $ac_status" >&5
7648 echo "$as_me: failed program was:" >&5
7649 sed 's/^/| /' conftest.$ac_ext >&5
7652 ac_cv_header_stdc=no
7654 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7658 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7659 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7660 if test $ac_cv_header_stdc = yes; then
7662 cat >>confdefs.h <<\_ACEOF
7663 #define STDC_HEADERS 1
7668 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7678 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7679 inttypes.h stdint.h unistd.h
7681 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7682 echo "$as_me:$LINENO: checking for $ac_header" >&5
7683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7685 echo $ECHO_N "(cached) $ECHO_C" >&6
7687 cat >conftest.$ac_ext <<_ACEOF
7690 cat confdefs.h >>conftest.$ac_ext
7691 cat >>conftest.$ac_ext <<_ACEOF
7692 /* end confdefs.h. */
7693 $ac_includes_default
7695 #include <$ac_header>
7697 rm -f conftest.$ac_objext
7698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7699 (eval $ac_compile) 2>conftest.er1
7701 grep -v '^ *+' conftest.er1 >conftest.err
7703 cat conftest.err >&5
7704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7705 (exit $ac_status); } &&
7706 { ac_try='test -z "$ac_c_werror_flag"
7707 || test ! -s conftest.err'
7708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7712 (exit $ac_status); }; } &&
7713 { ac_try='test -s conftest.$ac_objext'
7714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7718 (exit $ac_status); }; }; then
7719 eval "$as_ac_Header=yes"
7721 echo "$as_me: failed program was:" >&5
7722 sed 's/^/| /' conftest.$ac_ext >&5
7724 eval "$as_ac_Header=no"
7726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7729 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7730 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7731 cat >>confdefs.h <<_ACEOF
7732 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7741 for ac_header in dlfcn.h
7743 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7744 echo "$as_me:$LINENO: checking for $ac_header" >&5
7745 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7746 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7747 echo $ECHO_N "(cached) $ECHO_C" >&6
7749 cat >conftest.$ac_ext <<_ACEOF
7752 cat confdefs.h >>conftest.$ac_ext
7753 cat >>conftest.$ac_ext <<_ACEOF
7754 /* end confdefs.h. */
7755 $ac_includes_default
7757 #include <$ac_header>
7759 rm -f conftest.$ac_objext
7760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7761 (eval $ac_compile) 2>conftest.er1
7763 grep -v '^ *+' conftest.er1 >conftest.err
7765 cat conftest.err >&5
7766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7767 (exit $ac_status); } &&
7768 { ac_try='test -z "$ac_c_werror_flag"
7769 || test ! -s conftest.err'
7770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7774 (exit $ac_status); }; } &&
7775 { ac_try='test -s conftest.$ac_objext'
7776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7780 (exit $ac_status); }; }; then
7781 eval "$as_ac_Header=yes"
7783 echo "$as_me: failed program was:" >&5
7784 sed 's/^/| /' conftest.$ac_ext >&5
7786 eval "$as_ac_Header=no"
7788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7792 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7793 cat >>confdefs.h <<_ACEOF
7794 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7804 ac_cpp='$CXXCPP $CPPFLAGS'
7805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7808 if test -n "$ac_tool_prefix"; then
7809 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7811 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7812 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7813 echo "$as_me:$LINENO: checking for $ac_word" >&5
7814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7815 if test "${ac_cv_prog_CXX+set}" = set; then
7816 echo $ECHO_N "(cached) $ECHO_C" >&6
7818 if test -n "$CXX"; then
7819 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7825 test -z "$as_dir" && as_dir=.
7826 for ac_exec_ext in '' $ac_executable_extensions; do
7827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7828 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7838 if test -n "$CXX"; then
7839 echo "$as_me:$LINENO: result: $CXX" >&5
7840 echo "${ECHO_T}$CXX" >&6
7842 echo "$as_me:$LINENO: result: no" >&5
7843 echo "${ECHO_T}no" >&6
7846 test -n "$CXX" && break
7849 if test -z "$CXX"; then
7851 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7853 # Extract the first word of "$ac_prog", so it can be a program name with args.
7854 set dummy $ac_prog; ac_word=$2
7855 echo "$as_me:$LINENO: checking for $ac_word" >&5
7856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7857 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7858 echo $ECHO_N "(cached) $ECHO_C" >&6
7860 if test -n "$ac_ct_CXX"; then
7861 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7867 test -z "$as_dir" && as_dir=.
7868 for ac_exec_ext in '' $ac_executable_extensions; do
7869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7870 ac_cv_prog_ac_ct_CXX="$ac_prog"
7871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7879 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7880 if test -n "$ac_ct_CXX"; then
7881 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7882 echo "${ECHO_T}$ac_ct_CXX" >&6
7884 echo "$as_me:$LINENO: result: no" >&5
7885 echo "${ECHO_T}no" >&6
7888 test -n "$ac_ct_CXX" && break
7890 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
7896 # Provide some information about the compiler.
7897 echo "$as_me:$LINENO:" \
7898 "checking for C++ compiler version" >&5
7899 ac_compiler=`set X
$ac_compile; echo $2`
7900 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7901 (eval $ac_compiler --version </dev/null >&5) 2>&5
7903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7904 (exit $ac_status); }
7905 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7906 (eval $ac_compiler -v </dev/null >&5) 2>&5
7908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7909 (exit $ac_status); }
7910 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7911 (eval $ac_compiler -V </dev/null >&5) 2>&5
7913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7914 (exit $ac_status); }
7916 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7917 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
7918 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7919 echo $ECHO_N "(cached) $ECHO_C" >&6
7921 cat >conftest.$ac_ext <<_ACEOF
7924 cat confdefs.h >>conftest.$ac_ext
7925 cat >>conftest.$ac_ext <<_ACEOF
7926 /* end confdefs.h. */
7939 rm -f conftest.$ac_objext
7940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7941 (eval $ac_compile) 2>conftest.er1
7943 grep -v '^ *+' conftest.er1 >conftest.err
7945 cat conftest.err >&5
7946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7947 (exit $ac_status); } &&
7948 { ac_try='test -z "$ac_cxx_werror_flag"
7949 || test ! -s conftest.err'
7950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7954 (exit $ac_status); }; } &&
7955 { ac_try='test -s conftest.$ac_objext'
7956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7960 (exit $ac_status); }; }; then
7963 echo "$as_me: failed program was:" >&5
7964 sed 's/^/| /' conftest.$ac_ext >&5
7968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7969 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7972 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7973 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
7974 GXX=`test $ac_compiler_gnu = yes && echo yes`
7975 ac_test_CXXFLAGS=${CXXFLAGS+set}
7976 ac_save_CXXFLAGS=$CXXFLAGS
7978 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7979 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
7980 if test "${ac_cv_prog_cxx_g+set}" = set; then
7981 echo $ECHO_N "(cached) $ECHO_C" >&6
7983 cat >conftest.$ac_ext <<_ACEOF
7986 cat confdefs.h >>conftest.$ac_ext
7987 cat >>conftest.$ac_ext <<_ACEOF
7988 /* end confdefs.h. */
7998 rm -f conftest.$ac_objext
7999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8000 (eval $ac_compile) 2>conftest.er1
8002 grep -v '^ *+' conftest.er1 >conftest.err
8004 cat conftest.err >&5
8005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8006 (exit $ac_status); } &&
8007 { ac_try='test -z "$ac_cxx_werror_flag"
8008 || test ! -s conftest.err'
8009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8013 (exit $ac_status); }; } &&
8014 { ac_try='test -s conftest.$ac_objext'
8015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8019 (exit $ac_status); }; }; then
8020 ac_cv_prog_cxx_g=yes
8022 echo "$as_me: failed program was:" >&5
8023 sed 's/^/| /' conftest.$ac_ext >&5
8027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8029 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
8030 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
8031 if test "$ac_test_CXXFLAGS" = set; then
8032 CXXFLAGS=$ac_save_CXXFLAGS
8033 elif test $ac_cv_prog_cxx_g = yes; then
8034 if test "$GXX" = yes; then
8040 if test "$GXX" = yes; then
8046 for ac_declaration in \
8048 'extern "C" void std::exit (int) throw (); using std::exit;' \
8049 'extern "C" void std::exit (int); using std::exit;' \
8050 'extern "C" void exit (int) throw ();' \
8051 'extern "C" void exit (int);' \
8054 cat >conftest.$ac_ext <<_ACEOF
8057 cat confdefs.h >>conftest.$ac_ext
8058 cat >>conftest.$ac_ext <<_ACEOF
8059 /* end confdefs.h. */
8070 rm -f conftest.$ac_objext
8071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8072 (eval $ac_compile) 2>conftest.er1
8074 grep -v '^ *+' conftest.er1 >conftest.err
8076 cat conftest.err >&5
8077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8078 (exit $ac_status); } &&
8079 { ac_try='test -z "$ac_cxx_werror_flag"
8080 || test ! -s conftest.err'
8081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8085 (exit $ac_status); }; } &&
8086 { ac_try='test -s conftest.$ac_objext'
8087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8091 (exit $ac_status); }; }; then
8094 echo "$as_me: failed program was:" >&5
8095 sed 's/^/| /' conftest.$ac_ext >&5
8099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8100 cat >conftest.$ac_ext <<_ACEOF
8103 cat confdefs.h >>conftest.$ac_ext
8104 cat >>conftest.$ac_ext <<_ACEOF
8105 /* end confdefs.h. */
8115 rm -f conftest.$ac_objext
8116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8117 (eval $ac_compile) 2>conftest.er1
8119 grep -v '^ *+' conftest.er1 >conftest.err
8121 cat conftest.err >&5
8122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8123 (exit $ac_status); } &&
8124 { ac_try='test -z "$ac_cxx_werror_flag"
8125 || test ! -s conftest.err'
8126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8130 (exit $ac_status); }; } &&
8131 { ac_try='test -s conftest.$ac_objext'
8132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8136 (exit $ac_status); }; }; then
8139 echo "$as_me: failed program was:" >&5
8140 sed 's/^/| /' conftest.$ac_ext >&5
8143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8146 if test -n "$ac_declaration"; then
8147 echo '#ifdef __cplusplus' >>confdefs.h
8148 echo $ac_declaration >>confdefs.h
8149 echo '#endif' >>confdefs.h
8153 ac_cpp='$CPP $CPPFLAGS'
8154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8158 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8159 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
8160 (test "X$CXX" != "Xg++"))) ; then
8162 ac_cpp='$CXXCPP $CPPFLAGS'
8163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8166 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
8167 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
8168 if test -z "$CXXCPP"; then
8169 if test "${ac_cv_prog_CXXCPP+set}" = set; then
8170 echo $ECHO_N "(cached) $ECHO_C" >&6
8172 # Double quotes because CXXCPP needs to be expanded
8173 for CXXCPP in "$CXX -E" "/lib/cpp"
8176 for ac_cxx_preproc_warn_flag in '' yes
8178 # Use a header file that comes with gcc, so configuring glibc
8179 # with a fresh cross-compiler works.
8180 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8181 # <limits.h> exists even on freestanding compilers.
8182 # On the NeXT, cc -E runs the code through the compiler's parser,
8183 # not just through cpp. "Syntax error" is here to catch this case.
8184 cat >conftest.$ac_ext <<_ACEOF
8187 cat confdefs.h >>conftest.$ac_ext
8188 cat >>conftest.$ac_ext <<_ACEOF
8189 /* end confdefs.h. */
8191 # include <limits.h>
8193 # include <assert.h>
8197 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8198 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8200 grep -v '^ *+' conftest.er1 >conftest.err
8202 cat conftest.err >&5
8203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8204 (exit $ac_status); } >/dev/null; then
8205 if test -s conftest.err; then
8206 ac_cpp_err=$ac_cxx_preproc_warn_flag
8207 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8214 if test -z "$ac_cpp_err"; then
8217 echo "$as_me: failed program was:" >&5
8218 sed 's/^/| /' conftest.$ac_ext >&5
8220 # Broken: fails on valid input.
8223 rm -f conftest.err conftest.$ac_ext
8225 # OK, works on sane cases. Now check whether non-existent headers
8226 # can be detected and how.
8227 cat >conftest.$ac_ext <<_ACEOF
8230 cat confdefs.h >>conftest.$ac_ext
8231 cat >>conftest.$ac_ext <<_ACEOF
8232 /* end confdefs.h. */
8233 #include <ac_nonexistent.h>
8235 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8236 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8238 grep -v '^ *+' conftest.er1 >conftest.err
8240 cat conftest.err >&5
8241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8242 (exit $ac_status); } >/dev/null; then
8243 if test -s conftest.err; then
8244 ac_cpp_err=$ac_cxx_preproc_warn_flag
8245 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8252 if test -z "$ac_cpp_err"; then
8253 # Broken: success on invalid input.
8256 echo "$as_me: failed program was:" >&5
8257 sed 's/^/| /' conftest.$ac_ext >&5
8259 # Passes both tests.
8263 rm -f conftest.err conftest.$ac_ext
8266 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8267 rm -f conftest.err conftest.
$ac_ext
8268 if $ac_preproc_ok; then
8273 ac_cv_prog_CXXCPP
=$CXXCPP
8276 CXXCPP
=$ac_cv_prog_CXXCPP
8278 ac_cv_prog_CXXCPP
=$CXXCPP
8280 echo "$as_me:$LINENO: result: $CXXCPP" >&5
8281 echo "${ECHO_T}$CXXCPP" >&6
8283 for ac_cxx_preproc_warn_flag
in '' yes
8285 # Use a header file that comes with gcc, so configuring glibc
8286 # with a fresh cross-compiler works.
8287 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8288 # <limits.h> exists even on freestanding compilers.
8289 # On the NeXT, cc -E runs the code through the compiler's parser,
8290 # not just through cpp. "Syntax error" is here to catch this case.
8291 cat >conftest.
$ac_ext <<_ACEOF
8294 cat confdefs.h
>>conftest.
$ac_ext
8295 cat >>conftest.
$ac_ext <<_ACEOF
8296 /* end confdefs.h. */
8298 # include <limits.h>
8300 # include <assert.h>
8304 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8305 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8307 grep -v '^ *+' conftest.er1
>conftest.err
8309 cat conftest.err
>&5
8310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8311 (exit $ac_status); } >/dev
/null
; then
8312 if test -s conftest.err
; then
8313 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8314 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8321 if test -z "$ac_cpp_err"; then
8324 echo "$as_me: failed program was:" >&5
8325 sed 's/^/| /' conftest.
$ac_ext >&5
8327 # Broken: fails on valid input.
8330 rm -f conftest.err conftest.
$ac_ext
8332 # OK, works on sane cases. Now check whether non-existent headers
8333 # can be detected and how.
8334 cat >conftest.
$ac_ext <<_ACEOF
8337 cat confdefs.h
>>conftest.
$ac_ext
8338 cat >>conftest.
$ac_ext <<_ACEOF
8339 /* end confdefs.h. */
8340 #include <ac_nonexistent.h>
8342 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8343 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8345 grep -v '^ *+' conftest.er1
>conftest.err
8347 cat conftest.err
>&5
8348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8349 (exit $ac_status); } >/dev
/null
; then
8350 if test -s conftest.err
; then
8351 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8352 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8359 if test -z "$ac_cpp_err"; then
8360 # Broken: success on invalid input.
8363 echo "$as_me: failed program was:" >&5
8364 sed 's/^/| /' conftest.
$ac_ext >&5
8366 # Passes both tests.
8370 rm -f conftest.err conftest.
$ac_ext
8373 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8374 rm -f conftest.err conftest.
$ac_ext
8375 if $ac_preproc_ok; then
8378 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8379 echo "$as_me: error: in \`$ac_pwd':" >&2;}
8380 _lt_caught_CXX_error
=yes; }
8384 ac_cpp
='$CPP $CPPFLAGS'
8385 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8386 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8387 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8390 _lt_caught_CXX_error
=yes
8397 # This can be used to rebuild libtool when needed
8398 LIBTOOL_DEPS
="$ltmain"
8400 # Always use our own libtool.
8401 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8427 test -z "$LN_S" && LN_S
="ln -s"
8442 if test -n "${ZSH_VERSION+set}" ; then
8443 setopt NO_GLOB_SUBST
8446 echo "$as_me:$LINENO: checking for objdir" >&5
8447 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
8448 if test "${lt_cv_objdir+set}" = set; then
8449 echo $ECHO_N "(cached) $ECHO_C" >&6
8451 rm -f .libs
2>/dev
/null
8452 mkdir .libs
2>/dev
/null
8453 if test -d .libs
; then
8456 # MS-DOS does not allow filenames that begin with a dot.
8459 rmdir .libs
2>/dev
/null
8461 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8462 echo "${ECHO_T}$lt_cv_objdir" >&6
8463 objdir
=$lt_cv_objdir
8469 cat >>confdefs.h
<<_ACEOF
8470 #define LT_OBJDIR "$lt_cv_objdir/"
8491 # AIX sometimes has problems with the GCC collect2 program. For some
8492 # reason, if we set the COLLECT_NAMES environment variable, the problems
8493 # vanish in a puff of smoke.
8494 if test "X${COLLECT_NAMES+set}" != Xset
; then
8496 export COLLECT_NAMES
8501 # Sed substitution that helps us do robust quoting. It backslashifies
8502 # metacharacters that are still active within double-quoted strings.
8503 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
8505 # Same as above, but do not quote variable references.
8506 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
8508 # Sed substitution to delay expansion of an escaped shell variable in a
8509 # double_quote_subst'ed string.
8510 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8512 # Sed substitution to delay expansion of an escaped single quote.
8513 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
8515 # Sed substitution to avoid accidental globbing in evaled expressions
8516 no_glob_subst
='s/\*/\\\*/g'
8520 can_build_shared
=yes
8522 # All known linkers require a `.a' archive for static linking (except MSVC,
8523 # which needs '.lib').
8526 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8529 old_CFLAGS
="$CFLAGS"
8531 # Set sane defaults for various variables
8532 test -z "$CC" && CC
=cc
8533 test -z "$LTCC" && LTCC
=$CC
8534 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8535 test -z "$LD" && LD
=ld
8536 test -z "$ac_objext" && ac_objext
=o
8538 for cc_temp
in $compiler""; do
8540 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8541 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8546 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8549 # Only perform the check for file, if the check method requires it
8550 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8551 case $deplibs_check_method in
8553 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8554 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8555 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
8556 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8557 echo $ECHO_N "(cached) $ECHO_C" >&6
8561 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8564 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8565 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8566 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8567 for ac_dir
in $ac_dummy; do
8569 test -z "$ac_dir" && ac_dir
=.
8570 if test -f $ac_dir/${ac_tool_prefix}file; then
8571 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8572 if test -n "$file_magic_test_file"; then
8573 case $deplibs_check_method in
8575 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8576 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8577 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8578 $EGREP "$file_magic_regex" > /dev
/null
; then
8583 *** Warning: the command libtool uses to detect shared libraries,
8584 *** $file_magic_cmd, produces output that libtool cannot recognize.
8585 *** The result is that libtool may fail to recognize shared libraries
8586 *** as such. This will affect the creation of libtool libraries that
8587 *** depend on shared libraries, but programs linked with such libtool
8588 *** libraries will work regardless of this problem. Nevertheless, you
8589 *** may want to report the problem to your system manager and/or to
8590 *** bug-libtool@gnu.org
8600 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8605 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8606 if test -n "$MAGIC_CMD"; then
8607 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8608 echo "${ECHO_T}$MAGIC_CMD" >&6
8610 echo "$as_me:$LINENO: result: no" >&5
8611 echo "${ECHO_T}no" >&6
8618 if test -z "$lt_cv_path_MAGIC_CMD"; then
8619 if test -n "$ac_tool_prefix"; then
8620 echo "$as_me:$LINENO: checking for file" >&5
8621 echo $ECHO_N "checking for file... $ECHO_C" >&6
8622 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8623 echo $ECHO_N "(cached) $ECHO_C" >&6
8627 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8630 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8631 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8632 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8633 for ac_dir
in $ac_dummy; do
8635 test -z "$ac_dir" && ac_dir
=.
8636 if test -f $ac_dir/file; then
8637 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8638 if test -n "$file_magic_test_file"; then
8639 case $deplibs_check_method in
8641 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8642 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8643 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8644 $EGREP "$file_magic_regex" > /dev
/null
; then
8649 *** Warning: the command libtool uses to detect shared libraries,
8650 *** $file_magic_cmd, produces output that libtool cannot recognize.
8651 *** The result is that libtool may fail to recognize shared libraries
8652 *** as such. This will affect the creation of libtool libraries that
8653 *** depend on shared libraries, but programs linked with such libtool
8654 *** libraries will work regardless of this problem. Nevertheless, you
8655 *** may want to report the problem to your system manager and/or to
8656 *** bug-libtool@gnu.org
8666 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8671 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8672 if test -n "$MAGIC_CMD"; then
8673 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8674 echo "${ECHO_T}$MAGIC_CMD" >&6
8676 echo "$as_me:$LINENO: result: no" >&5
8677 echo "${ECHO_T}no" >&6
8690 # Use C for the default configuration in the libtool script
8694 ac_cpp
='$CPP $CPPFLAGS'
8695 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8696 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8697 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8700 # Source file extension for C test sources.
8703 # Object file extension for compiled C test sources.
8707 # Code to be used in simple compile tests
8708 lt_simple_compile_test_code
="int some_variable = 0;"
8710 # Code to be used in simple link tests
8711 lt_simple_link_test_code
='int main(){return(0);}'
8719 # If no C compiler was specified, use CC.
8722 # If no C compiler flags were specified, use CFLAGS.
8723 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8725 # Allow CC to be a program name with arguments.
8728 # Save the default compiler, since it gets overwritten when the other
8729 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8730 compiler_DEFAULT
=$CC
8732 # save warnings/boilerplate of simple test code
8733 ac_outfile
=conftest.
$ac_objext
8734 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8735 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8736 _lt_compiler_boilerplate
=`cat conftest.err`
8739 ac_outfile
=conftest.
$ac_objext
8740 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8741 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8742 _lt_linker_boilerplate
=`cat conftest.err`
8747 ## There is no encapsulation within the following macros, do not change
8748 ## the running order or otherwise move them around unless you know exactly
8749 ## what you are doing...
8750 if test -n "$compiler"; then
8752 lt_prog_compiler_no_builtin_flag
=
8754 if test "$GCC" = yes; then
8755 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8757 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8758 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
8759 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8760 echo $ECHO_N "(cached) $ECHO_C" >&6
8762 lt_cv_prog_compiler_rtti_exceptions
=no
8763 ac_outfile
=conftest.
$ac_objext
8764 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8765 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8766 # Insert the option either (1) after the last *FLAGS variable, or
8767 # (2) before a word containing "conftest.", or (3) at the end.
8768 # Note that $ac_compile itself does not contain backslashes and begins
8769 # with a dollar sign (not a hyphen), so the echo should work correctly.
8770 # The option is referenced via a variable to avoid confusing sed.
8771 lt_compile
=`echo "$ac_compile" | $SED \
8772 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8773 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8774 -e 's:$: $lt_compiler_flag:'`
8775 (eval echo "\"\$as_me:8775: $lt_compile\"" >&5)
8776 (eval "$lt_compile" 2>conftest.err
)
8778 cat conftest.err
>&5
8779 echo "$as_me:8779: \$? = $ac_status" >&5
8780 if (exit $ac_status) && test -s "$ac_outfile"; then
8781 # The compiler can only warn and ignore the option if not recognized
8782 # So say no if there are warnings other than the usual output.
8783 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8784 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8785 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8786 lt_cv_prog_compiler_rtti_exceptions
=yes
8792 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8793 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
8795 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8796 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8808 lt_prog_compiler_wl
=
8809 lt_prog_compiler_pic
=
8810 lt_prog_compiler_static
=
8812 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8813 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
8815 if test "$GCC" = yes; then
8816 lt_prog_compiler_wl
='-Wl,'
8817 lt_prog_compiler_static
='-static'
8821 # All AIX code is PIC.
8822 if test "$host_cpu" = ia64
; then
8823 # AIX 5 now supports IA64 processor
8824 lt_prog_compiler_static
='-Bstatic'
8829 if test "$host_cpu" = m68k
; then
8830 # FIXME: we need at least 68020 code to build shared libraries, but
8831 # adding the `-m68020' flag to GCC prevents building anything better,
8833 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8837 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8838 # PIC is the default for these OSes.
8841 mingw
* | cygwin
* | pw32
* | os2
*)
8842 # This hack is so that the source file can tell whether it is being
8843 # built for inclusion in a dll (and should export symbols for example).
8844 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8845 # (--disable-auto-import) libraries
8846 lt_prog_compiler_pic
='-DDLL_EXPORT'
8849 darwin
* | rhapsody
*)
8850 # PIC is the default on this platform
8851 # Common symbols not allowed in MH_DYLIB files
8852 lt_prog_compiler_pic
='-fno-common'
8856 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8863 lt_prog_compiler_pic
='-fPIC'
8869 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8870 # Instead, we relocate shared libraries at runtime.
8874 # Just because we use GCC doesn't mean we suddenly get shared libraries
8875 # on systems that don't support them.
8876 lt_prog_compiler_can_build_shared
=no
8881 # QNX uses GNU C++, but need to define -shared option too, otherwise
8883 lt_prog_compiler_pic
='-fPIC -shared'
8887 if test -d /usr
/nec
; then
8888 lt_prog_compiler_pic
=-Kconform_pic
8893 lt_prog_compiler_pic
='-fPIC'
8897 # PORTME Check for flag to pass linker flags through the system compiler.
8900 lt_prog_compiler_wl
='-Wl,'
8901 if test "$host_cpu" = ia64
; then
8902 # AIX 5 now supports IA64 processor
8903 lt_prog_compiler_static
='-Bstatic'
8905 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8909 # PIC is the default on this platform
8910 # Common symbols not allowed in MH_DYLIB files
8911 case $cc_basename in
8913 lt_prog_compiler_pic
='-qnocommon'
8914 lt_prog_compiler_wl
='-Wl,'
8919 mingw
* | cygwin
* | pw32
* | os2
*)
8920 # This hack is so that the source file can tell whether it is being
8921 # built for inclusion in a dll (and should export symbols for example).
8922 lt_prog_compiler_pic
='-DDLL_EXPORT'
8925 hpux9
* | hpux10
* | hpux11
*)
8926 lt_prog_compiler_wl
='-Wl,'
8927 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8934 lt_prog_compiler_pic
='+Z'
8937 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8938 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8941 irix5
* | irix6
* | nonstopux
*)
8942 lt_prog_compiler_wl
='-Wl,'
8943 # PIC (with -KPIC) is the default.
8944 lt_prog_compiler_static
='-non_shared'
8947 linux
* | k
*bsd
*-gnu)
8948 case $cc_basename in
8950 lt_prog_compiler_wl
='-Wl,'
8951 lt_prog_compiler_pic
='-KPIC'
8952 lt_prog_compiler_static
='-static'
8954 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8955 # Portland Group compilers (*not* the Pentium gcc compiler,
8956 # which looks to be a dead project)
8957 lt_prog_compiler_wl
='-Wl,'
8958 lt_prog_compiler_pic
='-fpic'
8959 lt_prog_compiler_static
='-Bstatic'
8962 lt_prog_compiler_wl
='-Wl,'
8963 # All Alpha code is PIC.
8964 lt_prog_compiler_static
='-non_shared'
8967 case `$CC -V 2>&1 | sed 5q` in
8970 lt_prog_compiler_pic
='-KPIC'
8971 lt_prog_compiler_static
='-Bstatic'
8972 lt_prog_compiler_wl
='-Wl,'
8975 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8976 lt_prog_compiler_pic
='-KPIC'
8977 lt_prog_compiler_static
='-Bstatic'
8978 lt_prog_compiler_wl
=''
8986 lt_prog_compiler_pic
='-KPIC'
8987 lt_prog_compiler_static
='-Bstatic'
8991 # QNX uses GNU C++, but need to define -shared option too, otherwise
8993 lt_prog_compiler_pic
='-fPIC -shared'
8996 osf3
* | osf4
* | osf5
*)
8997 lt_prog_compiler_wl
='-Wl,'
8998 # All OSF/1 code is PIC.
8999 lt_prog_compiler_static
='-non_shared'
9003 lt_prog_compiler_static
='-non_shared'
9007 lt_prog_compiler_pic
='-KPIC'
9008 lt_prog_compiler_static
='-Bstatic'
9009 case $cc_basename in
9011 lt_prog_compiler_wl
='-Qoption ld ';;
9013 lt_prog_compiler_wl
='-Wl,';;
9018 lt_prog_compiler_wl
='-Qoption ld '
9019 lt_prog_compiler_pic
='-PIC'
9020 lt_prog_compiler_static
='-Bstatic'
9023 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9024 lt_prog_compiler_wl
='-Wl,'
9025 lt_prog_compiler_pic
='-KPIC'
9026 lt_prog_compiler_static
='-Bstatic'
9030 if test -d /usr
/nec
;then
9031 lt_prog_compiler_pic
='-Kconform_pic'
9032 lt_prog_compiler_static
='-Bstatic'
9036 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9037 lt_prog_compiler_wl
='-Wl,'
9038 lt_prog_compiler_pic
='-KPIC'
9039 lt_prog_compiler_static
='-Bstatic'
9043 lt_prog_compiler_wl
='-Wl,'
9044 lt_prog_compiler_can_build_shared
=no
9048 lt_prog_compiler_pic
='-pic'
9049 lt_prog_compiler_static
='-Bstatic'
9053 lt_prog_compiler_can_build_shared
=no
9059 # For platforms which do not support PIC, -DPIC is meaningless:
9061 lt_prog_compiler_pic
=
9064 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9067 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9068 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
9076 # Check to make sure the PIC flag actually works.
9078 if test -n "$lt_prog_compiler_pic"; then
9079 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9080 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
9081 if test "${lt_prog_compiler_pic_works+set}" = set; then
9082 echo $ECHO_N "(cached) $ECHO_C" >&6
9084 lt_prog_compiler_pic_works
=no
9085 ac_outfile
=conftest.
$ac_objext
9086 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9087 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9088 # Insert the option either (1) after the last *FLAGS variable, or
9089 # (2) before a word containing "conftest.", or (3) at the end.
9090 # Note that $ac_compile itself does not contain backslashes and begins
9091 # with a dollar sign (not a hyphen), so the echo should work correctly.
9092 # The option is referenced via a variable to avoid confusing sed.
9093 lt_compile
=`echo "$ac_compile" | $SED \
9094 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9095 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9096 -e 's:$: $lt_compiler_flag:'`
9097 (eval echo "\"\$as_me:9097: $lt_compile\"" >&5)
9098 (eval "$lt_compile" 2>conftest.err
)
9100 cat conftest.err
>&5
9101 echo "$as_me:9101: \$? = $ac_status" >&5
9102 if (exit $ac_status) && test -s "$ac_outfile"; then
9103 # The compiler can only warn and ignore the option if not recognized
9104 # So say no if there are warnings other than the usual output.
9105 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
9106 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9107 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9108 lt_prog_compiler_pic_works
=yes
9114 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
9115 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
9117 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
9118 case $lt_prog_compiler_pic in
9120 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9123 lt_prog_compiler_pic
=
9124 lt_prog_compiler_can_build_shared
=no
9135 # Check to make sure the static flag actually works.
9137 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9138 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9139 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
9140 if test "${lt_prog_compiler_static_works+set}" = set; then
9141 echo $ECHO_N "(cached) $ECHO_C" >&6
9143 lt_prog_compiler_static_works
=no
9144 save_LDFLAGS
="$LDFLAGS"
9145 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9146 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9147 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9148 # The linker can only warn and ignore the option if not recognized
9149 # So say no if there are warnings
9150 if test -s conftest.err
; then
9151 # Append any errors to the config.log.
9152 cat conftest.err
1>&5
9153 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
9154 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9155 if diff conftest.exp conftest.er2
>/dev
/null
; then
9156 lt_prog_compiler_static_works
=yes
9159 lt_prog_compiler_static_works
=yes
9163 LDFLAGS
="$save_LDFLAGS"
9166 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
9167 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
9169 if test x
"$lt_prog_compiler_static_works" = xyes
; then
9172 lt_prog_compiler_static
=
9181 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9182 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
9183 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9184 echo $ECHO_N "(cached) $ECHO_C" >&6
9186 lt_cv_prog_compiler_c_o
=no
9187 $RM -r conftest
2>/dev
/null
9191 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9193 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9194 # Insert the option either (1) after the last *FLAGS variable, or
9195 # (2) before a word containing "conftest.", or (3) at the end.
9196 # Note that $ac_compile itself does not contain backslashes and begins
9197 # with a dollar sign (not a hyphen), so the echo should work correctly.
9198 lt_compile
=`echo "$ac_compile" | $SED \
9199 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9200 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9201 -e 's:$: $lt_compiler_flag:'`
9202 (eval echo "\"\$as_me:9202: $lt_compile\"" >&5)
9203 (eval "$lt_compile" 2>out
/conftest.err
)
9205 cat out
/conftest.err
>&5
9206 echo "$as_me:9206: \$? = $ac_status" >&5
9207 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9209 # The compiler can only warn and ignore the option if not recognized
9210 # So say no if there are warnings
9211 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9212 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9213 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9214 lt_cv_prog_compiler_c_o
=yes
9219 # SGI C++ compiler will create directory out/ii_files/ for
9220 # template instantiation
9221 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9222 $RM out
/* && rmdir out
9228 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9229 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
9236 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9237 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
9238 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9239 echo $ECHO_N "(cached) $ECHO_C" >&6
9241 lt_cv_prog_compiler_c_o
=no
9242 $RM -r conftest
2>/dev
/null
9246 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9248 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9249 # Insert the option either (1) after the last *FLAGS variable, or
9250 # (2) before a word containing "conftest.", or (3) at the end.
9251 # Note that $ac_compile itself does not contain backslashes and begins
9252 # with a dollar sign (not a hyphen), so the echo should work correctly.
9253 lt_compile
=`echo "$ac_compile" | $SED \
9254 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9255 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9256 -e 's:$: $lt_compiler_flag:'`
9257 (eval echo "\"\$as_me:9257: $lt_compile\"" >&5)
9258 (eval "$lt_compile" 2>out
/conftest.err
)
9260 cat out
/conftest.err
>&5
9261 echo "$as_me:9261: \$? = $ac_status" >&5
9262 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9264 # The compiler can only warn and ignore the option if not recognized
9265 # So say no if there are warnings
9266 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9267 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9268 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9269 lt_cv_prog_compiler_c_o
=yes
9274 # SGI C++ compiler will create directory out/ii_files/ for
9275 # template instantiation
9276 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9277 $RM out
/* && rmdir out
9283 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9284 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
9289 hard_links
="nottested"
9290 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9291 # do not overwrite the value of need_locks provided by the user
9292 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9293 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
9296 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9298 ln conftest.a conftest.b
2>&5 || hard_links
=no
9299 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9300 echo "$as_me:$LINENO: result: $hard_links" >&5
9301 echo "${ECHO_T}$hard_links" >&6
9302 if test "$hard_links" = no
; then
9303 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9304 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9316 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9317 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9320 allow_undefined_flag
=
9321 always_export_symbols
=no
9323 archive_expsym_cmds
=
9324 compiler_needs_object
=no
9325 enable_shared_with_static_runtimes
=no
9326 export_dynamic_flag_spec
=
9327 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9328 hardcode_automatic
=no
9330 hardcode_direct_absolute
=no
9331 hardcode_libdir_flag_spec
=
9332 hardcode_libdir_flag_spec_ld
=
9333 hardcode_libdir_separator
=
9335 hardcode_shlibpath_var
=unsupported
9337 link_all_deplibs
=unknown
9340 old_archive_from_new_cmds
=
9341 old_archive_from_expsyms_cmds
=
9342 thread_safe_flag_spec
=
9343 whole_archive_flag_spec
=
9344 # include_expsyms should be a list of space-separated symbols to be *always*
9345 # included in the symbol list
9347 # exclude_expsyms can be an extended regexp of symbols to exclude
9348 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9349 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9350 # as well as any symbol that contains `d'.
9351 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
9352 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9353 # platforms (ab)use it in PIC code, but their linkers get confused if
9354 # the symbol is explicitly referenced. Since portable code cannot
9355 # rely on this symbol name, it's probably fine to never include it in
9356 # preloaded symbol tables.
9357 extract_expsyms_cmds
=
9360 cygwin
* | mingw
* | pw32
*)
9361 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9362 # When not using gcc, we currently assume that we are using
9363 # Microsoft Visual C++.
9364 if test "$GCC" != yes; then
9369 # we just hope/assume this is gcc and not c89 (= MSVC++)
9378 if test "$with_gnu_ld" = yes; then
9379 # If archive_cmds runs LD, not CC, wlarc should be empty
9382 # Set some defaults for GNU ld with shared library support. These
9383 # are reset later if shared libraries are not supported. Putting them
9384 # here allows them to be overridden if necessary.
9385 runpath_var
=LD_RUN_PATH
9386 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9387 export_dynamic_flag_spec
='${wl}--export-dynamic'
9388 # ancient GNU ld didn't support --whole-archive et. al.
9389 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9390 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9392 whole_archive_flag_spec
=
9394 supports_anon_versioning
=no
9395 case `$LD -v 2>&1` in
9396 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9397 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9398 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9399 *\
2.11.
*) ;; # other 2.11 versions
9400 *) supports_anon_versioning
=yes ;;
9403 # See if GNU ld supports shared libraries.
9406 # On AIX/PPC, the GNU linker is very broken
9407 if test "$host_cpu" != ia64
; then
9411 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9412 *** to be unable to reliably create shared libraries on AIX.
9413 *** Therefore, libtool is disabling shared libraries support. If you
9414 *** really care for shared libraries, you may want to modify your PATH
9415 *** so that a non-GNU linker is found, and then restart.
9422 if test "$host_cpu" = m68k
; then
9423 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)'
9424 hardcode_libdir_flag_spec
='-L$libdir'
9425 hardcode_minus_L
=yes
9428 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9429 # that the semantics of dynamic libraries on AmigaOS, at least up
9430 # to version 4, is to share data among multiple programs linked
9431 # with the same dynamic library. Since this doesn't match the
9432 # behavior of shared libraries on other platforms, we can't use
9438 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9439 allow_undefined_flag
=unsupported
9440 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9441 # support --undefined. This deserves some investigation. FIXME
9442 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9448 cygwin
* | mingw
* | pw32
*)
9449 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9450 # as there is no search path for DLLs.
9451 hardcode_libdir_flag_spec
='-L$libdir'
9452 allow_undefined_flag
=unsupported
9453 always_export_symbols
=no
9454 enable_shared_with_static_runtimes
=yes
9455 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9457 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9458 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9459 # If the export-symbols file already is a .def file (1st line
9460 # is EXPORTS), use it as is; otherwise, prepend...
9461 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9462 cp $export_symbols $output_objdir/$soname.def;
9464 echo EXPORTS > $output_objdir/$soname.def;
9465 cat $export_symbols >> $output_objdir/$soname.def;
9467 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9475 hardcode_shlibpath_var
=no
9476 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9477 export_dynamic_flag_spec
='${wl}-E'
9478 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9479 # Instead, shared libraries are loaded at an image base (0x10000000 by
9480 # default) and relocated if they conflict, which is a slow very memory
9481 # consuming and fragmenting process. To avoid this, we pick a random,
9482 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9483 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9484 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9485 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'
9488 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
9490 if test "$host_os" = linux-dietlibc
; then
9491 case $cc_basename in
9492 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9495 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9496 && test "$tmp_diet" = no
9499 case $cc_basename,$host_cpu in
9500 pgcc
*) # Portland Group C compiler
9501 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'
9502 tmp_addflag
=' $pic_flag'
9504 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9505 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'
9506 tmp_addflag
=' $pic_flag -Mnomain' ;;
9507 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9508 tmp_addflag
=' -i_dynamic' ;;
9509 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9510 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9511 ifc
* | ifort
*) # Intel Fortran compiler
9512 tmp_addflag
=' -nofor_main' ;;
9514 case `$CC -V 2>&1 | sed 5q` in
9515 *Sun\ C
*) # Sun C 5.9
9516 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'
9517 compiler_needs_object
=yes
9518 tmp_sharedflag
='-G' ;;
9519 *Sun\ F
*) # Sun Fortran 8.3
9520 tmp_sharedflag
='-G' ;;
9522 tmp_sharedflag
='-shared' ;;
9524 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9526 if test "x$supports_anon_versioning" = xyes
; then
9527 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9528 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9529 echo "local: *; };" >> $output_objdir/$libname.ver~
9530 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9538 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9539 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9542 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9543 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9548 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9552 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9553 *** create shared libraries on Solaris systems. Therefore, libtool
9554 *** is disabling shared libraries support. We urge you to upgrade GNU
9555 *** binutils to release 2.9.1 or newer. Another option is to modify
9556 *** your PATH or compiler configuration so that the native linker is
9557 *** used, and then restart.
9560 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9561 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9562 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9568 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9569 case `$LD -v 2>&1` in
9570 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9574 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9575 *** reliably create shared libraries on SCO systems. Therefore, libtool
9576 *** is disabling shared libraries support. We urge you to upgrade GNU
9577 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9578 *** your PATH or compiler configuration so that the native linker is
9579 *** used, and then restart.
9584 # For security reasons, it is highly recommended that you always
9585 # use absolute paths for naming shared libraries, and exclude the
9586 # DT_RUNPATH tag from executables and libraries. But doing so
9587 # requires that you compile everything twice, which is a pain.
9588 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9589 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9590 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9591 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9600 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9603 hardcode_shlibpath_var
=no
9607 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9608 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9609 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9616 if test "$ld_shlibs" = no
; then
9618 hardcode_libdir_flag_spec
=
9619 export_dynamic_flag_spec
=
9620 whole_archive_flag_spec
=
9623 # PORTME fill in a description of your system's linker (not GNU ld)
9626 allow_undefined_flag
=unsupported
9627 always_export_symbols
=yes
9628 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'
9629 # Note: this linker hardcodes the directories in LIBPATH if there
9630 # are no directories specified by -L.
9631 hardcode_minus_L
=yes
9632 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9633 # Neither direct hardcoding nor static linking is supported with a
9635 hardcode_direct
=unsupported
9640 if test "$host_cpu" = ia64
; then
9641 # On IA64, the linker does run time linking by default, so we don't
9642 # have to do anything special.
9643 aix_use_runtimelinking
=no
9644 exp_sym_flag
='-Bexport'
9647 # If we're using GNU nm, then we don't want the "-C" option.
9648 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9649 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9650 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'
9652 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'
9654 aix_use_runtimelinking
=no
9656 # Test if we are trying to use run time linking or normal
9657 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9658 # need to do runtime linking.
9659 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9660 for ld_flag
in $LDFLAGS; do
9661 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9662 aix_use_runtimelinking
=yes
9669 exp_sym_flag
='-bexport'
9670 no_entry_flag
='-bnoentry'
9673 # When large executables or shared objects are built, AIX ld can
9674 # have problems creating the table of contents. If linking a library
9675 # or program results in "error TOC overflow" add -mminimal-toc to
9676 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9677 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9681 hardcode_direct_absolute
=yes
9682 hardcode_libdir_separator
=':'
9683 link_all_deplibs
=yes
9684 file_list_spec
='${wl}-f,'
9686 if test "$GCC" = yes; then
9687 case $host_os in aix4.
[012]|aix4.
[012].
*)
9688 # We only want to do this on AIX 4.2 and lower, the check
9689 # below for broken collect2 doesn't work under 4.3+
9690 collect2name
=`${CC} -print-prog-name=collect2`
9691 if test -f "$collect2name" &&
9692 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9694 # We have reworked collect2
9697 # We have old collect2
9698 hardcode_direct
=unsupported
9699 # It fails to find uninstalled libraries when the uninstalled
9700 # path is not listed in the libpath. Setting hardcode_minus_L
9701 # to unsupported forces relinking
9702 hardcode_minus_L
=yes
9703 hardcode_libdir_flag_spec
='-L$libdir'
9704 hardcode_libdir_separator
=
9708 shared_flag
='-shared'
9709 if test "$aix_use_runtimelinking" = yes; then
9710 shared_flag
="$shared_flag "'${wl}-G'
9714 if test "$host_cpu" = ia64
; then
9715 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9716 # chokes on -Wl,-G. The following line is correct:
9719 if test "$aix_use_runtimelinking" = yes; then
9720 shared_flag
='${wl}-G'
9722 shared_flag
='${wl}-bM:SRE'
9727 # It seems that -bexpall does not export symbols beginning with
9728 # underscore (_), so it is better to generate a list of symbols to export.
9729 always_export_symbols
=yes
9730 if test "$aix_use_runtimelinking" = yes; then
9731 # Warning - without using the other runtime loading flags (-brtl),
9732 # -berok will link without error, but may produce a broken library.
9733 allow_undefined_flag
='-berok'
9734 # Determine the default libpath from the value encoded in an
9736 if test x
$gcc_no_link = xyes
; then
9737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9739 { (exit 1); exit 1; }; }
9741 cat >conftest.
$ac_ext <<_ACEOF
9744 cat confdefs.h
>>conftest.
$ac_ext
9745 cat >>conftest.
$ac_ext <<_ACEOF
9746 /* end confdefs.h. */
9756 rm -f conftest.
$ac_objext conftest
$ac_exeext
9757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9758 (eval $ac_link) 2>conftest.er1
9760 grep -v '^ *+' conftest.er1
>conftest.err
9762 cat conftest.err
>&5
9763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9764 (exit $ac_status); } &&
9765 { ac_try
='test -z "$ac_c_werror_flag"
9766 || test ! -s conftest.err'
9767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9771 (exit $ac_status); }; } &&
9772 { ac_try
='test -s conftest$ac_exeext'
9773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9777 (exit $ac_status); }; }; then
9779 lt_aix_libpath_sed
='
9780 /Import File Strings/,/^$/ {
9786 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9787 # Check for a 64-bit object if we didn't find anything.
9788 if test -z "$aix_libpath"; then
9789 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9792 echo "$as_me: failed program was:" >&5
9793 sed 's/^/| /' conftest.
$ac_ext >&5
9796 rm -f conftest.err conftest.
$ac_objext \
9797 conftest
$ac_exeext conftest.
$ac_ext
9798 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9800 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9801 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"
9803 if test "$host_cpu" = ia64
; then
9804 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9805 allow_undefined_flag
="-z nodefs"
9806 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"
9808 # Determine the default libpath from the value encoded in an
9810 if test x
$gcc_no_link = xyes
; then
9811 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9813 { (exit 1); exit 1; }; }
9815 cat >conftest.
$ac_ext <<_ACEOF
9818 cat confdefs.h
>>conftest.
$ac_ext
9819 cat >>conftest.
$ac_ext <<_ACEOF
9820 /* end confdefs.h. */
9830 rm -f conftest.
$ac_objext conftest
$ac_exeext
9831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9832 (eval $ac_link) 2>conftest.er1
9834 grep -v '^ *+' conftest.er1
>conftest.err
9836 cat conftest.err
>&5
9837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9838 (exit $ac_status); } &&
9839 { ac_try
='test -z "$ac_c_werror_flag"
9840 || test ! -s conftest.err'
9841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9845 (exit $ac_status); }; } &&
9846 { ac_try
='test -s conftest$ac_exeext'
9847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9851 (exit $ac_status); }; }; then
9853 lt_aix_libpath_sed
='
9854 /Import File Strings/,/^$/ {
9860 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9861 # Check for a 64-bit object if we didn't find anything.
9862 if test -z "$aix_libpath"; then
9863 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9866 echo "$as_me: failed program was:" >&5
9867 sed 's/^/| /' conftest.
$ac_ext >&5
9870 rm -f conftest.err conftest.
$ac_objext \
9871 conftest
$ac_exeext conftest.
$ac_ext
9872 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9874 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9875 # Warning - without using the other run time loading flags,
9876 # -berok will link without error, but may produce a broken library.
9877 no_undefined_flag
=' ${wl}-bernotok'
9878 allow_undefined_flag
=' ${wl}-berok'
9879 # Exported symbols can be pulled into shared objects from archives
9880 whole_archive_flag_spec
='$convenience'
9881 archive_cmds_need_lc
=yes
9882 # This is similar to how AIX traditionally builds its shared libraries.
9883 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'
9889 if test "$host_cpu" = m68k
; then
9890 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)'
9891 hardcode_libdir_flag_spec
='-L$libdir'
9892 hardcode_minus_L
=yes
9894 # see comment about different semantics on the GNU ld section
9899 export_dynamic_flag_spec
=-rdynamic
9902 cygwin
* | mingw
* | pw32
*)
9903 # When not using gcc, we currently assume that we are using
9904 # Microsoft Visual C++.
9905 # hardcode_libdir_flag_spec is actually meaningless, as there is
9906 # no search path for DLLs.
9907 hardcode_libdir_flag_spec
=' '
9908 allow_undefined_flag
=unsupported
9909 # Tell ltmain to make .lib files, not .a files.
9911 # Tell ltmain to make .dll files, not .so files.
9913 # FIXME: Setting linknames here is a bad hack.
9914 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9915 # The linker will automatically build a .lib file if we build a DLL.
9916 old_archive_from_new_cmds
='true'
9917 # FIXME: Should let the user specify the lib program.
9918 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9919 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9920 enable_shared_with_static_runtimes
=yes
9923 darwin
* | rhapsody
*)
9925 rhapsody
* | darwin1.
[012])
9926 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
9929 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
9931 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9934 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
9939 archive_cmds_need_lc
=no
9941 hardcode_automatic
=yes
9942 hardcode_shlibpath_var
=unsupported
9943 whole_archive_flag_spec
=''
9944 link_all_deplibs
=yes
9945 if test "$GCC" = yes ; then
9946 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
9947 echo $ECHO_N "(cached) $ECHO_C" >&6
9949 lt_cv_apple_cc_single_mod
=no
9950 if test -z "${LT_MULTI_MODULE}"; then
9951 # By default we will add the -single_module flag. You can override
9952 # by either setting the environment variable LT_MULTI_MODULE
9953 # non-empty at configure time, or by adding -multi-module to the
9955 echo "int foo(void){return 1;}" > conftest.c
9956 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9957 -dynamiclib ${wl}-single_module conftest.c
9958 if test -f libconftest.dylib
; then
9959 lt_cv_apple_cc_single_mod
=yes
9960 rm libconftest.dylib
9966 output_verbose_link_cmd
=echo
9967 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
9968 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9969 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}'
9971 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9972 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}'
9974 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9975 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}'
9977 case $cc_basename in
9979 output_verbose_link_cmd
=echo
9980 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
9981 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9982 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9983 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}'
9984 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}'
9994 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9995 hardcode_libdir_flag_spec
='-L$libdir'
9996 hardcode_shlibpath_var
=no
10003 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10004 # support. Future versions do this automatically, but an explicit c++rt0.o
10005 # does not break anything, and helps significantly (at the cost of a little
10008 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10009 hardcode_libdir_flag_spec
='-R$libdir'
10010 hardcode_direct
=yes
10011 hardcode_shlibpath_var
=no
10014 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10016 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10017 hardcode_direct
=yes
10018 hardcode_minus_L
=yes
10019 hardcode_shlibpath_var
=no
10022 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10023 freebsd
* | dragonfly
*)
10024 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10025 hardcode_libdir_flag_spec
='-R$libdir'
10026 hardcode_direct
=yes
10027 hardcode_shlibpath_var
=no
10031 if test "$GCC" = yes; then
10032 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'
10034 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'
10036 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10037 hardcode_libdir_separator
=:
10038 hardcode_direct
=yes
10040 # hardcode_minus_L: Not really in the search PATH,
10041 # but as the default location of the library.
10042 hardcode_minus_L
=yes
10043 export_dynamic_flag_spec
='${wl}-E'
10047 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
10048 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10050 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10052 if test "$with_gnu_ld" = no
; then
10053 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10054 hardcode_libdir_flag_spec_ld
='+b $libdir'
10055 hardcode_libdir_separator
=:
10056 hardcode_direct
=yes
10057 hardcode_direct_absolute
=yes
10058 export_dynamic_flag_spec
='${wl}-E'
10059 # hardcode_minus_L: Not really in the search PATH,
10060 # but as the default location of the library.
10061 hardcode_minus_L
=yes
10066 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
10069 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10072 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10075 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10081 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10084 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10087 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10091 if test "$with_gnu_ld" = no
; then
10092 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10093 hardcode_libdir_separator
=:
10098 hardcode_shlibpath_var
=no
10101 hardcode_direct
=yes
10102 hardcode_direct_absolute
=yes
10103 export_dynamic_flag_spec
='${wl}-E'
10105 # hardcode_minus_L: Not really in the search PATH,
10106 # but as the default location of the library.
10107 hardcode_minus_L
=yes
10113 irix5
* | irix6
* | nonstopux
*)
10114 if test "$GCC" = yes; then
10115 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'
10116 # Try to use the -exported_symbol ld option, if it does not
10117 # work, assume that -exports_file does not work either and
10118 # implicitly export all symbols.
10119 save_LDFLAGS
="$LDFLAGS"
10120 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10121 if test x
$gcc_no_link = xyes
; then
10122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10124 { (exit 1); exit 1; }; }
10126 cat >conftest.
$ac_ext <<_ACEOF
10129 rm -f conftest.
$ac_objext conftest
$ac_exeext
10130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10131 (eval $ac_link) 2>conftest.er1
10133 grep -v '^ *+' conftest.er1
>conftest.err
10135 cat conftest.err
>&5
10136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10137 (exit $ac_status); } &&
10138 { ac_try
='test -z "$ac_c_werror_flag"
10139 || test ! -s conftest.err'
10140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10141 (eval $ac_try) 2>&5
10143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10144 (exit $ac_status); }; } &&
10145 { ac_try
='test -s conftest$ac_exeext'
10146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10147 (eval $ac_try) 2>&5
10149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10150 (exit $ac_status); }; }; then
10151 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'
10154 echo "$as_me: failed program was:" >&5
10155 sed 's/^/| /' conftest.
$ac_ext >&5
10158 rm -f conftest.err conftest.
$ac_objext \
10159 conftest
$ac_exeext conftest.
$ac_ext
10160 LDFLAGS
="$save_LDFLAGS"
10162 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'
10163 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'
10165 archive_cmds_need_lc
='no'
10166 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10167 hardcode_libdir_separator
=:
10169 link_all_deplibs
=yes
10173 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10174 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10176 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10178 hardcode_libdir_flag_spec
='-R$libdir'
10179 hardcode_direct
=yes
10180 hardcode_shlibpath_var
=no
10184 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10185 hardcode_direct
=yes
10186 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10187 hardcode_libdir_separator
=:
10188 hardcode_shlibpath_var
=no
10195 hardcode_direct
=yes
10196 hardcode_shlibpath_var
=no
10197 hardcode_direct_absolute
=yes
10198 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10199 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10200 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10201 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10202 export_dynamic_flag_spec
='${wl}-E'
10205 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10206 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10207 hardcode_libdir_flag_spec
='-R$libdir'
10210 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10211 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10218 hardcode_libdir_flag_spec
='-L$libdir'
10219 hardcode_minus_L
=yes
10220 allow_undefined_flag
=unsupported
10221 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'
10222 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10226 if test "$GCC" = yes; then
10227 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10228 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'
10230 allow_undefined_flag
=' -expect_unresolved \*'
10231 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'
10233 archive_cmds_need_lc
='no'
10234 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10235 hardcode_libdir_separator
=:
10238 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10239 if test "$GCC" = yes; then
10240 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10241 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'
10242 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10244 allow_undefined_flag
=' -expect_unresolved \*'
10245 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'
10246 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~
10247 $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'
10249 # Both c and cxx compiler support -rpath directly
10250 hardcode_libdir_flag_spec
='-rpath $libdir'
10252 archive_cmds_need_lc
='no'
10253 hardcode_libdir_separator
=:
10257 no_undefined_flag
=' -z defs'
10258 if test "$GCC" = yes; then
10260 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10261 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10262 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10264 case `$CC -V 2>&1` in
10267 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10268 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10269 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10273 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10274 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10275 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10279 hardcode_libdir_flag_spec
='-R$libdir'
10280 hardcode_shlibpath_var
=no
10282 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10284 # The compiler driver will combine and reorder linker options,
10285 # but understands `-z linker_flag'. GCC discards it without `$wl',
10286 # but is careful enough not to reorder.
10287 # Supported since Solaris 2.6 (maybe 2.5.1?)
10288 if test "$GCC" = yes; then
10289 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10291 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10295 link_all_deplibs
=yes
10299 if test "x$host_vendor" = xsequent
; then
10300 # Use $CC to link under sequent, because it throws in some extra .o
10301 # files that make .init and .fini sections work.
10302 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10304 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10306 hardcode_libdir_flag_spec
='-L$libdir'
10307 hardcode_direct
=yes
10308 hardcode_minus_L
=yes
10309 hardcode_shlibpath_var
=no
10313 case $host_vendor in
10315 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10316 hardcode_direct
=yes # is this really true???
10319 ## LD is ld it makes a PLAMLIB
10320 ## CC just makes a GrossModule.
10321 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10322 reload_cmds
='$CC -r -o $output$reload_objs'
10326 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10327 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10330 runpath_var
='LD_RUN_PATH'
10331 hardcode_shlibpath_var
=no
10335 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10336 hardcode_shlibpath_var
=no
10337 export_dynamic_flag_spec
='-Bexport'
10341 if test -d /usr
/nec
; then
10342 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10343 hardcode_shlibpath_var
=no
10344 runpath_var
=LD_RUN_PATH
10345 hardcode_runpath_var
=yes
10350 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10351 no_undefined_flag
='${wl}-z,text'
10352 archive_cmds_need_lc
=no
10353 hardcode_shlibpath_var
=no
10354 runpath_var
='LD_RUN_PATH'
10356 if test "$GCC" = yes; then
10357 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10358 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10360 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10361 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10365 sysv5
* | sco3.2v5
* | sco5v6
*)
10366 # Note: We can NOT use -z defs as we might desire, because we do not
10367 # link with -lc, and that would cause any symbols used from libc to
10368 # always be unresolved, which means just about no library would
10369 # ever link correctly. If we're not using GNU ld we use -z text
10370 # though, which does catch some bad symbols but isn't as heavy-handed
10372 no_undefined_flag
='${wl}-z,text'
10373 allow_undefined_flag
='${wl}-z,nodefs'
10374 archive_cmds_need_lc
=no
10375 hardcode_shlibpath_var
=no
10376 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10377 hardcode_libdir_separator
=':'
10378 link_all_deplibs
=yes
10379 export_dynamic_flag_spec
='${wl}-Bexport'
10380 runpath_var
='LD_RUN_PATH'
10382 if test "$GCC" = yes; then
10383 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10384 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10386 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10387 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10392 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10393 hardcode_libdir_flag_spec
='-L$libdir'
10394 hardcode_shlibpath_var
=no
10402 if test x
$host_vendor = xsni
; then
10404 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10405 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10411 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10412 echo "${ECHO_T}$ld_shlibs" >&6
10413 test "$ld_shlibs" = no
&& can_build_shared
=no
10415 with_gnu_ld
=$with_gnu_ld
10432 # Do we need to explicitly link libc?
10434 case "x$archive_cmds_need_lc" in
10436 # Assume -lc should be added
10437 archive_cmds_need_lc
=yes
10439 if test "$enable_shared" = yes && test "$GCC" = yes; then
10440 case $archive_cmds in
10442 # FIXME: we may have to deal with multi-command sequences.
10445 # Test whether the compiler implicitly links with -lc since on some
10446 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10447 # to ld, don't add -lc before -lgcc.
10448 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10449 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10451 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10454 (eval $ac_compile) 2>&5
10456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10457 (exit $ac_status); } 2>conftest.err
; then
10460 libobjs
=conftest.
$ac_objext
10462 wl
=$lt_prog_compiler_wl
10463 pic_flag
=$lt_prog_compiler_pic
10469 lt_save_allow_undefined_flag
=$allow_undefined_flag
10470 allow_undefined_flag
=
10471 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
10472 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10475 (exit $ac_status); }
10477 archive_cmds_need_lc
=no
10479 archive_cmds_need_lc
=yes
10481 allow_undefined_flag
=$lt_save_allow_undefined_flag
10483 cat conftest.err
1>&5
10486 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10487 echo "${ECHO_T}$archive_cmds_need_lc" >&6
10650 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10651 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
10653 if test "$withGCC" = yes; then
10655 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10656 *) lt_awk_arg
="/^libraries:/" ;;
10658 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10659 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
10660 # if the path contains ";" then we assume it to be the separator
10661 # otherwise default to the standard path separator (i.e. ":") - it is
10662 # assumed that no part of a normal pathname contains ";" but that should
10663 # okay in the real world where ";" in dirpaths is itself problematic.
10664 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10666 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10668 # Ok, now we have the path, separated by spaces, we can step through it
10669 # and add multilib dir if necessary.
10670 lt_tmp_lt_search_path_spec
=
10671 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10672 for lt_sys_path
in $lt_search_path_spec; do
10673 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10674 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10676 test -d "$lt_sys_path" && \
10677 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10680 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10681 BEGIN {RS=" "; FS="/|\n";} {
10684 for (lt_i = NF; lt_i > 0; lt_i--) {
10685 if ($lt_i != "" && $lt_i != ".") {
10686 if ($lt_i == "..") {
10689 if (lt_count == 0) {
10690 lt_foo="/" $lt_i lt_foo;
10697 if (lt_foo != "") { lt_freq[lt_foo]++; }
10698 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10700 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10702 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10704 library_names_spec
=
10705 libname_spec
='lib$name'
10709 postuninstall_cmds
=
10713 shlibpath_overrides_runpath
=unknown
10715 dynamic_linker
="$host_os ld.so"
10716 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10717 need_lib_prefix
=unknown
10718 hardcode_into_libs
=no
10720 # when you set need_version to no, make sure it does not cause -set_version
10721 # flags to be left without arguments
10722 need_version
=unknown
10727 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10728 shlibpath_var
=LIBPATH
10730 # AIX 3 has no versioning support, so we append a major version to the name.
10731 soname_spec
='${libname}${release}${shared_ext}$major'
10738 hardcode_into_libs
=yes
10739 if test "$host_cpu" = ia64
; then
10740 # AIX 5 supports IA64
10741 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10742 shlibpath_var
=LD_LIBRARY_PATH
10744 # With GCC up to 2.95.x, collect2 would create an import file
10745 # for dependence libraries. The import file would start with
10746 # the line `#! .'. This would cause the generated library to
10747 # depend on `.', always an invalid library. This was fixed in
10748 # development snapshots of GCC prior to 3.0.
10750 aix4 | aix4.
[01] | aix4.
[01].
*)
10751 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10753 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10756 can_build_shared
=no
10760 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10761 # soname into executable. Probably we can add versioning support to
10762 # collect2, so additional links can be useful in future.
10763 if test "$aix_use_runtimelinking" = yes; then
10764 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10765 # instead of lib<name>.a to let people know that these are not
10766 # typical AIX shared libraries.
10767 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10769 # We preserve .a as extension for shared libraries through AIX4.2
10770 # and later when we are not doing run time linking.
10771 library_names_spec
='${libname}${release}.a $libname.a'
10772 soname_spec
='${libname}${release}${shared_ext}$major'
10774 shlibpath_var
=LIBPATH
10779 if test "$host_cpu" = m68k
; then
10780 library_names_spec
='$libname.ixlibrary $libname.a'
10781 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10782 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'
10789 library_names_spec
='${libname}${shared_ext}'
10790 dynamic_linker
="$host_os ld.so"
10791 shlibpath_var
=LIBRARY_PATH
10797 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10798 soname_spec
='${libname}${release}${shared_ext}$major'
10799 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10800 shlibpath_var
=LD_LIBRARY_PATH
10801 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10802 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10803 # the default ld.so.conf also contains /usr/contrib/lib and
10804 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10805 # libtool to hard-code these into programs
10808 cygwin
* | mingw
* | pw32
*)
10809 version_type
=windows
10814 case $withGCC,$host_os in
10815 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
10816 library_names_spec
='$libname.dll.a'
10817 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10818 postinstall_cmds
='base_file=`basename \${file}`~
10819 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10820 dldir=$destdir/`dirname \$dlpath`~
10821 test -d \$dldir || mkdir -p \$dldir~
10822 $install_prog $dir/$dlname \$dldir/$dlname~
10823 chmod a+x \$dldir/$dlname~
10824 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10825 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10827 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10828 dlpath=$dir/\$dldll~
10830 shlibpath_overrides_runpath
=yes
10834 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10835 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10836 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10839 # MinGW DLLs use traditional 'lib' prefix
10840 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10841 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10842 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10843 # It is most probably a Windows format PATH printed by
10844 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10845 # path with ; separators, and with drive letters. We can handle the
10846 # drive letters (cygwin fileutils understands them), so leave them,
10847 # especially as we might pass files found there to a mingw objdump,
10848 # which wouldn't understand a cygwinified path. Ahh.
10849 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10851 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10855 # pw32 DLLs use 'pw' prefix rather than 'lib'
10856 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10862 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10865 dynamic_linker
='Win32 ld.exe'
10866 # FIXME: first we should search . and the directory the executable is in
10870 darwin
* | rhapsody
*)
10871 dynamic_linker
="$host_os dyld"
10872 version_type
=darwin
10875 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10876 soname_spec
='${libname}${release}${major}$shared_ext'
10877 shlibpath_overrides_runpath
=yes
10878 shlibpath_var
=DYLD_LIBRARY_PATH
10879 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10881 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10882 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10889 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10890 soname_spec
='${libname}${release}${shared_ext}$major'
10891 shlibpath_var
=LD_LIBRARY_PATH
10898 freebsd
* | dragonfly
*)
10899 # DragonFly does not have aout. When/if they implement a new
10900 # versioning mechanism, adjust this.
10901 if test -x /usr
/bin
/objformat
; then
10902 objformat
=`/usr/bin/objformat`
10905 freebsd
[123]*) objformat
=aout
;;
10906 *) objformat
=elf
;;
10909 version_type
=freebsd-
$objformat
10910 case $version_type in
10912 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10917 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10921 shlibpath_var
=LD_LIBRARY_PATH
10924 shlibpath_overrides_runpath
=yes
10926 freebsd3.
[01]* | freebsdelf3.
[01]*)
10927 shlibpath_overrides_runpath
=yes
10928 hardcode_into_libs
=yes
10930 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10931 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10932 shlibpath_overrides_runpath
=no
10933 hardcode_into_libs
=yes
10935 *) # from 4.6 on, and DragonFly
10936 shlibpath_overrides_runpath
=yes
10937 hardcode_into_libs
=yes
10946 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10947 soname_spec
='${libname}${release}${shared_ext}$major'
10948 shlibpath_var
=LD_LIBRARY_PATH
10949 hardcode_into_libs
=yes
10952 hpux9
* | hpux10
* | hpux11
*)
10953 # Give a soname corresponding to the major version so that dld.sl refuses to
10954 # link against other versions.
10961 hardcode_into_libs
=yes
10962 dynamic_linker
="$host_os dld.so"
10963 shlibpath_var
=LD_LIBRARY_PATH
10964 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10966 soname_spec
='${libname}${release}${shared_ext}$major'
10967 if test "X$HPUX_IA64_MODE" = X32
; then
10968 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10970 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10972 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10976 hardcode_into_libs
=yes
10977 dynamic_linker
="$host_os dld.sl"
10978 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10979 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10980 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10981 soname_spec
='${libname}${release}${shared_ext}$major'
10982 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10983 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10987 dynamic_linker
="$host_os dld.sl"
10988 shlibpath_var
=SHLIB_PATH
10989 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10990 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10991 soname_spec
='${libname}${release}${shared_ext}$major'
10994 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10995 postinstall_cmds
='chmod 555 $lib'
11002 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11003 soname_spec
='${libname}${release}${shared_ext}$major'
11004 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11005 shlibpath_var
=LD_LIBRARY_PATH
11006 shlibpath_overrides_runpath
=no
11007 hardcode_into_libs
=yes
11010 irix5
* | irix6
* | nonstopux
*)
11012 nonstopux
*) version_type
=nonstopux
;;
11014 if test "$lt_cv_prog_gnu_ld" = yes; then
11022 soname_spec
='${libname}${release}${shared_ext}$major'
11023 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11025 irix5
* | nonstopux
*)
11026 libsuff
= shlibsuff
=
11029 case $LD in # libtool.m4 will add one of these switches to LD
11030 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11031 libsuff
= shlibsuff
= libmagic
=32-bit;;
11032 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11033 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11034 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11035 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11036 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11040 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11041 shlibpath_overrides_runpath
=no
11042 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11043 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11044 hardcode_into_libs
=yes
11047 # No shared lib support for Linux oldld, aout, or coff.
11048 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11052 # This must be Linux ELF.
11053 linux
* | k
*bsd
*-gnu)
11057 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11058 soname_spec
='${libname}${release}${shared_ext}$major'
11059 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11060 shlibpath_var
=LD_LIBRARY_PATH
11061 shlibpath_overrides_runpath
=no
11062 # Some binutils ld are patched to set DT_RUNPATH
11063 save_LDFLAGS
=$LDFLAGS
11064 save_libdir
=$libdir
11065 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11066 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11067 if test x
$gcc_no_link = xyes
; then
11068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11070 { (exit 1); exit 1; }; }
11072 cat >conftest.
$ac_ext <<_ACEOF
11075 cat confdefs.h
>>conftest.
$ac_ext
11076 cat >>conftest.
$ac_ext <<_ACEOF
11077 /* end confdefs.h. */
11087 rm -f conftest.
$ac_objext conftest
$ac_exeext
11088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11089 (eval $ac_link) 2>conftest.er1
11091 grep -v '^ *+' conftest.er1
>conftest.err
11093 cat conftest.err
>&5
11094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11095 (exit $ac_status); } &&
11096 { ac_try
='test -z "$ac_c_werror_flag"
11097 || test ! -s conftest.err'
11098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11099 (eval $ac_try) 2>&5
11101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11102 (exit $ac_status); }; } &&
11103 { ac_try
='test -s conftest$ac_exeext'
11104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11105 (eval $ac_try) 2>&5
11107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11108 (exit $ac_status); }; }; then
11109 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
11110 shlibpath_overrides_runpath
=yes
11114 echo "$as_me: failed program was:" >&5
11115 sed 's/^/| /' conftest.
$ac_ext >&5
11118 rm -f conftest.err conftest.
$ac_objext \
11119 conftest
$ac_exeext conftest.
$ac_ext
11120 LDFLAGS
=$save_LDFLAGS
11121 libdir
=$save_libdir
11123 # This implies no fast_install, which is unacceptable.
11124 # Some rework will be needed to allow for fast_install
11125 # before this can be enabled.
11126 hardcode_into_libs
=yes
11128 # Append ld.so.conf contents to the search path
11129 if test -f /etc
/ld.so.conf
; then
11130 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' ' '`
11131 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11134 # We used to test for /lib/ld.so.1 and disable shared libraries on
11135 # powerpc, because MkLinux only supported shared libraries with the
11136 # GNU dynamic linker. Since this was broken with cross compilers,
11137 # most powerpc-linux boxes support dynamic linking these days and
11138 # people can always --disable-shared, the test was removed, and we
11139 # assume the GNU/Linux dynamic linker is in use.
11140 dynamic_linker
='GNU/Linux ld.so'
11147 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11148 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11149 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11150 dynamic_linker
='NetBSD (a.out) ld.so'
11152 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11153 soname_spec
='${libname}${release}${shared_ext}$major'
11154 dynamic_linker
='NetBSD ld.elf_so'
11156 shlibpath_var
=LD_LIBRARY_PATH
11157 shlibpath_overrides_runpath
=yes
11158 hardcode_into_libs
=yes
11163 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11164 shlibpath_var
=LD_LIBRARY_PATH
11165 shlibpath_overrides_runpath
=yes
11172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11173 soname_spec
='${libname}${release}${shared_ext}$major'
11174 shlibpath_var
=LD_LIBRARY_PATH
11175 shlibpath_overrides_runpath
=no
11176 hardcode_into_libs
=yes
11177 dynamic_linker
='ldqnx.so'
11182 sys_lib_dlsearch_path_spec
="/usr/lib"
11184 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11186 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11187 *) need_version
=no
;;
11189 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11190 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11191 shlibpath_var
=LD_LIBRARY_PATH
11192 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11194 openbsd2.
[89] | openbsd2.
[89].
*)
11195 shlibpath_overrides_runpath
=no
11198 shlibpath_overrides_runpath
=yes
11202 shlibpath_overrides_runpath
=yes
11207 libname_spec
='$name'
11210 library_names_spec
='$libname${shared_ext} $libname.a'
11211 dynamic_linker
='OS/2 ld.exe'
11212 shlibpath_var
=LIBPATH
11215 osf3
* | osf4
* | osf5
*)
11219 soname_spec
='${libname}${release}${shared_ext}$major'
11220 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11221 shlibpath_var
=LD_LIBRARY_PATH
11222 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11223 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11234 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11235 soname_spec
='${libname}${release}${shared_ext}$major'
11236 shlibpath_var
=LD_LIBRARY_PATH
11237 shlibpath_overrides_runpath
=yes
11238 hardcode_into_libs
=yes
11239 # ldd complains unless libraries are executable
11240 postinstall_cmds
='chmod +x $lib'
11245 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11246 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11247 shlibpath_var
=LD_LIBRARY_PATH
11248 shlibpath_overrides_runpath
=yes
11249 if test "$with_gnu_ld" = yes; then
11257 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11258 soname_spec
='${libname}${release}${shared_ext}$major'
11259 shlibpath_var
=LD_LIBRARY_PATH
11260 case $host_vendor in
11262 shlibpath_overrides_runpath
=no
11264 runpath_var
=LD_RUN_PATH
11272 shlibpath_overrides_runpath
=no
11273 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11279 if test -d /usr
/nec
;then
11281 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11282 soname_spec
='$libname${shared_ext}.$major'
11283 shlibpath_var
=LD_LIBRARY_PATH
11287 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11288 version_type
=freebsd-elf
11291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11292 soname_spec
='${libname}${release}${shared_ext}$major'
11293 shlibpath_var
=LD_LIBRARY_PATH
11294 shlibpath_overrides_runpath
=yes
11295 hardcode_into_libs
=yes
11296 if test "$with_gnu_ld" = yes; then
11297 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11299 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11302 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11306 sys_lib_dlsearch_path_spec
='/usr/lib'
11310 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11314 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11315 shlibpath_var
=LD_LIBRARY_PATH
11316 shlibpath_overrides_runpath
=no
11317 hardcode_into_libs
=yes
11322 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11323 soname_spec
='${libname}${release}${shared_ext}$major'
11324 shlibpath_var
=LD_LIBRARY_PATH
11331 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11332 echo "${ECHO_T}$dynamic_linker" >&6
11333 test "$dynamic_linker" = no
&& can_build_shared
=no
11335 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11336 if test "$GCC" = yes; then
11337 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11426 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11427 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11429 if test -n "$hardcode_libdir_flag_spec" ||
11430 test -n "$runpath_var" ||
11431 test "X$hardcode_automatic" = "Xyes" ; then
11433 # We can hardcode non-existent directories.
11434 if test "$hardcode_direct" != no
&&
11435 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11436 # have to relink, otherwise we might link with an installed library
11437 # when we should be linking with a yet-to-be-installed one
11438 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11439 test "$hardcode_minus_L" != no
; then
11440 # Linking always hardcodes the temporary library directory.
11441 hardcode_action
=relink
11443 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11444 hardcode_action
=immediate
11447 # We cannot hardcode anything, or else we can only hardcode existing
11449 hardcode_action
=unsupported
11451 echo "$as_me:$LINENO: result: $hardcode_action" >&5
11452 echo "${ECHO_T}$hardcode_action" >&6
11454 if test "$hardcode_action" = relink ||
11455 test "$inherit_rpath" = yes; then
11456 # Fast installation is not supported
11457 enable_fast_install
=no
11458 elif test "$shlibpath_overrides_runpath" = yes ||
11459 test "$enable_shared" = no
; then
11460 # Fast installation is not necessary
11461 enable_fast_install
=needless
11469 if test "x$enable_dlopen" != xyes
; then
11470 enable_dlopen
=unknown
11471 enable_dlopen_self
=unknown
11472 enable_dlopen_self_static
=unknown
11479 lt_cv_dlopen
="load_add_on"
11481 lt_cv_dlopen_self
=yes
11485 lt_cv_dlopen
="LoadLibrary"
11490 lt_cv_dlopen
="dlopen"
11495 # if libdl is installed we need to link against it
11496 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11497 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11498 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11499 echo $ECHO_N "(cached) $ECHO_C" >&6
11501 ac_check_lib_save_LIBS
=$LIBS
11503 if test x
$gcc_no_link = xyes
; then
11504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11506 { (exit 1); exit 1; }; }
11508 cat >conftest.
$ac_ext <<_ACEOF
11511 cat confdefs.h
>>conftest.
$ac_ext
11512 cat >>conftest.
$ac_ext <<_ACEOF
11513 /* end confdefs.h. */
11515 /* Override any gcc2 internal prototype to avoid an error. */
11519 /* We use char because int might match the return type of a gcc2
11520 builtin and then its argument prototype would still apply. */
11530 rm -f conftest.
$ac_objext conftest
$ac_exeext
11531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11532 (eval $ac_link) 2>conftest.er1
11534 grep -v '^ *+' conftest.er1
>conftest.err
11536 cat conftest.err
>&5
11537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11538 (exit $ac_status); } &&
11539 { ac_try
='test -z "$ac_c_werror_flag"
11540 || test ! -s conftest.err'
11541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11542 (eval $ac_try) 2>&5
11544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11545 (exit $ac_status); }; } &&
11546 { ac_try
='test -s conftest$ac_exeext'
11547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11548 (eval $ac_try) 2>&5
11550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11551 (exit $ac_status); }; }; then
11552 ac_cv_lib_dl_dlopen
=yes
11554 echo "$as_me: failed program was:" >&5
11555 sed 's/^/| /' conftest.
$ac_ext >&5
11557 ac_cv_lib_dl_dlopen
=no
11559 rm -f conftest.err conftest.
$ac_objext \
11560 conftest
$ac_exeext conftest.
$ac_ext
11561 LIBS
=$ac_check_lib_save_LIBS
11563 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11564 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11565 if test $ac_cv_lib_dl_dlopen = yes; then
11566 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11569 lt_cv_dlopen
="dyld"
11571 lt_cv_dlopen_self
=yes
11578 echo "$as_me:$LINENO: checking for shl_load" >&5
11579 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11580 if test "${ac_cv_func_shl_load+set}" = set; then
11581 echo $ECHO_N "(cached) $ECHO_C" >&6
11583 if test x
$gcc_no_link = xyes
; then
11584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11586 { (exit 1); exit 1; }; }
11588 cat >conftest.
$ac_ext <<_ACEOF
11591 cat confdefs.h
>>conftest.
$ac_ext
11592 cat >>conftest.
$ac_ext <<_ACEOF
11593 /* end confdefs.h. */
11594 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11596 #define shl_load innocuous_shl_load
11598 /* System header to define __stub macros and hopefully few prototypes,
11599 which can conflict with char shl_load (); below.
11600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11601 <limits.h> exists even on freestanding compilers. */
11604 # include <limits.h>
11606 # include <assert.h>
11611 /* Override any gcc2 internal prototype to avoid an error. */
11616 /* We use char because int might match the return type of a gcc2
11617 builtin and then its argument prototype would still apply. */
11619 /* The GNU C library defines this for functions which it implements
11620 to always fail with ENOSYS. Some functions are actually named
11621 something starting with __ and the normal name is an alias. */
11622 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11625 char (*f) () = shl_load;
11634 return f != shl_load;
11639 rm -f conftest.
$ac_objext conftest
$ac_exeext
11640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11641 (eval $ac_link) 2>conftest.er1
11643 grep -v '^ *+' conftest.er1
>conftest.err
11645 cat conftest.err
>&5
11646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11647 (exit $ac_status); } &&
11648 { ac_try
='test -z "$ac_c_werror_flag"
11649 || test ! -s conftest.err'
11650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11651 (eval $ac_try) 2>&5
11653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11654 (exit $ac_status); }; } &&
11655 { ac_try
='test -s conftest$ac_exeext'
11656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11657 (eval $ac_try) 2>&5
11659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11660 (exit $ac_status); }; }; then
11661 ac_cv_func_shl_load
=yes
11663 echo "$as_me: failed program was:" >&5
11664 sed 's/^/| /' conftest.
$ac_ext >&5
11666 ac_cv_func_shl_load
=no
11668 rm -f conftest.err conftest.
$ac_objext \
11669 conftest
$ac_exeext conftest.
$ac_ext
11671 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11672 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11673 if test $ac_cv_func_shl_load = yes; then
11674 lt_cv_dlopen
="shl_load"
11676 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11677 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11678 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11679 echo $ECHO_N "(cached) $ECHO_C" >&6
11681 ac_check_lib_save_LIBS
=$LIBS
11683 if test x
$gcc_no_link = xyes
; then
11684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11686 { (exit 1); exit 1; }; }
11688 cat >conftest.
$ac_ext <<_ACEOF
11691 cat confdefs.h
>>conftest.
$ac_ext
11692 cat >>conftest.
$ac_ext <<_ACEOF
11693 /* end confdefs.h. */
11695 /* Override any gcc2 internal prototype to avoid an error. */
11699 /* We use char because int might match the return type of a gcc2
11700 builtin and then its argument prototype would still apply. */
11710 rm -f conftest.
$ac_objext conftest
$ac_exeext
11711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11712 (eval $ac_link) 2>conftest.er1
11714 grep -v '^ *+' conftest.er1
>conftest.err
11716 cat conftest.err
>&5
11717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11718 (exit $ac_status); } &&
11719 { ac_try
='test -z "$ac_c_werror_flag"
11720 || test ! -s conftest.err'
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); }; } &&
11726 { ac_try
='test -s conftest$ac_exeext'
11727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11728 (eval $ac_try) 2>&5
11730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11731 (exit $ac_status); }; }; then
11732 ac_cv_lib_dld_shl_load
=yes
11734 echo "$as_me: failed program was:" >&5
11735 sed 's/^/| /' conftest.
$ac_ext >&5
11737 ac_cv_lib_dld_shl_load
=no
11739 rm -f conftest.err conftest.
$ac_objext \
11740 conftest
$ac_exeext conftest.
$ac_ext
11741 LIBS
=$ac_check_lib_save_LIBS
11743 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11744 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11745 if test $ac_cv_lib_dld_shl_load = yes; then
11746 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
11748 echo "$as_me:$LINENO: checking for dlopen" >&5
11749 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11750 if test "${ac_cv_func_dlopen+set}" = set; then
11751 echo $ECHO_N "(cached) $ECHO_C" >&6
11753 if test x
$gcc_no_link = xyes
; then
11754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11756 { (exit 1); exit 1; }; }
11758 cat >conftest.
$ac_ext <<_ACEOF
11761 cat confdefs.h
>>conftest.
$ac_ext
11762 cat >>conftest.
$ac_ext <<_ACEOF
11763 /* end confdefs.h. */
11764 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11766 #define dlopen innocuous_dlopen
11768 /* System header to define __stub macros and hopefully few prototypes,
11769 which can conflict with char dlopen (); below.
11770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11771 <limits.h> exists even on freestanding compilers. */
11774 # include <limits.h>
11776 # include <assert.h>
11781 /* Override any gcc2 internal prototype to avoid an error. */
11786 /* We use char because int might match the return type of a gcc2
11787 builtin and then its argument prototype would still apply. */
11789 /* The GNU C library defines this for functions which it implements
11790 to always fail with ENOSYS. Some functions are actually named
11791 something starting with __ and the normal name is an alias. */
11792 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11795 char (*f) () = dlopen;
11804 return f != dlopen;
11809 rm -f conftest.
$ac_objext conftest
$ac_exeext
11810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11811 (eval $ac_link) 2>conftest.er1
11813 grep -v '^ *+' conftest.er1
>conftest.err
11815 cat conftest.err
>&5
11816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11817 (exit $ac_status); } &&
11818 { ac_try
='test -z "$ac_c_werror_flag"
11819 || test ! -s conftest.err'
11820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11821 (eval $ac_try) 2>&5
11823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11824 (exit $ac_status); }; } &&
11825 { ac_try
='test -s conftest$ac_exeext'
11826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11827 (eval $ac_try) 2>&5
11829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11830 (exit $ac_status); }; }; then
11831 ac_cv_func_dlopen
=yes
11833 echo "$as_me: failed program was:" >&5
11834 sed 's/^/| /' conftest.
$ac_ext >&5
11836 ac_cv_func_dlopen
=no
11838 rm -f conftest.err conftest.
$ac_objext \
11839 conftest
$ac_exeext conftest.
$ac_ext
11841 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11842 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11843 if test $ac_cv_func_dlopen = yes; then
11844 lt_cv_dlopen
="dlopen"
11846 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11847 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11848 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11849 echo $ECHO_N "(cached) $ECHO_C" >&6
11851 ac_check_lib_save_LIBS
=$LIBS
11853 if test x
$gcc_no_link = xyes
; then
11854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11856 { (exit 1); exit 1; }; }
11858 cat >conftest.
$ac_ext <<_ACEOF
11861 cat confdefs.h
>>conftest.
$ac_ext
11862 cat >>conftest.
$ac_ext <<_ACEOF
11863 /* end confdefs.h. */
11865 /* Override any gcc2 internal prototype to avoid an error. */
11869 /* We use char because int might match the return type of a gcc2
11870 builtin and then its argument prototype would still apply. */
11880 rm -f conftest.
$ac_objext conftest
$ac_exeext
11881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11882 (eval $ac_link) 2>conftest.er1
11884 grep -v '^ *+' conftest.er1
>conftest.err
11886 cat conftest.err
>&5
11887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11888 (exit $ac_status); } &&
11889 { ac_try
='test -z "$ac_c_werror_flag"
11890 || test ! -s conftest.err'
11891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11892 (eval $ac_try) 2>&5
11894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11895 (exit $ac_status); }; } &&
11896 { ac_try
='test -s conftest$ac_exeext'
11897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11898 (eval $ac_try) 2>&5
11900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11901 (exit $ac_status); }; }; then
11902 ac_cv_lib_dl_dlopen
=yes
11904 echo "$as_me: failed program was:" >&5
11905 sed 's/^/| /' conftest.
$ac_ext >&5
11907 ac_cv_lib_dl_dlopen
=no
11909 rm -f conftest.err conftest.
$ac_objext \
11910 conftest
$ac_exeext conftest.
$ac_ext
11911 LIBS
=$ac_check_lib_save_LIBS
11913 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11914 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11915 if test $ac_cv_lib_dl_dlopen = yes; then
11916 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11918 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11919 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11920 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11921 echo $ECHO_N "(cached) $ECHO_C" >&6
11923 ac_check_lib_save_LIBS
=$LIBS
11924 LIBS
="-lsvld $LIBS"
11925 if test x
$gcc_no_link = xyes
; then
11926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11928 { (exit 1); exit 1; }; }
11930 cat >conftest.
$ac_ext <<_ACEOF
11933 cat confdefs.h
>>conftest.
$ac_ext
11934 cat >>conftest.
$ac_ext <<_ACEOF
11935 /* end confdefs.h. */
11937 /* Override any gcc2 internal prototype to avoid an error. */
11941 /* We use char because int might match the return type of a gcc2
11942 builtin and then its argument prototype would still apply. */
11952 rm -f conftest.
$ac_objext conftest
$ac_exeext
11953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11954 (eval $ac_link) 2>conftest.er1
11956 grep -v '^ *+' conftest.er1
>conftest.err
11958 cat conftest.err
>&5
11959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11960 (exit $ac_status); } &&
11961 { ac_try
='test -z "$ac_c_werror_flag"
11962 || test ! -s conftest.err'
11963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11964 (eval $ac_try) 2>&5
11966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11967 (exit $ac_status); }; } &&
11968 { ac_try
='test -s conftest$ac_exeext'
11969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11970 (eval $ac_try) 2>&5
11972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11973 (exit $ac_status); }; }; then
11974 ac_cv_lib_svld_dlopen
=yes
11976 echo "$as_me: failed program was:" >&5
11977 sed 's/^/| /' conftest.
$ac_ext >&5
11979 ac_cv_lib_svld_dlopen
=no
11981 rm -f conftest.err conftest.
$ac_objext \
11982 conftest
$ac_exeext conftest.
$ac_ext
11983 LIBS
=$ac_check_lib_save_LIBS
11985 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11986 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11987 if test $ac_cv_lib_svld_dlopen = yes; then
11988 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11990 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11991 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11992 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11993 echo $ECHO_N "(cached) $ECHO_C" >&6
11995 ac_check_lib_save_LIBS
=$LIBS
11997 if test x
$gcc_no_link = xyes
; then
11998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12000 { (exit 1); exit 1; }; }
12002 cat >conftest.
$ac_ext <<_ACEOF
12005 cat confdefs.h
>>conftest.
$ac_ext
12006 cat >>conftest.
$ac_ext <<_ACEOF
12007 /* end confdefs.h. */
12009 /* Override any gcc2 internal prototype to avoid an error. */
12013 /* We use char because int might match the return type of a gcc2
12014 builtin and then its argument prototype would still apply. */
12024 rm -f conftest.
$ac_objext conftest
$ac_exeext
12025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12026 (eval $ac_link) 2>conftest.er1
12028 grep -v '^ *+' conftest.er1
>conftest.err
12030 cat conftest.err
>&5
12031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12032 (exit $ac_status); } &&
12033 { ac_try
='test -z "$ac_c_werror_flag"
12034 || test ! -s conftest.err'
12035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12036 (eval $ac_try) 2>&5
12038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12039 (exit $ac_status); }; } &&
12040 { ac_try
='test -s conftest$ac_exeext'
12041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12042 (eval $ac_try) 2>&5
12044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12045 (exit $ac_status); }; }; then
12046 ac_cv_lib_dld_dld_link
=yes
12048 echo "$as_me: failed program was:" >&5
12049 sed 's/^/| /' conftest.
$ac_ext >&5
12051 ac_cv_lib_dld_dld_link
=no
12053 rm -f conftest.err conftest.
$ac_objext \
12054 conftest
$ac_exeext conftest.
$ac_ext
12055 LIBS
=$ac_check_lib_save_LIBS
12057 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12058 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12059 if test $ac_cv_lib_dld_dld_link = yes; then
12060 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
12081 if test "x$lt_cv_dlopen" != xno
; then
12087 case $lt_cv_dlopen in
12089 save_CPPFLAGS
="$CPPFLAGS"
12090 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12092 save_LDFLAGS
="$LDFLAGS"
12093 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12096 LIBS
="$lt_cv_dlopen_libs $LIBS"
12098 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12099 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12100 if test "${lt_cv_dlopen_self+set}" = set; then
12101 echo $ECHO_N "(cached) $ECHO_C" >&6
12103 if test "$cross_compiling" = yes; then :
12104 lt_cv_dlopen_self
=cross
12106 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12107 lt_status
=$lt_dlunknown
12108 cat > conftest.
$ac_ext <<_LT_EOF
12109 #line 12109 "configure"
12110 #include "confdefs.h"
12119 # define LT_DLGLOBAL RTLD_GLOBAL
12122 # define LT_DLGLOBAL DL_GLOBAL
12124 # define LT_DLGLOBAL 0
12128 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12129 find out it does not work in some platform. */
12130 #ifndef LT_DLLAZY_OR_NOW
12132 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12135 # define LT_DLLAZY_OR_NOW DL_LAZY
12138 # define LT_DLLAZY_OR_NOW RTLD_NOW
12141 # define LT_DLLAZY_OR_NOW DL_NOW
12143 # define LT_DLLAZY_OR_NOW 0
12151 extern "C" void exit (int);
12154 void fnord() { int i=42;}
12157 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12158 int status = $lt_dlunknown;
12162 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12163 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12164 /* dlclose (self); */
12172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12173 (eval $ac_link) 2>&5
12175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12176 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12177 (.
/conftest
; exit; ) >&5 2>/dev
/null
12179 case x
$lt_status in
12180 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12181 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12182 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12185 # compilation failed
12186 lt_cv_dlopen_self
=no
12193 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12194 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12196 if test "x$lt_cv_dlopen_self" = xyes
; then
12197 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12198 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12199 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12200 if test "${lt_cv_dlopen_self_static+set}" = set; then
12201 echo $ECHO_N "(cached) $ECHO_C" >&6
12203 if test "$cross_compiling" = yes; then :
12204 lt_cv_dlopen_self_static
=cross
12206 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12207 lt_status
=$lt_dlunknown
12208 cat > conftest.
$ac_ext <<_LT_EOF
12209 #line 12209 "configure"
12210 #include "confdefs.h"
12219 # define LT_DLGLOBAL RTLD_GLOBAL
12222 # define LT_DLGLOBAL DL_GLOBAL
12224 # define LT_DLGLOBAL 0
12228 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12229 find out it does not work in some platform. */
12230 #ifndef LT_DLLAZY_OR_NOW
12232 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12235 # define LT_DLLAZY_OR_NOW DL_LAZY
12238 # define LT_DLLAZY_OR_NOW RTLD_NOW
12241 # define LT_DLLAZY_OR_NOW DL_NOW
12243 # define LT_DLLAZY_OR_NOW 0
12251 extern "C" void exit (int);
12254 void fnord() { int i=42;}
12257 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12258 int status = $lt_dlunknown;
12262 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12263 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12264 /* dlclose (self); */
12272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12273 (eval $ac_link) 2>&5
12275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12276 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12277 (.
/conftest
; exit; ) >&5 2>/dev
/null
12279 case x
$lt_status in
12280 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12281 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12282 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12285 # compilation failed
12286 lt_cv_dlopen_self_static
=no
12293 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12294 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12297 CPPFLAGS
="$save_CPPFLAGS"
12298 LDFLAGS
="$save_LDFLAGS"
12303 case $lt_cv_dlopen_self in
12304 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12305 *) enable_dlopen_self
=unknown
;;
12308 case $lt_cv_dlopen_self_static in
12309 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12310 *) enable_dlopen_self_static
=unknown
;;
12332 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12333 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
12334 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12335 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12336 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12337 echo "$as_me:$LINENO: result: yes" >&5
12338 echo "${ECHO_T}yes" >&6
12340 # FIXME - insert some real tests, host_os isn't really good enough
12343 if test -n "$STRIP" ; then
12344 striplib
="$STRIP -x"
12345 old_striplib
="$STRIP -S"
12346 echo "$as_me:$LINENO: result: yes" >&5
12347 echo "${ECHO_T}yes" >&6
12349 echo "$as_me:$LINENO: result: no" >&5
12350 echo "${ECHO_T}no" >&6
12354 echo "$as_me:$LINENO: result: no" >&5
12355 echo "${ECHO_T}no" >&6
12371 # Report which library types will actually be built
12372 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12373 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12374 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12375 echo "${ECHO_T}$can_build_shared" >&6
12377 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12378 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12379 test "$can_build_shared" = "no" && enable_shared
=no
12381 # On AIX, shared libraries and static libraries use the same namespace, and
12382 # are all built from PIC.
12385 test "$enable_shared" = yes && enable_static
=no
12386 if test -n "$RANLIB"; then
12387 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12388 postinstall_cmds
='$RANLIB $lib'
12393 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12394 test "$enable_shared" = yes && enable_static
=no
12398 echo "$as_me:$LINENO: result: $enable_shared" >&5
12399 echo "${ECHO_T}$enable_shared" >&6
12401 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12402 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12403 # Make sure either enable_shared or enable_static is yes.
12404 test "$enable_shared" = yes || enable_static
=yes
12405 echo "$as_me:$LINENO: result: $enable_static" >&5
12406 echo "${ECHO_T}$enable_static" >&6
12413 ac_cpp
='$CPP $CPPFLAGS'
12414 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12415 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12416 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12422 ac_cpp
='$CXXCPP $CPPFLAGS'
12423 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12424 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12425 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12427 archive_cmds_need_lc_CXX
=no
12428 allow_undefined_flag_CXX
=
12429 always_export_symbols_CXX
=no
12430 archive_expsym_cmds_CXX
=
12431 compiler_needs_object_CXX
=no
12432 export_dynamic_flag_spec_CXX
=
12433 hardcode_direct_CXX
=no
12434 hardcode_direct_absolute_CXX
=no
12435 hardcode_libdir_flag_spec_CXX
=
12436 hardcode_libdir_flag_spec_ld_CXX
=
12437 hardcode_libdir_separator_CXX
=
12438 hardcode_minus_L_CXX
=no
12439 hardcode_shlibpath_var_CXX
=unsupported
12440 hardcode_automatic_CXX
=no
12441 inherit_rpath_CXX
=no
12443 module_expsym_cmds_CXX
=
12444 link_all_deplibs_CXX
=unknown
12445 old_archive_cmds_CXX
=$old_archive_cmds
12446 no_undefined_flag_CXX
=
12447 whole_archive_flag_spec_CXX
=
12448 enable_shared_with_static_runtimes_CXX
=no
12450 # Source file extension for C++ test sources.
12453 # Object file extension for compiled C++ test sources.
12457 # No sense in running all these tests if we already determined that
12458 # the CXX compiler isn't working. Some variables (like enable_shared)
12459 # are currently assumed to apply to all compilers on this platform,
12460 # and will be corrupted by setting them based on a non-working compiler.
12461 if test "$_lt_caught_CXX_error" != yes; then
12462 # Code to be used in simple compile tests
12463 lt_simple_compile_test_code
="int some_variable = 0;"
12465 # Code to be used in simple link tests
12466 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12468 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12475 # If no C compiler was specified, use CC.
12478 # If no C compiler flags were specified, use CFLAGS.
12479 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12481 # Allow CC to be a program name with arguments.
12485 # save warnings/boilerplate of simple test code
12486 ac_outfile
=conftest.
$ac_objext
12487 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12488 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12489 _lt_compiler_boilerplate
=`cat conftest.err`
12492 ac_outfile
=conftest.
$ac_objext
12493 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12494 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12495 _lt_linker_boilerplate
=`cat conftest.err`
12499 # Allow CC to be a program name with arguments.
12504 lt_save_with_gnu_ld
=$with_gnu_ld
12505 lt_save_path_LD
=$lt_cv_path_LD
12506 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12507 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12509 $as_unset lt_cv_prog_gnu_ld
12511 if test -n "${lt_cv_path_LDCXX+set}"; then
12512 lt_cv_path_LD
=$lt_cv_path_LDCXX
12514 $as_unset lt_cv_path_LD
12516 test -z "${LDCXX+set}" || LD
=$LDCXX
12520 for cc_temp
in $compiler""; do
12522 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12523 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12528 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12531 if test -n "$compiler"; then
12532 # We don't want -fno-exception when compiling C++ code, so set the
12533 # no_builtin_flag separately
12534 if test "$GXX" = yes; then
12535 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12537 lt_prog_compiler_no_builtin_flag_CXX
=
12540 if test "$GXX" = yes; then
12541 # Set up default GNU C++ configuration
12545 # Check whether --with-gnu-ld or --without-gnu-ld was given.
12546 if test "${with_gnu_ld+set}" = set; then
12547 withval
="$with_gnu_ld"
12548 test "$withval" = no || with_gnu_ld
=yes
12553 if test "$GCC" = yes; then
12554 # Check if gcc -print-prog-name=ld gives a path.
12555 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12556 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
12559 # gcc leaves a trailing carriage return which upsets mingw
12560 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12562 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12565 # Accept absolute paths.
12567 re_direlt
='/[^/][^/]*/\.\./'
12568 # Canonicalize the pathname of ld
12569 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12570 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12571 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12573 test -z "$LD" && LD
="$ac_prog"
12576 # If it fails, then pretend we aren't using GCC.
12580 # If it is relative, then search for the first ld in PATH.
12581 with_gnu_ld
=unknown
12584 elif test "$with_gnu_ld" = yes; then
12585 echo "$as_me:$LINENO: checking for GNU ld" >&5
12586 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
12588 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12589 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
12591 if test "${lt_cv_path_LD+set}" = set; then
12592 echo $ECHO_N "(cached) $ECHO_C" >&6
12594 if test -z "$LD"; then
12595 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12596 for ac_dir
in $PATH; do
12598 test -z "$ac_dir" && ac_dir
=.
12599 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12600 lt_cv_path_LD
="$ac_dir/$ac_prog"
12601 # Check to see if the program is GNU ld. I'd rather use --version,
12602 # but apparently some variants of GNU ld only accept -v.
12603 # Break only if it was the GNU/non-GNU ld that we prefer.
12604 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12605 *GNU
* |
*'with BFD'*)
12606 test "$with_gnu_ld" != no
&& break
12609 test "$with_gnu_ld" != yes && break
12616 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12620 LD
="$lt_cv_path_LD"
12621 if test -n "$LD"; then
12622 echo "$as_me:$LINENO: result: $LD" >&5
12623 echo "${ECHO_T}$LD" >&6
12625 echo "$as_me:$LINENO: result: no" >&5
12626 echo "${ECHO_T}no" >&6
12628 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12629 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12630 { (exit 1); exit 1; }; }
12631 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12632 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
12633 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12634 echo $ECHO_N "(cached) $ECHO_C" >&6
12636 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12637 case `$LD -v 2>&1 </dev/null` in
12638 *GNU
* |
*'with BFD'*)
12639 lt_cv_prog_gnu_ld
=yes
12642 lt_cv_prog_gnu_ld
=no
12646 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12647 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
12648 with_gnu_ld
=$lt_cv_prog_gnu_ld
12656 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12657 # archiving commands below assume that GNU ld is being used.
12658 if test "$with_gnu_ld" = yes; then
12659 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12660 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'
12662 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12663 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12665 # If archive_cmds runs LD, not CC, wlarc should be empty
12666 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12667 # investigate it a little bit more. (MM)
12670 # ancient GNU ld didn't support --whole-archive et. al.
12671 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12672 $GREP 'no-whole-archive' > /dev
/null
; then
12673 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12675 whole_archive_flag_spec_CXX
=
12681 # A generic and very simple default shared library creation
12682 # command for GNU C++ for the case where it uses the native
12683 # linker, instead of GNU ld. If possible, this setting should
12684 # overridden to take advantage of the native linker features on
12685 # the platform it is being used on.
12686 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12689 # Commands to make compiler produce verbose output that lists
12690 # what "hidden" libraries, object files and flags are used when
12691 # linking a shared library.
12692 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12700 # PORTME: fill in a description of your system's C++ link characteristics
12701 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12702 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12706 # FIXME: insert proper C++ library support
12710 if test "$host_cpu" = ia64
; then
12711 # On IA64, the linker does run time linking by default, so we don't
12712 # have to do anything special.
12713 aix_use_runtimelinking
=no
12714 exp_sym_flag
='-Bexport'
12717 aix_use_runtimelinking
=no
12719 # Test if we are trying to use run time linking or normal
12720 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12721 # need to do runtime linking.
12722 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12723 for ld_flag
in $LDFLAGS; do
12726 aix_use_runtimelinking
=yes
12734 exp_sym_flag
='-bexport'
12735 no_entry_flag
='-bnoentry'
12738 # When large executables or shared objects are built, AIX ld can
12739 # have problems creating the table of contents. If linking a library
12740 # or program results in "error TOC overflow" add -mminimal-toc to
12741 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12742 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12744 archive_cmds_CXX
=''
12745 hardcode_direct_CXX
=yes
12746 hardcode_direct_absolute_CXX
=yes
12747 hardcode_libdir_separator_CXX
=':'
12748 link_all_deplibs_CXX
=yes
12749 file_list_spec_CXX
='${wl}-f,'
12751 if test "$GXX" = yes; then
12752 case $host_os in aix4.
[012]|aix4.
[012].
*)
12753 # We only want to do this on AIX 4.2 and lower, the check
12754 # below for broken collect2 doesn't work under 4.3+
12755 collect2name
=`${CC} -print-prog-name=collect2`
12756 if test -f "$collect2name" &&
12757 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12759 # We have reworked collect2
12762 # We have old collect2
12763 hardcode_direct_CXX
=unsupported
12764 # It fails to find uninstalled libraries when the uninstalled
12765 # path is not listed in the libpath. Setting hardcode_minus_L
12766 # to unsupported forces relinking
12767 hardcode_minus_L_CXX
=yes
12768 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12769 hardcode_libdir_separator_CXX
=
12772 shared_flag
='-shared'
12773 if test "$aix_use_runtimelinking" = yes; then
12774 shared_flag
="$shared_flag "'${wl}-G'
12778 if test "$host_cpu" = ia64
; then
12779 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12780 # chokes on -Wl,-G. The following line is correct:
12783 if test "$aix_use_runtimelinking" = yes; then
12784 shared_flag
='${wl}-G'
12786 shared_flag
='${wl}-bM:SRE'
12791 # It seems that -bexpall does not export symbols beginning with
12792 # underscore (_), so it is better to generate a list of symbols to
12794 always_export_symbols_CXX
=yes
12795 if test "$aix_use_runtimelinking" = yes; then
12796 # Warning - without using the other runtime loading flags (-brtl),
12797 # -berok will link without error, but may produce a broken library.
12798 allow_undefined_flag_CXX
='-berok'
12799 # Determine the default libpath from the value encoded in an empty
12801 if test x
$gcc_no_link = xyes
; then
12802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12804 { (exit 1); exit 1; }; }
12806 cat >conftest.
$ac_ext <<_ACEOF
12809 cat confdefs.h
>>conftest.
$ac_ext
12810 cat >>conftest.
$ac_ext <<_ACEOF
12811 /* end confdefs.h. */
12821 rm -f conftest.
$ac_objext conftest
$ac_exeext
12822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12823 (eval $ac_link) 2>conftest.er1
12825 grep -v '^ *+' conftest.er1
>conftest.err
12827 cat conftest.err
>&5
12828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12829 (exit $ac_status); } &&
12830 { ac_try
='test -z "$ac_cxx_werror_flag"
12831 || test ! -s conftest.err'
12832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12833 (eval $ac_try) 2>&5
12835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12836 (exit $ac_status); }; } &&
12837 { ac_try
='test -s conftest$ac_exeext'
12838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12839 (eval $ac_try) 2>&5
12841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12842 (exit $ac_status); }; }; then
12844 lt_aix_libpath_sed
='
12845 /Import File Strings/,/^$/ {
12851 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12852 # Check for a 64-bit object if we didn't find anything.
12853 if test -z "$aix_libpath"; then
12854 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12857 echo "$as_me: failed program was:" >&5
12858 sed 's/^/| /' conftest.
$ac_ext >&5
12861 rm -f conftest.err conftest.
$ac_objext \
12862 conftest
$ac_exeext conftest.
$ac_ext
12863 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12865 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12867 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"
12869 if test "$host_cpu" = ia64
; then
12870 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12871 allow_undefined_flag_CXX
="-z nodefs"
12872 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"
12874 # Determine the default libpath from the value encoded in an
12875 # empty executable.
12876 if test x
$gcc_no_link = xyes
; then
12877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12879 { (exit 1); exit 1; }; }
12881 cat >conftest.
$ac_ext <<_ACEOF
12884 cat confdefs.h
>>conftest.
$ac_ext
12885 cat >>conftest.
$ac_ext <<_ACEOF
12886 /* end confdefs.h. */
12896 rm -f conftest.
$ac_objext conftest
$ac_exeext
12897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12898 (eval $ac_link) 2>conftest.er1
12900 grep -v '^ *+' conftest.er1
>conftest.err
12902 cat conftest.err
>&5
12903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12904 (exit $ac_status); } &&
12905 { ac_try
='test -z "$ac_cxx_werror_flag"
12906 || test ! -s conftest.err'
12907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12908 (eval $ac_try) 2>&5
12910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12911 (exit $ac_status); }; } &&
12912 { ac_try
='test -s conftest$ac_exeext'
12913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12914 (eval $ac_try) 2>&5
12916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12917 (exit $ac_status); }; }; then
12919 lt_aix_libpath_sed
='
12920 /Import File Strings/,/^$/ {
12926 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12927 # Check for a 64-bit object if we didn't find anything.
12928 if test -z "$aix_libpath"; then
12929 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12932 echo "$as_me: failed program was:" >&5
12933 sed 's/^/| /' conftest.
$ac_ext >&5
12936 rm -f conftest.err conftest.
$ac_objext \
12937 conftest
$ac_exeext conftest.
$ac_ext
12938 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12940 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12941 # Warning - without using the other run time loading flags,
12942 # -berok will link without error, but may produce a broken library.
12943 no_undefined_flag_CXX
=' ${wl}-bernotok'
12944 allow_undefined_flag_CXX
=' ${wl}-berok'
12945 # Exported symbols can be pulled into shared objects from archives
12946 whole_archive_flag_spec_CXX
='$convenience'
12947 archive_cmds_need_lc_CXX
=yes
12948 # This is similar to how AIX traditionally builds its shared
12950 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'
12956 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12957 allow_undefined_flag_CXX
=unsupported
12958 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12959 # support --undefined. This deserves some investigation. FIXME
12960 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12967 case $cc_basename in
12969 # FIXME: insert proper C++ library support
12975 cygwin
* | mingw
* | pw32
*)
12976 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12977 # as there is no search path for DLLs.
12978 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12979 allow_undefined_flag_CXX
=unsupported
12980 always_export_symbols_CXX
=no
12981 enable_shared_with_static_runtimes_CXX
=yes
12983 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12984 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'
12985 # If the export-symbols file already is a .def file (1st line
12986 # is EXPORTS), use it as is; otherwise, prepend...
12987 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12988 cp $export_symbols $output_objdir/$soname.def;
12990 echo EXPORTS > $output_objdir/$soname.def;
12991 cat $export_symbols >> $output_objdir/$soname.def;
12993 $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'
12998 darwin
* | rhapsody
*)
13000 rhapsody
* | darwin1.
[012])
13001 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
13004 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
13006 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13009 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
13014 archive_cmds_need_lc_CXX
=no
13015 hardcode_direct_CXX
=no
13016 hardcode_automatic_CXX
=yes
13017 hardcode_shlibpath_var_CXX
=unsupported
13018 whole_archive_flag_spec_CXX
=''
13019 link_all_deplibs_CXX
=yes
13021 if test "$GXX" = yes ; then
13022 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
13023 echo $ECHO_N "(cached) $ECHO_C" >&6
13025 lt_cv_apple_cc_single_mod
=no
13026 if test -z "${LT_MULTI_MODULE}"; then
13027 # By default we will add the -single_module flag. You can override
13028 # by either setting the environment variable LT_MULTI_MODULE
13029 # non-empty at configure time, or by adding -multi-module to the
13031 echo "int foo(void){return 1;}" > conftest.c
13032 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
13033 -dynamiclib ${wl}-single_module conftest.c
13034 if test -f libconftest.dylib
; then
13035 lt_cv_apple_cc_single_mod
=yes
13036 rm libconftest.dylib
13038 rm conftest.
$ac_ext
13042 output_verbose_link_cmd
=echo
13043 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
13044 archive_cmds_CXX
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13045 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}'
13047 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'
13048 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}'
13050 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13051 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}'
13053 case $cc_basename in
13055 output_verbose_link_cmd
=echo
13056 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'
13057 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13058 # Don't fix this by using the ld -exported_symbols_list flag,
13059 # it doesn't exist in older darwin lds
13060 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}'
13061 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}'
13071 case $cc_basename in
13073 # FIXME: insert proper C++ library support
13077 # Green Hills C++ Compiler
13078 # FIXME: insert proper C++ library support
13082 # FIXME: insert proper C++ library support
13089 # C++ shared libraries reported to be fairly broken before
13095 archive_cmds_need_lc_CXX
=no
13098 freebsd
* | dragonfly
*)
13099 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13108 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13109 hardcode_libdir_separator_CXX
=:
13110 export_dynamic_flag_spec_CXX
='${wl}-E'
13111 hardcode_direct_CXX
=yes
13112 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13113 # but as the default
13114 # location of the library.
13116 case $cc_basename in
13118 # FIXME: insert proper C++ library support
13122 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'
13123 # Commands to make compiler produce verbose output that lists
13124 # what "hidden" libraries, object files and flags are used when
13125 # linking a shared library.
13127 # There doesn't appear to be a way to prevent this compiler from
13128 # explicitly linking system object files so we need to strip them
13129 # from the output so that they don't get included in the library
13131 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'
13134 if test "$GXX" = yes; then
13135 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'
13137 # FIXME: insert proper C++ library support
13145 if test $with_gnu_ld = no
; then
13146 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13147 hardcode_libdir_separator_CXX
=:
13153 export_dynamic_flag_spec_CXX
='${wl}-E'
13159 hardcode_direct_CXX
=no
13160 hardcode_shlibpath_var_CXX
=no
13163 hardcode_direct_CXX
=yes
13164 hardcode_direct_absolute_CXX
=yes
13165 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13166 # but as the default
13167 # location of the library.
13171 case $cc_basename in
13173 # FIXME: insert proper C++ library support
13179 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13182 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13185 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13188 # Commands to make compiler produce verbose output that lists
13189 # what "hidden" libraries, object files and flags are used when
13190 # linking a shared library.
13192 # There doesn't appear to be a way to prevent this compiler from
13193 # explicitly linking system object files so we need to strip them
13194 # from the output so that they don't get included in the library
13196 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'
13199 if test "$GXX" = yes; then
13200 if test $with_gnu_ld = no
; then
13203 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13206 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13209 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'
13214 # FIXME: insert proper C++ library support
13222 hardcode_direct_CXX
=no
13223 hardcode_shlibpath_var_CXX
=no
13224 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13225 export_dynamic_flag_spec_CXX
='${wl}-E'
13226 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13227 # Instead, shared libraries are loaded at an image base (0x10000000 by
13228 # default) and relocated if they conflict, which is a slow very memory
13229 # consuming and fragmenting process. To avoid this, we pick a random,
13230 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13231 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13232 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'
13233 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'
13236 case $cc_basename in
13239 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'
13241 # Archives containing C++ object files must be created using
13242 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13243 # necessary to make sure instantiated templates are included
13245 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13248 if test "$GXX" = yes; then
13249 if test "$with_gnu_ld" = no
; then
13250 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'
13252 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'
13255 link_all_deplibs_CXX
=yes
13258 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13259 hardcode_libdir_separator_CXX
=:
13260 inherit_rpath_CXX
=yes
13263 linux
* | k
*bsd
*-gnu)
13264 case $cc_basename in
13266 # Kuck and Associates, Inc. (KAI) C++ Compiler
13268 # KCC will only create a shared library if the output file
13269 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13270 # to its proper name (with version) after linking.
13271 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'
13272 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'
13273 # Commands to make compiler produce verbose output that lists
13274 # what "hidden" libraries, object files and flags are used when
13275 # linking a shared library.
13277 # There doesn't appear to be a way to prevent this compiler from
13278 # explicitly linking system object files so we need to strip them
13279 # from the output so that they don't get included in the library
13281 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'
13283 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13284 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13286 # Archives containing C++ object files must be created using
13287 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13288 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13293 # version 8.0 and above of icpc choke on multiply defined symbols
13294 # if we add $predep_objects and $postdep_objects, however 7.1 and
13295 # earlier do not add the objects themselves.
13296 case `$CC -V 2>&1` in
13298 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13299 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'
13301 *) # Version 8.0 or newer
13304 ia64
*) tmp_idyn
=' -i_dynamic';;
13306 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13307 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'
13310 archive_cmds_need_lc_CXX
=no
13311 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13312 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13313 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13316 # Portland Group C++ compiler
13319 prelink_cmds_CXX
='tpldir=Template.dir~
13321 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13322 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13323 old_archive_cmds_CXX
='tpldir=Template.dir~
13325 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13326 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13328 archive_cmds_CXX
='tpldir=Template.dir~
13330 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13331 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13332 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13334 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13335 $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'
13337 *) # Version 6 will use weak symbols
13338 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13339 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'
13343 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13344 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13345 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'
13349 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13350 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'
13352 runpath_var
=LD_RUN_PATH
13353 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13354 hardcode_libdir_separator_CXX
=:
13356 # Commands to make compiler produce verbose output that lists
13357 # what "hidden" libraries, object files and flags are used when
13358 # linking a shared library.
13360 # There doesn't appear to be a way to prevent this compiler from
13361 # explicitly linking system object files so we need to strip them
13362 # from the output so that they don't get included in the library
13364 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'
13367 case `$CC -V 2>&1 | sed 5q` in
13370 no_undefined_flag_CXX
=' -zdefs'
13371 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13372 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'
13373 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13374 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'
13375 compiler_needs_object_CXX
=yes
13377 # Not sure whether something based on
13378 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13380 output_verbose_link_cmd
='echo'
13382 # Archives containing C++ object files must be created using
13383 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13384 # necessary to make sure instantiated templates are included
13386 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13394 # FIXME: insert proper C++ library support
13399 # FIXME: insert proper C++ library support
13404 case $cc_basename in
13406 # FIXME: insert proper C++ library support
13410 # FIXME: insert proper C++ library support
13417 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13418 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13420 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13421 hardcode_direct_CXX
=yes
13422 hardcode_shlibpath_var_CXX
=no
13424 # Workaround some broken pre-1.5 toolchains
13425 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13433 # C++ shared libraries are fairly broken
13438 hardcode_direct_CXX
=yes
13439 hardcode_shlibpath_var_CXX
=no
13440 hardcode_direct_absolute_CXX
=yes
13441 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13442 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13443 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13444 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13445 export_dynamic_flag_spec_CXX
='${wl}-E'
13446 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13448 output_verbose_link_cmd
=echo
13451 osf3
* | osf4
* | osf5
*)
13452 case $cc_basename in
13454 # Kuck and Associates, Inc. (KAI) C++ Compiler
13456 # KCC will only create a shared library if the output file
13457 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13458 # to its proper name (with version) after linking.
13459 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'
13461 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13462 hardcode_libdir_separator_CXX
=:
13464 # Archives containing C++ object files must be created using
13465 # the KAI C++ compiler.
13467 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13468 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13472 # Rational C++ 2.4.1
13473 # FIXME: insert proper C++ library support
13479 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13480 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'
13481 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13484 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13485 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'
13486 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13487 echo "-hidden">> $lib.exp~
13488 $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~
13490 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13494 hardcode_libdir_separator_CXX
=:
13496 # Commands to make compiler produce verbose output that lists
13497 # what "hidden" libraries, object files and flags are used when
13498 # linking a shared library.
13500 # There doesn't appear to be a way to prevent this compiler from
13501 # explicitly linking system object files so we need to strip them
13502 # from the output so that they don't get included in the library
13504 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'
13507 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13508 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13511 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'
13514 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'
13518 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13519 hardcode_libdir_separator_CXX
=:
13521 # Commands to make compiler produce verbose output that lists
13522 # what "hidden" libraries, object files and flags are used when
13523 # linking a shared library.
13524 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13527 # FIXME: insert proper C++ library support
13535 # FIXME: insert proper C++ library support
13540 case $cc_basename in
13543 # FIXME: insert proper C++ library support
13548 # FIXME: insert proper C++ library support
13552 # FIXME: insert proper C++ library support
13559 case $cc_basename in
13561 # Sun C++ 4.2, 5.x and Centerline C++
13562 archive_cmds_need_lc_CXX
=yes
13563 no_undefined_flag_CXX
=' -zdefs'
13564 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13565 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13566 $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'
13568 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13569 hardcode_shlibpath_var_CXX
=no
13571 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13573 # The compiler driver will combine and reorder linker options,
13574 # but understands `-z linker_flag'.
13575 # Supported since Solaris 2.6 (maybe 2.5.1?)
13576 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13579 link_all_deplibs_CXX
=yes
13581 output_verbose_link_cmd
='echo'
13583 # Archives containing C++ object files must be created using
13584 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13585 # necessary to make sure instantiated templates are included
13587 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13590 # Green Hills C++ Compiler
13591 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13593 # The C++ compiler must be used to create the archive.
13594 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13597 # GNU C++ compiler with Solaris linker
13598 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13599 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13600 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13601 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13602 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13603 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13605 # Commands to make compiler produce verbose output that lists
13606 # what "hidden" libraries, object files and flags are used when
13607 # linking a shared library.
13608 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13610 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13612 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13613 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13614 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13616 # Commands to make compiler produce verbose output that lists
13617 # what "hidden" libraries, object files and flags are used when
13618 # linking a shared library.
13619 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13622 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13624 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13626 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13634 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13635 no_undefined_flag_CXX
='${wl}-z,text'
13636 archive_cmds_need_lc_CXX
=no
13637 hardcode_shlibpath_var_CXX
=no
13638 runpath_var
='LD_RUN_PATH'
13640 case $cc_basename in
13642 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13643 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13646 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13647 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13652 sysv5
* | sco3.2v5
* | sco5v6
*)
13653 # Note: We can NOT use -z defs as we might desire, because we do not
13654 # link with -lc, and that would cause any symbols used from libc to
13655 # always be unresolved, which means just about no library would
13656 # ever link correctly. If we're not using GNU ld we use -z text
13657 # though, which does catch some bad symbols but isn't as heavy-handed
13659 no_undefined_flag_CXX
='${wl}-z,text'
13660 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13661 archive_cmds_need_lc_CXX
=no
13662 hardcode_shlibpath_var_CXX
=no
13663 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13664 hardcode_libdir_separator_CXX
=':'
13665 link_all_deplibs_CXX
=yes
13666 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13667 runpath_var
='LD_RUN_PATH'
13669 case $cc_basename in
13671 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13672 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13675 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13676 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13682 case $cc_basename in
13684 # NonStop-UX NCC 3.20
13685 # FIXME: insert proper C++ library support
13689 # FIXME: insert proper C++ library support
13696 # FIXME: insert proper C++ library support
13701 # FIXME: insert proper C++ library support
13706 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13707 echo "${ECHO_T}$ld_shlibs_CXX" >&6
13708 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13714 ## There is no encapsulation within the following macros, do not change
13715 ## the running order or otherwise move them around unless you know exactly
13716 ## what you are doing...
13717 # Dependencies to place before and after the object being linked:
13718 predep_objects_CXX
=
13719 postdep_objects_CXX
=
13722 compiler_lib_search_path_CXX
=
13724 cat > conftest.
$ac_ext <<_LT_EOF
13728 Foo (void) { a = 0; }
13734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13735 (eval $ac_compile) 2>&5
13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738 (exit $ac_status); }; then
13739 # Parse the compiler output and extract the necessary
13740 # objects, libraries and library flags.
13742 # Sentinel used to keep track of whether or not we are before
13743 # the conftest object file.
13744 pre_test_object_deps_done
=no
13746 # The `*' in the case matches for architectures that use `case' in
13747 # $output_verbose_cmd can trigger glob expansion during the loop
13748 # eval without this substitution.
13749 output_verbose_link_cmd
=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
13751 for p
in `eval $output_verbose_link_cmd`; do
13755 # Some compilers place space between "-{L,R}" and the path.
13756 # Remove the space.
13757 if test $p = "-L" ||
13758 test $p = "-R"; then
13765 if test "$pre_test_object_deps_done" = no
; then
13768 # Internal compiler library paths should come after those
13769 # provided the user. The postdeps already come after the
13770 # user supplied libs so there is no need to process them.
13771 if test -z "$compiler_lib_search_path_CXX"; then
13772 compiler_lib_search_path_CXX
="${prev}${p}"
13774 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13777 # The "-l" case would never come before the object being
13778 # linked, so don't bother handling this case.
13781 if test -z "$postdeps_CXX"; then
13782 postdeps_CXX
="${prev}${p}"
13784 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13790 # This assumes that the test object file only shows up
13791 # once in the compiler output.
13792 if test "$p" = "conftest.$objext"; then
13793 pre_test_object_deps_done
=yes
13797 if test "$pre_test_object_deps_done" = no
; then
13798 if test -z "$predep_objects_CXX"; then
13799 predep_objects_CXX
="$p"
13801 predep_objects_CXX
="$predep_objects_CXX $p"
13804 if test -z "$postdep_objects_CXX"; then
13805 postdep_objects_CXX
="$p"
13807 postdep_objects_CXX
="$postdep_objects_CXX $p"
13812 *) ;; # Ignore the rest.
13820 echo "libtool.m4: error: problem compiling CXX test program"
13823 $RM -f confest.
$objext
13825 # PORTME: override above test on systems where it is broken
13828 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13829 # hack all around it, let's just trust "g++" to DTRT.
13830 predep_objects_CXX
=
13831 postdep_objects_CXX
=
13836 case `$CC -V 2>&1 | sed 5q` in
13840 # The more standards-conforming stlport4 library is
13841 # incompatible with the Cstd library. Avoid specifying
13842 # it if it's in CXXFLAGS. Ignore libCrun as
13843 # -library=stlport4 depends on it.
13844 case " $CXX $CXXFLAGS " in
13845 *" -library=stlport4 "*)
13846 solaris_use_stlport4
=yes
13850 if test "$solaris_use_stlport4" != yes; then
13851 postdeps_CXX
='-library=Cstd -library=Crun'
13858 case $cc_basename in
13860 # The more standards-conforming stlport4 library is
13861 # incompatible with the Cstd library. Avoid specifying
13862 # it if it's in CXXFLAGS. Ignore libCrun as
13863 # -library=stlport4 depends on it.
13864 case " $CXX $CXXFLAGS " in
13865 *" -library=stlport4 "*)
13866 solaris_use_stlport4
=yes
13870 # Adding this requires a known-good setup of shared libraries for
13871 # Sun compiler versions before 5.6, else PIC objects from an old
13872 # archive will be linked into the output, leading to subtle bugs.
13873 if test "$solaris_use_stlport4" != yes; then
13874 postdeps_CXX
='-library=Cstd -library=Crun'
13882 case " $postdeps_CXX " in
13883 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13911 lt_prog_compiler_wl_CXX
=
13912 lt_prog_compiler_pic_CXX
=
13913 lt_prog_compiler_static_CXX
=
13915 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13916 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13918 # C++ specific cases for pic, static, wl, etc.
13919 if test "$GXX" = yes; then
13920 lt_prog_compiler_wl_CXX
='-Wl,'
13921 lt_prog_compiler_static_CXX
='-static'
13925 # All AIX code is PIC.
13926 if test "$host_cpu" = ia64
; then
13927 # AIX 5 now supports IA64 processor
13928 lt_prog_compiler_static_CXX
='-Bstatic'
13932 if test "$host_cpu" = m68k
; then
13933 # FIXME: we need at least 68020 code to build shared libraries, but
13934 # adding the `-m68020' flag to GCC prevents building anything better,
13936 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13939 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13940 # PIC is the default for these OSes.
13942 mingw
* | cygwin
* | os2
* | pw32
*)
13943 # This hack is so that the source file can tell whether it is being
13944 # built for inclusion in a dll (and should export symbols for example).
13945 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13946 # (--disable-auto-import) libraries
13947 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13949 darwin
* | rhapsody
*)
13950 # PIC is the default on this platform
13951 # Common symbols not allowed in MH_DYLIB files
13952 lt_prog_compiler_pic_CXX
='-fno-common'
13955 # DJGPP does not support shared libraries at all
13956 lt_prog_compiler_pic_CXX
=
13959 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13960 # Instead, we relocate shared libraries at runtime.
13963 if test -d /usr
/nec
; then
13964 lt_prog_compiler_pic_CXX
=-Kconform_pic
13968 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13969 # not for PA HP-UX.
13974 lt_prog_compiler_pic_CXX
='-fPIC'
13979 # QNX uses GNU C++, but need to define -shared option too, otherwise
13980 # it will coredump.
13981 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13984 lt_prog_compiler_pic_CXX
='-fPIC'
13990 # All AIX code is PIC.
13991 if test "$host_cpu" = ia64
; then
13992 # AIX 5 now supports IA64 processor
13993 lt_prog_compiler_static_CXX
='-Bstatic'
13995 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13999 case $cc_basename in
14001 # Green Hills C++ Compiler
14002 # _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"
14007 # PIC is the default on this platform
14008 # Common symbols not allowed in MH_DYLIB files
14009 case $cc_basename in
14011 lt_prog_compiler_pic_CXX
='-qnocommon'
14012 lt_prog_compiler_wl_CXX
='-Wl,'
14017 case $cc_basename in
14019 lt_prog_compiler_pic_CXX
='-KPIC'
14022 # Green Hills C++ Compiler
14023 lt_prog_compiler_pic_CXX
='-pic'
14029 freebsd
* | dragonfly
*)
14030 # FreeBSD uses GNU C++
14032 hpux9
* | hpux10
* | hpux11
*)
14033 case $cc_basename in
14035 lt_prog_compiler_wl_CXX
='-Wl,'
14036 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14037 if test "$host_cpu" != ia64
; then
14038 lt_prog_compiler_pic_CXX
='+Z'
14042 lt_prog_compiler_wl_CXX
='-Wl,'
14043 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14049 lt_prog_compiler_pic_CXX
='+Z'
14058 # This is c89, which is MS Visual C++ (no shared libs)
14059 # Anyone wants to do a port?
14061 irix5
* | irix6
* | nonstopux
*)
14062 case $cc_basename in
14064 lt_prog_compiler_wl_CXX
='-Wl,'
14065 lt_prog_compiler_static_CXX
='-non_shared'
14066 # CC pic flag -KPIC is the default.
14072 linux
* | k
*bsd
*-gnu)
14073 case $cc_basename in
14076 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14077 lt_prog_compiler_pic_CXX
='-fPIC'
14081 lt_prog_compiler_wl_CXX
='-Wl,'
14082 lt_prog_compiler_pic_CXX
='-KPIC'
14083 lt_prog_compiler_static_CXX
='-static'
14086 # Portland Group C++ compiler
14087 lt_prog_compiler_wl_CXX
='-Wl,'
14088 lt_prog_compiler_pic_CXX
='-fpic'
14089 lt_prog_compiler_static_CXX
='-Bstatic'
14093 # Make sure the PIC flag is empty. It appears that all Alpha
14094 # Linux and Compaq Tru64 Unix objects are PIC.
14095 lt_prog_compiler_pic_CXX
=
14096 lt_prog_compiler_static_CXX
='-non_shared'
14099 case `$CC -V 2>&1 | sed 5q` in
14102 lt_prog_compiler_pic_CXX
='-KPIC'
14103 lt_prog_compiler_static_CXX
='-Bstatic'
14104 lt_prog_compiler_wl_CXX
='-Qoption ld '
14115 case $cc_basename in
14117 lt_prog_compiler_pic_CXX
='-W c,exportall'
14126 # QNX uses GNU C++, but need to define -shared option too, otherwise
14127 # it will coredump.
14128 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14130 osf3
* | osf4
* | osf5
*)
14131 case $cc_basename in
14133 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14136 # Rational C++ 2.4.1
14137 lt_prog_compiler_pic_CXX
='-pic'
14140 # Digital/Compaq C++
14141 lt_prog_compiler_wl_CXX
='-Wl,'
14142 # Make sure the PIC flag is empty. It appears that all Alpha
14143 # Linux and Compaq Tru64 Unix objects are PIC.
14144 lt_prog_compiler_pic_CXX
=
14145 lt_prog_compiler_static_CXX
='-non_shared'
14154 case $cc_basename in
14156 # Sun C++ 4.2, 5.x and Centerline C++
14157 lt_prog_compiler_pic_CXX
='-KPIC'
14158 lt_prog_compiler_static_CXX
='-Bstatic'
14159 lt_prog_compiler_wl_CXX
='-Qoption ld '
14162 # Green Hills C++ Compiler
14163 lt_prog_compiler_pic_CXX
='-PIC'
14170 case $cc_basename in
14173 lt_prog_compiler_pic_CXX
='-pic'
14174 lt_prog_compiler_static_CXX
='-Bstatic'
14178 lt_prog_compiler_pic_CXX
='-pic'
14184 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14185 case $cc_basename in
14187 lt_prog_compiler_wl_CXX
='-Wl,'
14188 lt_prog_compiler_pic_CXX
='-KPIC'
14189 lt_prog_compiler_static_CXX
='-Bstatic'
14194 case $cc_basename in
14196 # NonStop-UX NCC 3.20
14197 lt_prog_compiler_pic_CXX
='-KPIC'
14206 lt_prog_compiler_can_build_shared_CXX
=no
14212 # For platforms which do not support PIC, -DPIC is meaningless:
14214 lt_prog_compiler_pic_CXX
=
14217 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14220 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14221 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
14226 # Check to make sure the PIC flag actually works.
14228 if test -n "$lt_prog_compiler_pic_CXX"; then
14229 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14230 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
14231 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
14232 echo $ECHO_N "(cached) $ECHO_C" >&6
14234 lt_prog_compiler_pic_works_CXX
=no
14235 ac_outfile
=conftest.
$ac_objext
14236 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14237 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14238 # Insert the option either (1) after the last *FLAGS variable, or
14239 # (2) before a word containing "conftest.", or (3) at the end.
14240 # Note that $ac_compile itself does not contain backslashes and begins
14241 # with a dollar sign (not a hyphen), so the echo should work correctly.
14242 # The option is referenced via a variable to avoid confusing sed.
14243 lt_compile
=`echo "$ac_compile" | $SED \
14244 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14245 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14246 -e 's:$: $lt_compiler_flag:'`
14247 (eval echo "\"\$as_me:14247: $lt_compile\"" >&5)
14248 (eval "$lt_compile" 2>conftest.err
)
14250 cat conftest.err
>&5
14251 echo "$as_me:14251: \$? = $ac_status" >&5
14252 if (exit $ac_status) && test -s "$ac_outfile"; then
14253 # The compiler can only warn and ignore the option if not recognized
14254 # So say no if there are warnings other than the usual output.
14255 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14256 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14257 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14258 lt_prog_compiler_pic_works_CXX
=yes
14264 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
14265 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
14267 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
14268 case $lt_prog_compiler_pic_CXX in
14270 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14273 lt_prog_compiler_pic_CXX
=
14274 lt_prog_compiler_can_build_shared_CXX
=no
14282 # Check to make sure the static flag actually works.
14284 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14285 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14286 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
14287 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
14288 echo $ECHO_N "(cached) $ECHO_C" >&6
14290 lt_prog_compiler_static_works_CXX
=no
14291 save_LDFLAGS
="$LDFLAGS"
14292 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14293 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14294 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14295 # The linker can only warn and ignore the option if not recognized
14296 # So say no if there are warnings
14297 if test -s conftest.err
; then
14298 # Append any errors to the config.log.
14299 cat conftest.err
1>&5
14300 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14301 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14302 if diff conftest.exp conftest.er2
>/dev
/null
; then
14303 lt_prog_compiler_static_works_CXX
=yes
14306 lt_prog_compiler_static_works_CXX
=yes
14310 LDFLAGS
="$save_LDFLAGS"
14313 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
14314 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
14316 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
14319 lt_prog_compiler_static_CXX
=
14325 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14326 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
14327 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14328 echo $ECHO_N "(cached) $ECHO_C" >&6
14330 lt_cv_prog_compiler_c_o_CXX
=no
14331 $RM -r conftest
2>/dev
/null
14335 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14337 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14338 # Insert the option either (1) after the last *FLAGS variable, or
14339 # (2) before a word containing "conftest.", or (3) at the end.
14340 # Note that $ac_compile itself does not contain backslashes and begins
14341 # with a dollar sign (not a hyphen), so the echo should work correctly.
14342 lt_compile
=`echo "$ac_compile" | $SED \
14343 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14344 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14345 -e 's:$: $lt_compiler_flag:'`
14346 (eval echo "\"\$as_me:14346: $lt_compile\"" >&5)
14347 (eval "$lt_compile" 2>out
/conftest.err
)
14349 cat out
/conftest.err
>&5
14350 echo "$as_me:14350: \$? = $ac_status" >&5
14351 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14353 # The compiler can only warn and ignore the option if not recognized
14354 # So say no if there are warnings
14355 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14356 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14357 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14358 lt_cv_prog_compiler_c_o_CXX
=yes
14363 # SGI C++ compiler will create directory out/ii_files/ for
14364 # template instantiation
14365 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14366 $RM out
/* && rmdir out
14372 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14373 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
14377 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14378 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
14379 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14380 echo $ECHO_N "(cached) $ECHO_C" >&6
14382 lt_cv_prog_compiler_c_o_CXX
=no
14383 $RM -r conftest
2>/dev
/null
14387 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14389 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14390 # Insert the option either (1) after the last *FLAGS variable, or
14391 # (2) before a word containing "conftest.", or (3) at the end.
14392 # Note that $ac_compile itself does not contain backslashes and begins
14393 # with a dollar sign (not a hyphen), so the echo should work correctly.
14394 lt_compile
=`echo "$ac_compile" | $SED \
14395 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14396 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14397 -e 's:$: $lt_compiler_flag:'`
14398 (eval echo "\"\$as_me:14398: $lt_compile\"" >&5)
14399 (eval "$lt_compile" 2>out
/conftest.err
)
14401 cat out
/conftest.err
>&5
14402 echo "$as_me:14402: \$? = $ac_status" >&5
14403 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14405 # The compiler can only warn and ignore the option if not recognized
14406 # So say no if there are warnings
14407 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14408 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14409 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14410 lt_cv_prog_compiler_c_o_CXX
=yes
14415 # SGI C++ compiler will create directory out/ii_files/ for
14416 # template instantiation
14417 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14418 $RM out
/* && rmdir out
14424 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14425 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
14430 hard_links
="nottested"
14431 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14432 # do not overwrite the value of need_locks provided by the user
14433 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14434 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
14437 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14439 ln conftest.a conftest.b
2>&5 || hard_links
=no
14440 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14441 echo "$as_me:$LINENO: result: $hard_links" >&5
14442 echo "${ECHO_T}$hard_links" >&6
14443 if test "$hard_links" = no
; then
14444 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14445 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14454 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14455 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
14457 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14460 # If we're using GNU nm, then we don't want the "-C" option.
14461 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14462 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14463 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'
14465 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'
14469 export_symbols_cmds_CXX
="$ltdll_cmds"
14472 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'
14475 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14479 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14480 echo "${ECHO_T}$ld_shlibs_CXX" >&6
14481 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14483 with_gnu_ld_CXX
=$with_gnu_ld
14491 # Do we need to explicitly link libc?
14493 case "x$archive_cmds_need_lc_CXX" in
14495 # Assume -lc should be added
14496 archive_cmds_need_lc_CXX
=yes
14498 if test "$enable_shared" = yes && test "$GCC" = yes; then
14499 case $archive_cmds_CXX in
14501 # FIXME: we may have to deal with multi-command sequences.
14504 # Test whether the compiler implicitly links with -lc since on some
14505 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14506 # to ld, don't add -lc before -lgcc.
14507 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14508 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14510 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14513 (eval $ac_compile) 2>&5
14515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14516 (exit $ac_status); } 2>conftest.err
; then
14519 libobjs
=conftest.
$ac_objext
14521 wl
=$lt_prog_compiler_wl_CXX
14522 pic_flag
=$lt_prog_compiler_pic_CXX
14528 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14529 allow_undefined_flag_CXX
=
14530 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
14531 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14534 (exit $ac_status); }
14536 archive_cmds_need_lc_CXX
=no
14538 archive_cmds_need_lc_CXX
=yes
14540 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14542 cat conftest.err
1>&5
14545 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14546 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
14616 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14617 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14619 library_names_spec
=
14620 libname_spec
='lib$name'
14624 postuninstall_cmds
=
14628 shlibpath_overrides_runpath
=unknown
14630 dynamic_linker
="$host_os ld.so"
14631 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14632 need_lib_prefix
=unknown
14633 hardcode_into_libs
=no
14635 # when you set need_version to no, make sure it does not cause -set_version
14636 # flags to be left without arguments
14637 need_version
=unknown
14642 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14643 shlibpath_var
=LIBPATH
14645 # AIX 3 has no versioning support, so we append a major version to the name.
14646 soname_spec
='${libname}${release}${shared_ext}$major'
14653 hardcode_into_libs
=yes
14654 if test "$host_cpu" = ia64
; then
14655 # AIX 5 supports IA64
14656 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14657 shlibpath_var
=LD_LIBRARY_PATH
14659 # With GCC up to 2.95.x, collect2 would create an import file
14660 # for dependence libraries. The import file would start with
14661 # the line `#! .'. This would cause the generated library to
14662 # depend on `.', always an invalid library. This was fixed in
14663 # development snapshots of GCC prior to 3.0.
14665 aix4 | aix4.
[01] | aix4.
[01].
*)
14666 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14668 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14671 can_build_shared
=no
14675 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14676 # soname into executable. Probably we can add versioning support to
14677 # collect2, so additional links can be useful in future.
14678 if test "$aix_use_runtimelinking" = yes; then
14679 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14680 # instead of lib<name>.a to let people know that these are not
14681 # typical AIX shared libraries.
14682 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14684 # We preserve .a as extension for shared libraries through AIX4.2
14685 # and later when we are not doing run time linking.
14686 library_names_spec
='${libname}${release}.a $libname.a'
14687 soname_spec
='${libname}${release}${shared_ext}$major'
14689 shlibpath_var
=LIBPATH
14694 if test "$host_cpu" = m68k
; then
14695 library_names_spec
='$libname.ixlibrary $libname.a'
14696 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14697 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'
14704 library_names_spec
='${libname}${shared_ext}'
14705 dynamic_linker
="$host_os ld.so"
14706 shlibpath_var
=LIBRARY_PATH
14712 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14713 soname_spec
='${libname}${release}${shared_ext}$major'
14714 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14715 shlibpath_var
=LD_LIBRARY_PATH
14716 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14717 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14718 # the default ld.so.conf also contains /usr/contrib/lib and
14719 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14720 # libtool to hard-code these into programs
14723 cygwin
* | mingw
* | pw32
*)
14724 version_type
=windows
14729 case $withGCC,$host_os in
14730 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14731 library_names_spec
='$libname.dll.a'
14732 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14733 postinstall_cmds
='base_file=`basename \${file}`~
14734 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14735 dldir=$destdir/`dirname \$dlpath`~
14736 test -d \$dldir || mkdir -p \$dldir~
14737 $install_prog $dir/$dlname \$dldir/$dlname~
14738 chmod a+x \$dldir/$dlname~
14739 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14740 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14742 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14743 dlpath=$dir/\$dldll~
14745 shlibpath_overrides_runpath
=yes
14749 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14750 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14751 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14754 # MinGW DLLs use traditional 'lib' prefix
14755 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14756 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14757 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
14758 # It is most probably a Windows format PATH printed by
14759 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14760 # path with ; separators, and with drive letters. We can handle the
14761 # drive letters (cygwin fileutils understands them), so leave them,
14762 # especially as we might pass files found there to a mingw objdump,
14763 # which wouldn't understand a cygwinified path. Ahh.
14764 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14766 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14770 # pw32 DLLs use 'pw' prefix rather than 'lib'
14771 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14777 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14780 dynamic_linker
='Win32 ld.exe'
14781 # FIXME: first we should search . and the directory the executable is in
14785 darwin
* | rhapsody
*)
14786 dynamic_linker
="$host_os dyld"
14787 version_type
=darwin
14790 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14791 soname_spec
='${libname}${release}${major}$shared_ext'
14792 shlibpath_overrides_runpath
=yes
14793 shlibpath_var
=DYLD_LIBRARY_PATH
14794 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14796 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14803 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14804 soname_spec
='${libname}${release}${shared_ext}$major'
14805 shlibpath_var
=LD_LIBRARY_PATH
14812 freebsd
* | dragonfly
*)
14813 # DragonFly does not have aout. When/if they implement a new
14814 # versioning mechanism, adjust this.
14815 if test -x /usr
/bin
/objformat
; then
14816 objformat
=`/usr/bin/objformat`
14819 freebsd
[123]*) objformat
=aout
;;
14820 *) objformat
=elf
;;
14823 version_type
=freebsd-
$objformat
14824 case $version_type in
14826 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14831 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14835 shlibpath_var
=LD_LIBRARY_PATH
14838 shlibpath_overrides_runpath
=yes
14840 freebsd3.
[01]* | freebsdelf3.
[01]*)
14841 shlibpath_overrides_runpath
=yes
14842 hardcode_into_libs
=yes
14844 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14845 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14846 shlibpath_overrides_runpath
=no
14847 hardcode_into_libs
=yes
14849 *) # from 4.6 on, and DragonFly
14850 shlibpath_overrides_runpath
=yes
14851 hardcode_into_libs
=yes
14860 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14861 soname_spec
='${libname}${release}${shared_ext}$major'
14862 shlibpath_var
=LD_LIBRARY_PATH
14863 hardcode_into_libs
=yes
14866 hpux9
* | hpux10
* | hpux11
*)
14867 # Give a soname corresponding to the major version so that dld.sl refuses to
14868 # link against other versions.
14875 hardcode_into_libs
=yes
14876 dynamic_linker
="$host_os dld.so"
14877 shlibpath_var
=LD_LIBRARY_PATH
14878 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14879 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14880 soname_spec
='${libname}${release}${shared_ext}$major'
14881 if test "X$HPUX_IA64_MODE" = X32
; then
14882 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14884 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14886 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14890 hardcode_into_libs
=yes
14891 dynamic_linker
="$host_os dld.sl"
14892 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14893 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14894 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14895 soname_spec
='${libname}${release}${shared_ext}$major'
14896 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14897 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14901 dynamic_linker
="$host_os dld.sl"
14902 shlibpath_var
=SHLIB_PATH
14903 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14904 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14905 soname_spec
='${libname}${release}${shared_ext}$major'
14908 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14909 postinstall_cmds
='chmod 555 $lib'
14916 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14917 soname_spec
='${libname}${release}${shared_ext}$major'
14918 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14919 shlibpath_var
=LD_LIBRARY_PATH
14920 shlibpath_overrides_runpath
=no
14921 hardcode_into_libs
=yes
14924 irix5
* | irix6
* | nonstopux
*)
14926 nonstopux
*) version_type
=nonstopux
;;
14928 if test "$lt_cv_prog_gnu_ld" = yes; then
14936 soname_spec
='${libname}${release}${shared_ext}$major'
14937 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14939 irix5
* | nonstopux
*)
14940 libsuff
= shlibsuff
=
14943 case $LD in # libtool.m4 will add one of these switches to LD
14944 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14945 libsuff
= shlibsuff
= libmagic
=32-bit;;
14946 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14947 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14948 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14949 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14950 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14954 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14955 shlibpath_overrides_runpath
=no
14956 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14957 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14958 hardcode_into_libs
=yes
14961 # No shared lib support for Linux oldld, aout, or coff.
14962 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14966 # This must be Linux ELF.
14967 linux
* | k
*bsd
*-gnu)
14971 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14972 soname_spec
='${libname}${release}${shared_ext}$major'
14973 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14974 shlibpath_var
=LD_LIBRARY_PATH
14975 shlibpath_overrides_runpath
=no
14976 # Some binutils ld are patched to set DT_RUNPATH
14977 save_LDFLAGS
=$LDFLAGS
14978 save_libdir
=$libdir
14979 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14980 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14981 if test x
$gcc_no_link = xyes
; then
14982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14984 { (exit 1); exit 1; }; }
14986 cat >conftest.
$ac_ext <<_ACEOF
14989 cat confdefs.h
>>conftest.
$ac_ext
14990 cat >>conftest.
$ac_ext <<_ACEOF
14991 /* end confdefs.h. */
15001 rm -f conftest.
$ac_objext conftest
$ac_exeext
15002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15003 (eval $ac_link) 2>conftest.er1
15005 grep -v '^ *+' conftest.er1
>conftest.err
15007 cat conftest.err
>&5
15008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15009 (exit $ac_status); } &&
15010 { ac_try
='test -z "$ac_cxx_werror_flag"
15011 || test ! -s conftest.err'
15012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15013 (eval $ac_try) 2>&5
15015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15016 (exit $ac_status); }; } &&
15017 { ac_try
='test -s conftest$ac_exeext'
15018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15019 (eval $ac_try) 2>&5
15021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15022 (exit $ac_status); }; }; then
15023 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
15024 shlibpath_overrides_runpath
=yes
15028 echo "$as_me: failed program was:" >&5
15029 sed 's/^/| /' conftest.
$ac_ext >&5
15032 rm -f conftest.err conftest.
$ac_objext \
15033 conftest
$ac_exeext conftest.
$ac_ext
15034 LDFLAGS
=$save_LDFLAGS
15035 libdir
=$save_libdir
15037 # This implies no fast_install, which is unacceptable.
15038 # Some rework will be needed to allow for fast_install
15039 # before this can be enabled.
15040 hardcode_into_libs
=yes
15042 # Append ld.so.conf contents to the search path
15043 if test -f /etc
/ld.so.conf
; then
15044 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' ' '`
15045 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15048 # We used to test for /lib/ld.so.1 and disable shared libraries on
15049 # powerpc, because MkLinux only supported shared libraries with the
15050 # GNU dynamic linker. Since this was broken with cross compilers,
15051 # most powerpc-linux boxes support dynamic linking these days and
15052 # people can always --disable-shared, the test was removed, and we
15053 # assume the GNU/Linux dynamic linker is in use.
15054 dynamic_linker
='GNU/Linux ld.so'
15061 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15063 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15064 dynamic_linker
='NetBSD (a.out) ld.so'
15066 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15067 soname_spec
='${libname}${release}${shared_ext}$major'
15068 dynamic_linker
='NetBSD ld.elf_so'
15070 shlibpath_var
=LD_LIBRARY_PATH
15071 shlibpath_overrides_runpath
=yes
15072 hardcode_into_libs
=yes
15077 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15078 shlibpath_var
=LD_LIBRARY_PATH
15079 shlibpath_overrides_runpath
=yes
15086 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15087 soname_spec
='${libname}${release}${shared_ext}$major'
15088 shlibpath_var
=LD_LIBRARY_PATH
15089 shlibpath_overrides_runpath
=no
15090 hardcode_into_libs
=yes
15091 dynamic_linker
='ldqnx.so'
15096 sys_lib_dlsearch_path_spec
="/usr/lib"
15098 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15100 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15101 *) need_version
=no
;;
15103 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15104 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15105 shlibpath_var
=LD_LIBRARY_PATH
15106 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15108 openbsd2.
[89] | openbsd2.
[89].
*)
15109 shlibpath_overrides_runpath
=no
15112 shlibpath_overrides_runpath
=yes
15116 shlibpath_overrides_runpath
=yes
15121 libname_spec
='$name'
15124 library_names_spec
='$libname${shared_ext} $libname.a'
15125 dynamic_linker
='OS/2 ld.exe'
15126 shlibpath_var
=LIBPATH
15129 osf3
* | osf4
* | osf5
*)
15133 soname_spec
='${libname}${release}${shared_ext}$major'
15134 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15135 shlibpath_var
=LD_LIBRARY_PATH
15136 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15137 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15148 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15149 soname_spec
='${libname}${release}${shared_ext}$major'
15150 shlibpath_var
=LD_LIBRARY_PATH
15151 shlibpath_overrides_runpath
=yes
15152 hardcode_into_libs
=yes
15153 # ldd complains unless libraries are executable
15154 postinstall_cmds
='chmod +x $lib'
15159 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15160 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15161 shlibpath_var
=LD_LIBRARY_PATH
15162 shlibpath_overrides_runpath
=yes
15163 if test "$with_gnu_ld" = yes; then
15171 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15172 soname_spec
='${libname}${release}${shared_ext}$major'
15173 shlibpath_var
=LD_LIBRARY_PATH
15174 case $host_vendor in
15176 shlibpath_overrides_runpath
=no
15178 runpath_var
=LD_RUN_PATH
15186 shlibpath_overrides_runpath
=no
15187 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15193 if test -d /usr
/nec
;then
15195 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15196 soname_spec
='$libname${shared_ext}.$major'
15197 shlibpath_var
=LD_LIBRARY_PATH
15201 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15202 version_type
=freebsd-elf
15205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15206 soname_spec
='${libname}${release}${shared_ext}$major'
15207 shlibpath_var
=LD_LIBRARY_PATH
15208 shlibpath_overrides_runpath
=yes
15209 hardcode_into_libs
=yes
15210 if test "$with_gnu_ld" = yes; then
15211 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15213 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15216 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15220 sys_lib_dlsearch_path_spec
='/usr/lib'
15224 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15228 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15229 shlibpath_var
=LD_LIBRARY_PATH
15230 shlibpath_overrides_runpath
=no
15231 hardcode_into_libs
=yes
15236 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15237 soname_spec
='${libname}${release}${shared_ext}$major'
15238 shlibpath_var
=LD_LIBRARY_PATH
15245 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15246 echo "${ECHO_T}$dynamic_linker" >&6
15247 test "$dynamic_linker" = no
&& can_build_shared
=no
15249 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15250 if test "$GCC" = yes; then
15251 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15289 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15290 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15291 hardcode_action_CXX
=
15292 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15293 test -n "$runpath_var_CXX" ||
15294 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15296 # We can hardcode non-existent directories.
15297 if test "$hardcode_direct_CXX" != no
&&
15298 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15299 # have to relink, otherwise we might link with an installed library
15300 # when we should be linking with a yet-to-be-installed one
15301 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15302 test "$hardcode_minus_L_CXX" != no
; then
15303 # Linking always hardcodes the temporary library directory.
15304 hardcode_action_CXX
=relink
15306 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15307 hardcode_action_CXX
=immediate
15310 # We cannot hardcode anything, or else we can only hardcode existing
15312 hardcode_action_CXX
=unsupported
15314 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15315 echo "${ECHO_T}$hardcode_action_CXX" >&6
15317 if test "$hardcode_action_CXX" = relink ||
15318 test "$inherit_rpath_CXX" = yes; then
15319 # Fast installation is not supported
15320 enable_fast_install
=no
15321 elif test "$shlibpath_overrides_runpath" = yes ||
15322 test "$enable_shared" = no
; then
15323 # Fast installation is not necessary
15324 enable_fast_install
=needless
15333 fi # test -n "$compiler"
15339 with_gnu_ld
=$lt_save_with_gnu_ld
15340 lt_cv_path_LDCXX
=$lt_cv_path_LD
15341 lt_cv_path_LD
=$lt_save_path_LD
15342 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15343 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15344 fi # test "$_lt_caught_CXX_error" != yes
15347 ac_cpp
='$CPP $CPPFLAGS'
15348 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15349 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15350 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15364 ac_config_commands
="$ac_config_commands libtool"
15369 # Only expand once:
15375 # Extract the first word of "$ac_prog", so it can be a program name with args.
15376 set dummy
$ac_prog; ac_word
=$2
15377 echo "$as_me:$LINENO: checking for $ac_word" >&5
15378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15379 if test "${ac_cv_prog_GCJ+set}" = set; then
15380 echo $ECHO_N "(cached) $ECHO_C" >&6
15382 if test -n "$GCJ"; then
15383 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
15385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15386 for as_dir
in $PATH
15389 test -z "$as_dir" && as_dir
=.
15390 for ac_exec_ext
in '' $ac_executable_extensions; do
15391 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15392 ac_cv_prog_GCJ
="$ac_prog"
15393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15401 GCJ
=$ac_cv_prog_GCJ
15402 if test -n "$GCJ"; then
15403 echo "$as_me:$LINENO: result: $GCJ" >&5
15404 echo "${ECHO_T}$GCJ" >&6
15406 echo "$as_me:$LINENO: result: no" >&5
15407 echo "${ECHO_T}no" >&6
15410 test -n "$GCJ" && break
15412 test -n "$GCJ" || GCJ
="gcj"
15414 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
15415 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
15416 { (exit 1); exit 1; }; }
15417 if test "x${GCJFLAGS-unset}" = xunset
; then
15422 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
15424 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
15425 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
15426 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
15427 echo $ECHO_N "(cached) $ECHO_C" >&6
15429 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15430 # We make a subdir and do the tests there. Otherwise we can end up
15431 # making bogus files that we don't know about and never remove. For
15432 # instance it was reported that on HP-UX the gcc test will end up
15433 # making a dummy file named `D' -- because `-MD' means `put the output
15436 # Copy depcomp to subdir because otherwise we won't find it if we're
15437 # using a relative directory.
15438 cp "$am_depcomp" conftest.dir
15440 # We will build objects and dependencies in a subdirectory because
15441 # it helps to detect inapplicable dependency modes. For instance
15442 # both Tru64's cc and ICC support -MD to output dependencies as a
15443 # side effect of compilation, but ICC will put the dependencies in
15444 # the current directory while Tru64 will put them in the object
15448 am_cv_GCJ_dependencies_compiler_type
=none
15449 if test "$am_compiler_list" = ""; then
15450 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15452 for depmode
in $am_compiler_list; do
15453 # Setup a source with many dependencies, because some compilers
15454 # like to wrap large dependency lists on column 80 (with \), and
15455 # we should not choose a depcomp mode which is confused by this.
15457 # We need to recreate these files for each test, as the compiler may
15458 # overwrite some of them when testing with obscure command lines.
15459 # This happens at least with the AIX C compiler.
15461 for i
in 1 2 3 4 5 6; do
15462 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
15463 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15464 # Solaris 8's {/usr,}/bin/sh.
15465 touch sub
/conftst
$i.h
15467 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15471 # after this tag, mechanisms are not by side-effect, so they'll
15472 # only be used when explicitly requested
15473 if test "x$enable_dependency_tracking" = xyes
; then
15481 # We check with `-c' and `-o' for the sake of the "dashmstdout"
15482 # mode. It turns out that the SunPro C++ compiler does not properly
15483 # handle `-M -o', and we need to detect this.
15484 if depmode
=$depmode \
15485 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
15486 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
15487 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
15488 >/dev
/null
2>conftest.err
&&
15489 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
15490 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
15491 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
15492 # icc doesn't choke on unknown options, it will just issue warnings
15493 # or remarks (even with -Werror). So we grep stderr for any message
15494 # that says an option was ignored or not supported.
15495 # When given -MP, icc 7.0 and 7.1 complain thusly:
15496 # icc: Command line warning: ignoring option '-M'; no argument required
15497 # The diagnosis changed in icc 8.0:
15498 # icc: Command line remark: option '-MP' not supported
15499 if (grep 'ignoring option' conftest.err ||
15500 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
15501 am_cv_GCJ_dependencies_compiler_type
=$depmode
15508 rm -rf conftest.dir
15510 am_cv_GCJ_dependencies_compiler_type
=none
15514 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
15515 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
15516 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
15521 test "x$enable_dependency_tracking" != xno \
15522 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
15523 am__fastdepGCJ_TRUE
=
15524 am__fastdepGCJ_FALSE
='#'
15526 am__fastdepGCJ_TRUE
='#'
15527 am__fastdepGCJ_FALSE
=
15534 # Extract the first word of "$ac_prog", so it can be a program name with args.
15535 set dummy
$ac_prog; ac_word
=$2
15536 echo "$as_me:$LINENO: checking for $ac_word" >&5
15537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15538 if test "${ac_cv_prog_GCJ+set}" = set; then
15539 echo $ECHO_N "(cached) $ECHO_C" >&6
15541 if test -n "$GCJ"; then
15542 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
15544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15545 for as_dir
in $PATH
15548 test -z "$as_dir" && as_dir
=.
15549 for ac_exec_ext
in '' $ac_executable_extensions; do
15550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15551 ac_cv_prog_GCJ
="$ac_prog"
15552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15560 GCJ
=$ac_cv_prog_GCJ
15561 if test -n "$GCJ"; then
15562 echo "$as_me:$LINENO: result: $GCJ" >&5
15563 echo "${ECHO_T}$GCJ" >&6
15565 echo "$as_me:$LINENO: result: no" >&5
15566 echo "${ECHO_T}no" >&6
15569 test -n "$GCJ" && break
15571 test -n "$GCJ" || GCJ
="gcj"
15573 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
15574 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
15575 { (exit 1); exit 1; }; }
15576 if test "x${GCJFLAGS-unset}" = xunset
; then
15581 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
15583 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
15584 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
15585 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
15586 echo $ECHO_N "(cached) $ECHO_C" >&6
15588 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15589 # We make a subdir and do the tests there. Otherwise we can end up
15590 # making bogus files that we don't know about and never remove. For
15591 # instance it was reported that on HP-UX the gcc test will end up
15592 # making a dummy file named `D' -- because `-MD' means `put the output
15595 # Copy depcomp to subdir because otherwise we won't find it if we're
15596 # using a relative directory.
15597 cp "$am_depcomp" conftest.dir
15599 # We will build objects and dependencies in a subdirectory because
15600 # it helps to detect inapplicable dependency modes. For instance
15601 # both Tru64's cc and ICC support -MD to output dependencies as a
15602 # side effect of compilation, but ICC will put the dependencies in
15603 # the current directory while Tru64 will put them in the object
15607 am_cv_GCJ_dependencies_compiler_type
=none
15608 if test "$am_compiler_list" = ""; then
15609 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15611 for depmode
in $am_compiler_list; do
15612 # Setup a source with many dependencies, because some compilers
15613 # like to wrap large dependency lists on column 80 (with \), and
15614 # we should not choose a depcomp mode which is confused by this.
15616 # We need to recreate these files for each test, as the compiler may
15617 # overwrite some of them when testing with obscure command lines.
15618 # This happens at least with the AIX C compiler.
15620 for i
in 1 2 3 4 5 6; do
15621 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
15622 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15623 # Solaris 8's {/usr,}/bin/sh.
15624 touch sub
/conftst
$i.h
15626 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15630 # after this tag, mechanisms are not by side-effect, so they'll
15631 # only be used when explicitly requested
15632 if test "x$enable_dependency_tracking" = xyes
; then
15640 # We check with `-c' and `-o' for the sake of the "dashmstdout"
15641 # mode. It turns out that the SunPro C++ compiler does not properly
15642 # handle `-M -o', and we need to detect this.
15643 if depmode
=$depmode \
15644 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
15645 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
15646 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
15647 >/dev
/null
2>conftest.err
&&
15648 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
15649 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
15650 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
15651 # icc doesn't choke on unknown options, it will just issue warnings
15652 # or remarks (even with -Werror). So we grep stderr for any message
15653 # that says an option was ignored or not supported.
15654 # When given -MP, icc 7.0 and 7.1 complain thusly:
15655 # icc: Command line warning: ignoring option '-M'; no argument required
15656 # The diagnosis changed in icc 8.0:
15657 # icc: Command line remark: option '-MP' not supported
15658 if (grep 'ignoring option' conftest.err ||
15659 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
15660 am_cv_GCJ_dependencies_compiler_type
=$depmode
15667 rm -rf conftest.dir
15669 am_cv_GCJ_dependencies_compiler_type
=none
15673 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
15674 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
15675 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
15680 test "x$enable_dependency_tracking" != xno \
15681 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
15682 am__fastdepGCJ_TRUE
=
15683 am__fastdepGCJ_FALSE
='#'
15685 am__fastdepGCJ_TRUE
='#'
15686 am__fastdepGCJ_FALSE
=
15694 # Source file extension for Java test sources.
15697 # Object file extension for compiled Java test sources.
15701 # Code to be used in simple compile tests
15702 lt_simple_compile_test_code
="int some_variable = 0;"
15704 # Code to be used in simple link tests
15705 lt_simple_link_test_code
='int main(){return(0);}'
15707 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15714 # If no C compiler was specified, use CC.
15717 # If no C compiler flags were specified, use CFLAGS.
15718 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15720 # Allow CC to be a program name with arguments.
15724 # save warnings/boilerplate of simple test code
15725 ac_outfile
=conftest.
$ac_objext
15726 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
15727 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15728 _lt_compiler_boilerplate
=`cat conftest.err`
15731 ac_outfile
=conftest.
$ac_objext
15732 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
15733 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15734 _lt_linker_boilerplate
=`cat conftest.err`
15738 # Allow CC to be a program name with arguments.
15741 for cc_temp
in $compiler""; do
15743 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15744 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15749 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15752 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15753 archive_cmds_need_lc_GCJ
=no
15755 old_archive_cmds_GCJ
=$old_archive_cmds
15758 ## There is no encapsulation within the following macros, do not change
15759 ## the running order or otherwise move them around unless you know exactly
15760 ## what you are doing...
15761 if test -n "$compiler"; then
15763 lt_prog_compiler_no_builtin_flag_GCJ
=
15765 if test "$GCC" = yes; then
15766 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15768 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15769 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15770 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15771 echo $ECHO_N "(cached) $ECHO_C" >&6
15773 lt_cv_prog_compiler_rtti_exceptions
=no
15774 ac_outfile
=conftest.
$ac_objext
15775 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15776 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15777 # Insert the option either (1) after the last *FLAGS variable, or
15778 # (2) before a word containing "conftest.", or (3) at the end.
15779 # Note that $ac_compile itself does not contain backslashes and begins
15780 # with a dollar sign (not a hyphen), so the echo should work correctly.
15781 # The option is referenced via a variable to avoid confusing sed.
15782 lt_compile
=`echo "$ac_compile" | $SED \
15783 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15784 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15785 -e 's:$: $lt_compiler_flag:'`
15786 (eval echo "\"\$as_me:15786: $lt_compile\"" >&5)
15787 (eval "$lt_compile" 2>conftest.err
)
15789 cat conftest.err
>&5
15790 echo "$as_me:15790: \$? = $ac_status" >&5
15791 if (exit $ac_status) && test -s "$ac_outfile"; then
15792 # The compiler can only warn and ignore the option if not recognized
15793 # So say no if there are warnings other than the usual output.
15794 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15795 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15796 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15797 lt_cv_prog_compiler_rtti_exceptions
=yes
15803 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15804 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15806 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15807 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15816 lt_prog_compiler_wl_GCJ
=
15817 lt_prog_compiler_pic_GCJ
=
15818 lt_prog_compiler_static_GCJ
=
15820 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15821 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15823 if test "$GCC" = yes; then
15824 lt_prog_compiler_wl_GCJ
='-Wl,'
15825 lt_prog_compiler_static_GCJ
='-static'
15829 # All AIX code is PIC.
15830 if test "$host_cpu" = ia64
; then
15831 # AIX 5 now supports IA64 processor
15832 lt_prog_compiler_static_GCJ
='-Bstatic'
15837 if test "$host_cpu" = m68k
; then
15838 # FIXME: we need at least 68020 code to build shared libraries, but
15839 # adding the `-m68020' flag to GCC prevents building anything better,
15841 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
15845 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15846 # PIC is the default for these OSes.
15849 mingw
* | cygwin
* | pw32
* | os2
*)
15850 # This hack is so that the source file can tell whether it is being
15851 # built for inclusion in a dll (and should export symbols for example).
15852 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15853 # (--disable-auto-import) libraries
15857 darwin
* | rhapsody
*)
15858 # PIC is the default on this platform
15859 # Common symbols not allowed in MH_DYLIB files
15860 lt_prog_compiler_pic_GCJ
='-fno-common'
15864 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15865 # not for PA HP-UX.
15871 lt_prog_compiler_pic_GCJ
='-fPIC'
15877 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15878 # Instead, we relocate shared libraries at runtime.
15882 # Just because we use GCC doesn't mean we suddenly get shared libraries
15883 # on systems that don't support them.
15884 lt_prog_compiler_can_build_shared_GCJ
=no
15889 # QNX uses GNU C++, but need to define -shared option too, otherwise
15890 # it will coredump.
15891 lt_prog_compiler_pic_GCJ
='-fPIC -shared'
15895 if test -d /usr
/nec
; then
15896 lt_prog_compiler_pic_GCJ
=-Kconform_pic
15901 lt_prog_compiler_pic_GCJ
='-fPIC'
15905 # PORTME Check for flag to pass linker flags through the system compiler.
15908 lt_prog_compiler_wl_GCJ
='-Wl,'
15909 if test "$host_cpu" = ia64
; then
15910 # AIX 5 now supports IA64 processor
15911 lt_prog_compiler_static_GCJ
='-Bstatic'
15913 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
15917 # PIC is the default on this platform
15918 # Common symbols not allowed in MH_DYLIB files
15919 case $cc_basename in
15921 lt_prog_compiler_pic_GCJ
='-qnocommon'
15922 lt_prog_compiler_wl_GCJ
='-Wl,'
15927 mingw
* | cygwin
* | pw32
* | os2
*)
15928 # This hack is so that the source file can tell whether it is being
15929 # built for inclusion in a dll (and should export symbols for example).
15933 hpux9
* | hpux10
* | hpux11
*)
15934 lt_prog_compiler_wl_GCJ
='-Wl,'
15935 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15936 # not for PA HP-UX.
15942 lt_prog_compiler_pic_GCJ
='+Z'
15945 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15946 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
15949 irix5
* | irix6
* | nonstopux
*)
15950 lt_prog_compiler_wl_GCJ
='-Wl,'
15951 # PIC (with -KPIC) is the default.
15952 lt_prog_compiler_static_GCJ
='-non_shared'
15955 linux
* | k
*bsd
*-gnu)
15956 case $cc_basename in
15958 lt_prog_compiler_wl_GCJ
='-Wl,'
15959 lt_prog_compiler_pic_GCJ
='-KPIC'
15960 lt_prog_compiler_static_GCJ
='-static'
15962 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
15963 # Portland Group compilers (*not* the Pentium gcc compiler,
15964 # which looks to be a dead project)
15965 lt_prog_compiler_wl_GCJ
='-Wl,'
15966 lt_prog_compiler_pic_GCJ
='-fpic'
15967 lt_prog_compiler_static_GCJ
='-Bstatic'
15970 lt_prog_compiler_wl_GCJ
='-Wl,'
15971 # All Alpha code is PIC.
15972 lt_prog_compiler_static_GCJ
='-non_shared'
15975 case `$CC -V 2>&1 | sed 5q` in
15978 lt_prog_compiler_pic_GCJ
='-KPIC'
15979 lt_prog_compiler_static_GCJ
='-Bstatic'
15980 lt_prog_compiler_wl_GCJ
='-Wl,'
15983 # Sun Fortran 8.3 passes all unrecognized flags to the linker
15984 lt_prog_compiler_pic_GCJ
='-KPIC'
15985 lt_prog_compiler_static_GCJ
='-Bstatic'
15986 lt_prog_compiler_wl_GCJ
=''
15994 lt_prog_compiler_pic_GCJ
='-KPIC'
15995 lt_prog_compiler_static_GCJ
='-Bstatic'
15999 # QNX uses GNU C++, but need to define -shared option too, otherwise
16000 # it will coredump.
16001 lt_prog_compiler_pic_GCJ
='-fPIC -shared'
16004 osf3
* | osf4
* | osf5
*)
16005 lt_prog_compiler_wl_GCJ
='-Wl,'
16006 # All OSF/1 code is PIC.
16007 lt_prog_compiler_static_GCJ
='-non_shared'
16011 lt_prog_compiler_static_GCJ
='-non_shared'
16015 lt_prog_compiler_pic_GCJ
='-KPIC'
16016 lt_prog_compiler_static_GCJ
='-Bstatic'
16017 case $cc_basename in
16018 f77
* | f90
* | f95
*)
16019 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16021 lt_prog_compiler_wl_GCJ
='-Wl,';;
16026 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16027 lt_prog_compiler_pic_GCJ
='-PIC'
16028 lt_prog_compiler_static_GCJ
='-Bstatic'
16031 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16032 lt_prog_compiler_wl_GCJ
='-Wl,'
16033 lt_prog_compiler_pic_GCJ
='-KPIC'
16034 lt_prog_compiler_static_GCJ
='-Bstatic'
16038 if test -d /usr
/nec
;then
16039 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16040 lt_prog_compiler_static_GCJ
='-Bstatic'
16044 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16045 lt_prog_compiler_wl_GCJ
='-Wl,'
16046 lt_prog_compiler_pic_GCJ
='-KPIC'
16047 lt_prog_compiler_static_GCJ
='-Bstatic'
16051 lt_prog_compiler_wl_GCJ
='-Wl,'
16052 lt_prog_compiler_can_build_shared_GCJ
=no
16056 lt_prog_compiler_pic_GCJ
='-pic'
16057 lt_prog_compiler_static_GCJ
='-Bstatic'
16061 lt_prog_compiler_can_build_shared_GCJ
=no
16067 # For platforms which do not support PIC, -DPIC is meaningless:
16069 lt_prog_compiler_pic_GCJ
=
16072 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16075 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16076 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
16081 # Check to make sure the PIC flag actually works.
16083 if test -n "$lt_prog_compiler_pic_GCJ"; then
16084 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16085 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
16086 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16087 echo $ECHO_N "(cached) $ECHO_C" >&6
16089 lt_prog_compiler_pic_works_GCJ
=no
16090 ac_outfile
=conftest.
$ac_objext
16091 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16092 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16093 # Insert the option either (1) after the last *FLAGS variable, or
16094 # (2) before a word containing "conftest.", or (3) at the end.
16095 # Note that $ac_compile itself does not contain backslashes and begins
16096 # with a dollar sign (not a hyphen), so the echo should work correctly.
16097 # The option is referenced via a variable to avoid confusing sed.
16098 lt_compile
=`echo "$ac_compile" | $SED \
16099 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16100 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16101 -e 's:$: $lt_compiler_flag:'`
16102 (eval echo "\"\$as_me:16102: $lt_compile\"" >&5)
16103 (eval "$lt_compile" 2>conftest.err
)
16105 cat conftest.err
>&5
16106 echo "$as_me:16106: \$? = $ac_status" >&5
16107 if (exit $ac_status) && test -s "$ac_outfile"; then
16108 # The compiler can only warn and ignore the option if not recognized
16109 # So say no if there are warnings other than the usual output.
16110 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16111 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16112 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16113 lt_prog_compiler_pic_works_GCJ
=yes
16119 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16120 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
16122 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16123 case $lt_prog_compiler_pic_GCJ in
16125 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16128 lt_prog_compiler_pic_GCJ
=
16129 lt_prog_compiler_can_build_shared_GCJ
=no
16137 # Check to make sure the static flag actually works.
16139 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16140 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16141 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
16142 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16143 echo $ECHO_N "(cached) $ECHO_C" >&6
16145 lt_prog_compiler_static_works_GCJ
=no
16146 save_LDFLAGS
="$LDFLAGS"
16147 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16148 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16149 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16150 # The linker can only warn and ignore the option if not recognized
16151 # So say no if there are warnings
16152 if test -s conftest.err
; then
16153 # Append any errors to the config.log.
16154 cat conftest.err
1>&5
16155 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16156 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16157 if diff conftest.exp conftest.er2
>/dev
/null
; then
16158 lt_prog_compiler_static_works_GCJ
=yes
16161 lt_prog_compiler_static_works_GCJ
=yes
16165 LDFLAGS
="$save_LDFLAGS"
16168 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16169 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
16171 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16174 lt_prog_compiler_static_GCJ
=
16180 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16181 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16182 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16183 echo $ECHO_N "(cached) $ECHO_C" >&6
16185 lt_cv_prog_compiler_c_o_GCJ
=no
16186 $RM -r conftest
2>/dev
/null
16190 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16192 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16193 # Insert the option either (1) after the last *FLAGS variable, or
16194 # (2) before a word containing "conftest.", or (3) at the end.
16195 # Note that $ac_compile itself does not contain backslashes and begins
16196 # with a dollar sign (not a hyphen), so the echo should work correctly.
16197 lt_compile
=`echo "$ac_compile" | $SED \
16198 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16199 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16200 -e 's:$: $lt_compiler_flag:'`
16201 (eval echo "\"\$as_me:16201: $lt_compile\"" >&5)
16202 (eval "$lt_compile" 2>out
/conftest.err
)
16204 cat out
/conftest.err
>&5
16205 echo "$as_me:16205: \$? = $ac_status" >&5
16206 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16208 # The compiler can only warn and ignore the option if not recognized
16209 # So say no if there are warnings
16210 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16211 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16212 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16213 lt_cv_prog_compiler_c_o_GCJ
=yes
16218 # SGI C++ compiler will create directory out/ii_files/ for
16219 # template instantiation
16220 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16221 $RM out
/* && rmdir out
16227 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16228 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16232 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16233 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16234 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16235 echo $ECHO_N "(cached) $ECHO_C" >&6
16237 lt_cv_prog_compiler_c_o_GCJ
=no
16238 $RM -r conftest
2>/dev
/null
16242 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16244 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16245 # Insert the option either (1) after the last *FLAGS variable, or
16246 # (2) before a word containing "conftest.", or (3) at the end.
16247 # Note that $ac_compile itself does not contain backslashes and begins
16248 # with a dollar sign (not a hyphen), so the echo should work correctly.
16249 lt_compile
=`echo "$ac_compile" | $SED \
16250 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16251 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16252 -e 's:$: $lt_compiler_flag:'`
16253 (eval echo "\"\$as_me:16253: $lt_compile\"" >&5)
16254 (eval "$lt_compile" 2>out
/conftest.err
)
16256 cat out
/conftest.err
>&5
16257 echo "$as_me:16257: \$? = $ac_status" >&5
16258 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16260 # The compiler can only warn and ignore the option if not recognized
16261 # So say no if there are warnings
16262 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16263 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16264 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16265 lt_cv_prog_compiler_c_o_GCJ
=yes
16270 # SGI C++ compiler will create directory out/ii_files/ for
16271 # template instantiation
16272 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16273 $RM out
/* && rmdir out
16279 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16280 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16285 hard_links
="nottested"
16286 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16287 # do not overwrite the value of need_locks provided by the user
16288 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16289 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16292 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16294 ln conftest.a conftest.b
2>&5 || hard_links
=no
16295 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16296 echo "$as_me:$LINENO: result: $hard_links" >&5
16297 echo "${ECHO_T}$hard_links" >&6
16298 if test "$hard_links" = no
; then
16299 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16300 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16309 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16310 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16313 allow_undefined_flag_GCJ
=
16314 always_export_symbols_GCJ
=no
16316 archive_expsym_cmds_GCJ
=
16317 compiler_needs_object_GCJ
=no
16318 enable_shared_with_static_runtimes_GCJ
=no
16319 export_dynamic_flag_spec_GCJ
=
16320 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16321 hardcode_automatic_GCJ
=no
16322 hardcode_direct_GCJ
=no
16323 hardcode_direct_absolute_GCJ
=no
16324 hardcode_libdir_flag_spec_GCJ
=
16325 hardcode_libdir_flag_spec_ld_GCJ
=
16326 hardcode_libdir_separator_GCJ
=
16327 hardcode_minus_L_GCJ
=no
16328 hardcode_shlibpath_var_GCJ
=unsupported
16329 inherit_rpath_GCJ
=no
16330 link_all_deplibs_GCJ
=unknown
16332 module_expsym_cmds_GCJ
=
16333 old_archive_from_new_cmds_GCJ
=
16334 old_archive_from_expsyms_cmds_GCJ
=
16335 thread_safe_flag_spec_GCJ
=
16336 whole_archive_flag_spec_GCJ
=
16337 # include_expsyms should be a list of space-separated symbols to be *always*
16338 # included in the symbol list
16339 include_expsyms_GCJ
=
16340 # exclude_expsyms can be an extended regexp of symbols to exclude
16341 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16342 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16343 # as well as any symbol that contains `d'.
16344 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16345 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16346 # platforms (ab)use it in PIC code, but their linkers get confused if
16347 # the symbol is explicitly referenced. Since portable code cannot
16348 # rely on this symbol name, it's probably fine to never include it in
16349 # preloaded symbol tables.
16350 extract_expsyms_cmds
=
16353 cygwin
* | mingw
* | pw32
*)
16354 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16355 # When not using gcc, we currently assume that we are using
16356 # Microsoft Visual C++.
16357 if test "$GCC" != yes; then
16362 # we just hope/assume this is gcc and not c89 (= MSVC++)
16371 if test "$with_gnu_ld" = yes; then
16372 # If archive_cmds runs LD, not CC, wlarc should be empty
16375 # Set some defaults for GNU ld with shared library support. These
16376 # are reset later if shared libraries are not supported. Putting them
16377 # here allows them to be overridden if necessary.
16378 runpath_var
=LD_RUN_PATH
16379 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16380 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16381 # ancient GNU ld didn't support --whole-archive et. al.
16382 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
16383 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16385 whole_archive_flag_spec_GCJ
=
16387 supports_anon_versioning
=no
16388 case `$LD -v 2>&1` in
16389 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16390 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16391 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16392 *\
2.11.
*) ;; # other 2.11 versions
16393 *) supports_anon_versioning
=yes ;;
16396 # See if GNU ld supports shared libraries.
16399 # On AIX/PPC, the GNU linker is very broken
16400 if test "$host_cpu" != ia64
; then
16404 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16405 *** to be unable to reliably create shared libraries on AIX.
16406 *** Therefore, libtool is disabling shared libraries support. If you
16407 *** really care for shared libraries, you may want to modify your PATH
16408 *** so that a non-GNU linker is found, and then restart.
16415 if test "$host_cpu" = m68k
; then
16416 archive_cmds_GCJ
='$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)'
16417 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16418 hardcode_minus_L_GCJ
=yes
16421 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16422 # that the semantics of dynamic libraries on AmigaOS, at least up
16423 # to version 4, is to share data among multiple programs linked
16424 # with the same dynamic library. Since this doesn't match the
16425 # behavior of shared libraries on other platforms, we can't use
16431 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16432 allow_undefined_flag_GCJ
=unsupported
16433 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16434 # support --undefined. This deserves some investigation. FIXME
16435 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16441 cygwin
* | mingw
* | pw32
*)
16442 # _LT_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16443 # as there is no search path for DLLs.
16444 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16445 allow_undefined_flag_GCJ
=unsupported
16446 always_export_symbols_GCJ
=no
16447 enable_shared_with_static_runtimes_GCJ
=yes
16448 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16450 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
16451 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16452 # If the export-symbols file already is a .def file (1st line
16453 # is EXPORTS), use it as is; otherwise, prepend...
16454 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16455 cp $export_symbols $output_objdir/$soname.def;
16457 echo EXPORTS > $output_objdir/$soname.def;
16458 cat $export_symbols >> $output_objdir/$soname.def;
16460 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16467 hardcode_direct_GCJ
=no
16468 hardcode_shlibpath_var_GCJ
=no
16469 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16470 export_dynamic_flag_spec_GCJ
='${wl}-E'
16471 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16472 # Instead, shared libraries are loaded at an image base (0x10000000 by
16473 # default) and relocated if they conflict, which is a slow very memory
16474 # consuming and fragmenting process. To avoid this, we pick a random,
16475 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16476 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16477 archive_cmds_GCJ
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16478 archive_expsym_cmds_GCJ
='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'
16481 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
16483 if test "$host_os" = linux-dietlibc
; then
16484 case $cc_basename in
16485 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
16488 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
16489 && test "$tmp_diet" = no
16492 case $cc_basename,$host_cpu in
16493 pgcc
*) # Portland Group C compiler
16494 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
16495 tmp_addflag
=' $pic_flag'
16497 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16498 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
16499 tmp_addflag
=' $pic_flag -Mnomain' ;;
16500 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16501 tmp_addflag
=' -i_dynamic' ;;
16502 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16503 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16504 ifc
* | ifort
*) # Intel Fortran compiler
16505 tmp_addflag
=' -nofor_main' ;;
16507 case `$CC -V 2>&1 | sed 5q` in
16508 *Sun\ C
*) # Sun C 5.9
16509 whole_archive_flag_spec_GCJ
='${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'
16510 compiler_needs_object_GCJ
=yes
16511 tmp_sharedflag
='-G' ;;
16512 *Sun\ F
*) # Sun Fortran 8.3
16513 tmp_sharedflag
='-G' ;;
16515 tmp_sharedflag
='-shared' ;;
16517 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16519 if test "x$supports_anon_versioning" = xyes
; then
16520 archive_expsym_cmds_GCJ
='echo "{ global:" > $output_objdir/$libname.ver~
16521 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16522 echo "local: *; };" >> $output_objdir/$libname.ver~
16523 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16531 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
16532 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16535 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16536 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16541 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
16545 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16546 *** create shared libraries on Solaris systems. Therefore, libtool
16547 *** is disabling shared libraries support. We urge you to upgrade GNU
16548 *** binutils to release 2.9.1 or newer. Another option is to modify
16549 *** your PATH or compiler configuration so that the native linker is
16550 *** used, and then restart.
16553 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16554 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16555 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16561 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16562 case `$LD -v 2>&1` in
16563 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16567 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16568 *** reliably create shared libraries on SCO systems. Therefore, libtool
16569 *** is disabling shared libraries support. We urge you to upgrade GNU
16570 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16571 *** your PATH or compiler configuration so that the native linker is
16572 *** used, and then restart.
16577 # For security reasons, it is highly recommended that you always
16578 # use absolute paths for naming shared libraries, and exclude the
16579 # DT_RUNPATH tag from executables and libraries. But doing so
16580 # requires that you compile everything twice, which is a pain.
16581 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16582 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16583 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16584 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16593 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16595 hardcode_direct_GCJ
=yes
16596 hardcode_shlibpath_var_GCJ
=no
16600 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16601 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16602 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16609 if test "$ld_shlibs_GCJ" = no
; then
16611 hardcode_libdir_flag_spec_GCJ
=
16612 export_dynamic_flag_spec_GCJ
=
16613 whole_archive_flag_spec_GCJ
=
16616 # PORTME fill in a description of your system's linker (not GNU ld)
16619 allow_undefined_flag_GCJ
=unsupported
16620 always_export_symbols_GCJ
=yes
16621 archive_expsym_cmds_GCJ
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
16622 # Note: this linker hardcodes the directories in LIBPATH if there
16623 # are no directories specified by -L.
16624 hardcode_minus_L_GCJ
=yes
16625 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16626 # Neither direct hardcoding nor static linking is supported with a
16628 hardcode_direct_GCJ
=unsupported
16633 if test "$host_cpu" = ia64
; then
16634 # On IA64, the linker does run time linking by default, so we don't
16635 # have to do anything special.
16636 aix_use_runtimelinking
=no
16637 exp_sym_flag
='-Bexport'
16640 # If we're using GNU nm, then we don't want the "-C" option.
16641 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16642 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
16643 export_symbols_cmds_GCJ
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
16645 export_symbols_cmds_GCJ
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
16647 aix_use_runtimelinking
=no
16649 # Test if we are trying to use run time linking or normal
16650 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16651 # need to do runtime linking.
16652 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
16653 for ld_flag
in $LDFLAGS; do
16654 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16655 aix_use_runtimelinking
=yes
16662 exp_sym_flag
='-bexport'
16663 no_entry_flag
='-bnoentry'
16666 # When large executables or shared objects are built, AIX ld can
16667 # have problems creating the table of contents. If linking a library
16668 # or program results in "error TOC overflow" add -mminimal-toc to
16669 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16670 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16672 archive_cmds_GCJ
=''
16673 hardcode_direct_GCJ
=yes
16674 hardcode_direct_absolute_GCJ
=yes
16675 hardcode_libdir_separator_GCJ
=':'
16676 link_all_deplibs_GCJ
=yes
16677 file_list_spec_GCJ
='${wl}-f,'
16679 if test "$GCC" = yes; then
16680 case $host_os in aix4.
[012]|aix4.
[012].
*)
16681 # We only want to do this on AIX 4.2 and lower, the check
16682 # below for broken collect2 doesn't work under 4.3+
16683 collect2name
=`${CC} -print-prog-name=collect2`
16684 if test -f "$collect2name" &&
16685 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
16687 # We have reworked collect2
16690 # We have old collect2
16691 hardcode_direct_GCJ
=unsupported
16692 # It fails to find uninstalled libraries when the uninstalled
16693 # path is not listed in the libpath. Setting hardcode_minus_L
16694 # to unsupported forces relinking
16695 hardcode_minus_L_GCJ
=yes
16696 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16697 hardcode_libdir_separator_GCJ
=
16701 shared_flag
='-shared'
16702 if test "$aix_use_runtimelinking" = yes; then
16703 shared_flag
="$shared_flag "'${wl}-G'
16707 if test "$host_cpu" = ia64
; then
16708 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16709 # chokes on -Wl,-G. The following line is correct:
16712 if test "$aix_use_runtimelinking" = yes; then
16713 shared_flag
='${wl}-G'
16715 shared_flag
='${wl}-bM:SRE'
16720 # It seems that -bexpall does not export symbols beginning with
16721 # underscore (_), so it is better to generate a list of symbols to export.
16722 always_export_symbols_GCJ
=yes
16723 if test "$aix_use_runtimelinking" = yes; then
16724 # Warning - without using the other runtime loading flags (-brtl),
16725 # -berok will link without error, but may produce a broken library.
16726 allow_undefined_flag_GCJ
='-berok'
16727 # Determine the default libpath from the value encoded in an
16728 # empty executable.
16729 if test x
$gcc_no_link = xyes
; then
16730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16732 { (exit 1); exit 1; }; }
16734 cat >conftest.
$ac_ext <<_ACEOF
16737 cat confdefs.h
>>conftest.
$ac_ext
16738 cat >>conftest.
$ac_ext <<_ACEOF
16739 /* end confdefs.h. */
16749 rm -f conftest.
$ac_objext conftest
$ac_exeext
16750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16751 (eval $ac_link) 2>conftest.er1
16753 grep -v '^ *+' conftest.er1
>conftest.err
16755 cat conftest.err
>&5
16756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757 (exit $ac_status); } &&
16758 { ac_try
='test -z "$ac_c_werror_flag"
16759 || test ! -s conftest.err'
16760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16761 (eval $ac_try) 2>&5
16763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16764 (exit $ac_status); }; } &&
16765 { ac_try
='test -s conftest$ac_exeext'
16766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16767 (eval $ac_try) 2>&5
16769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16770 (exit $ac_status); }; }; then
16772 lt_aix_libpath_sed
='
16773 /Import File Strings/,/^$/ {
16779 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16780 # Check for a 64-bit object if we didn't find anything.
16781 if test -z "$aix_libpath"; then
16782 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16785 echo "$as_me: failed program was:" >&5
16786 sed 's/^/| /' conftest.
$ac_ext >&5
16789 rm -f conftest.err conftest.
$ac_objext \
16790 conftest
$ac_exeext conftest.
$ac_ext
16791 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16793 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16794 archive_expsym_cmds_GCJ
='$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"
16796 if test "$host_cpu" = ia64
; then
16797 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
16798 allow_undefined_flag_GCJ
="-z nodefs"
16799 archive_expsym_cmds_GCJ
="\$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"
16801 # Determine the default libpath from the value encoded in an
16802 # empty executable.
16803 if test x
$gcc_no_link = xyes
; then
16804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16806 { (exit 1); exit 1; }; }
16808 cat >conftest.
$ac_ext <<_ACEOF
16811 cat confdefs.h
>>conftest.
$ac_ext
16812 cat >>conftest.
$ac_ext <<_ACEOF
16813 /* end confdefs.h. */
16823 rm -f conftest.
$ac_objext conftest
$ac_exeext
16824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16825 (eval $ac_link) 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_exeext'
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
16846 lt_aix_libpath_sed
='
16847 /Import File Strings/,/^$/ {
16853 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16854 # Check for a 64-bit object if we didn't find anything.
16855 if test -z "$aix_libpath"; then
16856 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16859 echo "$as_me: failed program was:" >&5
16860 sed 's/^/| /' conftest.
$ac_ext >&5
16863 rm -f conftest.err conftest.
$ac_objext \
16864 conftest
$ac_exeext conftest.
$ac_ext
16865 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16867 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16868 # Warning - without using the other run time loading flags,
16869 # -berok will link without error, but may produce a broken library.
16870 no_undefined_flag_GCJ
=' ${wl}-bernotok'
16871 allow_undefined_flag_GCJ
=' ${wl}-berok'
16872 # Exported symbols can be pulled into shared objects from archives
16873 whole_archive_flag_spec_GCJ
='$convenience'
16874 archive_cmds_need_lc_GCJ
=yes
16875 # This is similar to how AIX traditionally builds its shared libraries.
16876 archive_expsym_cmds_GCJ
="\$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'
16882 if test "$host_cpu" = m68k
; then
16883 archive_cmds_GCJ
='$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)'
16884 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16885 hardcode_minus_L_GCJ
=yes
16887 # see comment about different semantics on the GNU ld section
16892 export_dynamic_flag_spec_GCJ
=-rdynamic
16895 cygwin
* | mingw
* | pw32
*)
16896 # When not using gcc, we currently assume that we are using
16897 # Microsoft Visual C++.
16898 # hardcode_libdir_flag_spec is actually meaningless, as there is
16899 # no search path for DLLs.
16900 hardcode_libdir_flag_spec_GCJ
=' '
16901 allow_undefined_flag_GCJ
=unsupported
16902 # Tell ltmain to make .lib files, not .a files.
16904 # Tell ltmain to make .dll files, not .so files.
16906 # FIXME: Setting linknames here is a bad hack.
16907 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
16908 # The linker will automatically build a .lib file if we build a DLL.
16909 old_archive_from_new_cmds_GCJ
='true'
16910 # FIXME: Should let the user specify the lib program.
16911 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
16912 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
16913 enable_shared_with_static_runtimes_GCJ
=yes
16916 darwin
* | rhapsody
*)
16918 rhapsody
* | darwin1.
[012])
16919 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
16922 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
16924 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16927 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
16932 archive_cmds_need_lc_GCJ
=no
16933 hardcode_direct_GCJ
=no
16934 hardcode_automatic_GCJ
=yes
16935 hardcode_shlibpath_var_GCJ
=unsupported
16936 whole_archive_flag_spec_GCJ
=''
16937 link_all_deplibs_GCJ
=yes
16938 if test "$GCC" = yes ; then
16939 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
16940 echo $ECHO_N "(cached) $ECHO_C" >&6
16942 lt_cv_apple_cc_single_mod
=no
16943 if test -z "${LT_MULTI_MODULE}"; then
16944 # By default we will add the -single_module flag. You can override
16945 # by either setting the environment variable LT_MULTI_MODULE
16946 # non-empty at configure time, or by adding -multi-module to the
16948 echo "int foo(void){return 1;}" > conftest.c
16949 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
16950 -dynamiclib ${wl}-single_module conftest.c
16951 if test -f libconftest.dylib
; then
16952 lt_cv_apple_cc_single_mod
=yes
16953 rm libconftest.dylib
16955 rm conftest.
$ac_ext
16959 output_verbose_link_cmd
=echo
16960 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
16961 archive_cmds_GCJ
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16962 archive_expsym_cmds_GCJ
='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}'
16964 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16965 archive_expsym_cmds_GCJ
='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}'
16967 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16968 module_expsym_cmds_GCJ
='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}'
16970 case $cc_basename in
16972 output_verbose_link_cmd
=echo
16973 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
16974 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16975 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16976 archive_expsym_cmds_GCJ
='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}'
16977 module_expsym_cmds_GCJ
='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}'
16987 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16988 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16989 hardcode_shlibpath_var_GCJ
=no
16996 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16997 # support. Future versions do this automatically, but an explicit c++rt0.o
16998 # does not break anything, and helps significantly (at the cost of a little
17001 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17002 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17003 hardcode_direct_GCJ
=yes
17004 hardcode_shlibpath_var_GCJ
=no
17007 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17009 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17010 hardcode_direct_GCJ
=yes
17011 hardcode_minus_L_GCJ
=yes
17012 hardcode_shlibpath_var_GCJ
=no
17015 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17016 freebsd
* | dragonfly
*)
17017 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17018 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17019 hardcode_direct_GCJ
=yes
17020 hardcode_shlibpath_var_GCJ
=no
17024 if test "$GCC" = yes; then
17025 archive_cmds_GCJ
='$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'
17027 archive_cmds_GCJ
='$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'
17029 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17030 hardcode_libdir_separator_GCJ
=:
17031 hardcode_direct_GCJ
=yes
17033 # hardcode_minus_L: Not really in the search PATH,
17034 # but as the default location of the library.
17035 hardcode_minus_L_GCJ
=yes
17036 export_dynamic_flag_spec_GCJ
='${wl}-E'
17040 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17041 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17043 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17045 if test "$with_gnu_ld" = no
; then
17046 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17047 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17048 hardcode_libdir_separator_GCJ
=:
17049 hardcode_direct_GCJ
=yes
17050 hardcode_direct_absolute_GCJ
=yes
17051 export_dynamic_flag_spec_GCJ
='${wl}-E'
17052 # hardcode_minus_L: Not really in the search PATH,
17053 # but as the default location of the library.
17054 hardcode_minus_L_GCJ
=yes
17059 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17062 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17065 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17068 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17074 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17077 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17080 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17084 if test "$with_gnu_ld" = no
; then
17085 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17086 hardcode_libdir_separator_GCJ
=:
17090 hardcode_direct_GCJ
=no
17091 hardcode_shlibpath_var_GCJ
=no
17094 hardcode_direct_GCJ
=yes
17095 hardcode_direct_absolute_GCJ
=yes
17096 export_dynamic_flag_spec_GCJ
='${wl}-E'
17098 # hardcode_minus_L: Not really in the search PATH,
17099 # but as the default location of the library.
17100 hardcode_minus_L_GCJ
=yes
17106 irix5
* | irix6
* | nonstopux
*)
17107 if test "$GCC" = yes; then
17108 archive_cmds_GCJ
='$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'
17109 # Try to use the -exported_symbol ld option, if it does not
17110 # work, assume that -exports_file does not work either and
17111 # implicitly export all symbols.
17112 save_LDFLAGS
="$LDFLAGS"
17113 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
17114 if test x
$gcc_no_link = xyes
; then
17115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17117 { (exit 1); exit 1; }; }
17119 cat >conftest.
$ac_ext <<_ACEOF
17122 rm -f conftest.
$ac_objext conftest
$ac_exeext
17123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17124 (eval $ac_link) 2>conftest.er1
17126 grep -v '^ *+' conftest.er1
>conftest.err
17128 cat conftest.err
>&5
17129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17130 (exit $ac_status); } &&
17131 { ac_try
='test -z "$ac_c_werror_flag"
17132 || test ! -s conftest.err'
17133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17134 (eval $ac_try) 2>&5
17136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17137 (exit $ac_status); }; } &&
17138 { ac_try
='test -s conftest$ac_exeext'
17139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17140 (eval $ac_try) 2>&5
17142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17143 (exit $ac_status); }; }; then
17144 archive_expsym_cmds_GCJ
='$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'
17147 echo "$as_me: failed program was:" >&5
17148 sed 's/^/| /' conftest.
$ac_ext >&5
17151 rm -f conftest.err conftest.
$ac_objext \
17152 conftest
$ac_exeext conftest.
$ac_ext
17153 LDFLAGS
="$save_LDFLAGS"
17155 archive_cmds_GCJ
='$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'
17156 archive_expsym_cmds_GCJ
='$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'
17158 archive_cmds_need_lc_GCJ
='no'
17159 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17160 hardcode_libdir_separator_GCJ
=:
17161 inherit_rpath_GCJ
=yes
17162 link_all_deplibs_GCJ
=yes
17166 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
17167 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17169 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17171 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17172 hardcode_direct_GCJ
=yes
17173 hardcode_shlibpath_var_GCJ
=no
17177 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17178 hardcode_direct_GCJ
=yes
17179 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17180 hardcode_libdir_separator_GCJ
=:
17181 hardcode_shlibpath_var_GCJ
=no
17188 hardcode_direct_GCJ
=yes
17189 hardcode_shlibpath_var_GCJ
=no
17190 hardcode_direct_absolute_GCJ
=yes
17191 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17192 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17193 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17194 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17195 export_dynamic_flag_spec_GCJ
='${wl}-E'
17198 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17199 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17200 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17203 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17204 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17211 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17212 hardcode_minus_L_GCJ
=yes
17213 allow_undefined_flag_GCJ
=unsupported
17214 archive_cmds_GCJ
='$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'
17215 old_archive_from_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17219 if test "$GCC" = yes; then
17220 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17221 archive_cmds_GCJ
='$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'
17223 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17224 archive_cmds_GCJ
='$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'
17226 archive_cmds_need_lc_GCJ
='no'
17227 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17228 hardcode_libdir_separator_GCJ
=:
17231 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17232 if test "$GCC" = yes; then
17233 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17234 archive_cmds_GCJ
='$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'
17235 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17237 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17238 archive_cmds_GCJ
='$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'
17239 archive_expsym_cmds_GCJ
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
17240 $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'
17242 # Both c and cxx compiler support -rpath directly
17243 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17245 archive_cmds_need_lc_GCJ
='no'
17246 hardcode_libdir_separator_GCJ
=:
17250 no_undefined_flag_GCJ
=' -z defs'
17251 if test "$GCC" = yes; then
17253 archive_cmds_GCJ
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17254 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17255 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
17257 case `$CC -V 2>&1` in
17260 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17261 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17262 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
17266 archive_cmds_GCJ
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
17267 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17268 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
17272 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17273 hardcode_shlibpath_var_GCJ
=no
17275 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17277 # The compiler driver will combine and reorder linker options,
17278 # but understands `-z linker_flag'. GCC discards it without `$wl',
17279 # but is careful enough not to reorder.
17280 # Supported since Solaris 2.6 (maybe 2.5.1?)
17281 if test "$GCC" = yes; then
17282 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17284 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
17288 link_all_deplibs_GCJ
=yes
17292 if test "x$host_vendor" = xsequent
; then
17293 # Use $CC to link under sequent, because it throws in some extra .o
17294 # files that make .init and .fini sections work.
17295 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17297 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17299 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17300 hardcode_direct_GCJ
=yes
17301 hardcode_minus_L_GCJ
=yes
17302 hardcode_shlibpath_var_GCJ
=no
17306 case $host_vendor in
17308 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17309 hardcode_direct_GCJ
=yes # is this really true???
17312 ## LD is ld it makes a PLAMLIB
17313 ## CC just makes a GrossModule.
17314 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17315 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17316 hardcode_direct_GCJ
=no
17319 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17320 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17323 runpath_var
='LD_RUN_PATH'
17324 hardcode_shlibpath_var_GCJ
=no
17328 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17329 hardcode_shlibpath_var_GCJ
=no
17330 export_dynamic_flag_spec_GCJ
='-Bexport'
17334 if test -d /usr
/nec
; then
17335 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17336 hardcode_shlibpath_var_GCJ
=no
17337 runpath_var
=LD_RUN_PATH
17338 hardcode_runpath_var
=yes
17343 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
17344 no_undefined_flag_GCJ
='${wl}-z,text'
17345 archive_cmds_need_lc_GCJ
=no
17346 hardcode_shlibpath_var_GCJ
=no
17347 runpath_var
='LD_RUN_PATH'
17349 if test "$GCC" = yes; then
17350 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17351 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17353 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17354 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17358 sysv5
* | sco3.2v5
* | sco5v6
*)
17359 # Note: We can NOT use -z defs as we might desire, because we do not
17360 # link with -lc, and that would cause any symbols used from libc to
17361 # always be unresolved, which means just about no library would
17362 # ever link correctly. If we're not using GNU ld we use -z text
17363 # though, which does catch some bad symbols but isn't as heavy-handed
17365 no_undefined_flag_GCJ
='${wl}-z,text'
17366 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17367 archive_cmds_need_lc_GCJ
=no
17368 hardcode_shlibpath_var_GCJ
=no
17369 hardcode_libdir_flag_spec_GCJ
='${wl}-R,$libdir'
17370 hardcode_libdir_separator_GCJ
=':'
17371 link_all_deplibs_GCJ
=yes
17372 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17373 runpath_var
='LD_RUN_PATH'
17375 if test "$GCC" = yes; then
17376 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17377 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17379 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17380 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17385 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17386 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17387 hardcode_shlibpath_var_GCJ
=no
17395 if test x
$host_vendor = xsni
; then
17397 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
17398 export_dynamic_flag_spec_GCJ
='${wl}-Blargedynsym'
17404 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17405 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17406 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17408 with_gnu_ld_GCJ
=$with_gnu_ld
17416 # Do we need to explicitly link libc?
17418 case "x$archive_cmds_need_lc_GCJ" in
17420 # Assume -lc should be added
17421 archive_cmds_need_lc_GCJ
=yes
17423 if test "$enable_shared" = yes && test "$GCC" = yes; then
17424 case $archive_cmds_GCJ in
17426 # FIXME: we may have to deal with multi-command sequences.
17429 # Test whether the compiler implicitly links with -lc since on some
17430 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17431 # to ld, don't add -lc before -lgcc.
17432 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17433 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17435 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17438 (eval $ac_compile) 2>&5
17440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441 (exit $ac_status); } 2>conftest.err
; then
17444 libobjs
=conftest.
$ac_objext
17446 wl
=$lt_prog_compiler_wl_GCJ
17447 pic_flag
=$lt_prog_compiler_pic_GCJ
17453 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17454 allow_undefined_flag_GCJ
=
17455 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
17456 (eval $archive_cmds_GCJ 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459 (exit $ac_status); }
17461 archive_cmds_need_lc_GCJ
=no
17463 archive_cmds_need_lc_GCJ
=yes
17465 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17467 cat conftest.err
1>&5
17470 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17471 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17541 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17542 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17544 library_names_spec
=
17545 libname_spec
='lib$name'
17549 postuninstall_cmds
=
17553 shlibpath_overrides_runpath
=unknown
17555 dynamic_linker
="$host_os ld.so"
17556 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17557 need_lib_prefix
=unknown
17558 hardcode_into_libs
=no
17560 # when you set need_version to no, make sure it does not cause -set_version
17561 # flags to be left without arguments
17562 need_version
=unknown
17567 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17568 shlibpath_var
=LIBPATH
17570 # AIX 3 has no versioning support, so we append a major version to the name.
17571 soname_spec
='${libname}${release}${shared_ext}$major'
17578 hardcode_into_libs
=yes
17579 if test "$host_cpu" = ia64
; then
17580 # AIX 5 supports IA64
17581 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17582 shlibpath_var
=LD_LIBRARY_PATH
17584 # With GCC up to 2.95.x, collect2 would create an import file
17585 # for dependence libraries. The import file would start with
17586 # the line `#! .'. This would cause the generated library to
17587 # depend on `.', always an invalid library. This was fixed in
17588 # development snapshots of GCC prior to 3.0.
17590 aix4 | aix4.
[01] | aix4.
[01].
*)
17591 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17593 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
17596 can_build_shared
=no
17600 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17601 # soname into executable. Probably we can add versioning support to
17602 # collect2, so additional links can be useful in future.
17603 if test "$aix_use_runtimelinking" = yes; then
17604 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17605 # instead of lib<name>.a to let people know that these are not
17606 # typical AIX shared libraries.
17607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17609 # We preserve .a as extension for shared libraries through AIX4.2
17610 # and later when we are not doing run time linking.
17611 library_names_spec
='${libname}${release}.a $libname.a'
17612 soname_spec
='${libname}${release}${shared_ext}$major'
17614 shlibpath_var
=LIBPATH
17619 if test "$host_cpu" = m68k
; then
17620 library_names_spec
='$libname.ixlibrary $libname.a'
17621 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17622 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'
17629 library_names_spec
='${libname}${shared_ext}'
17630 dynamic_linker
="$host_os ld.so"
17631 shlibpath_var
=LIBRARY_PATH
17637 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17638 soname_spec
='${libname}${release}${shared_ext}$major'
17639 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17640 shlibpath_var
=LD_LIBRARY_PATH
17641 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17642 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17643 # the default ld.so.conf also contains /usr/contrib/lib and
17644 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17645 # libtool to hard-code these into programs
17648 cygwin
* | mingw
* | pw32
*)
17649 version_type
=windows
17654 case $withGCC,$host_os in
17655 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17656 library_names_spec
='$libname.dll.a'
17657 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17658 postinstall_cmds
='base_file=`basename \${file}`~
17659 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17660 dldir=$destdir/`dirname \$dlpath`~
17661 test -d \$dldir || mkdir -p \$dldir~
17662 $install_prog $dir/$dlname \$dldir/$dlname~
17663 chmod a+x \$dldir/$dlname~
17664 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17665 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17667 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17668 dlpath=$dir/\$dldll~
17670 shlibpath_overrides_runpath
=yes
17674 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17675 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17676 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17679 # MinGW DLLs use traditional 'lib' prefix
17680 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17681 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17682 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
17683 # It is most probably a Windows format PATH printed by
17684 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17685 # path with ; separators, and with drive letters. We can handle the
17686 # drive letters (cygwin fileutils understands them), so leave them,
17687 # especially as we might pass files found there to a mingw objdump,
17688 # which wouldn't understand a cygwinified path. Ahh.
17689 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17691 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17695 # pw32 DLLs use 'pw' prefix rather than 'lib'
17696 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17702 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17705 dynamic_linker
='Win32 ld.exe'
17706 # FIXME: first we should search . and the directory the executable is in
17710 darwin
* | rhapsody
*)
17711 dynamic_linker
="$host_os dyld"
17712 version_type
=darwin
17715 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17716 soname_spec
='${libname}${release}${major}$shared_ext'
17717 shlibpath_overrides_runpath
=yes
17718 shlibpath_var
=DYLD_LIBRARY_PATH
17719 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17721 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17728 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17729 soname_spec
='${libname}${release}${shared_ext}$major'
17730 shlibpath_var
=LD_LIBRARY_PATH
17737 freebsd
* | dragonfly
*)
17738 # DragonFly does not have aout. When/if they implement a new
17739 # versioning mechanism, adjust this.
17740 if test -x /usr
/bin
/objformat
; then
17741 objformat
=`/usr/bin/objformat`
17744 freebsd
[123]*) objformat
=aout
;;
17745 *) objformat
=elf
;;
17748 version_type
=freebsd-
$objformat
17749 case $version_type in
17751 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17756 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17760 shlibpath_var
=LD_LIBRARY_PATH
17763 shlibpath_overrides_runpath
=yes
17765 freebsd3.
[01]* | freebsdelf3.
[01]*)
17766 shlibpath_overrides_runpath
=yes
17767 hardcode_into_libs
=yes
17769 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17770 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17771 shlibpath_overrides_runpath
=no
17772 hardcode_into_libs
=yes
17774 *) # from 4.6 on, and DragonFly
17775 shlibpath_overrides_runpath
=yes
17776 hardcode_into_libs
=yes
17785 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17786 soname_spec
='${libname}${release}${shared_ext}$major'
17787 shlibpath_var
=LD_LIBRARY_PATH
17788 hardcode_into_libs
=yes
17791 hpux9
* | hpux10
* | hpux11
*)
17792 # Give a soname corresponding to the major version so that dld.sl refuses to
17793 # link against other versions.
17800 hardcode_into_libs
=yes
17801 dynamic_linker
="$host_os dld.so"
17802 shlibpath_var
=LD_LIBRARY_PATH
17803 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17804 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17805 soname_spec
='${libname}${release}${shared_ext}$major'
17806 if test "X$HPUX_IA64_MODE" = X32
; then
17807 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17809 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17811 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17815 hardcode_into_libs
=yes
17816 dynamic_linker
="$host_os dld.sl"
17817 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17818 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17819 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17820 soname_spec
='${libname}${release}${shared_ext}$major'
17821 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17822 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17826 dynamic_linker
="$host_os dld.sl"
17827 shlibpath_var
=SHLIB_PATH
17828 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17829 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17830 soname_spec
='${libname}${release}${shared_ext}$major'
17833 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17834 postinstall_cmds
='chmod 555 $lib'
17841 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17842 soname_spec
='${libname}${release}${shared_ext}$major'
17843 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17844 shlibpath_var
=LD_LIBRARY_PATH
17845 shlibpath_overrides_runpath
=no
17846 hardcode_into_libs
=yes
17849 irix5
* | irix6
* | nonstopux
*)
17851 nonstopux
*) version_type
=nonstopux
;;
17853 if test "$lt_cv_prog_gnu_ld" = yes; then
17861 soname_spec
='${libname}${release}${shared_ext}$major'
17862 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17864 irix5
* | nonstopux
*)
17865 libsuff
= shlibsuff
=
17868 case $LD in # libtool.m4 will add one of these switches to LD
17869 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17870 libsuff
= shlibsuff
= libmagic
=32-bit;;
17871 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17872 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17873 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17874 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17875 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17879 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17880 shlibpath_overrides_runpath
=no
17881 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17882 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17883 hardcode_into_libs
=yes
17886 # No shared lib support for Linux oldld, aout, or coff.
17887 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17891 # This must be Linux ELF.
17892 linux
* | k
*bsd
*-gnu)
17896 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17897 soname_spec
='${libname}${release}${shared_ext}$major'
17898 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17899 shlibpath_var
=LD_LIBRARY_PATH
17900 shlibpath_overrides_runpath
=no
17901 # Some binutils ld are patched to set DT_RUNPATH
17902 save_LDFLAGS
=$LDFLAGS
17903 save_libdir
=$libdir
17904 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_GCJ\"; \
17905 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_GCJ\""
17906 if test x
$gcc_no_link = xyes
; then
17907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17909 { (exit 1); exit 1; }; }
17911 cat >conftest.
$ac_ext <<_ACEOF
17914 cat confdefs.h
>>conftest.
$ac_ext
17915 cat >>conftest.
$ac_ext <<_ACEOF
17916 /* end confdefs.h. */
17926 rm -f conftest.
$ac_objext conftest
$ac_exeext
17927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17928 (eval $ac_link) 2>conftest.er1
17930 grep -v '^ *+' conftest.er1
>conftest.err
17932 cat conftest.err
>&5
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); } &&
17935 { ac_try
='test -z "$ac_c_werror_flag"
17936 || test ! -s conftest.err'
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); }; } &&
17942 { ac_try
='test -s conftest$ac_exeext'
17943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17944 (eval $ac_try) 2>&5
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); }; }; then
17948 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
17949 shlibpath_overrides_runpath
=yes
17953 echo "$as_me: failed program was:" >&5
17954 sed 's/^/| /' conftest.
$ac_ext >&5
17957 rm -f conftest.err conftest.
$ac_objext \
17958 conftest
$ac_exeext conftest.
$ac_ext
17959 LDFLAGS
=$save_LDFLAGS
17960 libdir
=$save_libdir
17962 # This implies no fast_install, which is unacceptable.
17963 # Some rework will be needed to allow for fast_install
17964 # before this can be enabled.
17965 hardcode_into_libs
=yes
17967 # Append ld.so.conf contents to the search path
17968 if test -f /etc
/ld.so.conf
; then
17969 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' ' '`
17970 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17973 # We used to test for /lib/ld.so.1 and disable shared libraries on
17974 # powerpc, because MkLinux only supported shared libraries with the
17975 # GNU dynamic linker. Since this was broken with cross compilers,
17976 # most powerpc-linux boxes support dynamic linking these days and
17977 # people can always --disable-shared, the test was removed, and we
17978 # assume the GNU/Linux dynamic linker is in use.
17979 dynamic_linker
='GNU/Linux ld.so'
17986 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
17987 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17988 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17989 dynamic_linker
='NetBSD (a.out) ld.so'
17991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17992 soname_spec
='${libname}${release}${shared_ext}$major'
17993 dynamic_linker
='NetBSD ld.elf_so'
17995 shlibpath_var
=LD_LIBRARY_PATH
17996 shlibpath_overrides_runpath
=yes
17997 hardcode_into_libs
=yes
18002 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18003 shlibpath_var
=LD_LIBRARY_PATH
18004 shlibpath_overrides_runpath
=yes
18011 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18012 soname_spec
='${libname}${release}${shared_ext}$major'
18013 shlibpath_var
=LD_LIBRARY_PATH
18014 shlibpath_overrides_runpath
=no
18015 hardcode_into_libs
=yes
18016 dynamic_linker
='ldqnx.so'
18021 sys_lib_dlsearch_path_spec
="/usr/lib"
18023 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18025 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18026 *) need_version
=no
;;
18028 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18029 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18030 shlibpath_var
=LD_LIBRARY_PATH
18031 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18033 openbsd2.
[89] | openbsd2.
[89].
*)
18034 shlibpath_overrides_runpath
=no
18037 shlibpath_overrides_runpath
=yes
18041 shlibpath_overrides_runpath
=yes
18046 libname_spec
='$name'
18049 library_names_spec
='$libname${shared_ext} $libname.a'
18050 dynamic_linker
='OS/2 ld.exe'
18051 shlibpath_var
=LIBPATH
18054 osf3
* | osf4
* | osf5
*)
18058 soname_spec
='${libname}${release}${shared_ext}$major'
18059 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18060 shlibpath_var
=LD_LIBRARY_PATH
18061 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18062 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18074 soname_spec
='${libname}${release}${shared_ext}$major'
18075 shlibpath_var
=LD_LIBRARY_PATH
18076 shlibpath_overrides_runpath
=yes
18077 hardcode_into_libs
=yes
18078 # ldd complains unless libraries are executable
18079 postinstall_cmds
='chmod +x $lib'
18084 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18085 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18086 shlibpath_var
=LD_LIBRARY_PATH
18087 shlibpath_overrides_runpath
=yes
18088 if test "$with_gnu_ld" = yes; then
18096 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18097 soname_spec
='${libname}${release}${shared_ext}$major'
18098 shlibpath_var
=LD_LIBRARY_PATH
18099 case $host_vendor in
18101 shlibpath_overrides_runpath
=no
18103 runpath_var
=LD_RUN_PATH
18111 shlibpath_overrides_runpath
=no
18112 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18118 if test -d /usr
/nec
;then
18120 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18121 soname_spec
='$libname${shared_ext}.$major'
18122 shlibpath_var
=LD_LIBRARY_PATH
18126 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18127 version_type
=freebsd-elf
18130 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18131 soname_spec
='${libname}${release}${shared_ext}$major'
18132 shlibpath_var
=LD_LIBRARY_PATH
18133 shlibpath_overrides_runpath
=yes
18134 hardcode_into_libs
=yes
18135 if test "$with_gnu_ld" = yes; then
18136 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18138 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18141 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18145 sys_lib_dlsearch_path_spec
='/usr/lib'
18149 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
18153 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18154 shlibpath_var
=LD_LIBRARY_PATH
18155 shlibpath_overrides_runpath
=no
18156 hardcode_into_libs
=yes
18161 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18162 soname_spec
='${libname}${release}${shared_ext}$major'
18163 shlibpath_var
=LD_LIBRARY_PATH
18170 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18171 echo "${ECHO_T}$dynamic_linker" >&6
18172 test "$dynamic_linker" = no
&& can_build_shared
=no
18174 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18175 if test "$GCC" = yes; then
18176 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18214 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18215 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
18216 hardcode_action_GCJ
=
18217 if test -n "$hardcode_libdir_flag_spec_GCJ" ||
18218 test -n "$runpath_var_GCJ" ||
18219 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18221 # We can hardcode non-existent directories.
18222 if test "$hardcode_direct_GCJ" != no
&&
18223 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18224 # have to relink, otherwise we might link with an installed library
18225 # when we should be linking with a yet-to-be-installed one
18226 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18227 test "$hardcode_minus_L_GCJ" != no
; then
18228 # Linking always hardcodes the temporary library directory.
18229 hardcode_action_GCJ
=relink
18231 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18232 hardcode_action_GCJ
=immediate
18235 # We cannot hardcode anything, or else we can only hardcode existing
18237 hardcode_action_GCJ
=unsupported
18239 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18240 echo "${ECHO_T}$hardcode_action_GCJ" >&6
18242 if test "$hardcode_action_GCJ" = relink ||
18243 test "$inherit_rpath_GCJ" = yes; then
18244 # Fast installation is not supported
18245 enable_fast_install
=no
18246 elif test "$shlibpath_overrides_runpath" = yes ||
18247 test "$enable_shared" = no
; then
18248 # Fast installation is not necessary
18249 enable_fast_install
=needless
18260 compiler_GCJ
=${GCJ-gcj}
18262 ac_cpp
='$CPP $CPPFLAGS'
18263 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18264 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18265 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18268 if test "x$CC" != xcc
; then
18269 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
18270 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
18272 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
18273 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
18275 set dummy
$CC; ac_cc
=`echo $2 |
18276 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
18277 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
18278 echo $ECHO_N "(cached) $ECHO_C" >&6
18280 cat >conftest.
$ac_ext <<_ACEOF
18283 cat confdefs.h
>>conftest.
$ac_ext
18284 cat >>conftest.
$ac_ext <<_ACEOF
18285 /* end confdefs.h. */
18295 # Make sure it works both with $CC and with simple cc.
18296 # We do the test twice because some compilers refuse to overwrite an
18297 # existing .o file with -o, though they will create one.
18298 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
18299 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18300 (eval $ac_try) 2>&5
18302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18303 (exit $ac_status); } &&
18304 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18305 (eval $ac_try) 2>&5
18307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18308 (exit $ac_status); };
18310 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
18311 if test "x$CC" != xcc
; then
18312 # Test first that cc exists at all.
18313 if { ac_try
='cc -c conftest.$ac_ext >&5'
18314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18315 (eval $ac_try) 2>&5
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); }; }; then
18319 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
18320 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18321 (eval $ac_try) 2>&5
18323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18324 (exit $ac_status); } &&
18325 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18326 (eval $ac_try) 2>&5
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); };
18334 # cc exists but doesn't like -o.
18335 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
18340 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
18345 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
18346 echo "$as_me:$LINENO: result: yes" >&5
18347 echo "${ECHO_T}yes" >&6
18349 echo "$as_me:$LINENO: result: no" >&5
18350 echo "${ECHO_T}no" >&6
18352 cat >>confdefs.h
<<\_ACEOF
18353 #define NO_MINUS_C_MINUS_O 1
18358 # FIXME: we rely on the cache variable name because
18359 # there is no other way.
18361 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
18362 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
18363 # Losing compiler, so override with the script.
18364 # FIXME: It is wrong to rewrite CC.
18365 # But if we don't then we get into trouble of one sort or another.
18366 # A longer-term fix would be to have automake use am__CC in this case,
18367 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
18368 CC
="$am_aux_dir/compile $CC"
18374 subdirs
="$subdirs classpath libltdl"
18377 # The -no-testsuite modules omit the test subdir.
18380 if test -d $srcdir/testsuite
; then
18382 TESTSUBDIR_FALSE
='#'
18384 TESTSUBDIR_TRUE
='#'
18389 # Should the runtime set system properties by examining the
18390 # environment variable GCJ_PROPERTIES?
18391 # Check whether --enable-getenv-properties or --disable-getenv-properties was given.
18392 if test "${enable_getenv_properties+set}" = set; then
18393 enableval
="$enable_getenv_properties"
18397 # Whether GCJ_PROPERTIES is used depends on the target.
18398 if test -z "$enable_getenv_properties"; then
18399 enable_getenv_properties
=${enable_getenv_properties_default-yes}
18401 if test "$enable_getenv_properties" = no
; then
18403 cat >>confdefs.h
<<\_ACEOF
18404 #define DISABLE_GETENV_PROPERTIES 1
18409 # Whether we should use arguments to main()
18410 if test -z "$enable_main_args"; then
18411 enable_main_args
=${enable_main_args_default-yes}
18413 if test "$enable_main_args" = no
; then
18415 cat >>confdefs.h
<<\_ACEOF
18416 #define DISABLE_MAIN_ARGS 1
18422 # Should we use hashtable-based synchronization?
18423 # Currently works only for Linux X86/ia64
18424 # Typically faster and more space-efficient
18425 # Check whether --enable-hash-synchronization or --disable-hash-synchronization was given.
18426 if test "${enable_hash_synchronization+set}" = set; then
18427 enableval
="$enable_hash_synchronization"
18431 if test -z "$enable_hash_synchronization"; then
18432 enable_hash_synchronization
=$enable_hash_synchronization_default
18440 # Check whether --with-ecj-jar or --without-ecj-jar was given.
18441 if test "${with_ecj_jar+set}" = set; then
18442 withval
="$with_ecj_jar"
18445 if test -f $multi_basedir/ecj.jar
; then
18446 ECJ_BUILD_JAR
=$multi_basedir/ecj.jar
18447 ECJ_JAR
='$(jardir)/ecj.jar'
18448 install_ecj_jar
=yes
18455 if test "$ECJ_JAR" != ""; then
18457 BUILD_ECJ1_FALSE
='#'
18459 BUILD_ECJ1_TRUE
='#'
18465 if test $install_ecj_jar = yes; then
18466 INSTALL_ECJ_JAR_TRUE
=
18467 INSTALL_ECJ_JAR_FALSE
='#'
18469 INSTALL_ECJ_JAR_TRUE
='#'
18470 INSTALL_ECJ_JAR_FALSE
=
18475 # Check whether --with-java-home or --without-java-home was given.
18476 if test "${with_java_home+set}" = set; then
18477 withval
="$with_java_home"
18478 JAVA_HOME
="${withval}"
18484 if test ! -z "$JAVA_HOME"; then
18485 JAVA_HOME_SET_TRUE
=
18486 JAVA_HOME_SET_FALSE
='#'
18488 JAVA_HOME_SET_TRUE
='#'
18489 JAVA_HOME_SET_FALSE
=
18494 suppress_libgcj_bc
=no
18495 # Check whether --enable-libgcj-bc or --disable-libgcj-bc was given.
18496 if test "${enable_libgcj_bc+set}" = set; then
18497 enableval
="$enable_libgcj_bc"
18498 if test "$enable_libgcj_bc" = "no"; then
18499 suppress_libgcj_bc
=yes
18504 if test "$suppress_libgcj_bc" = "yes"; then
18505 SUPPRESS_LIBGCJ_BC_TRUE
=
18506 SUPPRESS_LIBGCJ_BC_FALSE
='#'
18508 SUPPRESS_LIBGCJ_BC_TRUE
='#'
18509 SUPPRESS_LIBGCJ_BC_FALSE
=
18513 # What is the native OS API for MinGW?
18515 # Check whether --with-win32-nlsapi or --without-win32-nlsapi was given.
18516 if test "${with_win32_nlsapi+set}" = set; then
18517 withval
="$with_win32_nlsapi"
18518 case "${withval}" in
18519 ansi
) with_win32_nlsapi
=ansi
;;
18520 unicows
) with_win32_nlsapi
=unicows
;;
18521 unicode
) with_win32_nlsapi
=unicode
;;
18522 *) { { echo "$as_me:$LINENO: error: Bad value ${withval} for --with-win32-nlsapi." >&5
18523 echo "$as_me: error: Bad value ${withval} for --with-win32-nlsapi." >&2;}
18524 { (exit 1); exit 1; }; } ;;
18527 with_win32_nlsapi
=ansi
18530 case "${with_win32_nlsapi}" in
18533 cat >>confdefs.h
<<\_ACEOF
18534 #define MINGW_LIBGCJ_UNICODE 1
18540 # configure.host sets slow_pthread_self if the synchronization code should
18541 # try to avoid pthread_self calls by caching thread IDs in a hashtable.
18542 if test "${slow_pthread_self}" = "yes"; then
18544 cat >>confdefs.h
<<\_ACEOF
18545 #define SLOW_PTHREAD_SELF 1
18550 # Check for gc debugging. This option is handled both here and in the GC.
18551 # Check whether --enable-gc-debug or --disable-gc-debug was given.
18552 if test "${enable_gc_debug+set}" = set; then
18553 enableval
="$enable_gc_debug"
18554 if test "$enable_gc_debug" = "yes"; then
18556 cat >>confdefs.h
<<\_ACEOF
18557 #define LIBGCJ_GC_DEBUG 1
18563 # See if the user has the interpreter included.
18564 # Check whether --enable-interpreter or --disable-interpreter was given.
18565 if test "${enable_interpreter+set}" = set; then
18566 enableval
="$enable_interpreter"
18567 if test "$enable_interpreter" = yes; then
18568 # This can also be set in configure.host.
18569 libgcj_interpreter
=yes
18570 elif test "$enable_interpreter" = no
; then
18571 libgcj_interpreter
=no
18575 if test "$libgcj_interpreter" = yes; then
18577 cat >>confdefs.h
<<\_ACEOF
18578 #define INTERPRETER 1
18582 INTERPRETER
="$libgcj_interpreter"
18586 if test "$libgcj_interpreter" = yes; then
18588 INTERPRETER_FALSE
='#'
18590 INTERPRETER_TRUE
='#'
18595 echo "$as_me:$LINENO: checking for exception model to use" >&5
18596 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
18598 ac_cpp
='$CXXCPP $CPPFLAGS'
18599 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18600 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18601 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18603 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
18604 if test "${enable_sjlj_exceptions+set}" = set; then
18605 enableval
="$enable_sjlj_exceptions"
18608 cat > conftest.
$ac_ext << EOF
18609 #line 18609 "configure"
18610 struct S { ~S(); };
18618 old_CXXFLAGS
="$CXXFLAGS"
18620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18621 (eval $ac_compile) 2>&5
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); }; then
18625 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1 ; then
18626 enable_sjlj_exceptions
=yes
18627 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1 ; then
18628 enable_sjlj_exceptions
=no
18631 CXXFLAGS
="$old_CXXFLAGS"
18634 if test x
$enable_sjlj_exceptions = xyes
; then
18636 cat >>confdefs.h
<<\_ACEOF
18637 #define SJLJ_EXCEPTIONS 1
18640 ac_exception_model_name
=sjlj
18641 elif test x
$enable_sjlj_exceptions = xno
; then
18642 ac_exception_model_name
="call frame"
18644 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
18645 echo "$as_me: error: unable to detect exception model" >&2;}
18646 { (exit 1); exit 1; }; }
18649 ac_cpp
='$CPP $CPPFLAGS'
18650 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18651 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18652 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18654 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
18655 echo "${ECHO_T}$ac_exception_model_name" >&6
18657 # If we are non using SJLJ exceptions, and this host does not have support
18658 # for unwinding from a signal handler, enable checked dereferences and divides.
18659 if test $can_unwind_signal = no
&& test $enable_sjlj_exceptions = no
; then
18660 CHECKREFSPEC
=-fcheck-references
18661 DIVIDESPEC
=-fuse-divide-subroutine
18665 # See if the user wants to disable java.net. This is the mildly
18666 # ugly way that we admit that target-side configuration sucks.
18667 # Check whether --enable-java-net or --disable-java-net was given.
18668 if test "${enable_java_net+set}" = set; then
18669 enableval
="$enable_java_net"
18673 # Whether java.net is built by default can depend on the target.
18674 if test -z "$enable_java_net"; then
18675 enable_java_net
=${enable_java_net_default-yes}
18677 if test "$enable_java_net" = no
; then
18679 cat >>confdefs.h
<<\_ACEOF
18680 #define DISABLE_JAVA_NET 1
18685 # See if the user wants to configure without libffi. Some
18686 # architectures don't support it, and default values are set in
18689 # Check whether --with-libffi or --without-libffi was given.
18690 if test "${with_libffi+set}" = set; then
18691 withval
="$with_libffi"
18694 with_libffi
=${with_libffi_default-yes}
18699 if test "$with_libffi" != no
; then
18701 cat >>confdefs.h
<<\_ACEOF
18702 #define USE_LIBFFI 1
18705 LIBFFI
=..
/libffi
/libffi_convenience.la
18706 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
18711 # See if the user wants to disable JVMPI support.
18712 # Check whether --enable-jvmpi or --disable-jvmpi was given.
18713 if test "${enable_jvmpi+set}" = set; then
18714 enableval
="$enable_jvmpi"
18718 if test "$enable_jvmpi" != no
; then
18720 cat >>confdefs.h
<<\_ACEOF
18721 #define ENABLE_JVMPI 1
18726 # If the target is an eCos system, use the appropriate eCos
18728 # FIXME: this should not be a local option but a global target
18729 # system; at present there is no eCos target.
18730 TARGET_ECOS
=${PROCESS-"no"}
18732 # Check whether --with-ecos or --without-ecos was given.
18733 if test "${with_ecos+set}" = set; then
18734 withval
="$with_ecos"
18735 TARGET_ECOS
="$with_ecos"
18739 case "$TARGET_ECOS" in
18740 no
) case "$host" in
18746 echo "$as_me:$LINENO: checking whether 'ld' is at least 2.13" >&5
18747 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6
18748 LD_PROG
=`$CC --print-prog-name=ld`
18749 LD_VERSION
=`$LD_PROG --version`
18750 LD_VERSION_MAJOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
18751 LD_VERSION_MINOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
18752 if expr "$LD_VERSION_MAJOR" \
> 2 > /dev
/null
; then
18755 if expr "$LD_VERSION_MAJOR" = 2 && expr "$LD_VERSION_MINOR" \
>= 13 > /dev
/null
; then
18759 if test "x$LD_OK" != x
; then
18760 echo "$as_me:$LINENO: result: yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
18761 echo "${ECHO_T}yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
18763 echo "$as_me:$LINENO: result: no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
18764 echo "${ECHO_T}no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
18765 { echo "$as_me:$LINENO: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&5
18766 echo "$as_me: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&2;}
18768 cat >>confdefs.h
<<\_ACEOF
18769 #define JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS 1
18785 cat >>confdefs.h
<<\_ACEOF
18793 ac_config_links
="$ac_config_links include/platform.h:include/$PLATFORMH"
18796 cat >conftest.
$ac_ext <<_ACEOF
18799 cat confdefs.h
>>conftest.
$ac_ext
18800 cat >>conftest.
$ac_ext <<_ACEOF
18801 /* end confdefs.h. */
18802 #include <stdint.h>
18805 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18806 $EGREP "uint32_t" >/dev
/null
2>&1; then
18808 cat >>confdefs.h
<<\_ACEOF
18809 #define HAVE_INT32_DEFINED 1
18815 cat >conftest.
$ac_ext <<_ACEOF
18818 cat confdefs.h
>>conftest.
$ac_ext
18819 cat >>conftest.
$ac_ext <<_ACEOF
18820 /* end confdefs.h. */
18821 #include <inttypes.h>
18824 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18825 $EGREP "uint32_t" >/dev
/null
2>&1; then
18827 cat >>confdefs.h
<<\_ACEOF
18828 #define HAVE_INT32_DEFINED 1
18834 cat >conftest.
$ac_ext <<_ACEOF
18837 cat confdefs.h
>>conftest.
$ac_ext
18838 cat >>conftest.
$ac_ext <<_ACEOF
18839 /* end confdefs.h. */
18840 #include <sys/types.h>
18843 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18844 $EGREP "u_int32_t" >/dev
/null
2>&1; then
18846 cat >>confdefs.h
<<\_ACEOF
18847 #define HAVE_BSD_INT32_DEFINED 1
18853 cat >conftest.
$ac_ext <<_ACEOF
18856 cat confdefs.h
>>conftest.
$ac_ext
18857 cat >>conftest.
$ac_ext <<_ACEOF
18858 /* end confdefs.h. */
18859 #include <sys/config.h>
18862 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18863 $EGREP "u_int32_t" >/dev
/null
2>&1; then
18865 cat >>confdefs.h
<<\_ACEOF
18866 #define HAVE_BSD_INT32_DEFINED 1
18875 if test "$PLATFORM" = Win32
; then
18876 USING_WIN32_PLATFORM_TRUE
=
18877 USING_WIN32_PLATFORM_FALSE
='#'
18879 USING_WIN32_PLATFORM_TRUE
='#'
18880 USING_WIN32_PLATFORM_FALSE
=
18885 if test "$PLATFORM" = Posix ||
test "$PLATFORM" = Ecos
; then
18886 USING_POSIX_PLATFORM_TRUE
=
18887 USING_POSIX_PLATFORM_FALSE
='#'
18889 USING_POSIX_PLATFORM_TRUE
='#'
18890 USING_POSIX_PLATFORM_FALSE
=
18895 *-darwin*) DARWIN_CRT
=true
;;
18896 *) DARWIN_CRT
=false
;;
18900 if $DARWIN_CRT; then
18901 USING_DARWIN_CRT_TRUE
=
18902 USING_DARWIN_CRT_FALSE
='#'
18904 USING_DARWIN_CRT_TRUE
='#'
18905 USING_DARWIN_CRT_FALSE
=
18909 # This may not be defined in a non-ANS conformant embedded system.
18910 # FIXME: Should these case a runtime exception in that case?
18911 cat >conftest.
$ac_ext <<_ACEOF
18914 cat confdefs.h
>>conftest.
$ac_ext
18915 cat >>conftest.
$ac_ext <<_ACEOF
18916 /* end confdefs.h. */
18920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18921 $EGREP "localtime" >/dev
/null
2>&1; then
18923 cat >>confdefs.h
<<\_ACEOF
18924 #define HAVE_LOCALTIME 1
18931 # Create the subdirectory for natFile.cc, or the attempt
18932 # to create the link will fail.
18933 test -d java || mkdir java
18934 test -d java
/io || mkdir java
/io
18935 test -d gnu || mkdir gnu
18936 ac_config_links
="$ac_config_links java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc"
18939 # Likewise for natConcreteProcess.cc.
18940 test -d java
/lang || mkdir java
/lang
18941 ac_config_links
="$ac_config_links java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc"
18944 # Likewise for natVMInetAddress.cc and natVMNetworkInterface.cc.
18945 test -d java
/net || mkdir java
/net
18946 ac_config_links
="$ac_config_links java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc"
18948 ac_config_links
="$ac_config_links java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc"
18951 # Likewise for natPlainSocketImpl.cc and natPlainDatagramSocketImpl.cc.
18952 test -d gnu
/java || mkdir gnu
/java
18953 test -d gnu
/java
/net || mkdir gnu
/java
/net
18954 ac_config_links
="$ac_config_links gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc"
18956 ac_config_links
="$ac_config_links gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc"
18959 # Likewise for natVMPipe.cc and natVMSelector.cc.
18960 test -d gnu
/java
/nio || mkdir gnu
/java
/nio
18961 ac_config_links
="$ac_config_links gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc"
18963 ac_config_links
="$ac_config_links gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc"
18966 # Likewise for natFileChannelImpl.cc
18967 test -d gnu
/java
/nio
/channels || mkdir gnu
/java
/nio
/channels
18968 ac_config_links
="$ac_config_links gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc"
18973 SYSTEMSPEC
="-lgdi32 -lws2_32"
18974 if test "${with_win32_nlsapi}" = "unicows"; then
18975 SYSTEMSPEC
="-lunicows $SYSTEMSPEC"
18985 # Check whether --with-system-zlib or --without-system-zlib was given.
18986 if test "${with_system_zlib+set}" = set; then
18987 withval
="$with_system_zlib"
18995 echo "$as_me:$LINENO: checking for X" >&5
18996 echo $ECHO_N "checking for X... $ECHO_C" >&6
18999 # Check whether --with-x or --without-x was given.
19000 if test "${with_x+set}" = set; then
19004 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
19005 if test "x$with_x" = xno
; then
19006 # The user explicitly disabled X.
19009 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
19010 # Both variables are already set.
19013 if test "${ac_cv_have_x+set}" = set; then
19014 echo $ECHO_N "(cached) $ECHO_C" >&6
19016 # One or both of the vars are not set, and there is no cached value.
19017 ac_x_includes
=no ac_x_libraries
=no
19018 rm -fr conftest.dir
19019 if mkdir conftest.dir
; then
19021 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
19022 cat >Imakefile
<<'_ACEOF'
19024 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
19026 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
19027 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19028 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
19029 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
19030 for ac_extension
in a so sl
; do
19031 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
19032 test -f $ac_im_libdir/libX11.
$ac_extension; then
19033 ac_im_usrlibdir
=$ac_im_libdir; break
19036 # Screen out bogus values from the imake configuration. They are
19037 # bogus both because they are the default anyway, and because
19038 # using them would break gcc on systems where it needs fixed includes.
19039 case $ac_im_incroot in
19041 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
19043 case $ac_im_usrlibdir in
19044 /usr
/lib |
/lib
) ;;
19045 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
19049 rm -fr conftest.dir
19052 # Standard set of common directories for X headers.
19053 # Check X11 before X11Rn because it is often a symlink to the current release.
19065 /usr/local/X11/include
19066 /usr/local/X11R6/include
19067 /usr/local/X11R5/include
19068 /usr/local/X11R4/include
19070 /usr/local/include/X11
19071 /usr/local/include/X11R6
19072 /usr/local/include/X11R5
19073 /usr/local/include/X11R4
19077 /usr/XFree86/include/X11
19081 /usr/unsupported/include
19082 /usr/athena/include
19083 /usr/local/x11r5/include
19084 /usr/lpp/Xamples/include
19086 /usr/openwin/include
19087 /usr/openwin/share/include'
19089 if test "$ac_x_includes" = no
; then
19090 # Guess where to find include files, by looking for Intrinsic.h.
19091 # First, try using that file with no special directory specified.
19092 cat >conftest.
$ac_ext <<_ACEOF
19095 cat confdefs.h
>>conftest.
$ac_ext
19096 cat >>conftest.
$ac_ext <<_ACEOF
19097 /* end confdefs.h. */
19098 #include <X11/Intrinsic.h>
19100 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19101 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19103 grep -v '^ *+' conftest.er1
>conftest.err
19105 cat conftest.err
>&5
19106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19107 (exit $ac_status); } >/dev
/null
; then
19108 if test -s conftest.err
; then
19109 ac_cpp_err
=$ac_c_preproc_warn_flag
19110 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19117 if test -z "$ac_cpp_err"; then
19118 # We can compile using X headers with no special include directory.
19121 echo "$as_me: failed program was:" >&5
19122 sed 's/^/| /' conftest.
$ac_ext >&5
19124 for ac_dir
in $ac_x_header_dirs; do
19125 if test -r "$ac_dir/X11/Intrinsic.h"; then
19126 ac_x_includes
=$ac_dir
19131 rm -f conftest.err conftest.
$ac_ext
19132 fi # $ac_x_includes = no
19134 if test "$ac_x_libraries" = no
; then
19135 # Check for the libraries.
19136 # See if we find them without any special options.
19137 # Don't add to $LIBS permanently.
19140 if test x
$gcc_no_link = xyes
; then
19141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19143 { (exit 1); exit 1; }; }
19145 cat >conftest.
$ac_ext <<_ACEOF
19148 cat confdefs.h
>>conftest.
$ac_ext
19149 cat >>conftest.
$ac_ext <<_ACEOF
19150 /* end confdefs.h. */
19151 #include <X11/Intrinsic.h>
19160 rm -f conftest.
$ac_objext conftest
$ac_exeext
19161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19162 (eval $ac_link) 2>conftest.er1
19164 grep -v '^ *+' conftest.er1
>conftest.err
19166 cat conftest.err
>&5
19167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19168 (exit $ac_status); } &&
19169 { ac_try
='test -z "$ac_c_werror_flag"
19170 || test ! -s conftest.err'
19171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19172 (eval $ac_try) 2>&5
19174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19175 (exit $ac_status); }; } &&
19176 { ac_try
='test -s conftest$ac_exeext'
19177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19178 (eval $ac_try) 2>&5
19180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19181 (exit $ac_status); }; }; then
19183 # We can link X programs with no special library path.
19186 echo "$as_me: failed program was:" >&5
19187 sed 's/^/| /' conftest.
$ac_ext >&5
19190 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
19192 # Don't even attempt the hair of trying to link an X program!
19193 for ac_extension
in a so sl
; do
19194 if test -r $ac_dir/libXt.
$ac_extension; then
19195 ac_x_libraries
=$ac_dir
19201 rm -f conftest.err conftest.
$ac_objext \
19202 conftest
$ac_exeext conftest.
$ac_ext
19203 fi # $ac_x_libraries = no
19205 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
19206 # Didn't find X anywhere. Cache the known absence of X.
19207 ac_cv_have_x
="have_x=no"
19209 # Record where we found X for the cache.
19210 ac_cv_have_x
="have_x=yes \
19211 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
19216 eval "$ac_cv_have_x"
19219 if test "$have_x" != yes; then
19220 echo "$as_me:$LINENO: result: $have_x" >&5
19221 echo "${ECHO_T}$have_x" >&6
19224 # If each of the values was on the command line, it overrides each guess.
19225 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
19226 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
19227 # Update the cache value to reflect the command line values.
19228 ac_cv_have_x
="have_x=yes \
19229 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
19230 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
19231 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
19234 if test "$no_x" = yes; then
19235 # Not all programs may use this symbol, but it does not hurt to define it.
19237 cat >>confdefs.h
<<\_ACEOF
19238 #define X_DISPLAY_MISSING 1
19241 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
19243 if test -n "$x_includes"; then
19244 X_CFLAGS
="$X_CFLAGS -I$x_includes"
19247 # It would also be nice to do this for all -L options, not just this one.
19248 if test -n "$x_libraries"; then
19249 X_LIBS
="$X_LIBS -L$x_libraries"
19250 # For Solaris; some versions of Sun CC require a space after -R and
19251 # others require no space. Words are not sufficient . . . .
19252 case `(uname -sr) 2>/dev/null` in
19254 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
19255 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
19256 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
19257 if test x
$gcc_no_link = xyes
; then
19258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19260 { (exit 1); exit 1; }; }
19262 cat >conftest.
$ac_ext <<_ACEOF
19265 cat confdefs.h
>>conftest.
$ac_ext
19266 cat >>conftest.
$ac_ext <<_ACEOF
19267 /* end confdefs.h. */
19277 rm -f conftest.
$ac_objext conftest
$ac_exeext
19278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19279 (eval $ac_link) 2>conftest.er1
19281 grep -v '^ *+' conftest.er1
>conftest.err
19283 cat conftest.err
>&5
19284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19285 (exit $ac_status); } &&
19286 { ac_try
='test -z "$ac_c_werror_flag"
19287 || test ! -s conftest.err'
19288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19289 (eval $ac_try) 2>&5
19291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19292 (exit $ac_status); }; } &&
19293 { ac_try
='test -s conftest$ac_exeext'
19294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19295 (eval $ac_try) 2>&5
19297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19298 (exit $ac_status); }; }; then
19301 echo "$as_me: failed program was:" >&5
19302 sed 's/^/| /' conftest.
$ac_ext >&5
19306 rm -f conftest.err conftest.
$ac_objext \
19307 conftest
$ac_exeext conftest.
$ac_ext
19308 if test $ac_R_nospace = yes; then
19309 echo "$as_me:$LINENO: result: no" >&5
19310 echo "${ECHO_T}no" >&6
19311 X_LIBS
="$X_LIBS -R$x_libraries"
19313 LIBS
="$ac_xsave_LIBS -R $x_libraries"
19314 if test x
$gcc_no_link = xyes
; then
19315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19317 { (exit 1); exit 1; }; }
19319 cat >conftest.
$ac_ext <<_ACEOF
19322 cat confdefs.h
>>conftest.
$ac_ext
19323 cat >>conftest.
$ac_ext <<_ACEOF
19324 /* end confdefs.h. */
19334 rm -f conftest.
$ac_objext conftest
$ac_exeext
19335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19336 (eval $ac_link) 2>conftest.er1
19338 grep -v '^ *+' conftest.er1
>conftest.err
19340 cat conftest.err
>&5
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); } &&
19343 { ac_try
='test -z "$ac_c_werror_flag"
19344 || test ! -s conftest.err'
19345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19346 (eval $ac_try) 2>&5
19348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19349 (exit $ac_status); }; } &&
19350 { ac_try
='test -s conftest$ac_exeext'
19351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19352 (eval $ac_try) 2>&5
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); }; }; then
19358 echo "$as_me: failed program was:" >&5
19359 sed 's/^/| /' conftest.
$ac_ext >&5
19363 rm -f conftest.err conftest.
$ac_objext \
19364 conftest
$ac_exeext conftest.
$ac_ext
19365 if test $ac_R_space = yes; then
19366 echo "$as_me:$LINENO: result: yes" >&5
19367 echo "${ECHO_T}yes" >&6
19368 X_LIBS
="$X_LIBS -R $x_libraries"
19370 echo "$as_me:$LINENO: result: neither works" >&5
19371 echo "${ECHO_T}neither works" >&6
19374 LIBS
=$ac_xsave_LIBS
19378 # Check for system-dependent libraries X programs must link with.
19379 # Do this before checking for the system-independent R6 libraries
19380 # (-lICE), since we may need -lsocket or whatever for X linking.
19382 if test "$ISC" = yes; then
19383 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
19385 # Martyn Johnson says this is needed for Ultrix, if the X
19386 # libraries were built with DECnet support. And Karl Berry says
19387 # the Alpha needs dnet_stub (dnet does not exist).
19388 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
19389 if test x
$gcc_no_link = xyes
; then
19390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19392 { (exit 1); exit 1; }; }
19394 cat >conftest.
$ac_ext <<_ACEOF
19397 cat confdefs.h
>>conftest.
$ac_ext
19398 cat >>conftest.
$ac_ext <<_ACEOF
19399 /* end confdefs.h. */
19401 /* Override any gcc2 internal prototype to avoid an error. */
19405 /* We use char because int might match the return type of a gcc2
19406 builtin and then its argument prototype would still apply. */
19407 char XOpenDisplay ();
19416 rm -f conftest.
$ac_objext conftest
$ac_exeext
19417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19418 (eval $ac_link) 2>conftest.er1
19420 grep -v '^ *+' conftest.er1
>conftest.err
19422 cat conftest.err
>&5
19423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19424 (exit $ac_status); } &&
19425 { ac_try
='test -z "$ac_c_werror_flag"
19426 || test ! -s conftest.err'
19427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19428 (eval $ac_try) 2>&5
19430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19431 (exit $ac_status); }; } &&
19432 { ac_try
='test -s conftest$ac_exeext'
19433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19434 (eval $ac_try) 2>&5
19436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19437 (exit $ac_status); }; }; then
19440 echo "$as_me: failed program was:" >&5
19441 sed 's/^/| /' conftest.
$ac_ext >&5
19443 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
19444 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
19445 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
19446 echo $ECHO_N "(cached) $ECHO_C" >&6
19448 ac_check_lib_save_LIBS
=$LIBS
19449 LIBS
="-ldnet $LIBS"
19450 if test x
$gcc_no_link = xyes
; then
19451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19453 { (exit 1); exit 1; }; }
19455 cat >conftest.
$ac_ext <<_ACEOF
19458 cat confdefs.h
>>conftest.
$ac_ext
19459 cat >>conftest.
$ac_ext <<_ACEOF
19460 /* end confdefs.h. */
19462 /* Override any gcc2 internal prototype to avoid an error. */
19466 /* We use char because int might match the return type of a gcc2
19467 builtin and then its argument prototype would still apply. */
19477 rm -f conftest.
$ac_objext conftest
$ac_exeext
19478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19479 (eval $ac_link) 2>conftest.er1
19481 grep -v '^ *+' conftest.er1
>conftest.err
19483 cat conftest.err
>&5
19484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19485 (exit $ac_status); } &&
19486 { ac_try
='test -z "$ac_c_werror_flag"
19487 || test ! -s conftest.err'
19488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19489 (eval $ac_try) 2>&5
19491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19492 (exit $ac_status); }; } &&
19493 { ac_try
='test -s conftest$ac_exeext'
19494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19495 (eval $ac_try) 2>&5
19497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19498 (exit $ac_status); }; }; then
19499 ac_cv_lib_dnet_dnet_ntoa
=yes
19501 echo "$as_me: failed program was:" >&5
19502 sed 's/^/| /' conftest.
$ac_ext >&5
19504 ac_cv_lib_dnet_dnet_ntoa
=no
19506 rm -f conftest.err conftest.
$ac_objext \
19507 conftest
$ac_exeext conftest.
$ac_ext
19508 LIBS
=$ac_check_lib_save_LIBS
19510 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
19511 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
19512 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
19513 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
19516 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
19517 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
19518 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
19519 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
19520 echo $ECHO_N "(cached) $ECHO_C" >&6
19522 ac_check_lib_save_LIBS
=$LIBS
19523 LIBS
="-ldnet_stub $LIBS"
19524 if test x
$gcc_no_link = xyes
; then
19525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19527 { (exit 1); exit 1; }; }
19529 cat >conftest.
$ac_ext <<_ACEOF
19532 cat confdefs.h
>>conftest.
$ac_ext
19533 cat >>conftest.
$ac_ext <<_ACEOF
19534 /* end confdefs.h. */
19536 /* Override any gcc2 internal prototype to avoid an error. */
19540 /* We use char because int might match the return type of a gcc2
19541 builtin and then its argument prototype would still apply. */
19551 rm -f conftest.
$ac_objext conftest
$ac_exeext
19552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19553 (eval $ac_link) 2>conftest.er1
19555 grep -v '^ *+' conftest.er1
>conftest.err
19557 cat conftest.err
>&5
19558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19559 (exit $ac_status); } &&
19560 { ac_try
='test -z "$ac_c_werror_flag"
19561 || test ! -s conftest.err'
19562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19563 (eval $ac_try) 2>&5
19565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19566 (exit $ac_status); }; } &&
19567 { ac_try
='test -s conftest$ac_exeext'
19568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19569 (eval $ac_try) 2>&5
19571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19572 (exit $ac_status); }; }; then
19573 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
19575 echo "$as_me: failed program was:" >&5
19576 sed 's/^/| /' conftest.
$ac_ext >&5
19578 ac_cv_lib_dnet_stub_dnet_ntoa
=no
19580 rm -f conftest.err conftest.
$ac_objext \
19581 conftest
$ac_exeext conftest.
$ac_ext
19582 LIBS
=$ac_check_lib_save_LIBS
19584 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
19585 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
19586 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
19587 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
19592 rm -f conftest.err conftest.
$ac_objext \
19593 conftest
$ac_exeext conftest.
$ac_ext
19594 LIBS
="$ac_xsave_LIBS"
19596 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
19597 # to get the SysV transport functions.
19598 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
19600 # The nsl library prevents programs from opening the X display
19601 # on Irix 5.2, according to T.E. Dickey.
19602 # The functions gethostbyname, getservbyname, and inet_addr are
19603 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
19604 echo "$as_me:$LINENO: checking for gethostbyname" >&5
19605 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
19606 if test "${ac_cv_func_gethostbyname+set}" = set; then
19607 echo $ECHO_N "(cached) $ECHO_C" >&6
19609 if test x
$gcc_no_link = xyes
; then
19610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19612 { (exit 1); exit 1; }; }
19614 cat >conftest.
$ac_ext <<_ACEOF
19617 cat confdefs.h
>>conftest.
$ac_ext
19618 cat >>conftest.
$ac_ext <<_ACEOF
19619 /* end confdefs.h. */
19620 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
19621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19622 #define gethostbyname innocuous_gethostbyname
19624 /* System header to define __stub macros and hopefully few prototypes,
19625 which can conflict with char gethostbyname (); below.
19626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19627 <limits.h> exists even on freestanding compilers. */
19630 # include <limits.h>
19632 # include <assert.h>
19635 #undef gethostbyname
19637 /* Override any gcc2 internal prototype to avoid an error. */
19642 /* We use char because int might match the return type of a gcc2
19643 builtin and then its argument prototype would still apply. */
19644 char gethostbyname ();
19645 /* The GNU C library defines this for functions which it implements
19646 to always fail with ENOSYS. Some functions are actually named
19647 something starting with __ and the normal name is an alias. */
19648 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
19651 char (*f) () = gethostbyname;
19660 return f != gethostbyname;
19665 rm -f conftest.
$ac_objext conftest
$ac_exeext
19666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19667 (eval $ac_link) 2>conftest.er1
19669 grep -v '^ *+' conftest.er1
>conftest.err
19671 cat conftest.err
>&5
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673 (exit $ac_status); } &&
19674 { ac_try
='test -z "$ac_c_werror_flag"
19675 || test ! -s conftest.err'
19676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19677 (eval $ac_try) 2>&5
19679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19680 (exit $ac_status); }; } &&
19681 { ac_try
='test -s conftest$ac_exeext'
19682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19683 (eval $ac_try) 2>&5
19685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19686 (exit $ac_status); }; }; then
19687 ac_cv_func_gethostbyname
=yes
19689 echo "$as_me: failed program was:" >&5
19690 sed 's/^/| /' conftest.
$ac_ext >&5
19692 ac_cv_func_gethostbyname
=no
19694 rm -f conftest.err conftest.
$ac_objext \
19695 conftest
$ac_exeext conftest.
$ac_ext
19697 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
19698 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
19700 if test $ac_cv_func_gethostbyname = no
; then
19701 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
19702 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
19703 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
19704 echo $ECHO_N "(cached) $ECHO_C" >&6
19706 ac_check_lib_save_LIBS
=$LIBS
19708 if test x
$gcc_no_link = xyes
; then
19709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19711 { (exit 1); exit 1; }; }
19713 cat >conftest.
$ac_ext <<_ACEOF
19716 cat confdefs.h
>>conftest.
$ac_ext
19717 cat >>conftest.
$ac_ext <<_ACEOF
19718 /* end confdefs.h. */
19720 /* Override any gcc2 internal prototype to avoid an error. */
19724 /* We use char because int might match the return type of a gcc2
19725 builtin and then its argument prototype would still apply. */
19726 char gethostbyname ();
19735 rm -f conftest.
$ac_objext conftest
$ac_exeext
19736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19737 (eval $ac_link) 2>conftest.er1
19739 grep -v '^ *+' conftest.er1
>conftest.err
19741 cat conftest.err
>&5
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); } &&
19744 { ac_try
='test -z "$ac_c_werror_flag"
19745 || test ! -s conftest.err'
19746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19747 (eval $ac_try) 2>&5
19749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750 (exit $ac_status); }; } &&
19751 { ac_try
='test -s conftest$ac_exeext'
19752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19753 (eval $ac_try) 2>&5
19755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19756 (exit $ac_status); }; }; then
19757 ac_cv_lib_nsl_gethostbyname
=yes
19759 echo "$as_me: failed program was:" >&5
19760 sed 's/^/| /' conftest.
$ac_ext >&5
19762 ac_cv_lib_nsl_gethostbyname
=no
19764 rm -f conftest.err conftest.
$ac_objext \
19765 conftest
$ac_exeext conftest.
$ac_ext
19766 LIBS
=$ac_check_lib_save_LIBS
19768 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
19769 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
19770 if test $ac_cv_lib_nsl_gethostbyname = yes; then
19771 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
19774 if test $ac_cv_lib_nsl_gethostbyname = no
; then
19775 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
19776 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
19777 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
19778 echo $ECHO_N "(cached) $ECHO_C" >&6
19780 ac_check_lib_save_LIBS
=$LIBS
19782 if test x
$gcc_no_link = xyes
; then
19783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19785 { (exit 1); exit 1; }; }
19787 cat >conftest.
$ac_ext <<_ACEOF
19790 cat confdefs.h
>>conftest.
$ac_ext
19791 cat >>conftest.
$ac_ext <<_ACEOF
19792 /* end confdefs.h. */
19794 /* Override any gcc2 internal prototype to avoid an error. */
19798 /* We use char because int might match the return type of a gcc2
19799 builtin and then its argument prototype would still apply. */
19800 char gethostbyname ();
19809 rm -f conftest.
$ac_objext conftest
$ac_exeext
19810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19811 (eval $ac_link) 2>conftest.er1
19813 grep -v '^ *+' conftest.er1
>conftest.err
19815 cat conftest.err
>&5
19816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19817 (exit $ac_status); } &&
19818 { ac_try
='test -z "$ac_c_werror_flag"
19819 || test ! -s conftest.err'
19820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19821 (eval $ac_try) 2>&5
19823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19824 (exit $ac_status); }; } &&
19825 { ac_try
='test -s conftest$ac_exeext'
19826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19827 (eval $ac_try) 2>&5
19829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19830 (exit $ac_status); }; }; then
19831 ac_cv_lib_bsd_gethostbyname
=yes
19833 echo "$as_me: failed program was:" >&5
19834 sed 's/^/| /' conftest.
$ac_ext >&5
19836 ac_cv_lib_bsd_gethostbyname
=no
19838 rm -f conftest.err conftest.
$ac_objext \
19839 conftest
$ac_exeext conftest.
$ac_ext
19840 LIBS
=$ac_check_lib_save_LIBS
19842 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
19843 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
19844 if test $ac_cv_lib_bsd_gethostbyname = yes; then
19845 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
19851 # lieder@skyler.mavd.honeywell.com says without -lsocket,
19852 # socket/setsockopt and other routines are undefined under SCO ODT
19853 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
19854 # on later versions), says Simon Leinen: it contains gethostby*
19855 # variants that don't use the name server (or something). -lsocket
19856 # must be given before -lnsl if both are needed. We assume that
19857 # if connect needs -lnsl, so does gethostbyname.
19858 echo "$as_me:$LINENO: checking for connect" >&5
19859 echo $ECHO_N "checking for connect... $ECHO_C" >&6
19860 if test "${ac_cv_func_connect+set}" = set; then
19861 echo $ECHO_N "(cached) $ECHO_C" >&6
19863 if test x
$gcc_no_link = xyes
; then
19864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19866 { (exit 1); exit 1; }; }
19868 cat >conftest.
$ac_ext <<_ACEOF
19871 cat confdefs.h
>>conftest.
$ac_ext
19872 cat >>conftest.
$ac_ext <<_ACEOF
19873 /* end confdefs.h. */
19874 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
19875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19876 #define connect innocuous_connect
19878 /* System header to define __stub macros and hopefully few prototypes,
19879 which can conflict with char connect (); below.
19880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19881 <limits.h> exists even on freestanding compilers. */
19884 # include <limits.h>
19886 # include <assert.h>
19891 /* Override any gcc2 internal prototype to avoid an error. */
19896 /* We use char because int might match the return type of a gcc2
19897 builtin and then its argument prototype would still apply. */
19899 /* The GNU C library defines this for functions which it implements
19900 to always fail with ENOSYS. Some functions are actually named
19901 something starting with __ and the normal name is an alias. */
19902 #if defined (__stub_connect) || defined (__stub___connect)
19905 char (*f) () = connect;
19914 return f != connect;
19919 rm -f conftest.
$ac_objext conftest
$ac_exeext
19920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19921 (eval $ac_link) 2>conftest.er1
19923 grep -v '^ *+' conftest.er1
>conftest.err
19925 cat conftest.err
>&5
19926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19927 (exit $ac_status); } &&
19928 { ac_try
='test -z "$ac_c_werror_flag"
19929 || test ! -s conftest.err'
19930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19931 (eval $ac_try) 2>&5
19933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19934 (exit $ac_status); }; } &&
19935 { ac_try
='test -s conftest$ac_exeext'
19936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19937 (eval $ac_try) 2>&5
19939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19940 (exit $ac_status); }; }; then
19941 ac_cv_func_connect
=yes
19943 echo "$as_me: failed program was:" >&5
19944 sed 's/^/| /' conftest.
$ac_ext >&5
19946 ac_cv_func_connect
=no
19948 rm -f conftest.err conftest.
$ac_objext \
19949 conftest
$ac_exeext conftest.
$ac_ext
19951 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
19952 echo "${ECHO_T}$ac_cv_func_connect" >&6
19954 if test $ac_cv_func_connect = no
; then
19955 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
19956 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
19957 if test "${ac_cv_lib_socket_connect+set}" = set; then
19958 echo $ECHO_N "(cached) $ECHO_C" >&6
19960 ac_check_lib_save_LIBS
=$LIBS
19961 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
19962 if test x
$gcc_no_link = xyes
; then
19963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19965 { (exit 1); exit 1; }; }
19967 cat >conftest.
$ac_ext <<_ACEOF
19970 cat confdefs.h
>>conftest.
$ac_ext
19971 cat >>conftest.
$ac_ext <<_ACEOF
19972 /* end confdefs.h. */
19974 /* Override any gcc2 internal prototype to avoid an error. */
19978 /* We use char because int might match the return type of a gcc2
19979 builtin and then its argument prototype would still apply. */
19989 rm -f conftest.
$ac_objext conftest
$ac_exeext
19990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19991 (eval $ac_link) 2>conftest.er1
19993 grep -v '^ *+' conftest.er1
>conftest.err
19995 cat conftest.err
>&5
19996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19997 (exit $ac_status); } &&
19998 { ac_try
='test -z "$ac_c_werror_flag"
19999 || test ! -s conftest.err'
20000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20001 (eval $ac_try) 2>&5
20003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004 (exit $ac_status); }; } &&
20005 { ac_try
='test -s conftest$ac_exeext'
20006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20007 (eval $ac_try) 2>&5
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); }; }; then
20011 ac_cv_lib_socket_connect
=yes
20013 echo "$as_me: failed program was:" >&5
20014 sed 's/^/| /' conftest.
$ac_ext >&5
20016 ac_cv_lib_socket_connect
=no
20018 rm -f conftest.err conftest.
$ac_objext \
20019 conftest
$ac_exeext conftest.
$ac_ext
20020 LIBS
=$ac_check_lib_save_LIBS
20022 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
20023 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
20024 if test $ac_cv_lib_socket_connect = yes; then
20025 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
20030 # Guillermo Gomez says -lposix is necessary on A/UX.
20031 echo "$as_me:$LINENO: checking for remove" >&5
20032 echo $ECHO_N "checking for remove... $ECHO_C" >&6
20033 if test "${ac_cv_func_remove+set}" = set; then
20034 echo $ECHO_N "(cached) $ECHO_C" >&6
20036 if test x
$gcc_no_link = xyes
; then
20037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20039 { (exit 1); exit 1; }; }
20041 cat >conftest.
$ac_ext <<_ACEOF
20044 cat confdefs.h
>>conftest.
$ac_ext
20045 cat >>conftest.
$ac_ext <<_ACEOF
20046 /* end confdefs.h. */
20047 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
20048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20049 #define remove innocuous_remove
20051 /* System header to define __stub macros and hopefully few prototypes,
20052 which can conflict with char remove (); below.
20053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20054 <limits.h> exists even on freestanding compilers. */
20057 # include <limits.h>
20059 # include <assert.h>
20064 /* Override any gcc2 internal prototype to avoid an error. */
20069 /* We use char because int might match the return type of a gcc2
20070 builtin and then its argument prototype would still apply. */
20072 /* The GNU C library defines this for functions which it implements
20073 to always fail with ENOSYS. Some functions are actually named
20074 something starting with __ and the normal name is an alias. */
20075 #if defined (__stub_remove) || defined (__stub___remove)
20078 char (*f) () = remove;
20087 return f != remove;
20092 rm -f conftest.
$ac_objext conftest
$ac_exeext
20093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20094 (eval $ac_link) 2>conftest.er1
20096 grep -v '^ *+' conftest.er1
>conftest.err
20098 cat conftest.err
>&5
20099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100 (exit $ac_status); } &&
20101 { ac_try
='test -z "$ac_c_werror_flag"
20102 || test ! -s conftest.err'
20103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20104 (eval $ac_try) 2>&5
20106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20107 (exit $ac_status); }; } &&
20108 { ac_try
='test -s conftest$ac_exeext'
20109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20110 (eval $ac_try) 2>&5
20112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20113 (exit $ac_status); }; }; then
20114 ac_cv_func_remove
=yes
20116 echo "$as_me: failed program was:" >&5
20117 sed 's/^/| /' conftest.
$ac_ext >&5
20119 ac_cv_func_remove
=no
20121 rm -f conftest.err conftest.
$ac_objext \
20122 conftest
$ac_exeext conftest.
$ac_ext
20124 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
20125 echo "${ECHO_T}$ac_cv_func_remove" >&6
20127 if test $ac_cv_func_remove = no
; then
20128 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
20129 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
20130 if test "${ac_cv_lib_posix_remove+set}" = set; then
20131 echo $ECHO_N "(cached) $ECHO_C" >&6
20133 ac_check_lib_save_LIBS
=$LIBS
20134 LIBS
="-lposix $LIBS"
20135 if test x
$gcc_no_link = xyes
; then
20136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20138 { (exit 1); exit 1; }; }
20140 cat >conftest.
$ac_ext <<_ACEOF
20143 cat confdefs.h
>>conftest.
$ac_ext
20144 cat >>conftest.
$ac_ext <<_ACEOF
20145 /* end confdefs.h. */
20147 /* Override any gcc2 internal prototype to avoid an error. */
20151 /* We use char because int might match the return type of a gcc2
20152 builtin and then its argument prototype would still apply. */
20162 rm -f conftest.
$ac_objext conftest
$ac_exeext
20163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20164 (eval $ac_link) 2>conftest.er1
20166 grep -v '^ *+' conftest.er1
>conftest.err
20168 cat conftest.err
>&5
20169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20170 (exit $ac_status); } &&
20171 { ac_try
='test -z "$ac_c_werror_flag"
20172 || test ! -s conftest.err'
20173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20174 (eval $ac_try) 2>&5
20176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20177 (exit $ac_status); }; } &&
20178 { ac_try
='test -s conftest$ac_exeext'
20179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20180 (eval $ac_try) 2>&5
20182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20183 (exit $ac_status); }; }; then
20184 ac_cv_lib_posix_remove
=yes
20186 echo "$as_me: failed program was:" >&5
20187 sed 's/^/| /' conftest.
$ac_ext >&5
20189 ac_cv_lib_posix_remove
=no
20191 rm -f conftest.err conftest.
$ac_objext \
20192 conftest
$ac_exeext conftest.
$ac_ext
20193 LIBS
=$ac_check_lib_save_LIBS
20195 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
20196 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
20197 if test $ac_cv_lib_posix_remove = yes; then
20198 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
20203 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
20204 echo "$as_me:$LINENO: checking for shmat" >&5
20205 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
20206 if test "${ac_cv_func_shmat+set}" = set; then
20207 echo $ECHO_N "(cached) $ECHO_C" >&6
20209 if test x
$gcc_no_link = xyes
; then
20210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20212 { (exit 1); exit 1; }; }
20214 cat >conftest.
$ac_ext <<_ACEOF
20217 cat confdefs.h
>>conftest.
$ac_ext
20218 cat >>conftest.
$ac_ext <<_ACEOF
20219 /* end confdefs.h. */
20220 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
20221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20222 #define shmat innocuous_shmat
20224 /* System header to define __stub macros and hopefully few prototypes,
20225 which can conflict with char shmat (); below.
20226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20227 <limits.h> exists even on freestanding compilers. */
20230 # include <limits.h>
20232 # include <assert.h>
20237 /* Override any gcc2 internal prototype to avoid an error. */
20242 /* We use char because int might match the return type of a gcc2
20243 builtin and then its argument prototype would still apply. */
20245 /* The GNU C library defines this for functions which it implements
20246 to always fail with ENOSYS. Some functions are actually named
20247 something starting with __ and the normal name is an alias. */
20248 #if defined (__stub_shmat) || defined (__stub___shmat)
20251 char (*f) () = shmat;
20265 rm -f conftest.
$ac_objext conftest
$ac_exeext
20266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20267 (eval $ac_link) 2>conftest.er1
20269 grep -v '^ *+' conftest.er1
>conftest.err
20271 cat conftest.err
>&5
20272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273 (exit $ac_status); } &&
20274 { ac_try
='test -z "$ac_c_werror_flag"
20275 || test ! -s conftest.err'
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); }; } &&
20281 { ac_try
='test -s conftest$ac_exeext'
20282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20283 (eval $ac_try) 2>&5
20285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20286 (exit $ac_status); }; }; then
20287 ac_cv_func_shmat
=yes
20289 echo "$as_me: failed program was:" >&5
20290 sed 's/^/| /' conftest.
$ac_ext >&5
20292 ac_cv_func_shmat
=no
20294 rm -f conftest.err conftest.
$ac_objext \
20295 conftest
$ac_exeext conftest.
$ac_ext
20297 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
20298 echo "${ECHO_T}$ac_cv_func_shmat" >&6
20300 if test $ac_cv_func_shmat = no
; then
20301 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
20302 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
20303 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
20304 echo $ECHO_N "(cached) $ECHO_C" >&6
20306 ac_check_lib_save_LIBS
=$LIBS
20308 if test x
$gcc_no_link = xyes
; then
20309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20311 { (exit 1); exit 1; }; }
20313 cat >conftest.
$ac_ext <<_ACEOF
20316 cat confdefs.h
>>conftest.
$ac_ext
20317 cat >>conftest.
$ac_ext <<_ACEOF
20318 /* end confdefs.h. */
20320 /* Override any gcc2 internal prototype to avoid an error. */
20324 /* We use char because int might match the return type of a gcc2
20325 builtin and then its argument prototype would still apply. */
20335 rm -f conftest.
$ac_objext conftest
$ac_exeext
20336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20337 (eval $ac_link) 2>conftest.er1
20339 grep -v '^ *+' conftest.er1
>conftest.err
20341 cat conftest.err
>&5
20342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20343 (exit $ac_status); } &&
20344 { ac_try
='test -z "$ac_c_werror_flag"
20345 || test ! -s conftest.err'
20346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20347 (eval $ac_try) 2>&5
20349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20350 (exit $ac_status); }; } &&
20351 { ac_try
='test -s conftest$ac_exeext'
20352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20353 (eval $ac_try) 2>&5
20355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20356 (exit $ac_status); }; }; then
20357 ac_cv_lib_ipc_shmat
=yes
20359 echo "$as_me: failed program was:" >&5
20360 sed 's/^/| /' conftest.
$ac_ext >&5
20362 ac_cv_lib_ipc_shmat
=no
20364 rm -f conftest.err conftest.
$ac_objext \
20365 conftest
$ac_exeext conftest.
$ac_ext
20366 LIBS
=$ac_check_lib_save_LIBS
20368 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
20369 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
20370 if test $ac_cv_lib_ipc_shmat = yes; then
20371 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
20377 # Check for libraries that X11R6 Xt/Xaw programs need.
20378 ac_save_LDFLAGS
=$LDFLAGS
20379 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
20380 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
20381 # check for ICE first), but we must link in the order -lSM -lICE or
20382 # we get undefined symbols. So assume we have SM if we have ICE.
20383 # These have to be linked with before -lX11, unlike the other
20384 # libraries we check for below, so use a different variable.
20385 # John Interrante, Karl Berry
20386 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
20387 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
20388 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
20389 echo $ECHO_N "(cached) $ECHO_C" >&6
20391 ac_check_lib_save_LIBS
=$LIBS
20392 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
20393 if test x
$gcc_no_link = xyes
; then
20394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20396 { (exit 1); exit 1; }; }
20398 cat >conftest.
$ac_ext <<_ACEOF
20401 cat confdefs.h
>>conftest.
$ac_ext
20402 cat >>conftest.
$ac_ext <<_ACEOF
20403 /* end confdefs.h. */
20405 /* Override any gcc2 internal prototype to avoid an error. */
20409 /* We use char because int might match the return type of a gcc2
20410 builtin and then its argument prototype would still apply. */
20411 char IceConnectionNumber ();
20415 IceConnectionNumber ();
20420 rm -f conftest.
$ac_objext conftest
$ac_exeext
20421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20422 (eval $ac_link) 2>conftest.er1
20424 grep -v '^ *+' conftest.er1
>conftest.err
20426 cat conftest.err
>&5
20427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20428 (exit $ac_status); } &&
20429 { ac_try
='test -z "$ac_c_werror_flag"
20430 || test ! -s conftest.err'
20431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20432 (eval $ac_try) 2>&5
20434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20435 (exit $ac_status); }; } &&
20436 { ac_try
='test -s conftest$ac_exeext'
20437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20438 (eval $ac_try) 2>&5
20440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20441 (exit $ac_status); }; }; then
20442 ac_cv_lib_ICE_IceConnectionNumber
=yes
20444 echo "$as_me: failed program was:" >&5
20445 sed 's/^/| /' conftest.
$ac_ext >&5
20447 ac_cv_lib_ICE_IceConnectionNumber
=no
20449 rm -f conftest.err conftest.
$ac_objext \
20450 conftest
$ac_exeext conftest.
$ac_ext
20451 LIBS
=$ac_check_lib_save_LIBS
20453 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
20454 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
20455 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
20456 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
20459 LDFLAGS
=$ac_save_LDFLAGS
20464 # FIXME: this should be _libs on some hosts.
20467 LIBGCJTESTSPEC
="-L`${PWDCMD-pwd}`/.libs -rpath `${PWDCMD-pwd}`/.libs"
20470 # extra LD Flags which are required for targets
20473 # For now we have to disable it on darwin[8-9] because it slows down
20474 # the linking phase. A possible bug in ld?
20475 # on Darwin -single_module speeds up loading of the dynamic libraries.
20476 extra_ldflags_libjava
=-Wl,-single_module
20479 extra_gij_ldflags
=-Wl,-allow_stack_execute
20482 # Some of the ARM unwinder code is actually in libstdc++. We
20483 # could in principle replicate it in libgcj, but it's better to
20484 # have a dependency on libstdc++.
20485 extra_ldflags
='-L$(here)/../libstdc++-v3/src/.libs -lstdc++'
20486 LIBSTDCXXSPEC
=-lstdc++
20487 LIBGCJTESTSPEC
="-L`${PWDCMD-pwd}`/.libs -L`${PWDCMD-pwd}`/../libstdc++-v3/src/.libs -rpath `${PWDCMD-pwd}`/.libs:`${PWDCMD-pwd}`/../libstdc++-v3/src/.libs -lstdc++"
20497 # Allow the GC to be disabled. Can be useful when debugging.
20498 echo "$as_me:$LINENO: checking for garbage collector to use" >&5
20499 echo $ECHO_N "checking for garbage collector to use... $ECHO_C" >&6
20500 # Check whether --enable-java-gc or --disable-java-gc was given.
20501 if test "${enable_java_gc+set}" = set; then
20502 enableval
="$enable_java_gc"
20515 echo "$as_me:$LINENO: result: boehm" >&5
20516 echo "${ECHO_T}boehm" >&6
20517 GCLIBS
=..
/boehm-gc
/libgcjgc_convenience.la
20518 JC1GCSPEC
='-fuse-boehm-gc'
20519 GCTESTSPEC
="-L`${PWDCMD-pwd}`/../boehm-gc/.libs -rpath `${PWDCMD-pwd}`/../boehm-gc/.libs"
20520 GCINCS
='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include'
20523 # The POSIX thread support needs to know this.
20525 cat >>confdefs.h
<<\_ACEOF
20526 #define HAVE_BOEHM_GC 1
20531 echo "$as_me:$LINENO: result: none" >&5
20532 echo "${ECHO_T}none" >&6
20536 { { echo "$as_me:$LINENO: error: unrecognized collector \"$GC\"" >&5
20537 echo "$as_me: error: unrecognized collector \"$GC\"" >&2;}
20538 { (exit 1); exit 1; }; }
20547 ac_config_links
="$ac_config_links include/java-gc.h:include/$GCHDR"
20551 if test "$GC" = boehm
; then
20552 USING_BOEHMGC_TRUE
=
20553 USING_BOEHMGC_FALSE
='#'
20555 USING_BOEHMGC_TRUE
='#'
20556 USING_BOEHMGC_FALSE
=
20561 if test "$GC" = no
; then
20563 USING_NOGC_FALSE
='#'
20565 USING_NOGC_TRUE
='#'
20571 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
20572 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
20573 THREADS
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
20574 echo "$as_me:$LINENO: result: $THREADS" >&5
20575 echo "${ECHO_T}$THREADS" >&6
20578 no | none | single
)
20581 posix | posix95 | pthreads
)
20586 cat >>confdefs.h
<<\_ACEOF
20587 #define LINUX_THREADS 1
20595 decosf1 | irix | mach | os2 | solaris | dce | vxworks
)
20596 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
20597 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
20598 { (exit 1); exit 1; }; }
20601 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
20602 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
20603 { (exit 1); exit 1; }; }
20614 THREADSTARTFILESPEC
=
20619 # Don't set THREADLIBS here. Cygwin doesn't have -lpthread.
20621 *-*-freebsd[1234]*)
20622 # Before FreeBSD 5, it didn't have -lpthread (or any library which
20623 # merely adds pthread_* functions) but it does have a -pthread switch
20624 # which is required at link-time to select -lc_r *instead* of -lc.
20625 THREADLDFLAGS
=-pthread
20626 # Don't set THREADSPEC here as might be expected since -pthread is
20627 # not processed when found within a spec file, it must come from
20628 # the command line. For now, the user must provide the -pthread
20629 # switch to link code compiled with gcj. In future, consider adding
20630 # support for weak references to pthread_* functions ala gthr.h API.
20631 THREADSPEC
='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
20634 # FreeBSD >=5.3 implements a model much closer to other modern UNIX
20635 # systems which support threads and -lpthread.
20636 THREADLDFLAGS
=-pthread
20637 THREADSPEC
=-lpthread
20639 alpha
*-dec-osf* | hppa
*-hp-hpux*)
20640 THREADCXXFLAGS
=-pthread
20641 # boehm-gc needs some functions from librt, so link that too.
20642 THREADLIBS
='-lpthread -lrt'
20643 THREADSPEC
='-lpthread -lrt'
20646 THREADLIBS
=-lpthread
20647 THREADSPEC
=-lpthread
20650 THREADH
=posix-threads.h
20651 # MIT pthreads doesn't seem to have the mutexattr functions.
20652 # But for now we don't check for it. We just assume you aren't
20653 # using MIT pthreads.
20655 cat >>confdefs.h
<<\_ACEOF
20656 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
20660 # If we're using the Boehm GC, then we happen to know that it
20661 # defines _REENTRANT, so we don't bother. Eww.
20662 if test "$GC" != boehm
; then
20664 cat >>confdefs.h
<<\_ACEOF
20665 #define _REENTRANT 1
20670 cat >>confdefs.h
<<\_ACEOF
20671 #define _POSIX_PTHREAD_SEMANTICS 1
20677 THREADH
=win32-threads.h
20678 THREADCXXFLAGS
=-mthreads
20679 # We need thread-safe exception handling so _CRT_MT should be set to 1.
20680 # But we do not want the executables created to be dependent on
20681 # mingwm10.dll which provides a __mingwthr_key_dtor() that cleans up
20682 # exception handling contexts. The following kludge achieves this effect
20683 # and causes a dummy __mingwthr_key_dtor() to be linked in from
20684 # libmingw32.a. This causes a memory leak of about 24 bytes per thread.
20685 # A workaround is to explicitly use -mthreads while linking Java programs.
20686 # See PR libgcj/28263.
20688 # FIXME: In Java we are able to detect thread death at the end of
20689 # Thread.run() so we should be able to clean up the exception handling
20690 # contexts ourselves.
20691 THREADSTARTFILESPEC
='crtmt%O%s'
20695 THREADH
=no-threads.h
20698 ac_config_links
="$ac_config_links include/java-threads.h:include/$THREADH"
20709 if test "$THREADS" = posix
; then
20710 USING_POSIX_THREADS_TRUE
=
20711 USING_POSIX_THREADS_FALSE
='#'
20713 USING_POSIX_THREADS_TRUE
='#'
20714 USING_POSIX_THREADS_FALSE
=
20719 if test "$THREADS" = win32
; then
20720 USING_WIN32_THREADS_TRUE
=
20721 USING_WIN32_THREADS_FALSE
='#'
20723 USING_WIN32_THREADS_TRUE
='#'
20724 USING_WIN32_THREADS_FALSE
=
20729 if test "$THREADS" = none
; then
20730 USING_NO_THREADS_TRUE
=
20731 USING_NO_THREADS_FALSE
='#'
20733 USING_NO_THREADS_TRUE
='#'
20734 USING_NO_THREADS_FALSE
=
20739 if test "$use_libgcj_bc" = yes; then
20740 USE_LIBGCJ_BC_TRUE
=
20741 USE_LIBGCJ_BC_FALSE
='#'
20743 USE_LIBGCJ_BC_TRUE
='#'
20744 USE_LIBGCJ_BC_FALSE
=
20748 if test -d sysdep
; then true
; else mkdir sysdep
; fi
20749 ac_config_links
="$ac_config_links sysdep/locks.h:sysdep/$sysdeps_dir/locks.h"
20751 ac_config_links
="$ac_config_links sysdep/backtrace.h:$fallback_backtrace_h"
20753 ac_config_links
="$ac_config_links sysdep/descriptor.h:$descriptor_h"
20756 LIBGCJ_SPEC
="%{s-bc-abi:} -lgcj"
20757 if test "$use_libgcj_bc" = yes; then
20758 LIBGCJ_SPEC
="%{s-bc-abi:-lgcj_bc;:-lgcj}"
20763 # Hash synchronization is only useful with posix threads right now.
20764 if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then
20765 HASH_SYNC_SPEC
=-fhash-synchronization
20767 cat >>confdefs.h
<<\_ACEOF
20768 #define JV_HASH_SYNCHRONIZATION 1
20776 if test "$GCC" = yes; then
20778 USING_GCC_FALSE
='#'
20785 # We're in the tree with gcc, and need to include some of its headers.
20786 GCC_UNWIND_INCLUDE
='-I$(multi_basedir)/./libjava/../gcc'
20788 if test "x${with_newlib}" = "xyes"; then
20789 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
20790 # may not work correctly, because the compiler may not be able to
20791 # link executables.
20793 # We assume newlib. This lets us hard-code the functions we know
20796 cat >>confdefs.h
<<\_ACEOF
20797 #define HAVE_MEMMOVE 1
20801 cat >>confdefs.h
<<\_ACEOF
20802 #define HAVE_MEMCPY 1
20806 cat >>confdefs.h
<<\_ACEOF
20807 #define HAVE_TIME 1
20811 cat >>confdefs.h
<<\_ACEOF
20812 #define HAVE_GMTIME_R 1
20816 cat >>confdefs.h
<<\_ACEOF
20817 #define HAVE_LOCALTIME_R 1
20821 cat >>confdefs.h
<<\_ACEOF
20822 #define HAVE_USLEEP_DECL 1
20825 # This is only for POSIX threads.
20827 cat >>confdefs.h
<<\_ACEOF
20828 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
20832 # Assume we do not have getuid and friends.
20834 cat >>confdefs.h
<<\_ACEOF
20835 #define NO_GETUID 1
20870 for ac_func
in strerror_r
select fstat open fsync
sleep opendir \
20871 localtime_r getpwuid_r getcwd \
20872 access stat lstat mkdir rename
rmdir unlink utime
chmod readlink \
20873 nl_langinfo setlocale \
20874 inet_pton uname inet_ntoa \
20875 getrlimit sigaction ftruncate mmap \
20878 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20879 echo "$as_me:$LINENO: checking for $ac_func" >&5
20880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20881 if eval "test \"\${$as_ac_var+set}\" = set"; then
20882 echo $ECHO_N "(cached) $ECHO_C" >&6
20884 if test x
$gcc_no_link = xyes
; then
20885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20887 { (exit 1); exit 1; }; }
20889 cat >conftest.
$ac_ext <<_ACEOF
20892 cat confdefs.h
>>conftest.
$ac_ext
20893 cat >>conftest.
$ac_ext <<_ACEOF
20894 /* end confdefs.h. */
20895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20897 #define $ac_func innocuous_$ac_func
20899 /* System header to define __stub macros and hopefully few prototypes,
20900 which can conflict with char $ac_func (); below.
20901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20902 <limits.h> exists even on freestanding compilers. */
20905 # include <limits.h>
20907 # include <assert.h>
20912 /* Override any gcc2 internal prototype to avoid an error. */
20917 /* We use char because int might match the return type of a gcc2
20918 builtin and then its argument prototype would still apply. */
20920 /* The GNU C library defines this for functions which it implements
20921 to always fail with ENOSYS. Some functions are actually named
20922 something starting with __ and the normal name is an alias. */
20923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20926 char (*f) () = $ac_func;
20935 return f != $ac_func;
20940 rm -f conftest.
$ac_objext conftest
$ac_exeext
20941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20942 (eval $ac_link) 2>conftest.er1
20944 grep -v '^ *+' conftest.er1
>conftest.err
20946 cat conftest.err
>&5
20947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20948 (exit $ac_status); } &&
20949 { ac_try
='test -z "$ac_c_werror_flag"
20950 || test ! -s conftest.err'
20951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20952 (eval $ac_try) 2>&5
20954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20955 (exit $ac_status); }; } &&
20956 { ac_try
='test -s conftest$ac_exeext'
20957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20958 (eval $ac_try) 2>&5
20960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20961 (exit $ac_status); }; }; then
20962 eval "$as_ac_var=yes"
20964 echo "$as_me: failed program was:" >&5
20965 sed 's/^/| /' conftest.
$ac_ext >&5
20967 eval "$as_ac_var=no"
20969 rm -f conftest.err conftest.
$ac_objext \
20970 conftest
$ac_exeext conftest.
$ac_ext
20972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20974 if test `eval echo '${'$as_ac_var'}'` = yes; then
20975 cat >>confdefs.h
<<_ACEOF
20976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20984 for ac_func
in inet_aton inet_addr
20986 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20987 echo "$as_me:$LINENO: checking for $ac_func" >&5
20988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20989 if eval "test \"\${$as_ac_var+set}\" = set"; then
20990 echo $ECHO_N "(cached) $ECHO_C" >&6
20992 if test x
$gcc_no_link = xyes
; then
20993 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20995 { (exit 1); exit 1; }; }
20997 cat >conftest.
$ac_ext <<_ACEOF
21000 cat confdefs.h
>>conftest.
$ac_ext
21001 cat >>conftest.
$ac_ext <<_ACEOF
21002 /* end confdefs.h. */
21003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21005 #define $ac_func innocuous_$ac_func
21007 /* System header to define __stub macros and hopefully few prototypes,
21008 which can conflict with char $ac_func (); below.
21009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21010 <limits.h> exists even on freestanding compilers. */
21013 # include <limits.h>
21015 # include <assert.h>
21020 /* Override any gcc2 internal prototype to avoid an error. */
21025 /* We use char because int might match the return type of a gcc2
21026 builtin and then its argument prototype would still apply. */
21028 /* The GNU C library defines this for functions which it implements
21029 to always fail with ENOSYS. Some functions are actually named
21030 something starting with __ and the normal name is an alias. */
21031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21034 char (*f) () = $ac_func;
21043 return f != $ac_func;
21048 rm -f conftest.
$ac_objext conftest
$ac_exeext
21049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21050 (eval $ac_link) 2>conftest.er1
21052 grep -v '^ *+' conftest.er1
>conftest.err
21054 cat conftest.err
>&5
21055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21056 (exit $ac_status); } &&
21057 { ac_try
='test -z "$ac_c_werror_flag"
21058 || test ! -s conftest.err'
21059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21060 (eval $ac_try) 2>&5
21062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21063 (exit $ac_status); }; } &&
21064 { ac_try
='test -s conftest$ac_exeext'
21065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21066 (eval $ac_try) 2>&5
21068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21069 (exit $ac_status); }; }; then
21070 eval "$as_ac_var=yes"
21072 echo "$as_me: failed program was:" >&5
21073 sed 's/^/| /' conftest.
$ac_ext >&5
21075 eval "$as_ac_var=no"
21077 rm -f conftest.err conftest.
$ac_objext \
21078 conftest
$ac_exeext conftest.
$ac_ext
21080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21082 if test `eval echo '${'$as_ac_var'}'` = yes; then
21083 cat >>confdefs.h
<<_ACEOF
21084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21093 for ac_header
in unistd.h dlfcn.h sys
/resource.h
21095 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21097 echo "$as_me:$LINENO: checking for $ac_header" >&5
21098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21100 echo $ECHO_N "(cached) $ECHO_C" >&6
21102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21105 # Is the header compilable?
21106 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21107 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21108 cat >conftest.
$ac_ext <<_ACEOF
21111 cat confdefs.h
>>conftest.
$ac_ext
21112 cat >>conftest.
$ac_ext <<_ACEOF
21113 /* end confdefs.h. */
21114 $ac_includes_default
21115 #include <$ac_header>
21117 rm -f conftest.
$ac_objext
21118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21119 (eval $ac_compile) 2>conftest.er1
21121 grep -v '^ *+' conftest.er1
>conftest.err
21123 cat conftest.err
>&5
21124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21125 (exit $ac_status); } &&
21126 { ac_try
='test -z "$ac_c_werror_flag"
21127 || test ! -s conftest.err'
21128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21129 (eval $ac_try) 2>&5
21131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21132 (exit $ac_status); }; } &&
21133 { ac_try
='test -s conftest.$ac_objext'
21134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21135 (eval $ac_try) 2>&5
21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138 (exit $ac_status); }; }; then
21139 ac_header_compiler
=yes
21141 echo "$as_me: failed program was:" >&5
21142 sed 's/^/| /' conftest.
$ac_ext >&5
21144 ac_header_compiler
=no
21146 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21147 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21148 echo "${ECHO_T}$ac_header_compiler" >&6
21150 # Is the header present?
21151 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21152 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21153 cat >conftest.
$ac_ext <<_ACEOF
21156 cat confdefs.h
>>conftest.
$ac_ext
21157 cat >>conftest.
$ac_ext <<_ACEOF
21158 /* end confdefs.h. */
21159 #include <$ac_header>
21161 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21162 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21164 grep -v '^ *+' conftest.er1
>conftest.err
21166 cat conftest.err
>&5
21167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21168 (exit $ac_status); } >/dev
/null
; then
21169 if test -s conftest.err
; then
21170 ac_cpp_err
=$ac_c_preproc_warn_flag
21171 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21178 if test -z "$ac_cpp_err"; then
21179 ac_header_preproc
=yes
21181 echo "$as_me: failed program was:" >&5
21182 sed 's/^/| /' conftest.
$ac_ext >&5
21184 ac_header_preproc
=no
21186 rm -f conftest.err conftest.
$ac_ext
21187 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21188 echo "${ECHO_T}$ac_header_preproc" >&6
21190 # So? What about this header?
21191 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21193 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21194 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21195 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21196 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21197 ac_header_preproc
=yes
21200 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21201 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21202 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21203 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21204 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21205 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21206 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21207 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21208 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21209 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21210 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21211 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21214 ## ---------------------------------- ##
21215 ## Report this to the libjava lists. ##
21216 ## ---------------------------------- ##
21219 sed "s/^/$as_me: WARNING: /" >&2
21222 echo "$as_me:$LINENO: checking for $ac_header" >&5
21223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21225 echo $ECHO_N "(cached) $ECHO_C" >&6
21227 eval "$as_ac_Header=\$ac_header_preproc"
21229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21230 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21233 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21234 cat >>confdefs.h
<<_ACEOF
21235 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21242 # Do an additional check on dld, HP-UX for example has dladdr in libdld.sl
21243 echo "$as_me:$LINENO: checking for dladdr in -ldl" >&5
21244 echo $ECHO_N "checking for dladdr in -ldl... $ECHO_C" >&6
21245 if test "${ac_cv_lib_dl_dladdr+set}" = set; then
21246 echo $ECHO_N "(cached) $ECHO_C" >&6
21248 ac_check_lib_save_LIBS
=$LIBS
21250 if test x
$gcc_no_link = xyes
; then
21251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21253 { (exit 1); exit 1; }; }
21255 cat >conftest.
$ac_ext <<_ACEOF
21258 cat confdefs.h
>>conftest.
$ac_ext
21259 cat >>conftest.
$ac_ext <<_ACEOF
21260 /* end confdefs.h. */
21262 /* Override any gcc2 internal prototype to avoid an error. */
21266 /* We use char because int might match the return type of a gcc2
21267 builtin and then its argument prototype would still apply. */
21277 rm -f conftest.
$ac_objext conftest
$ac_exeext
21278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21279 (eval $ac_link) 2>conftest.er1
21281 grep -v '^ *+' conftest.er1
>conftest.err
21283 cat conftest.err
>&5
21284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21285 (exit $ac_status); } &&
21286 { ac_try
='test -z "$ac_c_werror_flag"
21287 || test ! -s conftest.err'
21288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21289 (eval $ac_try) 2>&5
21291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21292 (exit $ac_status); }; } &&
21293 { ac_try
='test -s conftest$ac_exeext'
21294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21295 (eval $ac_try) 2>&5
21297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21298 (exit $ac_status); }; }; then
21299 ac_cv_lib_dl_dladdr
=yes
21301 echo "$as_me: failed program was:" >&5
21302 sed 's/^/| /' conftest.
$ac_ext >&5
21304 ac_cv_lib_dl_dladdr
=no
21306 rm -f conftest.err conftest.
$ac_objext \
21307 conftest
$ac_exeext conftest.
$ac_ext
21308 LIBS
=$ac_check_lib_save_LIBS
21310 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dladdr" >&5
21311 echo "${ECHO_T}$ac_cv_lib_dl_dladdr" >&6
21312 if test $ac_cv_lib_dl_dladdr = yes; then
21315 cat >>confdefs.h
<<\_ACEOF
21316 #define HAVE_DLADDR 1
21321 echo "$as_me:$LINENO: checking for dladdr in -ldld" >&5
21322 echo $ECHO_N "checking for dladdr in -ldld... $ECHO_C" >&6
21323 if test "${ac_cv_lib_dld_dladdr+set}" = set; then
21324 echo $ECHO_N "(cached) $ECHO_C" >&6
21326 ac_check_lib_save_LIBS
=$LIBS
21328 if test x
$gcc_no_link = xyes
; then
21329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21331 { (exit 1); exit 1; }; }
21333 cat >conftest.
$ac_ext <<_ACEOF
21336 cat confdefs.h
>>conftest.
$ac_ext
21337 cat >>conftest.
$ac_ext <<_ACEOF
21338 /* end confdefs.h. */
21340 /* Override any gcc2 internal prototype to avoid an error. */
21344 /* We use char because int might match the return type of a gcc2
21345 builtin and then its argument prototype would still apply. */
21355 rm -f conftest.
$ac_objext conftest
$ac_exeext
21356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21357 (eval $ac_link) 2>conftest.er1
21359 grep -v '^ *+' conftest.er1
>conftest.err
21361 cat conftest.err
>&5
21362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363 (exit $ac_status); } &&
21364 { ac_try
='test -z "$ac_c_werror_flag"
21365 || test ! -s conftest.err'
21366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21367 (eval $ac_try) 2>&5
21369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21370 (exit $ac_status); }; } &&
21371 { ac_try
='test -s conftest$ac_exeext'
21372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21373 (eval $ac_try) 2>&5
21375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21376 (exit $ac_status); }; }; then
21377 ac_cv_lib_dld_dladdr
=yes
21379 echo "$as_me: failed program was:" >&5
21380 sed 's/^/| /' conftest.
$ac_ext >&5
21382 ac_cv_lib_dld_dladdr
=no
21384 rm -f conftest.err conftest.
$ac_objext \
21385 conftest
$ac_exeext conftest.
$ac_ext
21386 LIBS
=$ac_check_lib_save_LIBS
21388 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dladdr" >&5
21389 echo "${ECHO_T}$ac_cv_lib_dld_dladdr" >&6
21390 if test $ac_cv_lib_dld_dladdr = yes; then
21393 cat >>confdefs.h
<<\_ACEOF
21394 #define HAVE_DLADDR 1
21402 if test x
"$cross_compiling" = x
"no"; then
21403 echo "$as_me:$LINENO: checking for /proc/self/exe" >&5
21404 echo $ECHO_N "checking for /proc/self/exe... $ECHO_C" >&6
21405 if test "${ac_cv_file__proc_self_exe+set}" = set; then
21406 echo $ECHO_N "(cached) $ECHO_C" >&6
21408 test "$cross_compiling" = yes &&
21409 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21410 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
21411 { (exit 1); exit 1; }; }
21412 if test -r "/proc/self/exe"; then
21413 ac_cv_file__proc_self_exe
=yes
21415 ac_cv_file__proc_self_exe
=no
21418 echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_exe" >&5
21419 echo "${ECHO_T}$ac_cv_file__proc_self_exe" >&6
21420 if test $ac_cv_file__proc_self_exe = yes; then
21422 cat >>confdefs.h
<<_ACEOF
21423 #define HAVE__PROC_SELF_EXE 1
21428 cat >>confdefs.h
<<\_ACEOF
21429 #define HAVE_PROC_SELF_EXE 1
21434 echo "$as_me:$LINENO: checking for /proc/self/maps" >&5
21435 echo $ECHO_N "checking for /proc/self/maps... $ECHO_C" >&6
21436 if test "${ac_cv_file__proc_self_maps+set}" = set; then
21437 echo $ECHO_N "(cached) $ECHO_C" >&6
21439 test "$cross_compiling" = yes &&
21440 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21441 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
21442 { (exit 1); exit 1; }; }
21443 if test -r "/proc/self/maps"; then
21444 ac_cv_file__proc_self_maps
=yes
21446 ac_cv_file__proc_self_maps
=no
21449 echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_maps" >&5
21450 echo "${ECHO_T}$ac_cv_file__proc_self_maps" >&6
21451 if test $ac_cv_file__proc_self_maps = yes; then
21453 cat >>confdefs.h
<<_ACEOF
21454 #define HAVE__PROC_SELF_MAPS 1
21459 cat >>confdefs.h
<<\_ACEOF
21460 #define HAVE_PROC_SELF_MAPS 1
21469 cat >>confdefs.h
<<\_ACEOF
21470 #define HAVE_PROC_SELF_EXE 1
21474 cat >>confdefs.h
<<\_ACEOF
21475 #define HAVE_PROC_SELF_MAPS 1
21483 if test "X$prefix" = "XNONE"; then
21484 acl_final_prefix
="$ac_default_prefix"
21486 acl_final_prefix
="$prefix"
21488 if test "X$exec_prefix" = "XNONE"; then
21489 acl_final_exec_prefix
='${prefix}'
21491 acl_final_exec_prefix
="$exec_prefix"
21493 acl_save_prefix
="$prefix"
21494 prefix
="$acl_final_prefix"
21495 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
21496 prefix
="$acl_save_prefix"
21499 # Check whether --with-gnu-ld or --without-gnu-ld was given.
21500 if test "${with_gnu_ld+set}" = set; then
21501 withval
="$with_gnu_ld"
21502 test "$withval" = no || with_gnu_ld
=yes
21506 # Prepare PATH_SEPARATOR.
21507 # The user is always right.
21508 if test "${PATH_SEPARATOR+set}" != set; then
21509 echo "#! /bin/sh" >conf$$.sh
21510 echo "exit 0" >>conf$$.sh
21512 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21520 if test "$GCC" = yes; then
21521 # Check if gcc -print-prog-name=ld gives a path.
21522 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
21523 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
21526 # gcc leaves a trailing carriage return which upsets mingw
21527 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21529 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
21532 # Accept absolute paths.
21533 [\\/]* |
[A-Za-z
]:[\\/]*)
21534 re_direlt
='/[^/][^/]*/\.\./'
21535 # Canonicalize the path of ld
21536 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
21537 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
21538 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
21540 test -z "$LD" && LD
="$ac_prog"
21543 # If it fails, then pretend we aren't using GCC.
21547 # If it is relative, then search for the first ld in PATH.
21548 with_gnu_ld
=unknown
21551 elif test "$with_gnu_ld" = yes; then
21552 echo "$as_me:$LINENO: checking for GNU ld" >&5
21553 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
21555 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
21556 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
21558 if test "${acl_cv_path_LD+set}" = set; then
21559 echo $ECHO_N "(cached) $ECHO_C" >&6
21561 if test -z "$LD"; then
21562 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
21563 for ac_dir
in $PATH; do
21564 test -z "$ac_dir" && ac_dir
=.
21565 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
21566 acl_cv_path_LD
="$ac_dir/$ac_prog"
21567 # Check to see if the program is GNU ld. I'd rather use --version,
21568 # but apparently some GNU ld's only accept -v.
21569 # Break only if it was the GNU/non-GNU ld that we prefer.
21570 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
21571 test "$with_gnu_ld" != no
&& break
21573 test "$with_gnu_ld" != yes && break
21579 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
21583 LD
="$acl_cv_path_LD"
21584 if test -n "$LD"; then
21585 echo "$as_me:$LINENO: result: $LD" >&5
21586 echo "${ECHO_T}$LD" >&6
21588 echo "$as_me:$LINENO: result: no" >&5
21589 echo "${ECHO_T}no" >&6
21591 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
21592 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
21593 { (exit 1); exit 1; }; }
21594 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
21595 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
21596 if test "${acl_cv_prog_gnu_ld+set}" = set; then
21597 echo $ECHO_N "(cached) $ECHO_C" >&6
21599 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
21600 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
21601 acl_cv_prog_gnu_ld
=yes
21603 acl_cv_prog_gnu_ld
=no
21606 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
21607 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
21608 with_gnu_ld
=$acl_cv_prog_gnu_ld
21612 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
21613 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
21614 if test "${acl_cv_rpath+set}" = set; then
21615 echo $ECHO_N "(cached) $ECHO_C" >&6
21618 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
21619 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
21621 rm -f .
/conftest.sh
21625 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
21626 echo "${ECHO_T}$acl_cv_rpath" >&6
21628 libext
="$acl_cv_libext"
21629 shlibext
="$acl_cv_shlibext"
21630 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
21631 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
21632 hardcode_direct
="$acl_cv_hardcode_direct"
21633 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
21634 # Check whether --enable-rpath or --disable-rpath was given.
21635 if test "${enable_rpath+set}" = set; then
21636 enableval
="$enable_rpath"
21650 acl_save_prefix
="$prefix"
21651 prefix
="$acl_final_prefix"
21652 acl_save_exec_prefix
="$exec_prefix"
21653 exec_prefix
="$acl_final_exec_prefix"
21655 eval additional_includedir
=\"$includedir\"
21656 eval additional_libdir
=\"$libdir\"
21658 exec_prefix
="$acl_save_exec_prefix"
21659 prefix
="$acl_save_prefix"
21662 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
21663 if test "${with_libiconv_prefix+set}" = set; then
21664 withval
="$with_libiconv_prefix"
21666 if test "X$withval" = "Xno"; then
21669 if test "X$withval" = "X"; then
21671 acl_save_prefix
="$prefix"
21672 prefix
="$acl_final_prefix"
21673 acl_save_exec_prefix
="$exec_prefix"
21674 exec_prefix
="$acl_final_exec_prefix"
21676 eval additional_includedir
=\"$includedir\"
21677 eval additional_libdir
=\"$libdir\"
21679 exec_prefix
="$acl_save_exec_prefix"
21680 prefix
="$acl_save_prefix"
21683 additional_includedir
="$withval/include"
21684 additional_libdir
="$withval/lib"
21694 names_already_handled
=
21695 names_next_round
='iconv '
21696 while test -n "$names_next_round"; do
21697 names_this_round
="$names_next_round"
21699 for name
in $names_this_round; do
21701 for n
in $names_already_handled; do
21702 if test "$n" = "$name"; then
21703 already_handled
=yes
21707 if test -z "$already_handled"; then
21708 names_already_handled
="$names_already_handled $name"
21709 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
21710 eval value
=\"\
$HAVE_LIB$uppername\"
21711 if test -n "$value"; then
21712 if test "$value" = yes; then
21713 eval value
=\"\
$LIB$uppername\"
21714 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
21715 eval value
=\"\
$LTLIB$uppername\"
21716 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
21725 if test $use_additional = yes; then
21726 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
21727 found_dir
="$additional_libdir"
21728 found_so
="$additional_libdir/lib$name.$shlibext"
21729 if test -f "$additional_libdir/lib$name.la"; then
21730 found_la
="$additional_libdir/lib$name.la"
21733 if test -f "$additional_libdir/lib$name.$libext"; then
21734 found_dir
="$additional_libdir"
21735 found_a
="$additional_libdir/lib$name.$libext"
21736 if test -f "$additional_libdir/lib$name.la"; then
21737 found_la
="$additional_libdir/lib$name.la"
21742 if test "X$found_dir" = "X"; then
21743 for x
in $LDFLAGS $LTLIBICONV; do
21745 acl_save_prefix
="$prefix"
21746 prefix
="$acl_final_prefix"
21747 acl_save_exec_prefix
="$exec_prefix"
21748 exec_prefix
="$acl_final_exec_prefix"
21750 exec_prefix
="$acl_save_exec_prefix"
21751 prefix
="$acl_save_prefix"
21755 dir
=`echo "X$x" | sed -e 's/^X-L//'`
21756 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
21758 found_so
="$dir/lib$name.$shlibext"
21759 if test -f "$dir/lib$name.la"; then
21760 found_la
="$dir/lib$name.la"
21763 if test -f "$dir/lib$name.$libext"; then
21765 found_a
="$dir/lib$name.$libext"
21766 if test -f "$dir/lib$name.la"; then
21767 found_la
="$dir/lib$name.la"
21773 if test "X$found_dir" != "X"; then
21778 if test "X$found_dir" != "X"; then
21779 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
21780 if test "X$found_so" != "X"; then
21781 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
21782 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21785 for x
in $ltrpathdirs; do
21786 if test "X$x" = "X$found_dir"; then
21791 if test -z "$haveit"; then
21792 ltrpathdirs
="$ltrpathdirs $found_dir"
21794 if test "$hardcode_direct" = yes; then
21795 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21797 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
21798 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21800 for x
in $rpathdirs; do
21801 if test "X$x" = "X$found_dir"; then
21806 if test -z "$haveit"; then
21807 rpathdirs
="$rpathdirs $found_dir"
21811 for x
in $LDFLAGS $LIBICONV; do
21813 acl_save_prefix
="$prefix"
21814 prefix
="$acl_final_prefix"
21815 acl_save_exec_prefix
="$exec_prefix"
21816 exec_prefix
="$acl_final_exec_prefix"
21818 exec_prefix
="$acl_save_exec_prefix"
21819 prefix
="$acl_save_prefix"
21821 if test "X$x" = "X-L$found_dir"; then
21826 if test -z "$haveit"; then
21827 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
21829 if test "$hardcode_minus_L" != no
; then
21830 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21832 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
21838 if test "X$found_a" != "X"; then
21839 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
21841 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
21844 additional_includedir
=
21845 case "$found_dir" in
21847 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
21848 additional_includedir
="$basedir/include"
21851 if test "X$additional_includedir" != "X"; then
21852 if test "X$additional_includedir" != "X/usr/include"; then
21854 if test "X$additional_includedir" = "X/usr/local/include"; then
21855 if test -n "$GCC"; then
21857 linux
*) haveit
=yes;;
21861 if test -z "$haveit"; then
21862 for x
in $CPPFLAGS $INCICONV; do
21864 acl_save_prefix
="$prefix"
21865 prefix
="$acl_final_prefix"
21866 acl_save_exec_prefix
="$exec_prefix"
21867 exec_prefix
="$acl_final_exec_prefix"
21869 exec_prefix
="$acl_save_exec_prefix"
21870 prefix
="$acl_save_prefix"
21872 if test "X$x" = "X-I$additional_includedir"; then
21877 if test -z "$haveit"; then
21878 if test -d "$additional_includedir"; then
21879 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
21885 if test -n "$found_la"; then
21886 save_libdir
="$libdir"
21887 case "$found_la" in
21888 */* |
*\\*) .
"$found_la" ;;
21889 *) .
"./$found_la" ;;
21891 libdir
="$save_libdir"
21892 for dep
in $dependency_libs; do
21895 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
21896 if test "X$additional_libdir" != "X/usr/lib"; then
21898 if test "X$additional_libdir" = "X/usr/local/lib"; then
21899 if test -n "$GCC"; then
21901 linux
*) haveit
=yes;;
21905 if test -z "$haveit"; then
21907 for x
in $LDFLAGS $LIBICONV; do
21909 acl_save_prefix
="$prefix"
21910 prefix
="$acl_final_prefix"
21911 acl_save_exec_prefix
="$exec_prefix"
21912 exec_prefix
="$acl_final_exec_prefix"
21914 exec_prefix
="$acl_save_exec_prefix"
21915 prefix
="$acl_save_prefix"
21917 if test "X$x" = "X-L$additional_libdir"; then
21922 if test -z "$haveit"; then
21923 if test -d "$additional_libdir"; then
21924 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
21928 for x
in $LDFLAGS $LTLIBICONV; do
21930 acl_save_prefix
="$prefix"
21931 prefix
="$acl_final_prefix"
21932 acl_save_exec_prefix
="$exec_prefix"
21933 exec_prefix
="$acl_final_exec_prefix"
21935 exec_prefix
="$acl_save_exec_prefix"
21936 prefix
="$acl_save_prefix"
21938 if test "X$x" = "X-L$additional_libdir"; then
21943 if test -z "$haveit"; then
21944 if test -d "$additional_libdir"; then
21945 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
21952 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
21953 if test "$enable_rpath" != no
; then
21955 for x
in $rpathdirs; do
21956 if test "X$x" = "X$dir"; then
21961 if test -z "$haveit"; then
21962 rpathdirs
="$rpathdirs $dir"
21965 for x
in $ltrpathdirs; do
21966 if test "X$x" = "X$dir"; then
21971 if test -z "$haveit"; then
21972 ltrpathdirs
="$ltrpathdirs $dir"
21977 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
21980 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
21983 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
21984 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
21990 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
21991 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
21997 if test "X$rpathdirs" != "X"; then
21998 if test -n "$hardcode_libdir_separator"; then
22000 for found_dir
in $rpathdirs; do
22001 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
22003 acl_save_libdir
="$libdir"
22005 eval flag
=\"$hardcode_libdir_flag_spec\"
22006 libdir
="$acl_save_libdir"
22007 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
22009 for found_dir
in $rpathdirs; do
22010 acl_save_libdir
="$libdir"
22011 libdir
="$found_dir"
22012 eval flag
=\"$hardcode_libdir_flag_spec\"
22013 libdir
="$acl_save_libdir"
22014 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
22018 if test "X$ltrpathdirs" != "X"; then
22019 for found_dir
in $ltrpathdirs; do
22020 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
22030 am_save_CPPFLAGS
="$CPPFLAGS"
22032 for element
in $INCICONV; do
22034 for x
in $CPPFLAGS; do
22036 acl_save_prefix
="$prefix"
22037 prefix
="$acl_final_prefix"
22038 acl_save_exec_prefix
="$exec_prefix"
22039 exec_prefix
="$acl_final_exec_prefix"
22041 exec_prefix
="$acl_save_exec_prefix"
22042 prefix
="$acl_save_prefix"
22044 if test "X$x" = "X$element"; then
22049 if test -z "$haveit"; then
22050 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
22055 echo "$as_me:$LINENO: checking for iconv" >&5
22056 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
22057 if test "${am_cv_func_iconv+set}" = set; then
22058 echo $ECHO_N "(cached) $ECHO_C" >&6
22061 am_cv_func_iconv
="no, consider installing GNU libiconv"
22063 if test x
$gcc_no_link = xyes
; then
22064 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22066 { (exit 1); exit 1; }; }
22068 cat >conftest.
$ac_ext <<_ACEOF
22071 cat confdefs.h
>>conftest.
$ac_ext
22072 cat >>conftest.
$ac_ext <<_ACEOF
22073 /* end confdefs.h. */
22074 #include <stdlib.h>
22079 iconv_t cd = iconv_open("","");
22080 iconv(cd,NULL,NULL,NULL,NULL);
22086 rm -f conftest.
$ac_objext conftest
$ac_exeext
22087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22088 (eval $ac_link) 2>conftest.er1
22090 grep -v '^ *+' conftest.er1
>conftest.err
22092 cat conftest.err
>&5
22093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22094 (exit $ac_status); } &&
22095 { ac_try
='test -z "$ac_c_werror_flag"
22096 || test ! -s conftest.err'
22097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22098 (eval $ac_try) 2>&5
22100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22101 (exit $ac_status); }; } &&
22102 { ac_try
='test -s conftest$ac_exeext'
22103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22104 (eval $ac_try) 2>&5
22106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22107 (exit $ac_status); }; }; then
22108 am_cv_func_iconv
=yes
22110 echo "$as_me: failed program was:" >&5
22111 sed 's/^/| /' conftest.
$ac_ext >&5
22114 rm -f conftest.err conftest.
$ac_objext \
22115 conftest
$ac_exeext conftest.
$ac_ext
22116 if test "$am_cv_func_iconv" != yes; then
22117 am_save_LIBS
="$LIBS"
22118 LIBS
="$LIBS $LIBICONV"
22119 if test x
$gcc_no_link = xyes
; then
22120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22122 { (exit 1); exit 1; }; }
22124 cat >conftest.
$ac_ext <<_ACEOF
22127 cat confdefs.h
>>conftest.
$ac_ext
22128 cat >>conftest.
$ac_ext <<_ACEOF
22129 /* end confdefs.h. */
22130 #include <stdlib.h>
22135 iconv_t cd = iconv_open("","");
22136 iconv(cd,NULL,NULL,NULL,NULL);
22142 rm -f conftest.
$ac_objext conftest
$ac_exeext
22143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22144 (eval $ac_link) 2>conftest.er1
22146 grep -v '^ *+' conftest.er1
>conftest.err
22148 cat conftest.err
>&5
22149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22150 (exit $ac_status); } &&
22151 { ac_try
='test -z "$ac_c_werror_flag"
22152 || test ! -s conftest.err'
22153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22154 (eval $ac_try) 2>&5
22156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22157 (exit $ac_status); }; } &&
22158 { ac_try
='test -s conftest$ac_exeext'
22159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22160 (eval $ac_try) 2>&5
22162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22163 (exit $ac_status); }; }; then
22164 am_cv_lib_iconv
=yes
22165 am_cv_func_iconv
=yes
22167 echo "$as_me: failed program was:" >&5
22168 sed 's/^/| /' conftest.
$ac_ext >&5
22171 rm -f conftest.err conftest.
$ac_objext \
22172 conftest
$ac_exeext conftest.
$ac_ext
22173 LIBS
="$am_save_LIBS"
22177 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
22178 echo "${ECHO_T}$am_cv_func_iconv" >&6
22179 if test "$am_cv_func_iconv" = yes; then
22181 cat >>confdefs.h
<<\_ACEOF
22182 #define HAVE_ICONV 1
22186 if test "$am_cv_lib_iconv" = yes; then
22187 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
22188 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
22189 echo "$as_me:$LINENO: result: $LIBICONV" >&5
22190 echo "${ECHO_T}$LIBICONV" >&6
22192 CPPFLAGS
="$am_save_CPPFLAGS"
22199 if test "$am_cv_func_iconv" = yes; then
22200 echo "$as_me:$LINENO: checking for iconv declaration" >&5
22201 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
22202 if test "${am_cv_proto_iconv+set}" = set; then
22203 echo $ECHO_N "(cached) $ECHO_C" >&6
22206 cat >conftest.
$ac_ext <<_ACEOF
22209 cat confdefs.h
>>conftest.
$ac_ext
22210 cat >>conftest.
$ac_ext <<_ACEOF
22211 /* end confdefs.h. */
22213 #include <stdlib.h>
22219 #if defined(__STDC__) || defined(__cplusplus)
22220 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
22233 rm -f conftest.
$ac_objext
22234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22235 (eval $ac_compile) 2>conftest.er1
22237 grep -v '^ *+' conftest.er1
>conftest.err
22239 cat conftest.err
>&5
22240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22241 (exit $ac_status); } &&
22242 { ac_try
='test -z "$ac_c_werror_flag"
22243 || test ! -s conftest.err'
22244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22245 (eval $ac_try) 2>&5
22247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248 (exit $ac_status); }; } &&
22249 { ac_try
='test -s conftest.$ac_objext'
22250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22251 (eval $ac_try) 2>&5
22253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22254 (exit $ac_status); }; }; then
22255 am_cv_proto_iconv_arg1
=""
22257 echo "$as_me: failed program was:" >&5
22258 sed 's/^/| /' conftest.
$ac_ext >&5
22260 am_cv_proto_iconv_arg1
="const"
22262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22263 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);"
22266 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
22267 echo "$as_me:$LINENO: result: ${ac_t:-
22268 }$am_cv_proto_iconv" >&5
22269 echo "${ECHO_T}${ac_t:-
22270 }$am_cv_proto_iconv" >&6
22272 cat >>confdefs.h
<<_ACEOF
22273 #define ICONV_CONST $am_cv_proto_iconv_arg1
22279 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
22280 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
22281 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
22282 echo $ECHO_N "(cached) $ECHO_C" >&6
22284 if test x
$gcc_no_link = xyes
; then
22285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22287 { (exit 1); exit 1; }; }
22289 cat >conftest.
$ac_ext <<_ACEOF
22292 cat confdefs.h
>>conftest.
$ac_ext
22293 cat >>conftest.
$ac_ext <<_ACEOF
22294 /* end confdefs.h. */
22295 #include <locale.h>
22304 rm -f conftest.
$ac_objext conftest
$ac_exeext
22305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22306 (eval $ac_link) 2>conftest.er1
22308 grep -v '^ *+' conftest.er1
>conftest.err
22310 cat conftest.err
>&5
22311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22312 (exit $ac_status); } &&
22313 { ac_try
='test -z "$ac_c_werror_flag"
22314 || test ! -s conftest.err'
22315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22316 (eval $ac_try) 2>&5
22318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22319 (exit $ac_status); }; } &&
22320 { ac_try
='test -s conftest$ac_exeext'
22321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22322 (eval $ac_try) 2>&5
22324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22325 (exit $ac_status); }; }; then
22326 am_cv_val_LC_MESSAGES
=yes
22328 echo "$as_me: failed program was:" >&5
22329 sed 's/^/| /' conftest.
$ac_ext >&5
22331 am_cv_val_LC_MESSAGES
=no
22333 rm -f conftest.err conftest.
$ac_objext \
22334 conftest
$ac_exeext conftest.
$ac_ext
22336 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
22337 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
22338 if test $am_cv_val_LC_MESSAGES = yes; then
22340 cat >>confdefs.h
<<\_ACEOF
22341 #define HAVE_LC_MESSAGES 1
22346 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
22347 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
22348 if test "${ac_cv_struct_tm+set}" = set; then
22349 echo $ECHO_N "(cached) $ECHO_C" >&6
22351 cat >conftest.
$ac_ext <<_ACEOF
22354 cat confdefs.h
>>conftest.
$ac_ext
22355 cat >>conftest.
$ac_ext <<_ACEOF
22356 /* end confdefs.h. */
22357 #include <sys/types.h>
22363 struct tm *tp; tp->tm_sec;
22368 rm -f conftest.
$ac_objext
22369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22370 (eval $ac_compile) 2>conftest.er1
22372 grep -v '^ *+' conftest.er1
>conftest.err
22374 cat conftest.err
>&5
22375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22376 (exit $ac_status); } &&
22377 { ac_try
='test -z "$ac_c_werror_flag"
22378 || test ! -s conftest.err'
22379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22380 (eval $ac_try) 2>&5
22382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22383 (exit $ac_status); }; } &&
22384 { ac_try
='test -s conftest.$ac_objext'
22385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22386 (eval $ac_try) 2>&5
22388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22389 (exit $ac_status); }; }; then
22390 ac_cv_struct_tm
=time.h
22392 echo "$as_me: failed program was:" >&5
22393 sed 's/^/| /' conftest.
$ac_ext >&5
22395 ac_cv_struct_tm
=sys
/time.h
22397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22399 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
22400 echo "${ECHO_T}$ac_cv_struct_tm" >&6
22401 if test $ac_cv_struct_tm = sys
/time.h
; then
22403 cat >>confdefs.h
<<\_ACEOF
22404 #define TM_IN_SYS_TIME 1
22409 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
22410 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
22411 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
22412 echo $ECHO_N "(cached) $ECHO_C" >&6
22414 cat >conftest.
$ac_ext <<_ACEOF
22417 cat confdefs.h
>>conftest.
$ac_ext
22418 cat >>conftest.
$ac_ext <<_ACEOF
22419 /* end confdefs.h. */
22420 #include <sys/types.h>
22421 #include <$ac_cv_struct_tm>
22427 static struct tm ac_aggr;
22428 if (ac_aggr.tm_zone)
22434 rm -f conftest.
$ac_objext
22435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22436 (eval $ac_compile) 2>conftest.er1
22438 grep -v '^ *+' conftest.er1
>conftest.err
22440 cat conftest.err
>&5
22441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22442 (exit $ac_status); } &&
22443 { ac_try
='test -z "$ac_c_werror_flag"
22444 || test ! -s conftest.err'
22445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22446 (eval $ac_try) 2>&5
22448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22449 (exit $ac_status); }; } &&
22450 { ac_try
='test -s conftest.$ac_objext'
22451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22452 (eval $ac_try) 2>&5
22454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22455 (exit $ac_status); }; }; then
22456 ac_cv_member_struct_tm_tm_zone
=yes
22458 echo "$as_me: failed program was:" >&5
22459 sed 's/^/| /' conftest.
$ac_ext >&5
22461 cat >conftest.
$ac_ext <<_ACEOF
22464 cat confdefs.h
>>conftest.
$ac_ext
22465 cat >>conftest.
$ac_ext <<_ACEOF
22466 /* end confdefs.h. */
22467 #include <sys/types.h>
22468 #include <$ac_cv_struct_tm>
22474 static struct tm ac_aggr;
22475 if (sizeof ac_aggr.tm_zone)
22481 rm -f conftest.
$ac_objext
22482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22483 (eval $ac_compile) 2>conftest.er1
22485 grep -v '^ *+' conftest.er1
>conftest.err
22487 cat conftest.err
>&5
22488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22489 (exit $ac_status); } &&
22490 { ac_try
='test -z "$ac_c_werror_flag"
22491 || test ! -s conftest.err'
22492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22493 (eval $ac_try) 2>&5
22495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22496 (exit $ac_status); }; } &&
22497 { ac_try
='test -s conftest.$ac_objext'
22498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22499 (eval $ac_try) 2>&5
22501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22502 (exit $ac_status); }; }; then
22503 ac_cv_member_struct_tm_tm_zone
=yes
22505 echo "$as_me: failed program was:" >&5
22506 sed 's/^/| /' conftest.
$ac_ext >&5
22508 ac_cv_member_struct_tm_tm_zone
=no
22510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22514 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
22515 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
22516 if test $ac_cv_member_struct_tm_tm_zone = yes; then
22518 cat >>confdefs.h
<<_ACEOF
22519 #define HAVE_STRUCT_TM_TM_ZONE 1
22525 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
22527 cat >>confdefs.h
<<\_ACEOF
22528 #define HAVE_TM_ZONE 1
22532 echo "$as_me:$LINENO: checking for tzname" >&5
22533 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
22534 if test "${ac_cv_var_tzname+set}" = set; then
22535 echo $ECHO_N "(cached) $ECHO_C" >&6
22537 if test x
$gcc_no_link = xyes
; then
22538 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22540 { (exit 1); exit 1; }; }
22542 cat >conftest.
$ac_ext <<_ACEOF
22545 cat confdefs.h
>>conftest.
$ac_ext
22546 cat >>conftest.
$ac_ext <<_ACEOF
22547 /* end confdefs.h. */
22549 #ifndef tzname /* For SGI. */
22550 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
22561 rm -f conftest.
$ac_objext conftest
$ac_exeext
22562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22563 (eval $ac_link) 2>conftest.er1
22565 grep -v '^ *+' conftest.er1
>conftest.err
22567 cat conftest.err
>&5
22568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22569 (exit $ac_status); } &&
22570 { ac_try
='test -z "$ac_c_werror_flag"
22571 || test ! -s conftest.err'
22572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22573 (eval $ac_try) 2>&5
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); }; } &&
22577 { ac_try
='test -s conftest$ac_exeext'
22578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22579 (eval $ac_try) 2>&5
22581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22582 (exit $ac_status); }; }; then
22583 ac_cv_var_tzname
=yes
22585 echo "$as_me: failed program was:" >&5
22586 sed 's/^/| /' conftest.
$ac_ext >&5
22588 ac_cv_var_tzname
=no
22590 rm -f conftest.err conftest.
$ac_objext \
22591 conftest
$ac_exeext conftest.
$ac_ext
22593 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
22594 echo "${ECHO_T}$ac_cv_var_tzname" >&6
22595 if test $ac_cv_var_tzname = yes; then
22597 cat >>confdefs.h
<<\_ACEOF
22598 #define HAVE_TZNAME 1
22606 for ac_func
in gethostbyname_r
22608 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22609 echo "$as_me:$LINENO: checking for $ac_func" >&5
22610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22611 if eval "test \"\${$as_ac_var+set}\" = set"; then
22612 echo $ECHO_N "(cached) $ECHO_C" >&6
22614 if test x
$gcc_no_link = xyes
; then
22615 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22617 { (exit 1); exit 1; }; }
22619 cat >conftest.
$ac_ext <<_ACEOF
22622 cat confdefs.h
>>conftest.
$ac_ext
22623 cat >>conftest.
$ac_ext <<_ACEOF
22624 /* end confdefs.h. */
22625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22627 #define $ac_func innocuous_$ac_func
22629 /* System header to define __stub macros and hopefully few prototypes,
22630 which can conflict with char $ac_func (); below.
22631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22632 <limits.h> exists even on freestanding compilers. */
22635 # include <limits.h>
22637 # include <assert.h>
22642 /* Override any gcc2 internal prototype to avoid an error. */
22647 /* We use char because int might match the return type of a gcc2
22648 builtin and then its argument prototype would still apply. */
22650 /* The GNU C library defines this for functions which it implements
22651 to always fail with ENOSYS. Some functions are actually named
22652 something starting with __ and the normal name is an alias. */
22653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22656 char (*f) () = $ac_func;
22665 return f != $ac_func;
22670 rm -f conftest.
$ac_objext conftest
$ac_exeext
22671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22672 (eval $ac_link) 2>conftest.er1
22674 grep -v '^ *+' conftest.er1
>conftest.err
22676 cat conftest.err
>&5
22677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22678 (exit $ac_status); } &&
22679 { ac_try
='test -z "$ac_c_werror_flag"
22680 || test ! -s conftest.err'
22681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22682 (eval $ac_try) 2>&5
22684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22685 (exit $ac_status); }; } &&
22686 { ac_try
='test -s conftest$ac_exeext'
22687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22688 (eval $ac_try) 2>&5
22690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22691 (exit $ac_status); }; }; then
22692 eval "$as_ac_var=yes"
22694 echo "$as_me: failed program was:" >&5
22695 sed 's/^/| /' conftest.
$ac_ext >&5
22697 eval "$as_ac_var=no"
22699 rm -f conftest.err conftest.
$ac_objext \
22700 conftest
$ac_exeext conftest.
$ac_ext
22702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22704 if test `eval echo '${'$as_ac_var'}'` = yes; then
22705 cat >>confdefs.h
<<_ACEOF
22706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22710 cat >>confdefs.h
<<\_ACEOF
22711 #define HAVE_GETHOSTBYNAME_R 1
22714 # There are two different kinds of gethostbyname_r.
22715 # We look for the one that returns `int'.
22716 # Hopefully this check is robust enough.
22717 cat >conftest.
$ac_ext <<_ACEOF
22720 cat confdefs.h
>>conftest.
$ac_ext
22721 cat >>conftest.
$ac_ext <<_ACEOF
22722 /* end confdefs.h. */
22726 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22727 $EGREP "int.*gethostbyname_r" >/dev
/null
2>&1; then
22730 cat >>confdefs.h
<<\_ACEOF
22731 #define GETHOSTBYNAME_R_RETURNS_INT 1
22738 case " $GCINCS " in
22739 *" -D_REENTRANT "*) ;;
22741 echo "$as_me:$LINENO: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5
22742 echo $ECHO_N "checking whether gethostbyname_r declaration requires -D_REENTRANT... $ECHO_C" >&6
22743 if test "${libjava_cv_gethostbyname_r_needs_reentrant+set}" = set; then
22744 echo $ECHO_N "(cached) $ECHO_C" >&6
22747 ac_cpp
='$CXXCPP $CPPFLAGS'
22748 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22749 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22750 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22752 cat >conftest.
$ac_ext <<_ACEOF
22755 cat confdefs.h
>>conftest.
$ac_ext
22756 cat >>conftest.
$ac_ext <<_ACEOF
22757 /* end confdefs.h. */
22762 gethostbyname_r("", 0, 0);
22767 rm -f conftest.
$ac_objext
22768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22769 (eval $ac_compile) 2>conftest.er1
22771 grep -v '^ *+' conftest.er1
>conftest.err
22773 cat conftest.err
>&5
22774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22775 (exit $ac_status); } &&
22776 { ac_try
='test -z "$ac_cxx_werror_flag"
22777 || test ! -s conftest.err'
22778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22779 (eval $ac_try) 2>&5
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); }; } &&
22783 { ac_try
='test -s conftest.$ac_objext'
22784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22785 (eval $ac_try) 2>&5
22787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22788 (exit $ac_status); }; }; then
22789 libjava_cv_gethostbyname_r_needs_reentrant
=no
22791 echo "$as_me: failed program was:" >&5
22792 sed 's/^/| /' conftest.
$ac_ext >&5
22794 CPPFLAGS_SAVE
="$CPPFLAGS"
22795 CPPFLAGS
="$CPPFLAGS -D_REENTRANT"
22796 cat >conftest.
$ac_ext <<_ACEOF
22799 cat confdefs.h
>>conftest.
$ac_ext
22800 cat >>conftest.
$ac_ext <<_ACEOF
22801 /* end confdefs.h. */
22806 gethostbyname_r("", 0, 0);
22811 rm -f conftest.
$ac_objext
22812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22813 (eval $ac_compile) 2>conftest.er1
22815 grep -v '^ *+' conftest.er1
>conftest.err
22817 cat conftest.err
>&5
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); } &&
22820 { ac_try
='test -z "$ac_cxx_werror_flag"
22821 || test ! -s conftest.err'
22822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22823 (eval $ac_try) 2>&5
22825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22826 (exit $ac_status); }; } &&
22827 { ac_try
='test -s conftest.$ac_objext'
22828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22829 (eval $ac_try) 2>&5
22831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22832 (exit $ac_status); }; }; then
22833 libjava_cv_gethostbyname_r_needs_reentrant
=yes
22835 echo "$as_me: failed program was:" >&5
22836 sed 's/^/| /' conftest.
$ac_ext >&5
22838 libjava_cv_gethostbyname_r_needs_reentrant
=fail
22840 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22841 CPPFLAGS
="$CPPFLAGS_SAVE"
22844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22846 ac_cpp
='$CPP $CPPFLAGS'
22847 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22848 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22849 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22853 echo "$as_me:$LINENO: result: $libjava_cv_gethostbyname_r_needs_reentrant" >&5
22854 echo "${ECHO_T}$libjava_cv_gethostbyname_r_needs_reentrant" >&6
22855 if test "x$libjava_cv_gethostbyname_r_needs_reentrant" = xyes
; then
22857 cat >>confdefs.h
<<\_ACEOF
22858 #define _REENTRANT 1
22865 echo "$as_me:$LINENO: checking for struct hostent_data" >&5
22866 echo $ECHO_N "checking for struct hostent_data... $ECHO_C" >&6
22867 if test "${libjava_cv_struct_hostent_data+set}" = set; then
22868 echo $ECHO_N "(cached) $ECHO_C" >&6
22870 cat >conftest.
$ac_ext <<_ACEOF
22873 cat confdefs.h
>>conftest.
$ac_ext
22874 cat >>conftest.
$ac_ext <<_ACEOF
22875 /* end confdefs.h. */
22877 #if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
22878 # define _REENTRANT 1
22884 struct hostent_data data;
22889 rm -f conftest.
$ac_objext
22890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22891 (eval $ac_compile) 2>conftest.er1
22893 grep -v '^ *+' conftest.er1
>conftest.err
22895 cat conftest.err
>&5
22896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22897 (exit $ac_status); } &&
22898 { ac_try
='test -z "$ac_c_werror_flag"
22899 || test ! -s conftest.err'
22900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22901 (eval $ac_try) 2>&5
22903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22904 (exit $ac_status); }; } &&
22905 { ac_try
='test -s conftest.$ac_objext'
22906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22907 (eval $ac_try) 2>&5
22909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22910 (exit $ac_status); }; }; then
22911 libjava_cv_struct_hostent_data
=yes
22913 echo "$as_me: failed program was:" >&5
22914 sed 's/^/| /' conftest.
$ac_ext >&5
22916 libjava_cv_struct_hostent_data
=no
22918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22920 echo "$as_me:$LINENO: result: $libjava_cv_struct_hostent_data" >&5
22921 echo "${ECHO_T}$libjava_cv_struct_hostent_data" >&6
22922 if test "x$libjava_cv_struct_hostent_data" = xyes
; then
22924 cat >>confdefs.h
<<\_ACEOF
22925 #define HAVE_STRUCT_HOSTENT_DATA 1
22934 # FIXME: libjava source code expects to find a prototype for
22935 # gethostbyaddr_r in netdb.h. The outer check ensures that
22936 # HAVE_GETHOSTBYADDR_R will not be defined if the prototype fails
22937 # to exist where expected. (The root issue: AC_CHECK_FUNCS assumes C
22938 # linkage check is enough, yet C++ code requires proper prototypes.)
22939 cat >conftest.
$ac_ext <<_ACEOF
22942 cat confdefs.h
>>conftest.
$ac_ext
22943 cat >>conftest.
$ac_ext <<_ACEOF
22944 /* end confdefs.h. */
22948 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22949 $EGREP "gethostbyaddr_r" >/dev
/null
2>&1; then
22952 for ac_func
in gethostbyaddr_r
22954 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22955 echo "$as_me:$LINENO: checking for $ac_func" >&5
22956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22957 if eval "test \"\${$as_ac_var+set}\" = set"; then
22958 echo $ECHO_N "(cached) $ECHO_C" >&6
22960 if test x
$gcc_no_link = xyes
; then
22961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22963 { (exit 1); exit 1; }; }
22965 cat >conftest.
$ac_ext <<_ACEOF
22968 cat confdefs.h
>>conftest.
$ac_ext
22969 cat >>conftest.
$ac_ext <<_ACEOF
22970 /* end confdefs.h. */
22971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22973 #define $ac_func innocuous_$ac_func
22975 /* System header to define __stub macros and hopefully few prototypes,
22976 which can conflict with char $ac_func (); below.
22977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22978 <limits.h> exists even on freestanding compilers. */
22981 # include <limits.h>
22983 # include <assert.h>
22988 /* Override any gcc2 internal prototype to avoid an error. */
22993 /* We use char because int might match the return type of a gcc2
22994 builtin and then its argument prototype would still apply. */
22996 /* The GNU C library defines this for functions which it implements
22997 to always fail with ENOSYS. Some functions are actually named
22998 something starting with __ and the normal name is an alias. */
22999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23002 char (*f) () = $ac_func;
23011 return f != $ac_func;
23016 rm -f conftest.
$ac_objext conftest
$ac_exeext
23017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23018 (eval $ac_link) 2>conftest.er1
23020 grep -v '^ *+' conftest.er1
>conftest.err
23022 cat conftest.err
>&5
23023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23024 (exit $ac_status); } &&
23025 { ac_try
='test -z "$ac_c_werror_flag"
23026 || test ! -s conftest.err'
23027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23028 (eval $ac_try) 2>&5
23030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23031 (exit $ac_status); }; } &&
23032 { ac_try
='test -s conftest$ac_exeext'
23033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23034 (eval $ac_try) 2>&5
23036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23037 (exit $ac_status); }; }; then
23038 eval "$as_ac_var=yes"
23040 echo "$as_me: failed program was:" >&5
23041 sed 's/^/| /' conftest.
$ac_ext >&5
23043 eval "$as_ac_var=no"
23045 rm -f conftest.err conftest.
$ac_objext \
23046 conftest
$ac_exeext conftest.
$ac_ext
23048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23050 if test `eval echo '${'$as_ac_var'}'` = yes; then
23051 cat >>confdefs.h
<<_ACEOF
23052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23056 cat >>confdefs.h
<<\_ACEOF
23057 #define HAVE_GETHOSTBYADDR_R 1
23060 # There are two different kinds of gethostbyaddr_r.
23061 # We look for the one that returns `int'.
23062 # Hopefully this check is robust enough.
23063 cat >conftest.
$ac_ext <<_ACEOF
23066 cat confdefs.h
>>conftest.
$ac_ext
23067 cat >>conftest.
$ac_ext <<_ACEOF
23068 /* end confdefs.h. */
23072 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23073 $EGREP "int.*gethostbyaddr_r" >/dev
/null
2>&1; then
23076 cat >>confdefs.h
<<\_ACEOF
23077 #define GETHOSTBYADDR_R_RETURNS_INT 1
23091 for ac_func
in gethostname
23093 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23094 echo "$as_me:$LINENO: checking for $ac_func" >&5
23095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23096 if eval "test \"\${$as_ac_var+set}\" = set"; then
23097 echo $ECHO_N "(cached) $ECHO_C" >&6
23099 if test x
$gcc_no_link = xyes
; then
23100 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23102 { (exit 1); exit 1; }; }
23104 cat >conftest.
$ac_ext <<_ACEOF
23107 cat confdefs.h
>>conftest.
$ac_ext
23108 cat >>conftest.
$ac_ext <<_ACEOF
23109 /* end confdefs.h. */
23110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23112 #define $ac_func innocuous_$ac_func
23114 /* System header to define __stub macros and hopefully few prototypes,
23115 which can conflict with char $ac_func (); below.
23116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23117 <limits.h> exists even on freestanding compilers. */
23120 # include <limits.h>
23122 # include <assert.h>
23127 /* Override any gcc2 internal prototype to avoid an error. */
23132 /* We use char because int might match the return type of a gcc2
23133 builtin and then its argument prototype would still apply. */
23135 /* The GNU C library defines this for functions which it implements
23136 to always fail with ENOSYS. Some functions are actually named
23137 something starting with __ and the normal name is an alias. */
23138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23141 char (*f) () = $ac_func;
23150 return f != $ac_func;
23155 rm -f conftest.
$ac_objext conftest
$ac_exeext
23156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23157 (eval $ac_link) 2>conftest.er1
23159 grep -v '^ *+' conftest.er1
>conftest.err
23161 cat conftest.err
>&5
23162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23163 (exit $ac_status); } &&
23164 { ac_try
='test -z "$ac_c_werror_flag"
23165 || test ! -s conftest.err'
23166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23167 (eval $ac_try) 2>&5
23169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23170 (exit $ac_status); }; } &&
23171 { ac_try
='test -s conftest$ac_exeext'
23172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23173 (eval $ac_try) 2>&5
23175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23176 (exit $ac_status); }; }; then
23177 eval "$as_ac_var=yes"
23179 echo "$as_me: failed program was:" >&5
23180 sed 's/^/| /' conftest.
$ac_ext >&5
23182 eval "$as_ac_var=no"
23184 rm -f conftest.err conftest.
$ac_objext \
23185 conftest
$ac_exeext conftest.
$ac_ext
23187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23189 if test `eval echo '${'$as_ac_var'}'` = yes; then
23190 cat >>confdefs.h
<<_ACEOF
23191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23195 cat >>confdefs.h
<<\_ACEOF
23196 #define HAVE_GETHOSTNAME 1
23199 cat >conftest.
$ac_ext <<_ACEOF
23202 cat confdefs.h
>>conftest.
$ac_ext
23203 cat >>conftest.
$ac_ext <<_ACEOF
23204 /* end confdefs.h. */
23205 #include <unistd.h>
23208 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23209 $EGREP "gethostname" >/dev
/null
2>&1; then
23212 cat >>confdefs.h
<<\_ACEOF
23213 #define HAVE_GETHOSTNAME_DECL 1
23224 for ac_func
in usleep
23226 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23227 echo "$as_me:$LINENO: checking for $ac_func" >&5
23228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23229 if eval "test \"\${$as_ac_var+set}\" = set"; then
23230 echo $ECHO_N "(cached) $ECHO_C" >&6
23232 if test x
$gcc_no_link = xyes
; then
23233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23235 { (exit 1); exit 1; }; }
23237 cat >conftest.
$ac_ext <<_ACEOF
23240 cat confdefs.h
>>conftest.
$ac_ext
23241 cat >>conftest.
$ac_ext <<_ACEOF
23242 /* end confdefs.h. */
23243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23245 #define $ac_func innocuous_$ac_func
23247 /* System header to define __stub macros and hopefully few prototypes,
23248 which can conflict with char $ac_func (); below.
23249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23250 <limits.h> exists even on freestanding compilers. */
23253 # include <limits.h>
23255 # include <assert.h>
23260 /* Override any gcc2 internal prototype to avoid an error. */
23265 /* We use char because int might match the return type of a gcc2
23266 builtin and then its argument prototype would still apply. */
23268 /* The GNU C library defines this for functions which it implements
23269 to always fail with ENOSYS. Some functions are actually named
23270 something starting with __ and the normal name is an alias. */
23271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23274 char (*f) () = $ac_func;
23283 return f != $ac_func;
23288 rm -f conftest.
$ac_objext conftest
$ac_exeext
23289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23290 (eval $ac_link) 2>conftest.er1
23292 grep -v '^ *+' conftest.er1
>conftest.err
23294 cat conftest.err
>&5
23295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23296 (exit $ac_status); } &&
23297 { ac_try
='test -z "$ac_c_werror_flag"
23298 || test ! -s conftest.err'
23299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23300 (eval $ac_try) 2>&5
23302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23303 (exit $ac_status); }; } &&
23304 { ac_try
='test -s conftest$ac_exeext'
23305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23306 (eval $ac_try) 2>&5
23308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23309 (exit $ac_status); }; }; then
23310 eval "$as_ac_var=yes"
23312 echo "$as_me: failed program was:" >&5
23313 sed 's/^/| /' conftest.
$ac_ext >&5
23315 eval "$as_ac_var=no"
23317 rm -f conftest.err conftest.
$ac_objext \
23318 conftest
$ac_exeext conftest.
$ac_ext
23320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23322 if test `eval echo '${'$as_ac_var'}'` = yes; then
23323 cat >>confdefs.h
<<_ACEOF
23324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23327 cat >conftest.
$ac_ext <<_ACEOF
23330 cat confdefs.h
>>conftest.
$ac_ext
23331 cat >>conftest.
$ac_ext <<_ACEOF
23332 /* end confdefs.h. */
23333 #include <unistd.h>
23336 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23337 $EGREP "usleep" >/dev
/null
2>&1; then
23340 cat >>confdefs.h
<<\_ACEOF
23341 #define HAVE_USLEEP_DECL 1
23351 # Look for these functions in the thread library, but only bother
23352 # if using POSIX threads.
23353 if test "$THREADS" = posix
; then
23355 LIBS
="$LIBS $THREADLIBS"
23357 # Look for sched_yield. Up to Solaris 2.6, it is in libposix4, since
23358 # Solaris 7 the name librt is preferred.
23360 for ac_func
in sched_yield
23362 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23363 echo "$as_me:$LINENO: checking for $ac_func" >&5
23364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23365 if eval "test \"\${$as_ac_var+set}\" = set"; then
23366 echo $ECHO_N "(cached) $ECHO_C" >&6
23368 if test x
$gcc_no_link = xyes
; then
23369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23371 { (exit 1); exit 1; }; }
23373 cat >conftest.
$ac_ext <<_ACEOF
23376 cat confdefs.h
>>conftest.
$ac_ext
23377 cat >>conftest.
$ac_ext <<_ACEOF
23378 /* end confdefs.h. */
23379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23381 #define $ac_func innocuous_$ac_func
23383 /* System header to define __stub macros and hopefully few prototypes,
23384 which can conflict with char $ac_func (); below.
23385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23386 <limits.h> exists even on freestanding compilers. */
23389 # include <limits.h>
23391 # include <assert.h>
23396 /* Override any gcc2 internal prototype to avoid an error. */
23401 /* We use char because int might match the return type of a gcc2
23402 builtin and then its argument prototype would still apply. */
23404 /* The GNU C library defines this for functions which it implements
23405 to always fail with ENOSYS. Some functions are actually named
23406 something starting with __ and the normal name is an alias. */
23407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23410 char (*f) () = $ac_func;
23419 return f != $ac_func;
23424 rm -f conftest.
$ac_objext conftest
$ac_exeext
23425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23426 (eval $ac_link) 2>conftest.er1
23428 grep -v '^ *+' conftest.er1
>conftest.err
23430 cat conftest.err
>&5
23431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23432 (exit $ac_status); } &&
23433 { ac_try
='test -z "$ac_c_werror_flag"
23434 || test ! -s conftest.err'
23435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23436 (eval $ac_try) 2>&5
23438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23439 (exit $ac_status); }; } &&
23440 { ac_try
='test -s conftest$ac_exeext'
23441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23442 (eval $ac_try) 2>&5
23444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23445 (exit $ac_status); }; }; then
23446 eval "$as_ac_var=yes"
23448 echo "$as_me: failed program was:" >&5
23449 sed 's/^/| /' conftest.
$ac_ext >&5
23451 eval "$as_ac_var=no"
23453 rm -f conftest.err conftest.
$ac_objext \
23454 conftest
$ac_exeext conftest.
$ac_ext
23456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23458 if test `eval echo '${'$as_ac_var'}'` = yes; then
23459 cat >>confdefs.h
<<_ACEOF
23460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23465 echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5
23466 echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6
23467 if test "${ac_cv_lib_rt_sched_yield+set}" = set; then
23468 echo $ECHO_N "(cached) $ECHO_C" >&6
23470 ac_check_lib_save_LIBS
=$LIBS
23472 if test x
$gcc_no_link = xyes
; then
23473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23475 { (exit 1); exit 1; }; }
23477 cat >conftest.
$ac_ext <<_ACEOF
23480 cat confdefs.h
>>conftest.
$ac_ext
23481 cat >>conftest.
$ac_ext <<_ACEOF
23482 /* end confdefs.h. */
23484 /* Override any gcc2 internal prototype to avoid an error. */
23488 /* We use char because int might match the return type of a gcc2
23489 builtin and then its argument prototype would still apply. */
23490 char sched_yield ();
23499 rm -f conftest.
$ac_objext conftest
$ac_exeext
23500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23501 (eval $ac_link) 2>conftest.er1
23503 grep -v '^ *+' conftest.er1
>conftest.err
23505 cat conftest.err
>&5
23506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23507 (exit $ac_status); } &&
23508 { ac_try
='test -z "$ac_c_werror_flag"
23509 || test ! -s conftest.err'
23510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23511 (eval $ac_try) 2>&5
23513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23514 (exit $ac_status); }; } &&
23515 { ac_try
='test -s conftest$ac_exeext'
23516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23517 (eval $ac_try) 2>&5
23519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23520 (exit $ac_status); }; }; then
23521 ac_cv_lib_rt_sched_yield
=yes
23523 echo "$as_me: failed program was:" >&5
23524 sed 's/^/| /' conftest.
$ac_ext >&5
23526 ac_cv_lib_rt_sched_yield
=no
23528 rm -f conftest.err conftest.
$ac_objext \
23529 conftest
$ac_exeext conftest.
$ac_ext
23530 LIBS
=$ac_check_lib_save_LIBS
23532 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5
23533 echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6
23534 if test $ac_cv_lib_rt_sched_yield = yes; then
23536 cat >>confdefs.h
<<\_ACEOF
23537 #define HAVE_SCHED_YIELD 1
23540 THREADLIBS
="$THREADLIBS -lrt"
23541 THREADSPEC
="$THREADSPEC -lrt"
23544 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
23545 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
23546 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
23547 echo $ECHO_N "(cached) $ECHO_C" >&6
23549 ac_check_lib_save_LIBS
=$LIBS
23550 LIBS
="-lposix4 $LIBS"
23551 if test x
$gcc_no_link = xyes
; then
23552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23554 { (exit 1); exit 1; }; }
23556 cat >conftest.
$ac_ext <<_ACEOF
23559 cat confdefs.h
>>conftest.
$ac_ext
23560 cat >>conftest.
$ac_ext <<_ACEOF
23561 /* end confdefs.h. */
23563 /* Override any gcc2 internal prototype to avoid an error. */
23567 /* We use char because int might match the return type of a gcc2
23568 builtin and then its argument prototype would still apply. */
23569 char sched_yield ();
23578 rm -f conftest.
$ac_objext conftest
$ac_exeext
23579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23580 (eval $ac_link) 2>conftest.er1
23582 grep -v '^ *+' conftest.er1
>conftest.err
23584 cat conftest.err
>&5
23585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23586 (exit $ac_status); } &&
23587 { ac_try
='test -z "$ac_c_werror_flag"
23588 || test ! -s conftest.err'
23589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23590 (eval $ac_try) 2>&5
23592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23593 (exit $ac_status); }; } &&
23594 { ac_try
='test -s conftest$ac_exeext'
23595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23596 (eval $ac_try) 2>&5
23598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23599 (exit $ac_status); }; }; then
23600 ac_cv_lib_posix4_sched_yield
=yes
23602 echo "$as_me: failed program was:" >&5
23603 sed 's/^/| /' conftest.
$ac_ext >&5
23605 ac_cv_lib_posix4_sched_yield
=no
23607 rm -f conftest.err conftest.
$ac_objext \
23608 conftest
$ac_exeext conftest.
$ac_ext
23609 LIBS
=$ac_check_lib_save_LIBS
23611 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
23612 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
23613 if test $ac_cv_lib_posix4_sched_yield = yes; then
23615 cat >>confdefs.h
<<\_ACEOF
23616 #define HAVE_SCHED_YIELD 1
23619 THREADLIBS
="$THREADLIBS -lposix4"
23620 THREADSPEC
="$THREADSPEC -lposix4"
23629 echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
23630 echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6
23631 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
23632 echo $ECHO_N "(cached) $ECHO_C" >&6
23634 ac_check_lib_save_LIBS
=$LIBS
23636 if test x
$gcc_no_link = xyes
; then
23637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23639 { (exit 1); exit 1; }; }
23641 cat >conftest.
$ac_ext <<_ACEOF
23644 cat confdefs.h
>>conftest.
$ac_ext
23645 cat >>conftest.
$ac_ext <<_ACEOF
23646 /* end confdefs.h. */
23648 /* Override any gcc2 internal prototype to avoid an error. */
23652 /* We use char because int might match the return type of a gcc2
23653 builtin and then its argument prototype would still apply. */
23654 char clock_gettime ();
23663 rm -f conftest.
$ac_objext conftest
$ac_exeext
23664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23665 (eval $ac_link) 2>conftest.er1
23667 grep -v '^ *+' conftest.er1
>conftest.err
23669 cat conftest.err
>&5
23670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23671 (exit $ac_status); } &&
23672 { ac_try
='test -z "$ac_c_werror_flag"
23673 || test ! -s conftest.err'
23674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23675 (eval $ac_try) 2>&5
23677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23678 (exit $ac_status); }; } &&
23679 { ac_try
='test -s conftest$ac_exeext'
23680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23681 (eval $ac_try) 2>&5
23683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23684 (exit $ac_status); }; }; then
23685 ac_cv_lib_rt_clock_gettime
=yes
23687 echo "$as_me: failed program was:" >&5
23688 sed 's/^/| /' conftest.
$ac_ext >&5
23690 ac_cv_lib_rt_clock_gettime
=no
23692 rm -f conftest.err conftest.
$ac_objext \
23693 conftest
$ac_exeext conftest.
$ac_ext
23694 LIBS
=$ac_check_lib_save_LIBS
23696 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
23697 echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6
23698 if test $ac_cv_lib_rt_clock_gettime = yes; then
23701 cat >>confdefs.h
<<\_ACEOF
23702 #define HAVE_CLOCK_GETTIME 1
23705 case "$THREADSPEC" in
23708 THREADSPEC
="$THREADSPEC -lrt"
23709 THREADLIBS
="$THREADLIBS -lrt"
23717 # We can save a little space at runtime if the mutex has m_count
23718 # or __m_count. This is a nice hack for Linux.
23719 cat >conftest.
$ac_ext <<_ACEOF
23722 cat confdefs.h
>>conftest.
$ac_ext
23723 cat >>conftest.
$ac_ext <<_ACEOF
23724 /* end confdefs.h. */
23725 #include <pthread.h>
23730 extern pthread_mutex_t *mutex; int q = mutex->m_count;
23736 rm -f conftest.
$ac_objext
23737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23738 (eval $ac_compile) 2>conftest.er1
23740 grep -v '^ *+' conftest.er1
>conftest.err
23742 cat conftest.err
>&5
23743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23744 (exit $ac_status); } &&
23745 { ac_try
='test -z "$ac_c_werror_flag"
23746 || test ! -s conftest.err'
23747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23748 (eval $ac_try) 2>&5
23750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23751 (exit $ac_status); }; } &&
23752 { ac_try
='test -s conftest.$ac_objext'
23753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23754 (eval $ac_try) 2>&5
23756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23757 (exit $ac_status); }; }; then
23759 cat >>confdefs.h
<<\_ACEOF
23760 #define PTHREAD_MUTEX_HAVE_M_COUNT 1
23764 echo "$as_me: failed program was:" >&5
23765 sed 's/^/| /' conftest.
$ac_ext >&5
23768 cat >conftest.
$ac_ext <<_ACEOF
23771 cat confdefs.h
>>conftest.
$ac_ext
23772 cat >>conftest.
$ac_ext <<_ACEOF
23773 /* end confdefs.h. */
23774 #include <pthread.h>
23779 extern pthread_mutex_t *mutex; int q = mutex->__m_count;
23785 rm -f conftest.
$ac_objext
23786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23787 (eval $ac_compile) 2>conftest.er1
23789 grep -v '^ *+' conftest.er1
>conftest.err
23791 cat conftest.err
>&5
23792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23793 (exit $ac_status); } &&
23794 { ac_try
='test -z "$ac_c_werror_flag"
23795 || test ! -s conftest.err'
23796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23797 (eval $ac_try) 2>&5
23799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23800 (exit $ac_status); }; } &&
23801 { ac_try
='test -s conftest.$ac_objext'
23802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23803 (eval $ac_try) 2>&5
23805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23806 (exit $ac_status); }; }; then
23808 cat >>confdefs.h
<<\_ACEOF
23809 #define PTHREAD_MUTEX_HAVE___M_COUNT 1
23813 echo "$as_me: failed program was:" >&5
23814 sed 's/^/| /' conftest.
$ac_ext >&5
23817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23819 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23822 # We require a way to get the time.
23827 for ac_func
in gettimeofday
time ftime
23829 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23830 echo "$as_me:$LINENO: checking for $ac_func" >&5
23831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23832 if eval "test \"\${$as_ac_var+set}\" = set"; then
23833 echo $ECHO_N "(cached) $ECHO_C" >&6
23835 if test x
$gcc_no_link = xyes
; then
23836 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23838 { (exit 1); exit 1; }; }
23840 cat >conftest.
$ac_ext <<_ACEOF
23843 cat confdefs.h
>>conftest.
$ac_ext
23844 cat >>conftest.
$ac_ext <<_ACEOF
23845 /* end confdefs.h. */
23846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23848 #define $ac_func innocuous_$ac_func
23850 /* System header to define __stub macros and hopefully few prototypes,
23851 which can conflict with char $ac_func (); below.
23852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23853 <limits.h> exists even on freestanding compilers. */
23856 # include <limits.h>
23858 # include <assert.h>
23863 /* Override any gcc2 internal prototype to avoid an error. */
23868 /* We use char because int might match the return type of a gcc2
23869 builtin and then its argument prototype would still apply. */
23871 /* The GNU C library defines this for functions which it implements
23872 to always fail with ENOSYS. Some functions are actually named
23873 something starting with __ and the normal name is an alias. */
23874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23877 char (*f) () = $ac_func;
23886 return f != $ac_func;
23891 rm -f conftest.
$ac_objext conftest
$ac_exeext
23892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23893 (eval $ac_link) 2>conftest.er1
23895 grep -v '^ *+' conftest.er1
>conftest.err
23897 cat conftest.err
>&5
23898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23899 (exit $ac_status); } &&
23900 { ac_try
='test -z "$ac_c_werror_flag"
23901 || test ! -s conftest.err'
23902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23903 (eval $ac_try) 2>&5
23905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23906 (exit $ac_status); }; } &&
23907 { ac_try
='test -s conftest$ac_exeext'
23908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23909 (eval $ac_try) 2>&5
23911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23912 (exit $ac_status); }; }; then
23913 eval "$as_ac_var=yes"
23915 echo "$as_me: failed program was:" >&5
23916 sed 's/^/| /' conftest.
$ac_ext >&5
23918 eval "$as_ac_var=no"
23920 rm -f conftest.err conftest.
$ac_objext \
23921 conftest
$ac_exeext conftest.
$ac_ext
23923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23925 if test `eval echo '${'$as_ac_var'}'` = yes; then
23926 cat >>confdefs.h
<<_ACEOF
23927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23933 if test "$time_found" = no
; then
23934 { { echo "$as_me:$LINENO: error: no function found to get the time" >&5
23935 echo "$as_me: error: no function found to get the time" >&2;}
23936 { (exit 1); exit 1; }; }
23940 for ac_func
in memmove
23942 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23943 echo "$as_me:$LINENO: checking for $ac_func" >&5
23944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23945 if eval "test \"\${$as_ac_var+set}\" = set"; then
23946 echo $ECHO_N "(cached) $ECHO_C" >&6
23948 if test x
$gcc_no_link = xyes
; then
23949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23951 { (exit 1); exit 1; }; }
23953 cat >conftest.
$ac_ext <<_ACEOF
23956 cat confdefs.h
>>conftest.
$ac_ext
23957 cat >>conftest.
$ac_ext <<_ACEOF
23958 /* end confdefs.h. */
23959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23961 #define $ac_func innocuous_$ac_func
23963 /* System header to define __stub macros and hopefully few prototypes,
23964 which can conflict with char $ac_func (); below.
23965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23966 <limits.h> exists even on freestanding compilers. */
23969 # include <limits.h>
23971 # include <assert.h>
23976 /* Override any gcc2 internal prototype to avoid an error. */
23981 /* We use char because int might match the return type of a gcc2
23982 builtin and then its argument prototype would still apply. */
23984 /* The GNU C library defines this for functions which it implements
23985 to always fail with ENOSYS. Some functions are actually named
23986 something starting with __ and the normal name is an alias. */
23987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23990 char (*f) () = $ac_func;
23999 return f != $ac_func;
24004 rm -f conftest.
$ac_objext conftest
$ac_exeext
24005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24006 (eval $ac_link) 2>conftest.er1
24008 grep -v '^ *+' conftest.er1
>conftest.err
24010 cat conftest.err
>&5
24011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24012 (exit $ac_status); } &&
24013 { ac_try
='test -z "$ac_c_werror_flag"
24014 || test ! -s conftest.err'
24015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24016 (eval $ac_try) 2>&5
24018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24019 (exit $ac_status); }; } &&
24020 { ac_try
='test -s conftest$ac_exeext'
24021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24022 (eval $ac_try) 2>&5
24024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24025 (exit $ac_status); }; }; then
24026 eval "$as_ac_var=yes"
24028 echo "$as_me: failed program was:" >&5
24029 sed 's/^/| /' conftest.
$ac_ext >&5
24031 eval "$as_ac_var=no"
24033 rm -f conftest.err conftest.
$ac_objext \
24034 conftest
$ac_exeext conftest.
$ac_ext
24036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24038 if test `eval echo '${'$as_ac_var'}'` = yes; then
24039 cat >>confdefs.h
<<_ACEOF
24040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24047 # We require memcpy.
24050 for ac_func
in memcpy
24052 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24053 echo "$as_me:$LINENO: checking for $ac_func" >&5
24054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24055 if eval "test \"\${$as_ac_var+set}\" = set"; then
24056 echo $ECHO_N "(cached) $ECHO_C" >&6
24058 if test x
$gcc_no_link = xyes
; then
24059 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24061 { (exit 1); exit 1; }; }
24063 cat >conftest.
$ac_ext <<_ACEOF
24066 cat confdefs.h
>>conftest.
$ac_ext
24067 cat >>conftest.
$ac_ext <<_ACEOF
24068 /* end confdefs.h. */
24069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24071 #define $ac_func innocuous_$ac_func
24073 /* System header to define __stub macros and hopefully few prototypes,
24074 which can conflict with char $ac_func (); below.
24075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24076 <limits.h> exists even on freestanding compilers. */
24079 # include <limits.h>
24081 # include <assert.h>
24086 /* Override any gcc2 internal prototype to avoid an error. */
24091 /* We use char because int might match the return type of a gcc2
24092 builtin and then its argument prototype would still apply. */
24094 /* The GNU C library defines this for functions which it implements
24095 to always fail with ENOSYS. Some functions are actually named
24096 something starting with __ and the normal name is an alias. */
24097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24100 char (*f) () = $ac_func;
24109 return f != $ac_func;
24114 rm -f conftest.
$ac_objext conftest
$ac_exeext
24115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24116 (eval $ac_link) 2>conftest.er1
24118 grep -v '^ *+' conftest.er1
>conftest.err
24120 cat conftest.err
>&5
24121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24122 (exit $ac_status); } &&
24123 { ac_try
='test -z "$ac_c_werror_flag"
24124 || test ! -s conftest.err'
24125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24126 (eval $ac_try) 2>&5
24128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24129 (exit $ac_status); }; } &&
24130 { ac_try
='test -s conftest$ac_exeext'
24131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24132 (eval $ac_try) 2>&5
24134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24135 (exit $ac_status); }; }; then
24136 eval "$as_ac_var=yes"
24138 echo "$as_me: failed program was:" >&5
24139 sed 's/^/| /' conftest.
$ac_ext >&5
24141 eval "$as_ac_var=no"
24143 rm -f conftest.err conftest.
$ac_objext \
24144 conftest
$ac_exeext conftest.
$ac_ext
24146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24148 if test `eval echo '${'$as_ac_var'}'` = yes; then
24149 cat >>confdefs.h
<<_ACEOF
24150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24156 if test "$memcpy_found" = no
; then
24157 { { echo "$as_me:$LINENO: error: memcpy is required" >&5
24158 echo "$as_me: error: memcpy is required" >&2;}
24159 { (exit 1); exit 1; }; }
24161 # Do an additional check on dld, HP-UX for example has dlopen in libdld.sl
24162 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
24163 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
24164 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
24165 echo $ECHO_N "(cached) $ECHO_C" >&6
24167 ac_check_lib_save_LIBS
=$LIBS
24169 if test x
$gcc_no_link = xyes
; then
24170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24172 { (exit 1); exit 1; }; }
24174 cat >conftest.
$ac_ext <<_ACEOF
24177 cat confdefs.h
>>conftest.
$ac_ext
24178 cat >>conftest.
$ac_ext <<_ACEOF
24179 /* end confdefs.h. */
24181 /* Override any gcc2 internal prototype to avoid an error. */
24185 /* We use char because int might match the return type of a gcc2
24186 builtin and then its argument prototype would still apply. */
24196 rm -f conftest.
$ac_objext conftest
$ac_exeext
24197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24198 (eval $ac_link) 2>conftest.er1
24200 grep -v '^ *+' conftest.er1
>conftest.err
24202 cat conftest.err
>&5
24203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24204 (exit $ac_status); } &&
24205 { ac_try
='test -z "$ac_c_werror_flag"
24206 || test ! -s conftest.err'
24207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24208 (eval $ac_try) 2>&5
24210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24211 (exit $ac_status); }; } &&
24212 { ac_try
='test -s conftest$ac_exeext'
24213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24214 (eval $ac_try) 2>&5
24216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24217 (exit $ac_status); }; }; then
24218 ac_cv_lib_dl_dlopen
=yes
24220 echo "$as_me: failed program was:" >&5
24221 sed 's/^/| /' conftest.
$ac_ext >&5
24223 ac_cv_lib_dl_dlopen
=no
24225 rm -f conftest.err conftest.
$ac_objext \
24226 conftest
$ac_exeext conftest.
$ac_ext
24227 LIBS
=$ac_check_lib_save_LIBS
24229 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
24230 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
24231 if test $ac_cv_lib_dl_dlopen = yes; then
24234 cat >>confdefs.h
<<\_ACEOF
24235 #define HAVE_DLOPEN 1
24240 echo "$as_me:$LINENO: checking for dlopen in -ldld" >&5
24241 echo $ECHO_N "checking for dlopen in -ldld... $ECHO_C" >&6
24242 if test "${ac_cv_lib_dld_dlopen+set}" = set; then
24243 echo $ECHO_N "(cached) $ECHO_C" >&6
24245 ac_check_lib_save_LIBS
=$LIBS
24247 if test x
$gcc_no_link = xyes
; then
24248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24250 { (exit 1); exit 1; }; }
24252 cat >conftest.
$ac_ext <<_ACEOF
24255 cat confdefs.h
>>conftest.
$ac_ext
24256 cat >>conftest.
$ac_ext <<_ACEOF
24257 /* end confdefs.h. */
24259 /* Override any gcc2 internal prototype to avoid an error. */
24263 /* We use char because int might match the return type of a gcc2
24264 builtin and then its argument prototype would still apply. */
24274 rm -f conftest.
$ac_objext conftest
$ac_exeext
24275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24276 (eval $ac_link) 2>conftest.er1
24278 grep -v '^ *+' conftest.er1
>conftest.err
24280 cat conftest.err
>&5
24281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24282 (exit $ac_status); } &&
24283 { ac_try
='test -z "$ac_c_werror_flag"
24284 || test ! -s conftest.err'
24285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24286 (eval $ac_try) 2>&5
24288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24289 (exit $ac_status); }; } &&
24290 { ac_try
='test -s conftest$ac_exeext'
24291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24292 (eval $ac_try) 2>&5
24294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24295 (exit $ac_status); }; }; then
24296 ac_cv_lib_dld_dlopen
=yes
24298 echo "$as_me: failed program was:" >&5
24299 sed 's/^/| /' conftest.
$ac_ext >&5
24301 ac_cv_lib_dld_dlopen
=no
24303 rm -f conftest.err conftest.
$ac_objext \
24304 conftest
$ac_exeext conftest.
$ac_ext
24305 LIBS
=$ac_check_lib_save_LIBS
24307 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dlopen" >&5
24308 echo "${ECHO_T}$ac_cv_lib_dld_dlopen" >&6
24309 if test $ac_cv_lib_dld_dlopen = yes; then
24312 cat >>confdefs.h
<<\_ACEOF
24313 #define HAVE_DLOPEN 1
24321 # Some library-finding code we stole from Tcl.
24322 #--------------------------------------------------------------------
24323 # Check for the existence of the -lsocket and -lnsl libraries.
24324 # The order here is important, so that they end up in the right
24325 # order in the command line generated by make. Here are some
24326 # special considerations:
24327 # 1. Use "connect" and "accept" to check for -lsocket, and
24328 # "gethostbyname" to check for -lnsl.
24329 # 2. Use each function name only once: can't redo a check because
24330 # autoconf caches the results of the last check and won't redo it.
24331 # 3. Use -lnsl and -lsocket only if they supply procedures that
24332 # aren't already present in the normal libraries. This is because
24333 # IRIX 5.2 has libraries, but they aren't needed and they're
24334 # bogus: they goof up name resolution if used.
24335 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too.
24336 # To get around this problem, check for both libraries together
24337 # if -lsocket doesn't work by itself.
24338 #--------------------------------------------------------------------
24340 echo "$as_me:$LINENO: checking for socket libraries" >&5
24341 echo $ECHO_N "checking for socket libraries... $ECHO_C" >&6
24342 if test "${gcj_cv_lib_sockets+set}" = set; then
24343 echo $ECHO_N "(cached) $ECHO_C" >&6
24345 gcj_cv_lib_sockets
=
24347 unset ac_cv_func_connect
24348 echo "$as_me:$LINENO: checking for connect" >&5
24349 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24350 if test "${ac_cv_func_connect+set}" = set; then
24351 echo $ECHO_N "(cached) $ECHO_C" >&6
24353 if test x
$gcc_no_link = xyes
; then
24354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24356 { (exit 1); exit 1; }; }
24358 cat >conftest.
$ac_ext <<_ACEOF
24361 cat confdefs.h
>>conftest.
$ac_ext
24362 cat >>conftest.
$ac_ext <<_ACEOF
24363 /* end confdefs.h. */
24364 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24366 #define connect innocuous_connect
24368 /* System header to define __stub macros and hopefully few prototypes,
24369 which can conflict with char connect (); below.
24370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24371 <limits.h> exists even on freestanding compilers. */
24374 # include <limits.h>
24376 # include <assert.h>
24381 /* Override any gcc2 internal prototype to avoid an error. */
24386 /* We use char because int might match the return type of a gcc2
24387 builtin and then its argument prototype would still apply. */
24389 /* The GNU C library defines this for functions which it implements
24390 to always fail with ENOSYS. Some functions are actually named
24391 something starting with __ and the normal name is an alias. */
24392 #if defined (__stub_connect) || defined (__stub___connect)
24395 char (*f) () = connect;
24404 return f != connect;
24409 rm -f conftest.
$ac_objext conftest
$ac_exeext
24410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24411 (eval $ac_link) 2>conftest.er1
24413 grep -v '^ *+' conftest.er1
>conftest.err
24415 cat conftest.err
>&5
24416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24417 (exit $ac_status); } &&
24418 { ac_try
='test -z "$ac_c_werror_flag"
24419 || test ! -s conftest.err'
24420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24421 (eval $ac_try) 2>&5
24423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24424 (exit $ac_status); }; } &&
24425 { ac_try
='test -s conftest$ac_exeext'
24426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24427 (eval $ac_try) 2>&5
24429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24430 (exit $ac_status); }; }; then
24431 ac_cv_func_connect
=yes
24433 echo "$as_me: failed program was:" >&5
24434 sed 's/^/| /' conftest.
$ac_ext >&5
24436 ac_cv_func_connect
=no
24438 rm -f conftest.err conftest.
$ac_objext \
24439 conftest
$ac_exeext conftest.
$ac_ext
24441 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24442 echo "${ECHO_T}$ac_cv_func_connect" >&6
24443 if test $ac_cv_func_connect = yes; then
24449 if test "$gcj_checkSocket" = 1; then
24450 unset ac_cv_func_connect
24451 echo "$as_me:$LINENO: checking for main in -lsocket" >&5
24452 echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
24453 if test "${ac_cv_lib_socket_main+set}" = set; then
24454 echo $ECHO_N "(cached) $ECHO_C" >&6
24456 ac_check_lib_save_LIBS
=$LIBS
24457 LIBS
="-lsocket $LIBS"
24458 if test x
$gcc_no_link = xyes
; then
24459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24461 { (exit 1); exit 1; }; }
24463 cat >conftest.
$ac_ext <<_ACEOF
24466 cat confdefs.h
>>conftest.
$ac_ext
24467 cat >>conftest.
$ac_ext <<_ACEOF
24468 /* end confdefs.h. */
24479 rm -f conftest.
$ac_objext conftest
$ac_exeext
24480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24481 (eval $ac_link) 2>conftest.er1
24483 grep -v '^ *+' conftest.er1
>conftest.err
24485 cat conftest.err
>&5
24486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24487 (exit $ac_status); } &&
24488 { ac_try
='test -z "$ac_c_werror_flag"
24489 || test ! -s conftest.err'
24490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24491 (eval $ac_try) 2>&5
24493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24494 (exit $ac_status); }; } &&
24495 { ac_try
='test -s conftest$ac_exeext'
24496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24497 (eval $ac_try) 2>&5
24499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24500 (exit $ac_status); }; }; then
24501 ac_cv_lib_socket_main
=yes
24503 echo "$as_me: failed program was:" >&5
24504 sed 's/^/| /' conftest.
$ac_ext >&5
24506 ac_cv_lib_socket_main
=no
24508 rm -f conftest.err conftest.
$ac_objext \
24509 conftest
$ac_exeext conftest.
$ac_ext
24510 LIBS
=$ac_check_lib_save_LIBS
24512 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
24513 echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
24514 if test $ac_cv_lib_socket_main = yes; then
24515 gcj_cv_lib_sockets
="-lsocket"
24521 if test "$gcj_checkBoth" = 1; then
24523 LIBS
="$LIBS -lsocket -lnsl"
24524 unset ac_cv_func_accept
24525 echo "$as_me:$LINENO: checking for accept" >&5
24526 echo $ECHO_N "checking for accept... $ECHO_C" >&6
24527 if test "${ac_cv_func_accept+set}" = set; then
24528 echo $ECHO_N "(cached) $ECHO_C" >&6
24530 if test x
$gcc_no_link = xyes
; then
24531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24533 { (exit 1); exit 1; }; }
24535 cat >conftest.
$ac_ext <<_ACEOF
24538 cat confdefs.h
>>conftest.
$ac_ext
24539 cat >>conftest.
$ac_ext <<_ACEOF
24540 /* end confdefs.h. */
24541 /* Define accept to an innocuous variant, in case <limits.h> declares accept.
24542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24543 #define accept innocuous_accept
24545 /* System header to define __stub macros and hopefully few prototypes,
24546 which can conflict with char accept (); below.
24547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24548 <limits.h> exists even on freestanding compilers. */
24551 # include <limits.h>
24553 # include <assert.h>
24558 /* Override any gcc2 internal prototype to avoid an error. */
24563 /* We use char because int might match the return type of a gcc2
24564 builtin and then its argument prototype would still apply. */
24566 /* The GNU C library defines this for functions which it implements
24567 to always fail with ENOSYS. Some functions are actually named
24568 something starting with __ and the normal name is an alias. */
24569 #if defined (__stub_accept) || defined (__stub___accept)
24572 char (*f) () = accept;
24581 return f != accept;
24586 rm -f conftest.
$ac_objext conftest
$ac_exeext
24587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24588 (eval $ac_link) 2>conftest.er1
24590 grep -v '^ *+' conftest.er1
>conftest.err
24592 cat conftest.err
>&5
24593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24594 (exit $ac_status); } &&
24595 { ac_try
='test -z "$ac_c_werror_flag"
24596 || test ! -s conftest.err'
24597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24598 (eval $ac_try) 2>&5
24600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24601 (exit $ac_status); }; } &&
24602 { ac_try
='test -s conftest$ac_exeext'
24603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24604 (eval $ac_try) 2>&5
24606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24607 (exit $ac_status); }; }; then
24608 ac_cv_func_accept
=yes
24610 echo "$as_me: failed program was:" >&5
24611 sed 's/^/| /' conftest.
$ac_ext >&5
24613 ac_cv_func_accept
=no
24615 rm -f conftest.err conftest.
$ac_objext \
24616 conftest
$ac_exeext conftest.
$ac_ext
24618 echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5
24619 echo "${ECHO_T}$ac_cv_func_accept" >&6
24620 if test $ac_cv_func_accept = yes; then
24622 gcj_cv_lib_sockets
="-lsocket -lnsl"
24625 unset ac_cv_func_accept
24628 unset ac_cv_func_gethostbyname
24630 LIBS
="$LIBS $gcj_cv_lib_sockets"
24631 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24632 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24633 if test "${ac_cv_func_gethostbyname+set}" = set; then
24634 echo $ECHO_N "(cached) $ECHO_C" >&6
24636 if test x
$gcc_no_link = xyes
; then
24637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24639 { (exit 1); exit 1; }; }
24641 cat >conftest.
$ac_ext <<_ACEOF
24644 cat confdefs.h
>>conftest.
$ac_ext
24645 cat >>conftest.
$ac_ext <<_ACEOF
24646 /* end confdefs.h. */
24647 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24649 #define gethostbyname innocuous_gethostbyname
24651 /* System header to define __stub macros and hopefully few prototypes,
24652 which can conflict with char gethostbyname (); below.
24653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24654 <limits.h> exists even on freestanding compilers. */
24657 # include <limits.h>
24659 # include <assert.h>
24662 #undef gethostbyname
24664 /* Override any gcc2 internal prototype to avoid an error. */
24669 /* We use char because int might match the return type of a gcc2
24670 builtin and then its argument prototype would still apply. */
24671 char gethostbyname ();
24672 /* The GNU C library defines this for functions which it implements
24673 to always fail with ENOSYS. Some functions are actually named
24674 something starting with __ and the normal name is an alias. */
24675 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24678 char (*f) () = gethostbyname;
24687 return f != gethostbyname;
24692 rm -f conftest.
$ac_objext conftest
$ac_exeext
24693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24694 (eval $ac_link) 2>conftest.er1
24696 grep -v '^ *+' conftest.er1
>conftest.err
24698 cat conftest.err
>&5
24699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24700 (exit $ac_status); } &&
24701 { ac_try
='test -z "$ac_c_werror_flag"
24702 || test ! -s conftest.err'
24703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24704 (eval $ac_try) 2>&5
24706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24707 (exit $ac_status); }; } &&
24708 { ac_try
='test -s conftest$ac_exeext'
24709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24710 (eval $ac_try) 2>&5
24712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24713 (exit $ac_status); }; }; then
24714 ac_cv_func_gethostbyname
=yes
24716 echo "$as_me: failed program was:" >&5
24717 sed 's/^/| /' conftest.
$ac_ext >&5
24719 ac_cv_func_gethostbyname
=no
24721 rm -f conftest.err conftest.
$ac_objext \
24722 conftest
$ac_exeext conftest.
$ac_ext
24724 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24725 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24726 if test $ac_cv_func_gethostbyname = yes; then
24729 echo "$as_me:$LINENO: checking for main in -lnsl" >&5
24730 echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
24731 if test "${ac_cv_lib_nsl_main+set}" = set; then
24732 echo $ECHO_N "(cached) $ECHO_C" >&6
24734 ac_check_lib_save_LIBS
=$LIBS
24736 if test x
$gcc_no_link = xyes
; then
24737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24739 { (exit 1); exit 1; }; }
24741 cat >conftest.
$ac_ext <<_ACEOF
24744 cat confdefs.h
>>conftest.
$ac_ext
24745 cat >>conftest.
$ac_ext <<_ACEOF
24746 /* end confdefs.h. */
24757 rm -f conftest.
$ac_objext conftest
$ac_exeext
24758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24759 (eval $ac_link) 2>conftest.er1
24761 grep -v '^ *+' conftest.er1
>conftest.err
24763 cat conftest.err
>&5
24764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24765 (exit $ac_status); } &&
24766 { ac_try
='test -z "$ac_c_werror_flag"
24767 || test ! -s conftest.err'
24768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24769 (eval $ac_try) 2>&5
24771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24772 (exit $ac_status); }; } &&
24773 { ac_try
='test -s conftest$ac_exeext'
24774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24775 (eval $ac_try) 2>&5
24777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24778 (exit $ac_status); }; }; then
24779 ac_cv_lib_nsl_main
=yes
24781 echo "$as_me: failed program was:" >&5
24782 sed 's/^/| /' conftest.
$ac_ext >&5
24784 ac_cv_lib_nsl_main
=no
24786 rm -f conftest.err conftest.
$ac_objext \
24787 conftest
$ac_exeext conftest.
$ac_ext
24788 LIBS
=$ac_check_lib_save_LIBS
24790 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
24791 echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
24792 if test $ac_cv_lib_nsl_main = yes; then
24793 gcj_cv_lib_sockets
="$gcj_cv_lib_sockets -lnsl"
24798 unset ac_cv_func_gethostbyname
24802 echo "$as_me:$LINENO: result: $gcj_cv_lib_sockets" >&5
24803 echo "${ECHO_T}$gcj_cv_lib_sockets" >&6
24804 SYSTEMSPEC
="$SYSTEMSPEC $gcj_cv_lib_sockets"
24806 if test "$with_system_zlib" = yes; then
24807 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24808 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24809 if test "${ac_cv_lib_z_deflate+set}" = set; then
24810 echo $ECHO_N "(cached) $ECHO_C" >&6
24812 ac_check_lib_save_LIBS
=$LIBS
24814 if test x
$gcc_no_link = xyes
; then
24815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24817 { (exit 1); exit 1; }; }
24819 cat >conftest.
$ac_ext <<_ACEOF
24822 cat confdefs.h
>>conftest.
$ac_ext
24823 cat >>conftest.
$ac_ext <<_ACEOF
24824 /* end confdefs.h. */
24826 /* Override any gcc2 internal prototype to avoid an error. */
24830 /* We use char because int might match the return type of a gcc2
24831 builtin and then its argument prototype would still apply. */
24841 rm -f conftest.
$ac_objext conftest
$ac_exeext
24842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24843 (eval $ac_link) 2>conftest.er1
24845 grep -v '^ *+' conftest.er1
>conftest.err
24847 cat conftest.err
>&5
24848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24849 (exit $ac_status); } &&
24850 { ac_try
='test -z "$ac_c_werror_flag"
24851 || test ! -s conftest.err'
24852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24853 (eval $ac_try) 2>&5
24855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24856 (exit $ac_status); }; } &&
24857 { ac_try
='test -s conftest$ac_exeext'
24858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24859 (eval $ac_try) 2>&5
24861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24862 (exit $ac_status); }; }; then
24863 ac_cv_lib_z_deflate
=yes
24865 echo "$as_me: failed program was:" >&5
24866 sed 's/^/| /' conftest.
$ac_ext >&5
24868 ac_cv_lib_z_deflate
=no
24870 rm -f conftest.err conftest.
$ac_objext \
24871 conftest
$ac_exeext conftest.
$ac_ext
24872 LIBS
=$ac_check_lib_save_LIBS
24874 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24875 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24876 if test $ac_cv_lib_z_deflate = yes; then
24884 # Test for Gtk stuff, if asked for.
24885 if test "$use_gtk_awt" = yes; then
24889 if test -z "$PKG_CONFIG"; then
24890 # Extract the first word of "pkg-config", so it can be a program name with args.
24891 set dummy pkg-config
; ac_word
=$2
24892 echo "$as_me:$LINENO: checking for $ac_word" >&5
24893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24894 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24895 echo $ECHO_N "(cached) $ECHO_C" >&6
24897 case $PKG_CONFIG in
24899 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24903 for as_dir
in $PATH
24906 test -z "$as_dir" && as_dir
=.
24907 for ac_exec_ext
in '' $ac_executable_extensions; do
24908 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24909 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24916 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24920 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24922 if test -n "$PKG_CONFIG"; then
24923 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24924 echo "${ECHO_T}$PKG_CONFIG" >&6
24926 echo "$as_me:$LINENO: result: no" >&5
24927 echo "${ECHO_T}no" >&6
24932 if test "$PKG_CONFIG" = "no" ; then
24933 echo "*** The pkg-config script could not be found. Make sure it is"
24934 echo "*** in your path, or set the PKG_CONFIG environment variable"
24935 echo "*** to the full path to pkg-config."
24936 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24938 PKG_CONFIG_MIN_VERSION
=0.9.0
24939 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24940 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4" >&5
24941 echo $ECHO_N "checking for gtk+-2.0 >= 2.4... $ECHO_C" >&6
24943 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4" ; then
24944 echo "$as_me:$LINENO: result: yes" >&5
24945 echo "${ECHO_T}yes" >&6
24948 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
24949 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
24950 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4"`
24951 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
24952 echo "${ECHO_T}$GTK_CFLAGS" >&6
24954 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
24955 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
24956 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4"`
24957 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
24958 echo "${ECHO_T}$GTK_LIBS" >&6
24962 ## If we have a custom action on failure, don't print errors, but
24963 ## do set a variable so people can do so.
24964 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4"`
24965 echo $GTK_PKG_ERRORS
24971 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24972 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24976 if test $succeeded = yes; then
24979 { { echo "$as_me:$LINENO: error: Library requirements (gtk+-2.0 >= 2.4) 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
24980 echo "$as_me: error: Library requirements (gtk+-2.0 >= 2.4) 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;}
24981 { (exit 1); exit 1; }; }
24990 if test -z "$PKG_CONFIG"; then
24991 # Extract the first word of "pkg-config", so it can be a program name with args.
24992 set dummy pkg-config
; ac_word
=$2
24993 echo "$as_me:$LINENO: checking for $ac_word" >&5
24994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24995 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24996 echo $ECHO_N "(cached) $ECHO_C" >&6
24998 case $PKG_CONFIG in
25000 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25004 for as_dir
in $PATH
25007 test -z "$as_dir" && as_dir
=.
25008 for ac_exec_ext
in '' $ac_executable_extensions; do
25009 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25010 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25017 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25021 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25023 if test -n "$PKG_CONFIG"; then
25024 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25025 echo "${ECHO_T}$PKG_CONFIG" >&6
25027 echo "$as_me:$LINENO: result: no" >&5
25028 echo "${ECHO_T}no" >&6
25033 if test "$PKG_CONFIG" = "no" ; then
25034 echo "*** The pkg-config script could not be found. Make sure it is"
25035 echo "*** in your path, or set the PKG_CONFIG environment variable"
25036 echo "*** to the full path to pkg-config."
25037 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25039 PKG_CONFIG_MIN_VERSION
=0.9.0
25040 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25041 echo "$as_me:$LINENO: checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4" >&5
25042 echo $ECHO_N "checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... $ECHO_C" >&6
25044 if $PKG_CONFIG --exists "glib-2.0 >= 2.4 gthread-2.0 >= 2.4" ; then
25045 echo "$as_me:$LINENO: result: yes" >&5
25046 echo "${ECHO_T}yes" >&6
25049 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
25050 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
25051 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
25052 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
25053 echo "${ECHO_T}$GLIB_CFLAGS" >&6
25055 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
25056 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
25057 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
25058 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
25059 echo "${ECHO_T}$GLIB_LIBS" >&6
25063 ## If we have a custom action on failure, don't print errors, but
25064 ## do set a variable so people can do so.
25065 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
25066 echo $GLIB_PKG_ERRORS
25072 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25073 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25077 if test $succeeded = yes; then
25080 { { echo "$as_me:$LINENO: error: Library requirements (glib-2.0 >= 2.4 gthread-2.0 >= 2.4) 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
25081 echo "$as_me: error: Library requirements (glib-2.0 >= 2.4 gthread-2.0 >= 2.4) 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;}
25082 { (exit 1); exit 1; }; }
25091 if test -z "$PKG_CONFIG"; then
25092 # Extract the first word of "pkg-config", so it can be a program name with args.
25093 set dummy pkg-config
; ac_word
=$2
25094 echo "$as_me:$LINENO: checking for $ac_word" >&5
25095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25096 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25097 echo $ECHO_N "(cached) $ECHO_C" >&6
25099 case $PKG_CONFIG in
25101 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25105 for as_dir
in $PATH
25108 test -z "$as_dir" && as_dir
=.
25109 for ac_exec_ext
in '' $ac_executable_extensions; do
25110 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25111 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25118 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25122 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25124 if test -n "$PKG_CONFIG"; then
25125 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25126 echo "${ECHO_T}$PKG_CONFIG" >&6
25128 echo "$as_me:$LINENO: result: no" >&5
25129 echo "${ECHO_T}no" >&6
25134 if test "$PKG_CONFIG" = "no" ; then
25135 echo "*** The pkg-config script could not be found. Make sure it is"
25136 echo "*** in your path, or set the PKG_CONFIG environment variable"
25137 echo "*** to the full path to pkg-config."
25138 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25140 PKG_CONFIG_MIN_VERSION
=0.9.0
25141 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25142 echo "$as_me:$LINENO: checking for libart-2.0 >= 2.1" >&5
25143 echo $ECHO_N "checking for libart-2.0 >= 2.1... $ECHO_C" >&6
25145 if $PKG_CONFIG --exists "libart-2.0 >= 2.1" ; then
25146 echo "$as_me:$LINENO: result: yes" >&5
25147 echo "${ECHO_T}yes" >&6
25150 echo "$as_me:$LINENO: checking LIBART_CFLAGS" >&5
25151 echo $ECHO_N "checking LIBART_CFLAGS... $ECHO_C" >&6
25152 LIBART_CFLAGS
=`$PKG_CONFIG --cflags "libart-2.0 >= 2.1"`
25153 echo "$as_me:$LINENO: result: $LIBART_CFLAGS" >&5
25154 echo "${ECHO_T}$LIBART_CFLAGS" >&6
25156 echo "$as_me:$LINENO: checking LIBART_LIBS" >&5
25157 echo $ECHO_N "checking LIBART_LIBS... $ECHO_C" >&6
25158 LIBART_LIBS
=`$PKG_CONFIG --libs "libart-2.0 >= 2.1"`
25159 echo "$as_me:$LINENO: result: $LIBART_LIBS" >&5
25160 echo "${ECHO_T}$LIBART_LIBS" >&6
25164 ## If we have a custom action on failure, don't print errors, but
25165 ## do set a variable so people can do so.
25166 LIBART_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libart-2.0 >= 2.1"`
25167 echo $LIBART_PKG_ERRORS
25173 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25174 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25178 if test $succeeded = yes; then
25181 { { echo "$as_me:$LINENO: error: Library requirements (libart-2.0 >= 2.1) 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
25182 echo "$as_me: error: Library requirements (libart-2.0 >= 2.1) 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;}
25183 { (exit 1); exit 1; }; }
25189 # We require the XTest Extension to support java.awt.Robot.
25190 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
25191 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
25192 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
25193 echo $ECHO_N "(cached) $ECHO_C" >&6
25195 ac_check_lib_save_LIBS
=$LIBS
25196 LIBS
="-lXtst ${X_LIBS} $LIBS"
25197 if test x
$gcc_no_link = xyes
; then
25198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25200 { (exit 1); exit 1; }; }
25202 cat >conftest.
$ac_ext <<_ACEOF
25205 cat confdefs.h
>>conftest.
$ac_ext
25206 cat >>conftest.
$ac_ext <<_ACEOF
25207 /* end confdefs.h. */
25209 /* Override any gcc2 internal prototype to avoid an error. */
25213 /* We use char because int might match the return type of a gcc2
25214 builtin and then its argument prototype would still apply. */
25215 char XTestQueryExtension ();
25219 XTestQueryExtension ();
25224 rm -f conftest.
$ac_objext conftest
$ac_exeext
25225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25226 (eval $ac_link) 2>conftest.er1
25228 grep -v '^ *+' conftest.er1
>conftest.err
25230 cat conftest.err
>&5
25231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25232 (exit $ac_status); } &&
25233 { ac_try
='test -z "$ac_c_werror_flag"
25234 || test ! -s conftest.err'
25235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25236 (eval $ac_try) 2>&5
25238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25239 (exit $ac_status); }; } &&
25240 { ac_try
='test -s conftest$ac_exeext'
25241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25242 (eval $ac_try) 2>&5
25244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25245 (exit $ac_status); }; }; then
25246 ac_cv_lib_Xtst_XTestQueryExtension
=yes
25248 echo "$as_me: failed program was:" >&5
25249 sed 's/^/| /' conftest.
$ac_ext >&5
25251 ac_cv_lib_Xtst_XTestQueryExtension
=no
25253 rm -f conftest.err conftest.
$ac_objext \
25254 conftest
$ac_exeext conftest.
$ac_ext
25255 LIBS
=$ac_check_lib_save_LIBS
25257 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
25258 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
25259 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
25262 { { echo "$as_me:$LINENO: error: libXtst not found, required by java.awt.Robot" >&5
25263 echo "$as_me: error: libXtst not found, required by java.awt.Robot" >&2;}
25264 { (exit 1); exit 1; }; }
25269 # On Solaris, and maybe other architectures, the Boehm collector
25271 if test "$GC" = boehm
; then
25274 # IRIX 6 lacks a N64 libdl.so, but only the N32 (default multilib)
25275 # libgcj.spec is used, so override here
25276 SYSTEMSPEC
="$SYSTEMSPEC %{!mabi=64:-ldl}"
25279 echo "$as_me:$LINENO: checking for main in -ldl" >&5
25280 echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6
25281 if test "${ac_cv_lib_dl_main+set}" = set; then
25282 echo $ECHO_N "(cached) $ECHO_C" >&6
25284 ac_check_lib_save_LIBS
=$LIBS
25286 if test x
$gcc_no_link = xyes
; then
25287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25289 { (exit 1); exit 1; }; }
25291 cat >conftest.
$ac_ext <<_ACEOF
25294 cat confdefs.h
>>conftest.
$ac_ext
25295 cat >>conftest.
$ac_ext <<_ACEOF
25296 /* end confdefs.h. */
25307 rm -f conftest.
$ac_objext conftest
$ac_exeext
25308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25309 (eval $ac_link) 2>conftest.er1
25311 grep -v '^ *+' conftest.er1
>conftest.err
25313 cat conftest.err
>&5
25314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25315 (exit $ac_status); } &&
25316 { ac_try
='test -z "$ac_c_werror_flag"
25317 || test ! -s conftest.err'
25318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25319 (eval $ac_try) 2>&5
25321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25322 (exit $ac_status); }; } &&
25323 { ac_try
='test -s conftest$ac_exeext'
25324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25325 (eval $ac_try) 2>&5
25327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25328 (exit $ac_status); }; }; then
25329 ac_cv_lib_dl_main
=yes
25331 echo "$as_me: failed program was:" >&5
25332 sed 's/^/| /' conftest.
$ac_ext >&5
25334 ac_cv_lib_dl_main
=no
25336 rm -f conftest.err conftest.
$ac_objext \
25337 conftest
$ac_exeext conftest.
$ac_ext
25338 LIBS
=$ac_check_lib_save_LIBS
25340 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_main" >&5
25341 echo "${ECHO_T}$ac_cv_lib_dl_main" >&6
25342 if test $ac_cv_lib_dl_main = yes; then
25343 SYSTEMSPEC
="$SYSTEMSPEC -ldl"
25351 # Use a semicolon as CLASSPATH separator for MinGW, otherwise a colon.
25353 *-mingw32) CLASSPATH_SEPARATOR
=';' ;;
25354 *) CLASSPATH_SEPARATOR
=':' ;;
25358 # We must search the source tree for java.lang, since we still don't
25359 # have libgcj.jar nor java/lang/*.class
25360 GCJ_SAVE_CPPFLAGS
=$CPPFLAGS
25361 CPPFLAGS
="$CPPFLAGS -I`${PWDCMD-pwd}` -I`cd $srcdir && ${PWDCMD-pwd}`"
25363 # Since some classes depend on this one, we need its source available
25364 # before we can do any GCJ compilation test :-(
25365 if test ! -f gnu
/classpath
/Configuration.java
; then
25366 test -d gnu || mkdir gnu
25367 test -d gnu
/classpath || mkdir gnu
/classpath
25368 # Note that it is not crucial that all the values here be correct.
25369 sed -e "s,@prefix@,$prefix," \
25370 -e "s,@VERSION@,$VERSION," \
25371 -e "s,@LIBDEBUG@,false," \
25372 -e "s,@INIT_LOAD_LIBRARY@,false," \
25373 -e "s,@@,$LIBGCJDEBUG," \
25374 -e "s,@default_toolkit@,$TOOLKIT," \
25375 -e "s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,false," \
25376 -e "s,@GTK_CAIRO_ENABLED@,false," \
25377 -e "s,@ECJ_JAR@,," \
25378 < $srcdir/classpath
/gnu
/classpath
/Configuration.java.
in \
25379 > gnu
/classpath
/Configuration.java
25380 # We do not want to redirect the output of the grep below to /dev/null,
25381 # but we add /dev/null to the input list so that grep will print the
25382 # filename of Configuration.java in case it finds any matches.
25383 if grep '@.*@' gnu
/classpath
/Configuration.java
/dev
/null
; then
25384 { { echo "$as_me:$LINENO: error: configure.ac is missing the substitutions above" >&5
25385 echo "$as_me: error: configure.ac is missing the substitutions above" >&2;}
25386 { (exit 1); exit 1; }; }
25393 # Extract the first word of "$ac_prog", so it can be a program name with args.
25394 set dummy
$ac_prog; ac_word
=$2
25395 echo "$as_me:$LINENO: checking for $ac_word" >&5
25396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25397 if test "${ac_cv_prog_GCJ+set}" = set; then
25398 echo $ECHO_N "(cached) $ECHO_C" >&6
25400 if test -n "$GCJ"; then
25401 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
25403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25404 for as_dir
in $PATH
25407 test -z "$as_dir" && as_dir
=.
25408 for ac_exec_ext
in '' $ac_executable_extensions; do
25409 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25410 ac_cv_prog_GCJ
="$ac_prog"
25411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25419 GCJ
=$ac_cv_prog_GCJ
25420 if test -n "$GCJ"; then
25421 echo "$as_me:$LINENO: result: $GCJ" >&5
25422 echo "${ECHO_T}$GCJ" >&6
25424 echo "$as_me:$LINENO: result: no" >&5
25425 echo "${ECHO_T}no" >&6
25428 test -n "$GCJ" && break
25430 test -n "$GCJ" || GCJ
="gcj"
25432 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
25433 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
25434 { (exit 1); exit 1; }; }
25435 if test "x${GCJFLAGS-unset}" = xunset
; then
25440 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
25442 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
25443 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
25444 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
25445 echo $ECHO_N "(cached) $ECHO_C" >&6
25447 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
25448 # We make a subdir and do the tests there. Otherwise we can end up
25449 # making bogus files that we don't know about and never remove. For
25450 # instance it was reported that on HP-UX the gcc test will end up
25451 # making a dummy file named `D' -- because `-MD' means `put the output
25454 # Copy depcomp to subdir because otherwise we won't find it if we're
25455 # using a relative directory.
25456 cp "$am_depcomp" conftest.dir
25458 # We will build objects and dependencies in a subdirectory because
25459 # it helps to detect inapplicable dependency modes. For instance
25460 # both Tru64's cc and ICC support -MD to output dependencies as a
25461 # side effect of compilation, but ICC will put the dependencies in
25462 # the current directory while Tru64 will put them in the object
25466 am_cv_GCJ_dependencies_compiler_type
=none
25467 if test "$am_compiler_list" = ""; then
25468 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
25470 for depmode
in $am_compiler_list; do
25471 # Setup a source with many dependencies, because some compilers
25472 # like to wrap large dependency lists on column 80 (with \), and
25473 # we should not choose a depcomp mode which is confused by this.
25475 # We need to recreate these files for each test, as the compiler may
25476 # overwrite some of them when testing with obscure command lines.
25477 # This happens at least with the AIX C compiler.
25479 for i
in 1 2 3 4 5 6; do
25480 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
25481 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
25482 # Solaris 8's {/usr,}/bin/sh.
25483 touch sub
/conftst
$i.h
25485 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
25489 # after this tag, mechanisms are not by side-effect, so they'll
25490 # only be used when explicitly requested
25491 if test "x$enable_dependency_tracking" = xyes
; then
25499 # We check with `-c' and `-o' for the sake of the "dashmstdout"
25500 # mode. It turns out that the SunPro C++ compiler does not properly
25501 # handle `-M -o', and we need to detect this.
25502 if depmode
=$depmode \
25503 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
25504 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
25505 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
25506 >/dev
/null
2>conftest.err
&&
25507 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
25508 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
25509 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
25510 # icc doesn't choke on unknown options, it will just issue warnings
25511 # or remarks (even with -Werror). So we grep stderr for any message
25512 # that says an option was ignored or not supported.
25513 # When given -MP, icc 7.0 and 7.1 complain thusly:
25514 # icc: Command line warning: ignoring option '-M'; no argument required
25515 # The diagnosis changed in icc 8.0:
25516 # icc: Command line remark: option '-MP' not supported
25517 if (grep 'ignoring option' conftest.err ||
25518 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
25519 am_cv_GCJ_dependencies_compiler_type
=$depmode
25526 rm -rf conftest.dir
25528 am_cv_GCJ_dependencies_compiler_type
=none
25532 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
25533 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
25534 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
25539 test "x$enable_dependency_tracking" != xno \
25540 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
25541 am__fastdepGCJ_TRUE
=
25542 am__fastdepGCJ_FALSE
='#'
25544 am__fastdepGCJ_TRUE
='#'
25545 am__fastdepGCJ_FALSE
=
25552 rm -f gnu
/classpath
/Configuration.java
25554 CPPFLAGS
=$GCJ_SAVE_CPPFLAGS
25556 echo "$as_me:$LINENO: checking for void *" >&5
25557 echo $ECHO_N "checking for void *... $ECHO_C" >&6
25558 if test "${ac_cv_type_void_p+set}" = set; then
25559 echo $ECHO_N "(cached) $ECHO_C" >&6
25561 cat >conftest.
$ac_ext <<_ACEOF
25564 cat confdefs.h
>>conftest.
$ac_ext
25565 cat >>conftest.
$ac_ext <<_ACEOF
25566 /* end confdefs.h. */
25567 $ac_includes_default
25573 if (sizeof (void *))
25579 rm -f conftest.
$ac_objext
25580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25581 (eval $ac_compile) 2>conftest.er1
25583 grep -v '^ *+' conftest.er1
>conftest.err
25585 cat conftest.err
>&5
25586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25587 (exit $ac_status); } &&
25588 { ac_try
='test -z "$ac_c_werror_flag"
25589 || test ! -s conftest.err'
25590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25591 (eval $ac_try) 2>&5
25593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25594 (exit $ac_status); }; } &&
25595 { ac_try
='test -s conftest.$ac_objext'
25596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25597 (eval $ac_try) 2>&5
25599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25600 (exit $ac_status); }; }; then
25601 ac_cv_type_void_p
=yes
25603 echo "$as_me: failed program was:" >&5
25604 sed 's/^/| /' conftest.
$ac_ext >&5
25606 ac_cv_type_void_p
=no
25608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25610 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
25611 echo "${ECHO_T}$ac_cv_type_void_p" >&6
25613 echo "$as_me:$LINENO: checking size of void *" >&5
25614 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
25615 if test "${ac_cv_sizeof_void_p+set}" = set; then
25616 echo $ECHO_N "(cached) $ECHO_C" >&6
25618 if test "$ac_cv_type_void_p" = yes; then
25619 # The cast to unsigned long works around a bug in the HP C Compiler
25620 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25621 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25622 # This bug is HP SR number 8606223364.
25623 if test "$cross_compiling" = yes; then
25624 # Depending upon the size, compute the lo and hi bounds.
25625 cat >conftest.
$ac_ext <<_ACEOF
25628 cat confdefs.h
>>conftest.
$ac_ext
25629 cat >>conftest.
$ac_ext <<_ACEOF
25630 /* end confdefs.h. */
25631 $ac_includes_default
25635 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
25642 rm -f conftest.
$ac_objext
25643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25644 (eval $ac_compile) 2>conftest.er1
25646 grep -v '^ *+' conftest.er1
>conftest.err
25648 cat conftest.err
>&5
25649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25650 (exit $ac_status); } &&
25651 { ac_try
='test -z "$ac_c_werror_flag"
25652 || test ! -s conftest.err'
25653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25654 (eval $ac_try) 2>&5
25656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25657 (exit $ac_status); }; } &&
25658 { ac_try
='test -s conftest.$ac_objext'
25659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25660 (eval $ac_try) 2>&5
25662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25663 (exit $ac_status); }; }; then
25666 cat >conftest.
$ac_ext <<_ACEOF
25669 cat confdefs.h
>>conftest.
$ac_ext
25670 cat >>conftest.
$ac_ext <<_ACEOF
25671 /* end confdefs.h. */
25672 $ac_includes_default
25676 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
25683 rm -f conftest.
$ac_objext
25684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25685 (eval $ac_compile) 2>conftest.er1
25687 grep -v '^ *+' conftest.er1
>conftest.err
25689 cat conftest.err
>&5
25690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25691 (exit $ac_status); } &&
25692 { ac_try
='test -z "$ac_c_werror_flag"
25693 || test ! -s conftest.err'
25694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25695 (eval $ac_try) 2>&5
25697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25698 (exit $ac_status); }; } &&
25699 { ac_try
='test -s conftest.$ac_objext'
25700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25701 (eval $ac_try) 2>&5
25703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25704 (exit $ac_status); }; }; then
25705 ac_hi
=$ac_mid; break
25707 echo "$as_me: failed program was:" >&5
25708 sed 's/^/| /' conftest.
$ac_ext >&5
25710 ac_lo
=`expr $ac_mid + 1`
25711 if test $ac_lo -le $ac_mid; then
25715 ac_mid
=`expr 2 '*' $ac_mid + 1`
25717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25720 echo "$as_me: failed program was:" >&5
25721 sed 's/^/| /' conftest.
$ac_ext >&5
25723 cat >conftest.
$ac_ext <<_ACEOF
25726 cat confdefs.h
>>conftest.
$ac_ext
25727 cat >>conftest.
$ac_ext <<_ACEOF
25728 /* end confdefs.h. */
25729 $ac_includes_default
25733 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
25740 rm -f conftest.
$ac_objext
25741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25742 (eval $ac_compile) 2>conftest.er1
25744 grep -v '^ *+' conftest.er1
>conftest.err
25746 cat conftest.err
>&5
25747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25748 (exit $ac_status); } &&
25749 { ac_try
='test -z "$ac_c_werror_flag"
25750 || test ! -s conftest.err'
25751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25752 (eval $ac_try) 2>&5
25754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25755 (exit $ac_status); }; } &&
25756 { ac_try
='test -s conftest.$ac_objext'
25757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25758 (eval $ac_try) 2>&5
25760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25761 (exit $ac_status); }; }; then
25764 cat >conftest.
$ac_ext <<_ACEOF
25767 cat confdefs.h
>>conftest.
$ac_ext
25768 cat >>conftest.
$ac_ext <<_ACEOF
25769 /* end confdefs.h. */
25770 $ac_includes_default
25774 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
25781 rm -f conftest.
$ac_objext
25782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25783 (eval $ac_compile) 2>conftest.er1
25785 grep -v '^ *+' conftest.er1
>conftest.err
25787 cat conftest.err
>&5
25788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25789 (exit $ac_status); } &&
25790 { ac_try
='test -z "$ac_c_werror_flag"
25791 || test ! -s conftest.err'
25792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25793 (eval $ac_try) 2>&5
25795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25796 (exit $ac_status); }; } &&
25797 { ac_try
='test -s conftest.$ac_objext'
25798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25799 (eval $ac_try) 2>&5
25801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25802 (exit $ac_status); }; }; then
25803 ac_lo
=$ac_mid; break
25805 echo "$as_me: failed program was:" >&5
25806 sed 's/^/| /' conftest.
$ac_ext >&5
25808 ac_hi
=`expr '(' $ac_mid ')' - 1`
25809 if test $ac_mid -le $ac_hi; then
25813 ac_mid
=`expr 2 '*' $ac_mid`
25815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25818 echo "$as_me: failed program was:" >&5
25819 sed 's/^/| /' conftest.
$ac_ext >&5
25823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25826 # Binary search between lo and hi bounds.
25827 while test "x$ac_lo" != "x$ac_hi"; do
25828 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25829 cat >conftest.
$ac_ext <<_ACEOF
25832 cat confdefs.h
>>conftest.
$ac_ext
25833 cat >>conftest.
$ac_ext <<_ACEOF
25834 /* end confdefs.h. */
25835 $ac_includes_default
25839 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
25846 rm -f conftest.
$ac_objext
25847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25848 (eval $ac_compile) 2>conftest.er1
25850 grep -v '^ *+' conftest.er1
>conftest.err
25852 cat conftest.err
>&5
25853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25854 (exit $ac_status); } &&
25855 { ac_try
='test -z "$ac_c_werror_flag"
25856 || test ! -s conftest.err'
25857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25858 (eval $ac_try) 2>&5
25860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25861 (exit $ac_status); }; } &&
25862 { ac_try
='test -s conftest.$ac_objext'
25863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25864 (eval $ac_try) 2>&5
25866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25867 (exit $ac_status); }; }; then
25870 echo "$as_me: failed program was:" >&5
25871 sed 's/^/| /' conftest.
$ac_ext >&5
25873 ac_lo
=`expr '(' $ac_mid ')' + 1`
25875 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25878 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
25879 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
25880 echo "$as_me: error: in \`$ac_pwd':" >&2;}
25881 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
25882 See \`config.log' for more details." >&5
25883 echo "$as_me: error: cannot compute sizeof (void *), 77
25884 See \`config.log' for more details." >&2;}
25885 { (exit 1); exit 1; }; }; } ;;
25888 if test "$cross_compiling" = yes; then
25889 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
25890 echo "$as_me: error: in \`$ac_pwd':" >&2;}
25891 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25892 See \`config.log' for more details." >&5
25893 echo "$as_me: error: cannot run test program while cross compiling
25894 See \`config.log' for more details." >&2;}
25895 { (exit 1); exit 1; }; }; }
25897 cat >conftest.
$ac_ext <<_ACEOF
25900 cat confdefs.h
>>conftest.
$ac_ext
25901 cat >>conftest.
$ac_ext <<_ACEOF
25902 /* end confdefs.h. */
25903 $ac_includes_default
25904 long longval () { return (long) (sizeof (void *)); }
25905 unsigned long ulongval () { return (long) (sizeof (void *)); }
25907 #include <stdlib.h>
25912 FILE *f = fopen ("conftest.val", "w");
25915 if (((long) (sizeof (void *))) < 0)
25917 long i = longval ();
25918 if (i != ((long) (sizeof (void *))))
25920 fprintf (f, "%ld\n", i);
25924 unsigned long i = ulongval ();
25925 if (i != ((long) (sizeof (void *))))
25927 fprintf (f, "%lu\n", i);
25929 exit (ferror (f) || fclose (f) != 0);
25935 rm -f conftest
$ac_exeext
25936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25937 (eval $ac_link) 2>&5
25939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25940 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25942 (eval $ac_try) 2>&5
25944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25945 (exit $ac_status); }; }; then
25946 ac_cv_sizeof_void_p
=`cat conftest.val`
25948 echo "$as_me: program exited with status $ac_status" >&5
25949 echo "$as_me: failed program was:" >&5
25950 sed 's/^/| /' conftest.
$ac_ext >&5
25952 ( exit $ac_status )
25953 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
25954 echo "$as_me: error: in \`$ac_pwd':" >&2;}
25955 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
25956 See \`config.log' for more details." >&5
25957 echo "$as_me: error: cannot compute sizeof (void *), 77
25958 See \`config.log' for more details." >&2;}
25959 { (exit 1); exit 1; }; }; }
25961 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25966 ac_cv_sizeof_void_p
=0
25969 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
25970 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
25971 cat >>confdefs.h
<<_ACEOF
25972 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
25977 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25978 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
25979 if test "${ac_cv_c_bigendian+set}" = set; then
25980 echo $ECHO_N "(cached) $ECHO_C" >&6
25982 # See if sys/param.h defines the BYTE_ORDER macro.
25983 cat >conftest.
$ac_ext <<_ACEOF
25986 cat confdefs.h
>>conftest.
$ac_ext
25987 cat >>conftest.
$ac_ext <<_ACEOF
25988 /* end confdefs.h. */
25989 #include <sys/types.h>
25990 #include <sys/param.h>
25995 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25996 bogus endian macros
26003 rm -f conftest.
$ac_objext
26004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26005 (eval $ac_compile) 2>conftest.er1
26007 grep -v '^ *+' conftest.er1
>conftest.err
26009 cat conftest.err
>&5
26010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26011 (exit $ac_status); } &&
26012 { ac_try
='test -z "$ac_c_werror_flag"
26013 || test ! -s conftest.err'
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); }; } &&
26019 { ac_try
='test -s conftest.$ac_objext'
26020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26021 (eval $ac_try) 2>&5
26023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26024 (exit $ac_status); }; }; then
26025 # It does; now see whether it defined to BIG_ENDIAN or not.
26026 cat >conftest.
$ac_ext <<_ACEOF
26029 cat confdefs.h
>>conftest.
$ac_ext
26030 cat >>conftest.
$ac_ext <<_ACEOF
26031 /* end confdefs.h. */
26032 #include <sys/types.h>
26033 #include <sys/param.h>
26038 #if BYTE_ORDER != BIG_ENDIAN
26046 rm -f conftest.
$ac_objext
26047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26048 (eval $ac_compile) 2>conftest.er1
26050 grep -v '^ *+' conftest.er1
>conftest.err
26052 cat conftest.err
>&5
26053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26054 (exit $ac_status); } &&
26055 { ac_try
='test -z "$ac_c_werror_flag"
26056 || test ! -s conftest.err'
26057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26058 (eval $ac_try) 2>&5
26060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26061 (exit $ac_status); }; } &&
26062 { ac_try
='test -s conftest.$ac_objext'
26063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26064 (eval $ac_try) 2>&5
26066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26067 (exit $ac_status); }; }; then
26068 ac_cv_c_bigendian
=yes
26070 echo "$as_me: failed program was:" >&5
26071 sed 's/^/| /' conftest.
$ac_ext >&5
26073 ac_cv_c_bigendian
=no
26075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26077 echo "$as_me: failed program was:" >&5
26078 sed 's/^/| /' conftest.
$ac_ext >&5
26080 # It does not; compile a test program.
26081 if test "$cross_compiling" = yes; then
26082 # try to guess the endianness by grepping values into an object file
26083 ac_cv_c_bigendian
=unknown
26084 cat >conftest.
$ac_ext <<_ACEOF
26087 cat confdefs.h
>>conftest.
$ac_ext
26088 cat >>conftest.
$ac_ext <<_ACEOF
26089 /* end confdefs.h. */
26090 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
26091 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
26092 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
26093 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
26094 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
26095 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
26099 _ascii (); _ebcdic ();
26104 rm -f conftest.
$ac_objext
26105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26106 (eval $ac_compile) 2>conftest.er1
26108 grep -v '^ *+' conftest.er1
>conftest.err
26110 cat conftest.err
>&5
26111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26112 (exit $ac_status); } &&
26113 { ac_try
='test -z "$ac_c_werror_flag"
26114 || test ! -s conftest.err'
26115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26116 (eval $ac_try) 2>&5
26118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26119 (exit $ac_status); }; } &&
26120 { ac_try
='test -s conftest.$ac_objext'
26121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26122 (eval $ac_try) 2>&5
26124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26125 (exit $ac_status); }; }; then
26126 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
26127 ac_cv_c_bigendian
=yes
26129 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
26130 if test "$ac_cv_c_bigendian" = unknown
; then
26131 ac_cv_c_bigendian
=no
26133 # finding both strings is unlikely to happen, but who knows?
26134 ac_cv_c_bigendian
=unknown
26138 echo "$as_me: failed program was:" >&5
26139 sed 's/^/| /' conftest.
$ac_ext >&5
26142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26144 cat >conftest.
$ac_ext <<_ACEOF
26147 cat confdefs.h
>>conftest.
$ac_ext
26148 cat >>conftest.
$ac_ext <<_ACEOF
26149 /* end confdefs.h. */
26153 /* Are we little or big endian? From Harbison&Steele. */
26157 char c[sizeof (long)];
26160 exit (u.c[sizeof (long) - 1] == 1);
26163 rm -f conftest
$ac_exeext
26164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26165 (eval $ac_link) 2>&5
26167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26168 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26170 (eval $ac_try) 2>&5
26172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26173 (exit $ac_status); }; }; then
26174 ac_cv_c_bigendian
=no
26176 echo "$as_me: program exited with status $ac_status" >&5
26177 echo "$as_me: failed program was:" >&5
26178 sed 's/^/| /' conftest.
$ac_ext >&5
26180 ( exit $ac_status )
26181 ac_cv_c_bigendian
=yes
26183 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26188 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26189 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
26190 case $ac_cv_c_bigendian in
26193 cat >>confdefs.h
<<\_ACEOF
26194 #define WORDS_BIGENDIAN 1
26200 { { echo "$as_me:$LINENO: error: unknown endianness
26201 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
26202 echo "$as_me: error: unknown endianness
26203 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
26204 { (exit 1); exit 1; }; } ;;
26212 if test -z "$ZLIBSPEC"; then
26213 # Use zlib from the GCC tree.
26214 ZINCS
='-I$(top_srcdir)/../zlib'
26215 ZLIBS
=..
/zlib
/libzgcj_convenience.la
26218 SYS_ZLIBS
="$ZLIBSPEC"
26231 if test "$NATIVE" = yes; then
26241 if test "$enable_shared" = yes; then
26242 ENABLE_SHARED_TRUE
=
26243 ENABLE_SHARED_FALSE
='#'
26245 ENABLE_SHARED_TRUE
='#'
26246 ENABLE_SHARED_FALSE
=
26251 if test "$NEEDS_DATA_START" = yes && test "$NATIVE" = yes; then
26252 NEEDS_DATA_START_TRUE
=
26253 NEEDS_DATA_START_FALSE
='#'
26255 NEEDS_DATA_START_TRUE
='#'
26256 NEEDS_DATA_START_FALSE
=
26261 # Process the option "--enable-version-specific-runtime-libs"
26262 # Calculate toolexeclibdir
26263 case ${version_specific_libs} in
26265 # Need the gcc compiler version to know where to install libraries
26266 # and header files if --enable-version-specific-runtime-libs option
26268 includedir
='$(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/include/'
26269 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
26270 toolexecmainlibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
26271 toolexeclibdir
=$toolexecmainlibdir
26274 if test -n "$with_cross_host" &&
26275 test x
"$with_cross_host" != x
"no"; then
26276 # Install a library built with a cross compiler in tooldir, not libdir.
26277 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
26278 toolexecmainlibdir
='$(toolexecdir)/lib'
26280 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
26281 toolexecmainlibdir
='$(libdir)'
26283 multi_os_directory
=`$CC -print-multi-os-directory`
26284 case $multi_os_directory in
26285 .
) toolexeclibdir
=$toolexecmainlibdir ;; # Avoid trailing /.
26286 *) toolexeclibdir
=$toolexecmainlibdir/$multi_os_directory ;;
26294 # Determine gcj and libgcj version number.
26295 gcjversion
=`cat "$srcdir/../gcc/BASE-VER"`
26296 libgcj_soversion
=`awk -F: '/^[^#].*:/ { print $1 }' $srcdir/libtool-version`
26297 GCJVERSION
=$gcjversion
26300 cat >>confdefs.h
<<_ACEOF
26301 #define GCJVERSION "$GCJVERSION"
26305 # Determine where the standard .db file and GNU Classpath JNI
26306 # libraries are found.
26307 gcjsubdir
=gcj-
$gcjversion-$libgcj_soversion
26308 multi_os_directory
=`$CC -print-multi-os-directory`
26309 case $multi_os_directory in
26311 dbexecdir
='$(libdir)/'$gcjsubdir # Avoid /.
26314 dbexecdir
='$(libdir)/'$multi_os_directory/$gcjsubdir
26321 cat >>confdefs.h
<<\_ACEOF
26322 #define JV_VERSION "1.5.0"
26326 cat >>confdefs.h
<<\_ACEOF
26327 #define JV_API_VERSION "1.5"
26332 case "${with_gxx_include_dir}" in
26334 { { echo "$as_me:$LINENO: error: --with-gxx-include-dir=[dir] requires a directory" >&5
26335 echo "$as_me: error: --with-gxx-include-dir=[dir] requires a directory" >&2;}
26336 { (exit 1); exit 1; }; }
26339 case "${enable_version_specific_runtime_libs}" in
26340 yes) gxx_include_dir
='$(libsubdir)/include/c++' ;;
26342 libstdcxx_incdir
='c++/$(gcc_version)'
26343 gxx_include_dir
='include/$(libstdcxx_incdir)'
26344 if test -n "$with_cross_host" &&
26345 test x
"$with_cross_host" != x
"no"; then
26346 gxx_include_dir
='${prefix}/${target_alias}/'"$gxx_include_dir"
26348 gxx_include_dir
='${prefix}/'"$gxx_include_dir"
26351 *) gxx_include_dir
=${with_gxx_include_dir} ;;
26357 # We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
26358 # On that system, sys/ioctl.h will not include sys/filio.h unless
26359 # BSD_COMP is defined; just including sys/filio.h is simpler.
26360 # We avoid AC_HEADER_DIRENT since we really only care about dirent.h
26361 # for now. If you change this, you also must update natFile.cc.
26385 for ac_header
in unistd.h bstring.h sys
/time.h sys
/types.h fcntl.h \
26386 sys
/ioctl.h sys
/filio.h sys
/stat.h sys
/select.h \
26387 sys
/socket.h netinet
/in.h arpa
/inet.h netdb.h net
/if.h \
26388 pwd.h sys
/config.h stdint.h langinfo.h locale.h \
26389 dirent.h sys
/rw_lock.h magic.h ifaddrs.h
26391 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26392 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26393 echo "$as_me:$LINENO: checking for $ac_header" >&5
26394 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26395 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26396 echo $ECHO_N "(cached) $ECHO_C" >&6
26398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26399 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26401 # Is the header compilable?
26402 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26403 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26404 cat >conftest.
$ac_ext <<_ACEOF
26407 cat confdefs.h
>>conftest.
$ac_ext
26408 cat >>conftest.
$ac_ext <<_ACEOF
26409 /* end confdefs.h. */
26410 $ac_includes_default
26411 #include <$ac_header>
26413 rm -f conftest.
$ac_objext
26414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26415 (eval $ac_compile) 2>conftest.er1
26417 grep -v '^ *+' conftest.er1
>conftest.err
26419 cat conftest.err
>&5
26420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26421 (exit $ac_status); } &&
26422 { ac_try
='test -z "$ac_c_werror_flag"
26423 || test ! -s conftest.err'
26424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26425 (eval $ac_try) 2>&5
26427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26428 (exit $ac_status); }; } &&
26429 { ac_try
='test -s conftest.$ac_objext'
26430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26431 (eval $ac_try) 2>&5
26433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26434 (exit $ac_status); }; }; then
26435 ac_header_compiler
=yes
26437 echo "$as_me: failed program was:" >&5
26438 sed 's/^/| /' conftest.
$ac_ext >&5
26440 ac_header_compiler
=no
26442 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26443 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26444 echo "${ECHO_T}$ac_header_compiler" >&6
26446 # Is the header present?
26447 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26448 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26449 cat >conftest.
$ac_ext <<_ACEOF
26452 cat confdefs.h
>>conftest.
$ac_ext
26453 cat >>conftest.
$ac_ext <<_ACEOF
26454 /* end confdefs.h. */
26455 #include <$ac_header>
26457 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26458 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26460 grep -v '^ *+' conftest.er1
>conftest.err
26462 cat conftest.err
>&5
26463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26464 (exit $ac_status); } >/dev
/null
; then
26465 if test -s conftest.err
; then
26466 ac_cpp_err
=$ac_c_preproc_warn_flag
26467 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26474 if test -z "$ac_cpp_err"; then
26475 ac_header_preproc
=yes
26477 echo "$as_me: failed program was:" >&5
26478 sed 's/^/| /' conftest.
$ac_ext >&5
26480 ac_header_preproc
=no
26482 rm -f conftest.err conftest.
$ac_ext
26483 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26484 echo "${ECHO_T}$ac_header_preproc" >&6
26486 # So? What about this header?
26487 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26489 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26490 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26491 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26492 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26493 ac_header_preproc
=yes
26496 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26497 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26498 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26499 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26500 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26501 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26502 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26503 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26504 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26505 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26506 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26507 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26510 ## ---------------------------------- ##
26511 ## Report this to the libjava lists. ##
26512 ## ---------------------------------- ##
26515 sed "s/^/$as_me: WARNING: /" >&2
26518 echo "$as_me:$LINENO: checking for $ac_header" >&5
26519 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26521 echo $ECHO_N "(cached) $ECHO_C" >&6
26523 eval "$as_ac_Header=\$ac_header_preproc"
26525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26526 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26529 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26530 cat >>confdefs.h
<<_ACEOF
26531 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26539 for ac_header
in inttypes.h
26541 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26543 echo "$as_me:$LINENO: checking for $ac_header" >&5
26544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26545 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26546 echo $ECHO_N "(cached) $ECHO_C" >&6
26548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26549 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26551 # Is the header compilable?
26552 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26553 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26554 cat >conftest.
$ac_ext <<_ACEOF
26557 cat confdefs.h
>>conftest.
$ac_ext
26558 cat >>conftest.
$ac_ext <<_ACEOF
26559 /* end confdefs.h. */
26560 $ac_includes_default
26561 #include <$ac_header>
26563 rm -f conftest.
$ac_objext
26564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26565 (eval $ac_compile) 2>conftest.er1
26567 grep -v '^ *+' conftest.er1
>conftest.err
26569 cat conftest.err
>&5
26570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26571 (exit $ac_status); } &&
26572 { ac_try
='test -z "$ac_c_werror_flag"
26573 || test ! -s conftest.err'
26574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26575 (eval $ac_try) 2>&5
26577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26578 (exit $ac_status); }; } &&
26579 { ac_try
='test -s conftest.$ac_objext'
26580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26581 (eval $ac_try) 2>&5
26583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26584 (exit $ac_status); }; }; then
26585 ac_header_compiler
=yes
26587 echo "$as_me: failed program was:" >&5
26588 sed 's/^/| /' conftest.
$ac_ext >&5
26590 ac_header_compiler
=no
26592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26593 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26594 echo "${ECHO_T}$ac_header_compiler" >&6
26596 # Is the header present?
26597 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26598 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26599 cat >conftest.
$ac_ext <<_ACEOF
26602 cat confdefs.h
>>conftest.
$ac_ext
26603 cat >>conftest.
$ac_ext <<_ACEOF
26604 /* end confdefs.h. */
26605 #include <$ac_header>
26607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26608 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26610 grep -v '^ *+' conftest.er1
>conftest.err
26612 cat conftest.err
>&5
26613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26614 (exit $ac_status); } >/dev
/null
; then
26615 if test -s conftest.err
; then
26616 ac_cpp_err
=$ac_c_preproc_warn_flag
26617 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26624 if test -z "$ac_cpp_err"; then
26625 ac_header_preproc
=yes
26627 echo "$as_me: failed program was:" >&5
26628 sed 's/^/| /' conftest.
$ac_ext >&5
26630 ac_header_preproc
=no
26632 rm -f conftest.err conftest.
$ac_ext
26633 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26634 echo "${ECHO_T}$ac_header_preproc" >&6
26636 # So? What about this header?
26637 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26639 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26640 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26641 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26642 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26643 ac_header_preproc
=yes
26646 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26647 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26648 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26649 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26650 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26651 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26652 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26653 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26654 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26655 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26656 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26657 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26660 ## ---------------------------------- ##
26661 ## Report this to the libjava lists. ##
26662 ## ---------------------------------- ##
26665 sed "s/^/$as_me: WARNING: /" >&2
26668 echo "$as_me:$LINENO: checking for $ac_header" >&5
26669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26670 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26671 echo $ECHO_N "(cached) $ECHO_C" >&6
26673 eval "$as_ac_Header=\$ac_header_preproc"
26675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26676 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26679 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26680 cat >>confdefs.h
<<_ACEOF
26681 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26685 cat >>confdefs.h
<<\_ACEOF
26686 #define HAVE_INTTYPES_H 1
26690 cat >>confdefs.h
<<\_ACEOF
26691 #define JV_HAVE_INTTYPES_H 1
26700 echo "$as_me:$LINENO: checking for ssize_t" >&5
26701 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
26702 if test "${ac_cv_type_ssize_t+set}" = set; then
26703 echo $ECHO_N "(cached) $ECHO_C" >&6
26705 cat >conftest.
$ac_ext <<_ACEOF
26708 cat confdefs.h
>>conftest.
$ac_ext
26709 cat >>conftest.
$ac_ext <<_ACEOF
26710 /* end confdefs.h. */
26711 $ac_includes_default
26717 if (sizeof (ssize_t))
26723 rm -f conftest.
$ac_objext
26724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26725 (eval $ac_compile) 2>conftest.er1
26727 grep -v '^ *+' conftest.er1
>conftest.err
26729 cat conftest.err
>&5
26730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26731 (exit $ac_status); } &&
26732 { ac_try
='test -z "$ac_c_werror_flag"
26733 || test ! -s conftest.err'
26734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26735 (eval $ac_try) 2>&5
26737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26738 (exit $ac_status); }; } &&
26739 { ac_try
='test -s conftest.$ac_objext'
26740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26741 (eval $ac_try) 2>&5
26743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26744 (exit $ac_status); }; }; then
26745 ac_cv_type_ssize_t
=yes
26747 echo "$as_me: failed program was:" >&5
26748 sed 's/^/| /' conftest.
$ac_ext >&5
26750 ac_cv_type_ssize_t
=no
26752 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26754 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
26755 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
26756 if test $ac_cv_type_ssize_t = yes; then
26760 cat >>confdefs.h
<<_ACEOF
26761 #define ssize_t int
26766 echo "$as_me:$LINENO: checking for magic_t" >&5
26767 echo $ECHO_N "checking for magic_t... $ECHO_C" >&6
26768 if test "${ac_cv_type_magic_t+set}" = set; then
26769 echo $ECHO_N "(cached) $ECHO_C" >&6
26771 cat >conftest.
$ac_ext <<_ACEOF
26774 cat confdefs.h
>>conftest.
$ac_ext
26775 cat >>conftest.
$ac_ext <<_ACEOF
26776 /* end confdefs.h. */
26778 #ifdef HAVE_MAGIC_H
26787 if (sizeof (magic_t))
26793 rm -f conftest.
$ac_objext
26794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26795 (eval $ac_compile) 2>conftest.er1
26797 grep -v '^ *+' conftest.er1
>conftest.err
26799 cat conftest.err
>&5
26800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26801 (exit $ac_status); } &&
26802 { ac_try
='test -z "$ac_c_werror_flag"
26803 || test ! -s conftest.err'
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); }; } &&
26809 { ac_try
='test -s conftest.$ac_objext'
26810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26811 (eval $ac_try) 2>&5
26813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26814 (exit $ac_status); }; }; then
26815 ac_cv_type_magic_t
=yes
26817 echo "$as_me: failed program was:" >&5
26818 sed 's/^/| /' conftest.
$ac_ext >&5
26820 ac_cv_type_magic_t
=no
26822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26824 echo "$as_me:$LINENO: result: $ac_cv_type_magic_t" >&5
26825 echo "${ECHO_T}$ac_cv_type_magic_t" >&6
26826 if test $ac_cv_type_magic_t = yes; then
26829 cat >>confdefs.h
<<\_ACEOF
26830 #define HAVE_MAGIC_T 1
26836 echo "$as_me:$LINENO: checking for in_addr_t" >&5
26837 echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6
26838 cat >conftest.
$ac_ext <<_ACEOF
26841 cat confdefs.h
>>conftest.
$ac_ext
26842 cat >>conftest.
$ac_ext <<_ACEOF
26843 /* end confdefs.h. */
26844 #include <sys/types.h>
26846 #include <stdlib.h>
26847 #include <stddef.h>
26849 #if HAVE_NETINET_IN_H
26850 #include <netinet/in.h>
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
26883 cat >>confdefs.h
<<\_ACEOF
26884 #define HAVE_IN_ADDR_T 1
26887 echo "$as_me:$LINENO: result: yes" >&5
26888 echo "${ECHO_T}yes" >&6
26890 echo "$as_me: failed program was:" >&5
26891 sed 's/^/| /' conftest.
$ac_ext >&5
26893 echo "$as_me:$LINENO: result: no" >&5
26894 echo "${ECHO_T}no" >&6
26896 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26898 echo "$as_me:$LINENO: checking whether struct ip_mreq is in netinet/in.h" >&5
26899 echo $ECHO_N "checking whether struct ip_mreq is in netinet/in.h... $ECHO_C" >&6
26900 cat >conftest.
$ac_ext <<_ACEOF
26903 cat confdefs.h
>>conftest.
$ac_ext
26904 cat >>conftest.
$ac_ext <<_ACEOF
26905 /* end confdefs.h. */
26906 #include <netinet/in.h>
26910 struct ip_mreq mreq;
26915 rm -f conftest.
$ac_objext
26916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26917 (eval $ac_compile) 2>conftest.er1
26919 grep -v '^ *+' conftest.er1
>conftest.err
26921 cat conftest.err
>&5
26922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26923 (exit $ac_status); } &&
26924 { ac_try
='test -z "$ac_c_werror_flag"
26925 || test ! -s conftest.err'
26926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26927 (eval $ac_try) 2>&5
26929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26930 (exit $ac_status); }; } &&
26931 { ac_try
='test -s conftest.$ac_objext'
26932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26933 (eval $ac_try) 2>&5
26935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26936 (exit $ac_status); }; }; then
26938 cat >>confdefs.h
<<\_ACEOF
26939 #define HAVE_STRUCT_IP_MREQ 1
26942 echo "$as_me:$LINENO: result: yes" >&5
26943 echo "${ECHO_T}yes" >&6
26945 echo "$as_me: failed program was:" >&5
26946 sed 's/^/| /' conftest.
$ac_ext >&5
26948 echo "$as_me:$LINENO: result: no" >&5
26949 echo "${ECHO_T}no" >&6
26951 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26953 echo "$as_me:$LINENO: checking whether struct ipv6_mreq is in netinet/in.h" >&5
26954 echo $ECHO_N "checking whether struct ipv6_mreq is in netinet/in.h... $ECHO_C" >&6
26955 cat >conftest.
$ac_ext <<_ACEOF
26958 cat confdefs.h
>>conftest.
$ac_ext
26959 cat >>conftest.
$ac_ext <<_ACEOF
26960 /* end confdefs.h. */
26961 #include <netinet/in.h>
26965 struct ipv6_mreq mreq6;
26970 rm -f conftest.
$ac_objext
26971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26972 (eval $ac_compile) 2>conftest.er1
26974 grep -v '^ *+' conftest.er1
>conftest.err
26976 cat conftest.err
>&5
26977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26978 (exit $ac_status); } &&
26979 { ac_try
='test -z "$ac_c_werror_flag"
26980 || test ! -s conftest.err'
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); }; } &&
26986 { ac_try
='test -s conftest.$ac_objext'
26987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26988 (eval $ac_try) 2>&5
26990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26991 (exit $ac_status); }; }; then
26993 cat >>confdefs.h
<<\_ACEOF
26994 #define HAVE_STRUCT_IPV6_MREQ 1
26997 echo "$as_me:$LINENO: result: yes" >&5
26998 echo "${ECHO_T}yes" >&6
27000 echo "$as_me: failed program was:" >&5
27001 sed 's/^/| /' conftest.
$ac_ext >&5
27003 echo "$as_me:$LINENO: result: no" >&5
27004 echo "${ECHO_T}no" >&6
27006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27008 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
27009 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
27010 cat >conftest.
$ac_ext <<_ACEOF
27013 cat confdefs.h
>>conftest.
$ac_ext
27014 cat >>conftest.
$ac_ext <<_ACEOF
27015 /* end confdefs.h. */
27016 #include <netinet/in.h>
27020 struct sockaddr_in6 addr6;
27025 rm -f conftest.
$ac_objext
27026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27027 (eval $ac_compile) 2>conftest.er1
27029 grep -v '^ *+' conftest.er1
>conftest.err
27031 cat conftest.err
>&5
27032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27033 (exit $ac_status); } &&
27034 { ac_try
='test -z "$ac_c_werror_flag"
27035 || test ! -s conftest.err'
27036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27037 (eval $ac_try) 2>&5
27039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27040 (exit $ac_status); }; } &&
27041 { ac_try
='test -s conftest.$ac_objext'
27042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27043 (eval $ac_try) 2>&5
27045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27046 (exit $ac_status); }; }; then
27048 cat >>confdefs.h
<<\_ACEOF
27049 #define HAVE_INET6 1
27052 echo "$as_me:$LINENO: result: yes" >&5
27053 echo "${ECHO_T}yes" >&6
27055 echo "$as_me: failed program was:" >&5
27056 sed 's/^/| /' conftest.
$ac_ext >&5
27058 echo "$as_me:$LINENO: result: no" >&5
27059 echo "${ECHO_T}no" >&6
27061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27063 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
27064 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
27065 cat >conftest.
$ac_ext <<_ACEOF
27068 cat confdefs.h
>>conftest.
$ac_ext
27069 cat >>conftest.
$ac_ext <<_ACEOF
27070 /* end confdefs.h. */
27071 #define _POSIX_PII_SOCKET
27072 #include <sys/types.h>
27073 #include <sys/socket.h>
27082 rm -f conftest.
$ac_objext
27083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27084 (eval $ac_compile) 2>conftest.er1
27086 grep -v '^ *+' conftest.er1
>conftest.err
27088 cat conftest.err
>&5
27089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27090 (exit $ac_status); } &&
27091 { ac_try
='test -z "$ac_c_werror_flag"
27092 || test ! -s conftest.err'
27093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27094 (eval $ac_try) 2>&5
27096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27097 (exit $ac_status); }; } &&
27098 { ac_try
='test -s conftest.$ac_objext'
27099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27100 (eval $ac_try) 2>&5
27102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27103 (exit $ac_status); }; }; then
27105 cat >>confdefs.h
<<\_ACEOF
27106 #define HAVE_SOCKLEN_T 1
27109 echo "$as_me:$LINENO: result: yes" >&5
27110 echo "${ECHO_T}yes" >&6
27112 echo "$as_me: failed program was:" >&5
27113 sed 's/^/| /' conftest.
$ac_ext >&5
27115 echo "$as_me:$LINENO: result: no" >&5
27116 echo "${ECHO_T}no" >&6
27118 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27120 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
27121 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
27122 cat >conftest.
$ac_ext <<_ACEOF
27125 cat confdefs.h
>>conftest.
$ac_ext
27126 cat >>conftest.
$ac_ext <<_ACEOF
27127 /* end confdefs.h. */
27132 struct tm tim; tim.tm_gmtoff = 0;
27137 rm -f conftest.
$ac_objext
27138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27139 (eval $ac_compile) 2>conftest.er1
27141 grep -v '^ *+' conftest.er1
>conftest.err
27143 cat conftest.err
>&5
27144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27145 (exit $ac_status); } &&
27146 { ac_try
='test -z "$ac_c_werror_flag"
27147 || test ! -s conftest.err'
27148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27149 (eval $ac_try) 2>&5
27151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27152 (exit $ac_status); }; } &&
27153 { ac_try
='test -s conftest.$ac_objext'
27154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27155 (eval $ac_try) 2>&5
27157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27158 (exit $ac_status); }; }; then
27160 cat >>confdefs.h
<<\_ACEOF
27161 #define STRUCT_TM_HAS_GMTOFF 1
27164 echo "$as_me:$LINENO: result: yes" >&5
27165 echo "${ECHO_T}yes" >&6
27167 echo "$as_me: failed program was:" >&5
27168 sed 's/^/| /' conftest.
$ac_ext >&5
27170 echo "$as_me:$LINENO: result: no" >&5
27171 echo "${ECHO_T}no" >&6
27172 echo "$as_me:$LINENO: checking for global timezone variable" >&5
27173 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
27174 cat >conftest.
$ac_ext <<_ACEOF
27177 cat confdefs.h
>>conftest.
$ac_ext
27178 cat >>conftest.
$ac_ext <<_ACEOF
27179 /* end confdefs.h. */
27184 void i(){long z2 = 2*timezone;}
27189 rm -f conftest.
$ac_objext
27190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27191 (eval $ac_compile) 2>conftest.er1
27193 grep -v '^ *+' conftest.er1
>conftest.err
27195 cat conftest.err
>&5
27196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27197 (exit $ac_status); } &&
27198 { ac_try
='test -z "$ac_c_werror_flag"
27199 || test ! -s conftest.err'
27200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27201 (eval $ac_try) 2>&5
27203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27204 (exit $ac_status); }; } &&
27205 { ac_try
='test -s conftest.$ac_objext'
27206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27207 (eval $ac_try) 2>&5
27209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27210 (exit $ac_status); }; }; then
27212 cat >>confdefs.h
<<\_ACEOF
27213 #define HAVE_TIMEZONE 1
27216 echo "$as_me:$LINENO: result: yes" >&5
27217 echo "${ECHO_T}yes" >&6
27219 echo "$as_me: failed program was:" >&5
27220 sed 's/^/| /' conftest.
$ac_ext >&5
27222 echo "$as_me:$LINENO: result: no" >&5
27223 echo "${ECHO_T}no" >&6
27224 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
27225 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
27226 cat >conftest.
$ac_ext <<_ACEOF
27229 cat confdefs.h
>>conftest.
$ac_ext
27230 cat >>conftest.
$ac_ext <<_ACEOF
27231 /* end confdefs.h. */
27236 long z2 = _timezone;
27241 rm -f conftest.
$ac_objext
27242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27243 (eval $ac_compile) 2>conftest.er1
27245 grep -v '^ *+' conftest.er1
>conftest.err
27247 cat conftest.err
>&5
27248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27249 (exit $ac_status); } &&
27250 { ac_try
='test -z "$ac_c_werror_flag"
27251 || test ! -s conftest.err'
27252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27253 (eval $ac_try) 2>&5
27255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27256 (exit $ac_status); }; } &&
27257 { ac_try
='test -s conftest.$ac_objext'
27258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27259 (eval $ac_try) 2>&5
27261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27262 (exit $ac_status); }; }; then
27264 cat >>confdefs.h
<<\_ACEOF
27265 #define HAVE_UNDERSCORE_TIMEZONE 1
27268 echo "$as_me:$LINENO: result: yes" >&5
27269 echo "${ECHO_T}yes" >&6
27271 echo "$as_me: failed program was:" >&5
27272 sed 's/^/| /' conftest.
$ac_ext >&5
27274 echo "$as_me:$LINENO: result: no" >&5
27275 echo "${ECHO_T}no" >&6
27277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27283 for ac_prog
in perl
27285 # Extract the first word of "$ac_prog", so it can be a program name with args.
27286 set dummy
$ac_prog; ac_word
=$2
27287 echo "$as_me:$LINENO: checking for $ac_word" >&5
27288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27289 if test "${ac_cv_prog_PERL+set}" = set; then
27290 echo $ECHO_N "(cached) $ECHO_C" >&6
27292 if test -n "$PERL"; then
27293 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
27295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27296 for as_dir
in $PATH
27299 test -z "$as_dir" && as_dir
=.
27300 for ac_exec_ext
in '' $ac_executable_extensions; do
27301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27302 ac_cv_prog_PERL
="$ac_prog"
27303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27311 PERL
=$ac_cv_prog_PERL
27312 if test -n "$PERL"; then
27313 echo "$as_me:$LINENO: result: $PERL" >&5
27314 echo "${ECHO_T}$PERL" >&6
27316 echo "$as_me:$LINENO: result: no" >&5
27317 echo "${ECHO_T}no" >&6
27320 test -n "$PERL" && break
27322 test -n "$PERL" || PERL
="false"
27326 SIGNAL_HANDLER_AUX
=
27330 SIGNAL_HANDLER
=include
/i386-signal.h
27332 sparc
*-sun-solaris*)
27333 SIGNAL_HANDLER
=include
/sparc-signal.h
27336 # SYSDEP_SOURCES=sysdep/ia64.c
27337 # test -d sysdep || mkdir sysdep
27340 SIGNAL_HANDLER
=include
/pa-signal.h
27343 SIGNAL_HANDLER
=include
/hppa-signal.h
27346 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27349 SIGNAL_HANDLER
=include
/powerpc-signal.h
27352 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27355 SIGNAL_HANDLER
=include
/s390-signal.h
27358 SIGNAL_HANDLER
=include
/x86_64-signal.h
27359 SIGNAL_HANDLER_AUX
=include
/i386-signal.h
27362 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27365 SIGNAL_HANDLER
=include
/sh-signal.h
27368 SIGNAL_HANDLER
=include
/win32-signal.h
27371 SIGNAL_HANDLER
=include
/mips-signal.h
27374 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27376 powerpc
*-*-darwin* | i?
86-*-darwin9* | x86_64-
*-darwin9*)
27377 SIGNAL_HANDLER
=include
/darwin-signal.h
27380 SIGNAL_HANDLER
=include
/default-signal.h
27384 # If we're using sjlj exceptions, forget what we just learned.
27385 if test "$enable_sjlj_exceptions" = yes; then
27386 SIGNAL_HANDLER
=include
/default-signal.h
27387 SIGNAL_HANDLER_AUX
=
27392 if test -z "$SIGNAL_HANDLER_AUX"; then
27393 SIGNAL_HANDLER_AUX
=$SIGNAL_HANDLER
27396 ac_config_links
="$ac_config_links include/java-signal.h:$SIGNAL_HANDLER include/java-signal-aux.h:$SIGNAL_HANDLER_AUX"
27399 if test "${multilib}" = "yes"; then
27400 multilib_arg
="--enable-multilib"
27405 # See if we support thread-local storage.
27407 # Check whether --enable-tls or --disable-tls was given.
27408 if test "${enable_tls+set}" = set; then
27409 enableval
="$enable_tls"
27411 case "$enableval" in
27413 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
27414 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
27415 { (exit 1); exit 1; }; } ;;
27422 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
27423 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
27424 if test "${gcc_cv_have_tls+set}" = set; then
27425 echo $ECHO_N "(cached) $ECHO_C" >&6
27428 if test "$cross_compiling" = yes; then
27429 if test x
$gcc_no_link = xyes
; then
27430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27432 { (exit 1); exit 1; }; }
27434 cat >conftest.
$ac_ext <<_ACEOF
27435 __thread int a; int b; int main() { return a = b; }
27437 rm -f conftest.
$ac_objext conftest
$ac_exeext
27438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27439 (eval $ac_link) 2>conftest.er1
27441 grep -v '^ *+' conftest.er1
>conftest.err
27443 cat conftest.err
>&5
27444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27445 (exit $ac_status); } &&
27446 { ac_try
='test -z "$ac_c_werror_flag"
27447 || test ! -s conftest.err'
27448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27449 (eval $ac_try) 2>&5
27451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27452 (exit $ac_status); }; } &&
27453 { ac_try
='test -s conftest$ac_exeext'
27454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27455 (eval $ac_try) 2>&5
27457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27458 (exit $ac_status); }; }; then
27459 gcc_cv_have_tls
=yes
27461 echo "$as_me: failed program was:" >&5
27462 sed 's/^/| /' conftest.
$ac_ext >&5
27466 rm -f conftest.err conftest.
$ac_objext \
27467 conftest
$ac_exeext conftest.
$ac_ext
27471 cat >conftest.
$ac_ext <<_ACEOF
27472 __thread int a; int b; int main() { return a = b; }
27474 rm -f conftest
$ac_exeext
27475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27476 (eval $ac_link) 2>&5
27478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27479 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27481 (eval $ac_try) 2>&5
27483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27484 (exit $ac_status); }; }; then
27485 chktls_save_LDFLAGS
="$LDFLAGS"
27486 LDFLAGS
="-static $LDFLAGS"
27487 if test x
$gcc_no_link = xyes
; then
27488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27490 { (exit 1); exit 1; }; }
27492 cat >conftest.
$ac_ext <<_ACEOF
27493 int main() { return 0; }
27495 rm -f conftest.
$ac_objext conftest
$ac_exeext
27496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27497 (eval $ac_link) 2>conftest.er1
27499 grep -v '^ *+' conftest.er1
>conftest.err
27501 cat conftest.err
>&5
27502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27503 (exit $ac_status); } &&
27504 { ac_try
='test -z "$ac_c_werror_flag"
27505 || test ! -s conftest.err'
27506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27507 (eval $ac_try) 2>&5
27509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27510 (exit $ac_status); }; } &&
27511 { ac_try
='test -s conftest$ac_exeext'
27512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27513 (eval $ac_try) 2>&5
27515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27516 (exit $ac_status); }; }; then
27517 if test "$cross_compiling" = yes; then
27518 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27519 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27520 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27521 See \`config.log' for more details." >&5
27522 echo "$as_me: error: cannot run test program while cross compiling
27523 See \`config.log' for more details." >&2;}
27524 { (exit 1); exit 1; }; }; }
27526 cat >conftest.
$ac_ext <<_ACEOF
27527 __thread int a; int b; int main() { return a = b; }
27529 rm -f conftest
$ac_exeext
27530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27531 (eval $ac_link) 2>&5
27533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27534 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27536 (eval $ac_try) 2>&5
27538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27539 (exit $ac_status); }; }; then
27540 gcc_cv_have_tls
=yes
27542 echo "$as_me: program exited with status $ac_status" >&5
27543 echo "$as_me: failed program was:" >&5
27544 sed 's/^/| /' conftest.
$ac_ext >&5
27546 ( exit $ac_status )
27549 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27552 echo "$as_me: failed program was:" >&5
27553 sed 's/^/| /' conftest.
$ac_ext >&5
27555 gcc_cv_have_tls
=yes
27557 rm -f conftest.err conftest.
$ac_objext \
27558 conftest
$ac_exeext conftest.
$ac_ext
27559 LDFLAGS
="$chktls_save_LDFLAGS"
27560 if test $gcc_cv_have_tls = yes; then
27561 chktls_save_CFLAGS
="$CFLAGS"
27562 thread_CFLAGS
=failed
27563 for flag
in '' '-pthread' '-lpthread'; do
27564 CFLAGS
="$flag $chktls_save_CFLAGS"
27565 if test x
$gcc_no_link = xyes
; then
27566 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27568 { (exit 1); exit 1; }; }
27570 cat >conftest.
$ac_ext <<_ACEOF
27573 cat confdefs.h
>>conftest.
$ac_ext
27574 cat >>conftest.
$ac_ext <<_ACEOF
27575 /* end confdefs.h. */
27576 #include <pthread.h>
27577 void *g(void *d) { return NULL; }
27581 pthread_t t; pthread_create(&t,NULL,g,NULL);
27586 rm -f conftest.
$ac_objext conftest
$ac_exeext
27587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27588 (eval $ac_link) 2>conftest.er1
27590 grep -v '^ *+' conftest.er1
>conftest.err
27592 cat conftest.err
>&5
27593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27594 (exit $ac_status); } &&
27595 { ac_try
='test -z "$ac_c_werror_flag"
27596 || test ! -s conftest.err'
27597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27598 (eval $ac_try) 2>&5
27600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27601 (exit $ac_status); }; } &&
27602 { ac_try
='test -s conftest$ac_exeext'
27603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27604 (eval $ac_try) 2>&5
27606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27607 (exit $ac_status); }; }; then
27608 thread_CFLAGS
="$flag"
27610 echo "$as_me: failed program was:" >&5
27611 sed 's/^/| /' conftest.
$ac_ext >&5
27614 rm -f conftest.err conftest.
$ac_objext \
27615 conftest
$ac_exeext conftest.
$ac_ext
27616 if test "X$thread_CFLAGS" != Xfailed
; then
27620 CFLAGS
="$chktls_save_CFLAGS"
27621 if test "X$thread_CFLAGS" != Xfailed
; then
27622 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
27623 if test "$cross_compiling" = yes; then
27624 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27625 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27626 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27627 See \`config.log' for more details." >&5
27628 echo "$as_me: error: cannot run test program while cross compiling
27629 See \`config.log' for more details." >&2;}
27630 { (exit 1); exit 1; }; }; }
27632 cat >conftest.
$ac_ext <<_ACEOF
27635 cat confdefs.h
>>conftest.
$ac_ext
27636 cat >>conftest.
$ac_ext <<_ACEOF
27637 /* end confdefs.h. */
27638 #include <pthread.h>
27640 static int *a_in_other_thread;
27642 thread_func (void *arg)
27644 a_in_other_thread = &a;
27651 void *thread_retval;
27652 int *a_in_main_thread;
27653 if (pthread_create (&thread, (pthread_attr_t *)0,
27654 thread_func, (void *)0))
27656 a_in_main_thread = &a;
27657 if (pthread_join (thread, &thread_retval))
27659 return (a_in_other_thread == a_in_main_thread);
27664 rm -f conftest
$ac_exeext
27665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27666 (eval $ac_link) 2>&5
27668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27669 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27671 (eval $ac_try) 2>&5
27673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27674 (exit $ac_status); }; }; then
27675 gcc_cv_have_tls
=yes
27677 echo "$as_me: program exited with status $ac_status" >&5
27678 echo "$as_me: failed program was:" >&5
27679 sed 's/^/| /' conftest.
$ac_ext >&5
27681 ( exit $ac_status )
27684 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27686 CFLAGS
="$chktls_save_CFLAGS"
27690 echo "$as_me: program exited with status $ac_status" >&5
27691 echo "$as_me: failed program was:" >&5
27692 sed 's/^/| /' conftest.
$ac_ext >&5
27694 ( exit $ac_status )
27697 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27700 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
27701 echo "${ECHO_T}$gcc_cv_have_tls" >&6
27702 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27704 cat >>confdefs.h
<<\_ACEOF
27710 # For _Unwind_GetIPInfo.
27715 ac_cpp
='$CXXCPP $CPPFLAGS'
27716 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27717 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27718 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27720 ac_save_CXXFLAGS
="$CXXFLAGS"
27721 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
27722 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
27723 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
27724 if test "${gcc_cv_getipinfo+set}" = set; then
27725 echo $ECHO_N "(cached) $ECHO_C" >&6
27728 if test x
$gcc_no_link = xyes
; then
27729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27731 { (exit 1); exit 1; }; }
27733 cat >conftest.
$ac_ext <<_ACEOF
27736 cat confdefs.h
>>conftest.
$ac_ext
27737 cat >>conftest.
$ac_ext <<_ACEOF
27738 /* end confdefs.h. */
27739 extern "C" { extern void _Unwind_GetIPInfo(); }
27743 _Unwind_GetIPInfo();
27748 rm -f conftest.
$ac_objext conftest
$ac_exeext
27749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27750 (eval $ac_link) 2>conftest.er1
27752 grep -v '^ *+' conftest.er1
>conftest.err
27754 cat conftest.err
>&5
27755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27756 (exit $ac_status); } &&
27757 { ac_try
='test -z "$ac_cxx_werror_flag"
27758 || test ! -s conftest.err'
27759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27760 (eval $ac_try) 2>&5
27762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27763 (exit $ac_status); }; } &&
27764 { ac_try
='test -s conftest$ac_exeext'
27765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27766 (eval $ac_try) 2>&5
27768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27769 (exit $ac_status); }; }; then
27770 gcc_cv_getipinfo
=yes
27772 echo "$as_me: failed program was:" >&5
27773 sed 's/^/| /' conftest.
$ac_ext >&5
27775 gcc_cv_getipinfo
=no
27777 rm -f conftest.err conftest.
$ac_objext \
27778 conftest
$ac_exeext conftest.
$ac_ext
27782 if test $gcc_cv_getipinfo = yes; then
27784 cat >>confdefs.h
<<\_ACEOF
27785 #define HAVE_GETIPINFO 1
27789 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
27790 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
27791 CXXFLAGS
="$ac_save_CXXFLAGS"
27793 ac_cpp
='$CPP $CPPFLAGS'
27794 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27795 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27796 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27800 # See if linker supports anonymous version scripts.
27801 echo "$as_me:$LINENO: checking whether ld supports anonymous version scripts" >&5
27802 echo $ECHO_N "checking whether ld supports anonymous version scripts... $ECHO_C" >&6
27803 if test "${libjava_cv_anon_version_script+set}" = set; then
27804 echo $ECHO_N "(cached) $ECHO_C" >&6
27806 save_CFLAGS
="$CFLAGS"; save_LDFLAGS
="$LDFLAGS"
27807 libjava_cv_anon_version_script
=no
27808 CFLAGS
="$CFLAGS -fPIC"; LDFLAGS
="$LDFLAGS -shared -Wl,--version-script,conftest.map"
27809 echo '{ global: globalsymb*; local: *; };' > conftest.map
27810 if test x
$gcc_no_link = xyes
; then
27811 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27813 { (exit 1); exit 1; }; }
27815 cat >conftest.
$ac_ext <<_ACEOF
27818 cat confdefs.h
>>conftest.
$ac_ext
27819 cat >>conftest.
$ac_ext <<_ACEOF
27820 /* end confdefs.h. */
27821 void globalsymbol (void) {} void localsymbol (void) {}
27830 rm -f conftest.
$ac_objext conftest
$ac_exeext
27831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27832 (eval $ac_link) 2>conftest.er1
27834 grep -v '^ *+' conftest.er1
>conftest.err
27836 cat conftest.err
>&5
27837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27838 (exit $ac_status); } &&
27839 { ac_try
='test -z "$ac_c_werror_flag"
27840 || test ! -s conftest.err'
27841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27842 (eval $ac_try) 2>&5
27844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27845 (exit $ac_status); }; } &&
27846 { ac_try
='test -s conftest$ac_exeext'
27847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27848 (eval $ac_try) 2>&5
27850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27851 (exit $ac_status); }; }; then
27852 libjava_cv_anon_version_script
=yes
27854 echo "$as_me: failed program was:" >&5
27855 sed 's/^/| /' conftest.
$ac_ext >&5
27858 rm -f conftest.err conftest.
$ac_objext \
27859 conftest
$ac_exeext conftest.
$ac_ext
27860 CFLAGS
="$save_CFLAGS"; LDFLAGS
="$save_LDFLAGS"
27863 echo "$as_me:$LINENO: result: $libjava_cv_anon_version_script" >&5
27864 echo "${ECHO_T}$libjava_cv_anon_version_script" >&6
27867 if test "$libjava_cv_anon_version_script" = yes; then
27868 ANONVERSCRIPT_TRUE
=
27869 ANONVERSCRIPT_FALSE
='#'
27871 ANONVERSCRIPT_TRUE
='#'
27872 ANONVERSCRIPT_FALSE
=
27876 # Check if linker supports static linking on a per library basis
27877 LD_START_STATIC_SPEC
=
27878 LD_FINISH_STATIC_SPEC
=
27879 if $LD --help 2>&1 |
grep -q -e -call_shared ; then
27880 if $LD --help 2>&1 |
grep -q -e -non_shared ; then
27881 LD_START_STATIC_SPEC
='%{static-libgcj:-non_shared}'
27882 LD_FINISH_STATIC_SPEC
='%{static-libgcj:-call_shared}'
27888 here
=`${PWDCMD-pwd}`
27891 # We get this from the environment.
27895 # Check whether --with-python-dir or --without-python-dir was given.
27896 if test "${with_python_dir+set}" = set; then
27897 withval
="$with_python_dir"
27898 with_python_dir
=$withval
27903 if test "x${with_python_dir}" = "x"
27905 # Needed for installing Python modules during make install.
27906 python_mod_dir
="\${prefix}/share/python"
27907 # Needed for substituting into aot-compile*
27908 python_mod_dir_expanded
="${prefix}/share/python"
27910 python_mod_dir
="\${prefix}${with_python_dir}"
27911 python_mod_dir_expanded
="${prefix}${with_python_dir}"
27913 echo "$as_me:$LINENO: result: Python modules dir: ${python_mod_dir_expanded}" >&5
27914 echo "${ECHO_T}Python modules dir: ${python_mod_dir_expanded}" >&6;
27918 # needed for aot-compile-rpm
27922 # Check whether --enable-aot-compile-rpm or --disable-aot-compile-rpm was given.
27923 if test "${enable_aot_compile_rpm+set}" = set; then
27924 enableval
="$enable_aot_compile_rpm"
27925 case "${enableval}" in
27926 yes) AOT_RPM_ENABLED
=yes ;;
27927 no
) AOT_RPM_ENABLED
=no
;;
27928 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable aot-compile-rpm" >&5
27929 echo "$as_me: error: Unknown argument to enable/disable aot-compile-rpm" >&2;}
27930 { (exit 1); exit 1; }; } ;;
27938 if test "x${AOT_RPM_ENABLED}" == xyes
; then
27939 INSTALL_AOT_RPM_TRUE
=
27940 INSTALL_AOT_RPM_FALSE
='#'
27942 INSTALL_AOT_RPM_TRUE
='#'
27943 INSTALL_AOT_RPM_FALSE
=
27947 # Check whether --enable-java-home or --disable-java-home was given.
27948 if test "${enable_java_home+set}" = set; then
27949 enableval
="$enable_java_home"
27950 case "${enableval}" in
27951 yes) JAVA_HOME_ENABLED
=yes ;;
27952 no
) JAVA_HOME_ENABLED
=no
;;
27953 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable java-home" >&5
27954 echo "$as_me: error: Unknown argument to enable/disable java-home" >&2;}
27955 { (exit 1); exit 1; }; } ;;
27958 JAVA_HOME_ENABLED
=no
27963 if test "x${JAVA_HOME_ENABLED}" == xyes
; then
27964 CREATE_JAVA_HOME_TRUE
=
27965 CREATE_JAVA_HOME_FALSE
='#'
27967 CREATE_JAVA_HOME_TRUE
='#'
27968 CREATE_JAVA_HOME_FALSE
=
27972 # Only do these checks if java-home above is enabled.
27973 if test "x${JAVA_HOME_ENABLED}" == xyes
27977 # Check whether --with-gcc-suffix or --without-gcc-suffix was given.
27978 if test "${with_gcc_suffix+set}" = set; then
27979 withval
="$with_gcc_suffix"
27980 gcc_suffix
=$withval
27984 echo "$as_me:$LINENO: result: GCC suffix: ${gcc_suffix}" >&5
27985 echo "${ECHO_T}GCC suffix: ${gcc_suffix}" >&6
27989 # Check whether --with-arch-directory or --without-arch-directory was given.
27990 if test "${with_arch_directory+set}" = set; then
27991 withval
="$with_arch_directory"
27998 # Check whether --with-os-directory or --without-os-directory was given.
27999 if test "${with_os_directory+set}" = set; then
28000 withval
="$with_os_directory"
28007 # Check whether --with-origin-name or --without-origin-name was given.
28008 if test "${with_origin_name+set}" = set; then
28009 withval
="$with_origin_name"
28010 origin_name
=$withval
28012 origin_name
=gcj
${gcc_suffix}
28014 echo "$as_me:$LINENO: result: JPackage origin name: ${origin_name}" >&5
28015 echo "${ECHO_T}JPackage origin name: ${origin_name}" >&6
28018 # Check whether --with-arch-suffix or --without-arch-suffix was given.
28019 if test "${with_arch_suffix+set}" = set; then
28020 withval
="$with_arch_suffix"
28021 arch_suffix
=$withval
28025 echo "$as_me:$LINENO: result: arch suffix: ${arch_suffix}" >&5
28026 echo "${ECHO_T}arch suffix: ${arch_suffix}" >&6
28029 # Check whether --with-jvm-root-dir or --without-jvm-root-dir was given.
28030 if test "${with_jvm_root_dir+set}" = set; then
28031 withval
="$with_jvm_root_dir"
28032 jvm_root_dir
=$withval
28034 jvm_root_dir
="\${prefix}/lib/jvm"
28036 echo "$as_me:$LINENO: result: JVM root installation directory: ${jvm_root_dir}" >&5
28037 echo "${ECHO_T}JVM root installation directory: ${jvm_root_dir}" >&6
28040 # Check whether --with-jvm-jar-dir or --without-jvm-jar-dir was given.
28041 if test "${with_jvm_jar_dir+set}" = set; then
28042 withval
="$with_jvm_jar_dir"
28043 jvm_jar_dir
=$withval
28045 jvm_jar_dir
=\
${prefix}/lib
/jvm-exports
28047 echo "$as_me:$LINENO: result: JAR root installation directory: ${jvm_jar_dir}" >&5
28048 echo "${ECHO_T}JAR root installation directory: ${jvm_jar_dir}" >&6
28054 echo "$as_me:$LINENO: result: Java version: ${JAVA_VERSION}" >&5
28055 echo "${ECHO_T}Java version: ${JAVA_VERSION}" >&6
28057 jre_dir
=java-
${JAVA_VERSION}-${origin_name}-${JAVA_VERSION}.${BUILD_VERSION}${arch_suffix}/jre
28058 sdk_dir
=java-
${JAVA_VERSION}-${origin_name}-${JAVA_VERSION}.${BUILD_VERSION}${arch_suffix}
28059 jre_lnk
=jre-
${JAVA_VERSION}-${origin_name}
28060 sdk_lnk
=java-
${JAVA_VERSION}-${origin_name}
28062 JVM_ROOT_DIR
=${jvm_root_dir}
28064 echo "$as_me:$LINENO: result: JVM ROOT directory: ${JVM_ROOT_DIR}" >&5
28065 echo "${ECHO_T}JVM ROOT directory: ${JVM_ROOT_DIR}" >&6
28067 JVM_JAR_ROOT_DIR
=${jvm_jar_dir}
28069 echo "$as_me:$LINENO: result: JVM JAR ROOT directory: ${JVM_JAR_ROOT_DIR}" >&5
28070 echo "${ECHO_T}JVM JAR ROOT directory: ${JVM_JAR_ROOT_DIR}" >&6
28072 JVM_JAR_DIR
=${jvm_jar_dir}/${sdk_dir}
28074 echo "$as_me:$LINENO: result: JVM JAR directory: ${JVM_JAR_DIR}" >&5
28075 echo "${ECHO_T}JVM JAR directory: ${JVM_JAR_DIR}" >&6
28089 SDK_BIN_DIR
=${jvm_root_dir}/${sdk_dir}/bin
28091 echo "$as_me:$LINENO: result: SDK tools directory: ${SDK_BIN_DIR}" >&5
28092 echo "${ECHO_T}SDK tools directory: ${SDK_BIN_DIR}" >&6
28094 SDK_LIB_DIR
=${jvm_root_dir}/${sdk_dir}/lib
28096 echo "$as_me:$LINENO: result: SDK jar directory: ${SDK_LIB_DIR}" >&5
28097 echo "${ECHO_T}SDK jar directory: ${SDK_LIB_DIR}" >&6
28099 SDK_INCLUDE_DIR
=${jvm_root_dir}/${sdk_dir}/include
28101 echo "$as_me:$LINENO: result: SDK include directory: ${SDK_INCLUDE_DIR}" >&5
28102 echo "${ECHO_T}SDK include directory: ${SDK_INCLUDE_DIR}" >&6
28104 JRE_BIN_DIR
=${jvm_root_dir}/${jre_dir}/bin
28106 echo "$as_me:$LINENO: result: JRE tools directory: ${JRE_BIN_DIR}" >&5
28107 echo "${ECHO_T}JRE tools directory: ${JRE_BIN_DIR}" >&6
28109 JRE_LIB_DIR
=${jvm_root_dir}/${jre_dir}/lib
28111 echo "$as_me:$LINENO: result: JRE lib directory: ${JRE_LIB_DIR}" >&5
28112 echo "${ECHO_T}JRE lib directory: ${JRE_LIB_DIR}" >&6
28114 # Find gcj prefix using gcj found in PATH.
28115 gcj_prefix
=`which gcj${gcc_suffix} | sed "s%/bin/gcj${gcc_suffix}%%"`
28117 # Where do the gcj binaries live?
28118 # For jhbuild based builds, they all live in a sibling of bin called
28119 # gcj-bin. Check for gcj-bin first, and use bin otherwise.
28120 GCJ_BIN_DIR
=`if test -d ${gcj_prefix}/gcj-bin; then echo ${gcj_prefix}/gcj-bin; else echo ${gcj_prefix}/bin; fi`
28122 echo "$as_me:$LINENO: result: GCJ tools directory: ${GCJ_BIN_DIR}" >&5
28123 echo "${ECHO_T}GCJ tools directory: ${GCJ_BIN_DIR}" >&6
28125 echo host is
${host}
28126 if test "x${host_cpu}" = "x"
28129 *-mingw* |
*-cygwin*)
28131 i486-
* | i586-
* | i686-
*)
28134 host_cpu
=${host_cpu};;
28137 echo "$as_me:$LINENO: result: arch directory: ${host_cpu}" >&5
28138 echo "${ECHO_T}arch directory: ${host_cpu}" >&6
28142 if test "x${host_os}" = "x"
28145 *-mingw* |
*-cygwin*)
28150 host_os
=${host_os};;
28153 echo os directory
: ${host_os}
28157 # make an expanded $libdir, for substituting into
28158 # scripts (and other non-Makefile things).
28160 if test "x${exec_prefix}" = "xNONE"
28162 lib_exec_prefix
=$prefix
28164 lib_exec_prefix
=$exec_prefix
28166 LIBDIR
=`echo $libdir | sed "s:\\\${exec_prefix}:$lib_exec_prefix:g"`
28170 ac_config_files
="$ac_config_files Makefile libgcj.pc libgcj.spec libgcj-test.spec gcj/Makefile include/Makefile testsuite/Makefile contrib/aotcompile.py contrib/aot-compile contrib/aot-compile-rpm contrib/rebuild-gcj-db"
28173 if test ${multilib} = yes; then
28174 multilib_arg
="--enable-multilib"
28179 ac_config_files
="$ac_config_files scripts/jar"
28181 cat >confcache
<<\_ACEOF
28182 # This file is a shell script that caches the results of configure
28183 # tests run on this system so they can be shared between configure
28184 # scripts and configure runs, see configure's option --config-cache.
28185 # It is not useful on other systems. If it contains results you don't
28186 # want to keep, you may remove or edit it.
28188 # config.status only pays attention to the cache file if you give it
28189 # the --recheck option to rerun configure.
28191 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28192 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28193 # following values.
28197 # The following way of writing the cache mishandles newlines in values,
28198 # but we know of no workaround that is simple, portable, and efficient.
28199 # So, don't put newlines in cache variables' values.
28200 # Ultrix sh set writes to stderr and can't be redirected directly,
28201 # and sets the high bit in the cache file unless we assign to the vars.
28204 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28206 # `set' does not quote correctly, so add quotes (double-quote
28207 # substitution turns \\\\ into \\, and sed turns \\ into \).
28210 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28213 # `set' quotes correctly as required by POSIX, so do not add quotes.
28215 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28222 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28224 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28226 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
28227 if test -w $cache_file; then
28228 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28229 cat confcache
>$cache_file
28231 echo "not updating unwritable cache $cache_file"
28236 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
28237 # Let make expand exec_prefix.
28238 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
28240 # VPATH may cause trouble with some makes, so we remove $(srcdir),
28241 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
28242 # trailing colons and then remove the whole line if VPATH becomes empty
28243 # (actually we leave an empty line to preserve line numbers).
28244 if test "x$srcdir" = x.
; then
28245 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
28246 s/:*\$(srcdir):*/:/;
28247 s/:*\${srcdir}:*/:/;
28249 s/^\([^=]*=[ ]*\):*/\1/;
28255 DEFS
=-DHAVE_CONFIG_H
28259 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
28260 # 1. Remove the extension, and $U if already installed.
28261 ac_i
=`echo "$ac_i" |
28262 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
28264 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
28265 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
28267 LIBOBJS
=$ac_libobjs
28269 LTLIBOBJS
=$ac_ltlibobjs
28272 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
28273 { { echo "$as_me:$LINENO: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
28274 Usually this means the macro was only invoked conditionally." >&5
28275 echo "$as_me: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
28276 Usually this means the macro was only invoked conditionally." >&2;}
28277 { (exit 1); exit 1; }; }
28279 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
28280 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
28281 Usually this means the macro was only invoked conditionally." >&5
28282 echo "$as_me: error: conditional \"AMDEP\" was never defined.
28283 Usually this means the macro was only invoked conditionally." >&2;}
28284 { (exit 1); exit 1; }; }
28286 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
28287 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
28288 Usually this means the macro was only invoked conditionally." >&5
28289 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
28290 Usually this means the macro was only invoked conditionally." >&2;}
28291 { (exit 1); exit 1; }; }
28293 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
28294 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
28295 Usually this means the macro was only invoked conditionally." >&5
28296 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
28297 Usually this means the macro was only invoked conditionally." >&2;}
28298 { (exit 1); exit 1; }; }
28300 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
28301 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
28302 Usually this means the macro was only invoked conditionally." >&5
28303 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
28304 Usually this means the macro was only invoked conditionally." >&2;}
28305 { (exit 1); exit 1; }; }
28307 if test -z "${XLIB_AWT_TRUE}" && test -z "${XLIB_AWT_FALSE}"; then
28308 { { echo "$as_me:$LINENO: error: conditional \"XLIB_AWT\" was never defined.
28309 Usually this means the macro was only invoked conditionally." >&5
28310 echo "$as_me: error: conditional \"XLIB_AWT\" was never defined.
28311 Usually this means the macro was only invoked conditionally." >&2;}
28312 { (exit 1); exit 1; }; }
28314 if test -z "${X_AWT_TRUE}" && test -z "${X_AWT_FALSE}"; then
28315 { { echo "$as_me:$LINENO: error: conditional \"X_AWT\" was never defined.
28316 Usually this means the macro was only invoked conditionally." >&5
28317 echo "$as_me: error: conditional \"X_AWT\" was never defined.
28318 Usually this means the macro was only invoked conditionally." >&2;}
28319 { (exit 1); exit 1; }; }
28321 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
28322 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
28323 Usually this means the macro was only invoked conditionally." >&5
28324 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
28325 Usually this means the macro was only invoked conditionally." >&2;}
28326 { (exit 1); exit 1; }; }
28328 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
28329 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
28330 Usually this means the macro was only invoked conditionally." >&5
28331 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
28332 Usually this means the macro was only invoked conditionally." >&2;}
28333 { (exit 1); exit 1; }; }
28335 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
28336 { { echo "$as_me:$LINENO: error: conditional \"TESTSUBDIR\" was never defined.
28337 Usually this means the macro was only invoked conditionally." >&5
28338 echo "$as_me: error: conditional \"TESTSUBDIR\" was never defined.
28339 Usually this means the macro was only invoked conditionally." >&2;}
28340 { (exit 1); exit 1; }; }
28342 if test -z "${BUILD_ECJ1_TRUE}" && test -z "${BUILD_ECJ1_FALSE}"; then
28343 { { echo "$as_me:$LINENO: error: conditional \"BUILD_ECJ1\" was never defined.
28344 Usually this means the macro was only invoked conditionally." >&5
28345 echo "$as_me: error: conditional \"BUILD_ECJ1\" was never defined.
28346 Usually this means the macro was only invoked conditionally." >&2;}
28347 { (exit 1); exit 1; }; }
28349 if test -z "${INSTALL_ECJ_JAR_TRUE}" && test -z "${INSTALL_ECJ_JAR_FALSE}"; then
28350 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_ECJ_JAR\" was never defined.
28351 Usually this means the macro was only invoked conditionally." >&5
28352 echo "$as_me: error: conditional \"INSTALL_ECJ_JAR\" was never defined.
28353 Usually this means the macro was only invoked conditionally." >&2;}
28354 { (exit 1); exit 1; }; }
28356 if test -z "${JAVA_HOME_SET_TRUE}" && test -z "${JAVA_HOME_SET_FALSE}"; then
28357 { { echo "$as_me:$LINENO: error: conditional \"JAVA_HOME_SET\" was never defined.
28358 Usually this means the macro was only invoked conditionally." >&5
28359 echo "$as_me: error: conditional \"JAVA_HOME_SET\" was never defined.
28360 Usually this means the macro was only invoked conditionally." >&2;}
28361 { (exit 1); exit 1; }; }
28363 if test -z "${SUPPRESS_LIBGCJ_BC_TRUE}" && test -z "${SUPPRESS_LIBGCJ_BC_FALSE}"; then
28364 { { echo "$as_me:$LINENO: error: conditional \"SUPPRESS_LIBGCJ_BC\" was never defined.
28365 Usually this means the macro was only invoked conditionally." >&5
28366 echo "$as_me: error: conditional \"SUPPRESS_LIBGCJ_BC\" was never defined.
28367 Usually this means the macro was only invoked conditionally." >&2;}
28368 { (exit 1); exit 1; }; }
28370 if test -z "${INTERPRETER_TRUE}" && test -z "${INTERPRETER_FALSE}"; then
28371 { { echo "$as_me:$LINENO: error: conditional \"INTERPRETER\" was never defined.
28372 Usually this means the macro was only invoked conditionally." >&5
28373 echo "$as_me: error: conditional \"INTERPRETER\" was never defined.
28374 Usually this means the macro was only invoked conditionally." >&2;}
28375 { (exit 1); exit 1; }; }
28377 if test -z "${USING_WIN32_PLATFORM_TRUE}" && test -z "${USING_WIN32_PLATFORM_FALSE}"; then
28378 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
28379 Usually this means the macro was only invoked conditionally." >&5
28380 echo "$as_me: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
28381 Usually this means the macro was only invoked conditionally." >&2;}
28382 { (exit 1); exit 1; }; }
28384 if test -z "${USING_POSIX_PLATFORM_TRUE}" && test -z "${USING_POSIX_PLATFORM_FALSE}"; then
28385 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
28386 Usually this means the macro was only invoked conditionally." >&5
28387 echo "$as_me: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
28388 Usually this means the macro was only invoked conditionally." >&2;}
28389 { (exit 1); exit 1; }; }
28391 if test -z "${USING_DARWIN_CRT_TRUE}" && test -z "${USING_DARWIN_CRT_FALSE}"; then
28392 { { echo "$as_me:$LINENO: error: conditional \"USING_DARWIN_CRT\" was never defined.
28393 Usually this means the macro was only invoked conditionally." >&5
28394 echo "$as_me: error: conditional \"USING_DARWIN_CRT\" was never defined.
28395 Usually this means the macro was only invoked conditionally." >&2;}
28396 { (exit 1); exit 1; }; }
28398 if test -z "${USING_BOEHMGC_TRUE}" && test -z "${USING_BOEHMGC_FALSE}"; then
28399 { { echo "$as_me:$LINENO: error: conditional \"USING_BOEHMGC\" was never defined.
28400 Usually this means the macro was only invoked conditionally." >&5
28401 echo "$as_me: error: conditional \"USING_BOEHMGC\" was never defined.
28402 Usually this means the macro was only invoked conditionally." >&2;}
28403 { (exit 1); exit 1; }; }
28405 if test -z "${USING_NOGC_TRUE}" && test -z "${USING_NOGC_FALSE}"; then
28406 { { echo "$as_me:$LINENO: error: conditional \"USING_NOGC\" was never defined.
28407 Usually this means the macro was only invoked conditionally." >&5
28408 echo "$as_me: error: conditional \"USING_NOGC\" was never defined.
28409 Usually this means the macro was only invoked conditionally." >&2;}
28410 { (exit 1); exit 1; }; }
28412 if test -z "${USING_POSIX_THREADS_TRUE}" && test -z "${USING_POSIX_THREADS_FALSE}"; then
28413 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_THREADS\" was never defined.
28414 Usually this means the macro was only invoked conditionally." >&5
28415 echo "$as_me: error: conditional \"USING_POSIX_THREADS\" was never defined.
28416 Usually this means the macro was only invoked conditionally." >&2;}
28417 { (exit 1); exit 1; }; }
28419 if test -z "${USING_WIN32_THREADS_TRUE}" && test -z "${USING_WIN32_THREADS_FALSE}"; then
28420 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_THREADS\" was never defined.
28421 Usually this means the macro was only invoked conditionally." >&5
28422 echo "$as_me: error: conditional \"USING_WIN32_THREADS\" was never defined.
28423 Usually this means the macro was only invoked conditionally." >&2;}
28424 { (exit 1); exit 1; }; }
28426 if test -z "${USING_NO_THREADS_TRUE}" && test -z "${USING_NO_THREADS_FALSE}"; then
28427 { { echo "$as_me:$LINENO: error: conditional \"USING_NO_THREADS\" was never defined.
28428 Usually this means the macro was only invoked conditionally." >&5
28429 echo "$as_me: error: conditional \"USING_NO_THREADS\" was never defined.
28430 Usually this means the macro was only invoked conditionally." >&2;}
28431 { (exit 1); exit 1; }; }
28433 if test -z "${USE_LIBGCJ_BC_TRUE}" && test -z "${USE_LIBGCJ_BC_FALSE}"; then
28434 { { echo "$as_me:$LINENO: error: conditional \"USE_LIBGCJ_BC\" was never defined.
28435 Usually this means the macro was only invoked conditionally." >&5
28436 echo "$as_me: error: conditional \"USE_LIBGCJ_BC\" was never defined.
28437 Usually this means the macro was only invoked conditionally." >&2;}
28438 { (exit 1); exit 1; }; }
28440 if test -z "${USING_GCC_TRUE}" && test -z "${USING_GCC_FALSE}"; then
28441 { { echo "$as_me:$LINENO: error: conditional \"USING_GCC\" was never defined.
28442 Usually this means the macro was only invoked conditionally." >&5
28443 echo "$as_me: error: conditional \"USING_GCC\" was never defined.
28444 Usually this means the macro was only invoked conditionally." >&2;}
28445 { (exit 1); exit 1; }; }
28447 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
28448 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
28449 Usually this means the macro was only invoked conditionally." >&5
28450 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
28451 Usually this means the macro was only invoked conditionally." >&2;}
28452 { (exit 1); exit 1; }; }
28454 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
28455 { { echo "$as_me:$LINENO: error: conditional \"NATIVE\" was never defined.
28456 Usually this means the macro was only invoked conditionally." >&5
28457 echo "$as_me: error: conditional \"NATIVE\" was never defined.
28458 Usually this means the macro was only invoked conditionally." >&2;}
28459 { (exit 1); exit 1; }; }
28461 if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
28462 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SHARED\" was never defined.
28463 Usually this means the macro was only invoked conditionally." >&5
28464 echo "$as_me: error: conditional \"ENABLE_SHARED\" was never defined.
28465 Usually this means the macro was only invoked conditionally." >&2;}
28466 { (exit 1); exit 1; }; }
28468 if test -z "${NEEDS_DATA_START_TRUE}" && test -z "${NEEDS_DATA_START_FALSE}"; then
28469 { { echo "$as_me:$LINENO: error: conditional \"NEEDS_DATA_START\" was never defined.
28470 Usually this means the macro was only invoked conditionally." >&5
28471 echo "$as_me: error: conditional \"NEEDS_DATA_START\" was never defined.
28472 Usually this means the macro was only invoked conditionally." >&2;}
28473 { (exit 1); exit 1; }; }
28475 if test -z "${ANONVERSCRIPT_TRUE}" && test -z "${ANONVERSCRIPT_FALSE}"; then
28476 { { echo "$as_me:$LINENO: error: conditional \"ANONVERSCRIPT\" was never defined.
28477 Usually this means the macro was only invoked conditionally." >&5
28478 echo "$as_me: error: conditional \"ANONVERSCRIPT\" was never defined.
28479 Usually this means the macro was only invoked conditionally." >&2;}
28480 { (exit 1); exit 1; }; }
28482 if test -z "${INSTALL_AOT_RPM_TRUE}" && test -z "${INSTALL_AOT_RPM_FALSE}"; then
28483 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_AOT_RPM\" was never defined.
28484 Usually this means the macro was only invoked conditionally." >&5
28485 echo "$as_me: error: conditional \"INSTALL_AOT_RPM\" was never defined.
28486 Usually this means the macro was only invoked conditionally." >&2;}
28487 { (exit 1); exit 1; }; }
28489 if test -z "${CREATE_JAVA_HOME_TRUE}" && test -z "${CREATE_JAVA_HOME_FALSE}"; then
28490 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JAVA_HOME\" was never defined.
28491 Usually this means the macro was only invoked conditionally." >&5
28492 echo "$as_me: error: conditional \"CREATE_JAVA_HOME\" was never defined.
28493 Usually this means the macro was only invoked conditionally." >&2;}
28494 { (exit 1); exit 1; }; }
28497 : ${CONFIG_STATUS=./config.status}
28498 ac_clean_files_save
=$ac_clean_files
28499 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
28500 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
28501 echo "$as_me: creating $CONFIG_STATUS" >&6;}
28502 cat >$CONFIG_STATUS <<_ACEOF
28504 # Generated by $as_me.
28505 # Run this file to recreate the current configuration.
28506 # Compiler output produced by configure, useful for debugging
28507 # configure, is in config.log if it exists.
28510 ac_cs_recheck=false
28512 SHELL=\${CONFIG_SHELL-$SHELL}
28515 cat >>$CONFIG_STATUS <<\_ACEOF
28516 ## --------------------- ##
28517 ## M4sh Initialization. ##
28518 ## --------------------- ##
28520 # Be Bourne compatible
28521 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
28524 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
28525 # is contrary to our usage. Disable this feature.
28526 alias -g '${1+"$@"}'='"$@"'
28527 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
28530 DUALCASE
=1; export DUALCASE
# for MKS sh
28532 # Support unset when possible.
28533 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
28540 # Work around bugs in pre-3.0 UWIN ksh.
28541 $as_unset ENV MAIL MAILPATH
28548 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
28549 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
28550 LC_TELEPHONE LC_TIME
28552 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
28553 eval $as_var=C
; export $as_var
28559 # Required to use basename.
28560 if expr a
: '\(a\)' >/dev
/null
2>&1; then
28566 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
28567 as_basename
=basename
28573 # Name of the executable.
28574 as_me
=`$as_basename "$0" ||
28575 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
28576 X"$0" : 'X\(//\)$' \| \
28577 X"$0" : 'X\(/\)$' \| \
28578 . : '\(.\)' 2>/dev/null ||
28580 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
28581 /^X\/\(\/\/\)$/{ s//\1/; q; }
28582 /^X\/\(\/\).*/{ s//\1/; q; }
28586 # PATH needs CR, and LINENO needs CR and PATH.
28587 # Avoid depending upon Character Ranges.
28588 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
28589 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
28590 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
28591 as_cr_digits
='0123456789'
28592 as_cr_alnum
=$as_cr_Letters$as_cr_digits
28594 # The user is always right.
28595 if test "${PATH_SEPARATOR+set}" != set; then
28596 echo "#! /bin/sh" >conf$$.sh
28597 echo "exit 0" >>conf$$.sh
28599 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
28608 as_lineno_1
=$LINENO
28609 as_lineno_2
=$LINENO
28610 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
28611 test "x$as_lineno_1" != "x$as_lineno_2" &&
28612 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
28613 # Find who we are. Look in the path if we contain no path at all
28616 *[\\/]* ) as_myself
=$0 ;;
28617 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28618 for as_dir
in $PATH
28621 test -z "$as_dir" && as_dir
=.
28622 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
28627 # We did not find ourselves, most probably we were run as `sh COMMAND'
28628 # in which case we are not to be found in the path.
28629 if test "x$as_myself" = x
; then
28632 if test ! -f "$as_myself"; then
28633 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
28634 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
28635 { (exit 1); exit 1; }; }
28637 case $CONFIG_SHELL in
28639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28640 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
28643 test -z "$as_dir" && as_dir
=.
28644 for as_base
in sh bash ksh sh5
; do
28647 if ("$as_dir/$as_base" -c '
28648 as_lineno_1=$LINENO
28649 as_lineno_2=$LINENO
28650 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
28651 test "x$as_lineno_1" != "x$as_lineno_2" &&
28652 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
28653 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
28654 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
28655 CONFIG_SHELL
=$as_dir/$as_base
28656 export CONFIG_SHELL
28657 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
28665 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
28666 # uniformly replaced by the line number. The first 'sed' inserts a
28667 # line-number line before each line; the second 'sed' does the real
28668 # work. The second script uses 'N' to pair each line-number line
28669 # with the numbered line, and appends trailing '-' during
28670 # substitution so that $LINENO is not a special case at line end.
28671 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
28672 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
28673 sed '=' <$as_myself |
28678 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
28681 s,^['$as_cr_digits']*\n,,
28682 ' >$as_me.lineno
&&
28683 chmod +x
$as_me.lineno ||
28684 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
28685 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
28686 { (exit 1); exit 1; }; }
28688 # Don't try to exec as it changes $[0], causing all sort of problems
28689 # (the dirname of $[0] is not the place where we might find the
28690 # original and so on. Autoconf is especially sensible to this).
28692 # Exit status is that of the last command.
28697 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
28698 *c
*,-n*) ECHO_N
= ECHO_C
='
28700 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
28701 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
28704 if expr a
: '\(a\)' >/dev
/null
2>&1; then
28710 rm -f conf$$ conf$$.exe conf$$.
file
28712 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
28713 # We could just check for DJGPP; but this test a) works b) is more generic
28714 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
28715 if test -f conf$$.exe
; then
28716 # Don't use ln at all; we don't have any links
28721 elif ln conf$$.
file conf$$
2>/dev
/null
; then
28726 rm -f conf$$ conf$$.exe conf$$.
file
28728 if mkdir
-p .
2>/dev
/null
; then
28731 test -d .
/-p && rmdir .
/-p
28735 as_executable_p
="test -f"
28737 # Sed expression to map a string onto a valid CPP name.
28738 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
28740 # Sed expression to map a string onto a valid variable name.
28741 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
28745 # We need space, tab and new line, in precisely that order.
28755 # Open the log real soon, to keep \$[0] and so on meaningful, and to
28756 # report actual input values of CONFIG_FILES etc. instead of their
28757 # values after options handling. Logging --version etc. is OK.
28761 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
28762 ## Running $as_me. ##
28767 This file was extended by libjava $as_me version-unused, which was
28768 generated by GNU Autoconf 2.59. Invocation command line was
28770 CONFIG_FILES = $CONFIG_FILES
28771 CONFIG_HEADERS = $CONFIG_HEADERS
28772 CONFIG_LINKS = $CONFIG_LINKS
28773 CONFIG_COMMANDS = $CONFIG_COMMANDS
28777 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
28781 # Files that config.status was made for.
28782 if test -n "$ac_config_files"; then
28783 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
28786 if test -n "$ac_config_headers"; then
28787 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
28790 if test -n "$ac_config_links"; then
28791 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
28794 if test -n "$ac_config_commands"; then
28795 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
28798 cat >>$CONFIG_STATUS <<\_ACEOF
28801 \`$as_me' instantiates files from templates according to the
28802 current configuration.
28804 Usage: $0 [OPTIONS] [FILE]...
28806 -h, --help print this help, then exit
28807 -V, --version print version number, then exit
28808 -q, --quiet do not print progress messages
28809 -d, --debug don't remove temporary files
28810 --recheck update $as_me by reconfiguring in the same conditions
28811 --file=FILE[:TEMPLATE]
28812 instantiate the configuration file FILE
28813 --header=FILE[:TEMPLATE]
28814 instantiate the configuration header FILE
28816 Configuration files:
28819 Configuration headers:
28822 Configuration links:
28825 Configuration commands:
28828 Report bugs to <bug-autoconf@gnu.org>."
28831 cat >>$CONFIG_STATUS <<_ACEOF
28833 libjava config.status version-unused
28834 configured by $0, generated by GNU Autoconf 2.59,
28835 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
28837 Copyright (C) 2003 Free Software Foundation, Inc.
28838 This config.status script is free software; the Free Software Foundation
28839 gives unlimited permission to copy, distribute and modify it."
28844 cat >>$CONFIG_STATUS <<\_ACEOF
28845 # If no file are specified by the user, then we need to provide default
28846 # value. By we need to know if files were specified by the user.
28852 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
28853 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
28861 *) # This is not an option, so the user has probably given explicit
28864 ac_need_defaults
=false
;;
28868 # Handling of the options.
28870 cat >>$CONFIG_STATUS <<\_ACEOF
28871 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
28873 --version |
--vers* |
-V )
28874 echo "$ac_cs_version"; exit 0 ;;
28876 # Conflict between --help and --header
28877 { { echo "$as_me:$LINENO: error: ambiguous option: $1
28878 Try \`$0 --help' for more information." >&5
28879 echo "$as_me: error: ambiguous option: $1
28880 Try \`$0 --help' for more information." >&2;}
28881 { (exit 1); exit 1; }; };;
28882 --help |
--hel |
-h )
28883 echo "$ac_cs_usage"; exit 0 ;;
28884 --debug |
--d* |
-d )
28886 --file |
--fil |
--fi |
--f )
28888 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
28889 ac_need_defaults
=false
;;
28890 --header |
--heade |
--head |
--hea )
28892 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
28893 ac_need_defaults
=false
;;
28894 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
28895 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
28898 # This is an error.
28899 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
28900 Try \`$0 --help' for more information." >&5
28901 echo "$as_me: error: unrecognized option: $1
28902 Try \`$0 --help' for more information." >&2;}
28903 { (exit 1); exit 1; }; } ;;
28905 *) ac_config_targets
="$ac_config_targets $1" ;;
28911 ac_configure_extra_args
=
28913 if $ac_cs_silent; then
28915 ac_configure_extra_args
="$ac_configure_extra_args --silent"
28919 cat >>$CONFIG_STATUS <<_ACEOF
28920 if \$ac_cs_recheck; then
28921 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
28922 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
28927 cat >>$CONFIG_STATUS <<_ACEOF
28929 # INIT-COMMANDS section.
28936 with_multisubdir="$with_multisubdir"
28937 with_multisrctop="$with_multisrctop"
28938 with_target_subdir="$with_target_subdir"
28939 ac_configure_args="${multilib_arg} ${ac_configure_args}"
28940 multi_basedir="$multi_basedir"
28941 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
28943 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
28946 # The HP-UX ksh and POSIX shell print the target directory to stdout
28947 # if CDPATH is set.
28948 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
28950 sed_quote_subst='$sed_quote_subst'
28951 double_quote_subst='$double_quote_subst'
28952 delay_variable_subst='$delay_variable_subst'
28953 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
28954 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
28955 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
28956 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
28957 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
28958 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
28959 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
28960 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
28961 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
28962 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
28963 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
28964 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
28965 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
28966 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
28967 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
28968 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
28969 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
28970 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
28971 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
28972 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
28973 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
28974 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
28975 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
28976 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
28977 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
28978 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
28979 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
28980 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28981 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
28982 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
28983 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
28984 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
28985 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
28986 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
28987 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28988 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28989 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28990 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
28991 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
28992 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
28993 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
28994 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
28995 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
28996 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"`'
28997 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
28998 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
28999 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
29000 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
29001 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
29002 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
29003 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
29004 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
29005 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
29006 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
29007 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
29008 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29009 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29010 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
29011 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
29012 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
29013 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
29014 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
29015 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29016 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29017 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29018 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29019 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29020 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29021 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
29022 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
29023 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
29024 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
29025 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
29026 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
29027 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
29028 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
29029 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
29030 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
29031 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
29032 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
29033 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
29034 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
29035 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
29036 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29037 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
29038 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
29039 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29040 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
29041 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
29042 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
29043 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
29044 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
29045 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
29046 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
29047 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
29048 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
29049 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
29050 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
29051 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29052 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29053 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29054 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
29055 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
29056 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
29057 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
29058 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
29059 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
29060 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
29061 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
29062 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
29063 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
29064 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
29065 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
29066 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
29067 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
29068 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
29069 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29070 LD_GCJ='`$ECHO "X$LD_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29071 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29072 old_archive_cmds_GCJ='`$ECHO "X$old_archive_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29073 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29074 compiler_GCJ='`$ECHO "X$compiler_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29075 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29076 GCC_GCJ='`$ECHO "X$GCC_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29077 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29078 lt_prog_compiler_no_builtin_flag_GCJ='`$ECHO "X$lt_prog_compiler_no_builtin_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29079 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29080 lt_prog_compiler_wl_GCJ='`$ECHO "X$lt_prog_compiler_wl_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29081 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29082 lt_prog_compiler_pic_GCJ='`$ECHO "X$lt_prog_compiler_pic_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29083 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29084 lt_prog_compiler_static_GCJ='`$ECHO "X$lt_prog_compiler_static_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29085 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29086 lt_cv_prog_compiler_c_o_GCJ='`$ECHO "X$lt_cv_prog_compiler_c_o_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29087 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29088 archive_cmds_need_lc_GCJ='`$ECHO "X$archive_cmds_need_lc_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29089 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29090 enable_shared_with_static_runtimes_GCJ='`$ECHO "X$enable_shared_with_static_runtimes_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29091 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29092 export_dynamic_flag_spec_GCJ='`$ECHO "X$export_dynamic_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29093 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29094 whole_archive_flag_spec_GCJ='`$ECHO "X$whole_archive_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29095 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29096 compiler_needs_object_GCJ='`$ECHO "X$compiler_needs_object_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29097 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29098 old_archive_from_new_cmds_GCJ='`$ECHO "X$old_archive_from_new_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29099 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29100 old_archive_from_expsyms_cmds_GCJ='`$ECHO "X$old_archive_from_expsyms_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29101 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29102 archive_cmds_GCJ='`$ECHO "X$archive_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29103 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29104 archive_expsym_cmds_GCJ='`$ECHO "X$archive_expsym_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29105 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29106 module_cmds_GCJ='`$ECHO "X$module_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29107 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29108 module_expsym_cmds_GCJ='`$ECHO "X$module_expsym_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29109 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29110 with_gnu_ld_GCJ='`$ECHO "X$with_gnu_ld_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29111 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29112 allow_undefined_flag_GCJ='`$ECHO "X$allow_undefined_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29113 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29114 no_undefined_flag_GCJ='`$ECHO "X$no_undefined_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29115 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29116 hardcode_libdir_flag_spec_GCJ='`$ECHO "X$hardcode_libdir_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29117 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29118 hardcode_libdir_flag_spec_ld_GCJ='`$ECHO "X$hardcode_libdir_flag_spec_ld_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29119 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29120 hardcode_libdir_separator_GCJ='`$ECHO "X$hardcode_libdir_separator_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29121 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29122 hardcode_direct_GCJ='`$ECHO "X$hardcode_direct_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29123 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29124 hardcode_direct_absolute_GCJ='`$ECHO "X$hardcode_direct_absolute_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29125 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29126 hardcode_minus_L_GCJ='`$ECHO "X$hardcode_minus_L_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29127 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29128 hardcode_shlibpath_var_GCJ='`$ECHO "X$hardcode_shlibpath_var_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29129 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29130 hardcode_automatic_GCJ='`$ECHO "X$hardcode_automatic_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29131 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29132 inherit_rpath_GCJ='`$ECHO "X$inherit_rpath_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29133 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29134 link_all_deplibs_GCJ='`$ECHO "X$link_all_deplibs_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29135 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29136 fix_srcfile_path_GCJ='`$ECHO "X$fix_srcfile_path_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29137 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29138 always_export_symbols_GCJ='`$ECHO "X$always_export_symbols_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29139 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29140 export_symbols_cmds_GCJ='`$ECHO "X$export_symbols_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29141 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29142 exclude_expsyms_GCJ='`$ECHO "X$exclude_expsyms_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29143 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29144 include_expsyms_GCJ='`$ECHO "X$include_expsyms_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29145 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29146 prelink_cmds_GCJ='`$ECHO "X$prelink_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29147 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29148 file_list_spec_GCJ='`$ECHO "X$file_list_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29149 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29150 hardcode_action_GCJ='`$ECHO "X$hardcode_action_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29151 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29152 predep_objects_GCJ='`$ECHO "X$predep_objects_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29153 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29154 postdep_objects_GCJ='`$ECHO "X$postdep_objects_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29155 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29156 predeps_GCJ='`$ECHO "X$predeps_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29157 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29158 postdeps_GCJ='`$ECHO "X$postdeps_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29159 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29160 compiler_lib_search_path_GCJ='`$ECHO "X$compiler_lib_search_path_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29163 LTCFLAGS='$LTCFLAGS'
29164 compiler='$compiler_DEFAULT'
29166 # Quote evaled strings.
29177 deplibs_check_method \
29186 lt_cv_sys_global_symbol_pipe \
29187 lt_cv_sys_global_symbol_to_cdecl \
29188 lt_cv_sys_global_symbol_to_c_name_address \
29191 lt_prog_compiler_no_builtin_flag \
29192 lt_prog_compiler_wl \
29193 lt_prog_compiler_pic \
29194 lt_prog_compiler_static \
29195 lt_cv_prog_compiler_c_o \
29198 export_dynamic_flag_spec \
29199 whole_archive_flag_spec \
29200 compiler_needs_object \
29202 allow_undefined_flag \
29203 no_undefined_flag \
29204 hardcode_libdir_flag_spec \
29205 hardcode_libdir_flag_spec_ld \
29206 hardcode_libdir_separator \
29211 variables_saved_for_relink \
29213 library_names_spec \
29222 compiler_lib_search_path \
29227 lt_prog_compiler_no_builtin_flag_CXX \
29228 lt_prog_compiler_no_builtin_flag_GCJ \
29229 lt_prog_compiler_wl_CXX \
29230 lt_prog_compiler_wl_GCJ \
29231 lt_prog_compiler_pic_CXX \
29232 lt_prog_compiler_pic_GCJ \
29233 lt_prog_compiler_static_CXX \
29234 lt_prog_compiler_static_GCJ \
29235 lt_cv_prog_compiler_c_o_CXX \
29236 lt_cv_prog_compiler_c_o_GCJ \
29237 export_dynamic_flag_spec_CXX \
29238 export_dynamic_flag_spec_GCJ \
29239 whole_archive_flag_spec_CXX \
29240 whole_archive_flag_spec_GCJ \
29241 compiler_needs_object_CXX \
29242 compiler_needs_object_GCJ \
29245 allow_undefined_flag_CXX \
29246 allow_undefined_flag_GCJ \
29247 no_undefined_flag_CXX \
29248 no_undefined_flag_GCJ \
29249 hardcode_libdir_flag_spec_CXX \
29250 hardcode_libdir_flag_spec_GCJ \
29251 hardcode_libdir_flag_spec_ld_CXX \
29252 hardcode_libdir_flag_spec_ld_GCJ \
29253 hardcode_libdir_separator_CXX \
29254 hardcode_libdir_separator_GCJ \
29255 fix_srcfile_path_CXX \
29256 fix_srcfile_path_GCJ \
29257 exclude_expsyms_CXX \
29258 exclude_expsyms_GCJ \
29259 include_expsyms_CXX \
29260 include_expsyms_GCJ \
29261 file_list_spec_CXX \
29262 file_list_spec_GCJ \
29263 predep_objects_CXX \
29264 predep_objects_GCJ \
29265 postdep_objects_CXX \
29266 postdep_objects_GCJ \
29271 compiler_lib_search_path_CXX \
29272 compiler_lib_search_path_GCJ; do
29273 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
29274 *[\\\\\\\`\\"\\\$]*)
29275 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
29278 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
29283 # Double-quote double-evaled strings.
29284 for var in reload_cmds \
29285 old_postinstall_cmds \
29286 old_postuninstall_cmds \
29288 extract_expsyms_cmds \
29289 old_archive_from_new_cmds \
29290 old_archive_from_expsyms_cmds \
29292 archive_expsym_cmds \
29294 module_expsym_cmds \
29295 export_symbols_cmds \
29298 postuninstall_cmds \
29300 sys_lib_search_path_spec \
29301 sys_lib_dlsearch_path_spec \
29302 old_archive_cmds_CXX \
29303 old_archive_cmds_GCJ \
29304 old_archive_from_new_cmds_CXX \
29305 old_archive_from_new_cmds_GCJ \
29306 old_archive_from_expsyms_cmds_CXX \
29307 old_archive_from_expsyms_cmds_GCJ \
29310 archive_expsym_cmds_CXX \
29311 archive_expsym_cmds_GCJ \
29314 module_expsym_cmds_CXX \
29315 module_expsym_cmds_GCJ \
29316 export_symbols_cmds_CXX \
29317 export_symbols_cmds_GCJ \
29319 prelink_cmds_GCJ; do
29320 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
29321 *[\\\\\\\`\\"\\\$]*)
29322 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
29325 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
29330 # Fix-up fallback echo if it was mangled by the above quoting rules.
29332 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
29336 ac_aux_dir='$ac_aux_dir'
29337 xsi_shell='$xsi_shell'
29338 lt_shell_append='$lt_shell_append'
29340 # See if we are running on zsh, and set the options which allow our
29341 # commands through without removal of \ escapes INIT.
29342 if test -n "\${ZSH_VERSION+set}" ; then
29343 setopt NO_GLOB_SUBST
29349 TIMESTAMP='$TIMESTAMP'
29364 cat >>$CONFIG_STATUS <<\_ACEOF
29365 for ac_config_target
in $ac_config_targets
29367 case "$ac_config_target" in
29368 # Handling of arguments.
29369 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
29370 "libgcj.pc" ) CONFIG_FILES
="$CONFIG_FILES libgcj.pc" ;;
29371 "libgcj.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj.spec" ;;
29372 "libgcj-test.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj-test.spec" ;;
29373 "gcj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gcj/Makefile" ;;
29374 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
29375 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
29376 "contrib/aotcompile.py" ) CONFIG_FILES
="$CONFIG_FILES contrib/aotcompile.py" ;;
29377 "contrib/aot-compile" ) CONFIG_FILES
="$CONFIG_FILES contrib/aot-compile" ;;
29378 "contrib/aot-compile-rpm" ) CONFIG_FILES
="$CONFIG_FILES contrib/aot-compile-rpm" ;;
29379 "contrib/rebuild-gcj-db" ) CONFIG_FILES
="$CONFIG_FILES contrib/rebuild-gcj-db" ;;
29380 "scripts/jar" ) CONFIG_FILES
="$CONFIG_FILES scripts/jar" ;;
29381 "include/platform.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/platform.h:include/$PLATFORMH" ;;
29382 "java/io/natFile.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc" ;;
29383 "java/lang/natConcreteProcess.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc" ;;
29384 "java/net/natVMInetAddress.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc" ;;
29385 "java/net/natVMNetworkInterface.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc" ;;
29386 "gnu/java/net/natPlainSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc" ;;
29387 "gnu/java/net/natPlainDatagramSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc" ;;
29388 "gnu/java/nio/natVMPipe.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc" ;;
29389 "gnu/java/nio/natVMSelector.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc" ;;
29390 "gnu/java/nio/channels/natFileChannelImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc" ;;
29391 "include/java-gc.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-gc.h:include/$GCHDR" ;;
29392 "include/java-threads.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-threads.h:include/$THREADH" ;;
29393 "sysdep/locks.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/locks.h:sysdep/$sysdeps_dir/locks.h" ;;
29394 "sysdep/backtrace.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/backtrace.h:$fallback_backtrace_h" ;;
29395 "sysdep/descriptor.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/descriptor.h:$descriptor_h" ;;
29396 "include/java-signal.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal.h:$SIGNAL_HANDLER" ;;
29397 "include/java-signal-aux.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal-aux.h:$SIGNAL_HANDLER_AUX" ;;
29398 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
29399 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
29400 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
29401 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
29402 "gcj/libgcj-config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS gcj/libgcj-config.h" ;;
29403 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
29404 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
29405 { (exit 1); exit 1; }; };;
29409 # If the user did not use the arguments to specify the items to instantiate,
29410 # then the envvar interface is used. Set only those that are not.
29411 # We use the long form for the default assignment because of an extremely
29412 # bizarre bug on SunOS 4.1.3.
29413 if $ac_need_defaults; then
29414 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
29415 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
29416 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
29417 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
29420 # Have a temporary directory for convenience. Make it in the build tree
29421 # simply because there is no reason to put it here, and in addition,
29422 # creating and moving files from /tmp can sometimes cause problems.
29423 # Create a temporary directory, and hook for its removal unless debugging.
29426 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
29427 trap '{ (exit 1); exit 1; }' 1 2 13 15
29430 # Create a (secure) tmp directory for tmp files.
29433 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
29434 test -n "$tmp" && test -d "$tmp"
29437 tmp
=.
/confstat$$
-$RANDOM
29438 (umask 077 && mkdir
$tmp)
29441 echo "$me: cannot create a temporary directory in ." >&2
29442 { (exit 1); exit 1; }
29447 cat >>$CONFIG_STATUS <<_ACEOF
29450 # CONFIG_FILES section.
29453 # No need to generate the scripts if there are no CONFIG_FILES.
29454 # This happens for instance when ./config.status config.h
29455 if test -n "\$CONFIG_FILES"; then
29456 # Protect against being on the right side of a sed subst in config.status.
29457 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
29458 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
29459 s,@SHELL@,$SHELL,;t t
29460 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
29461 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
29462 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
29463 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
29464 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
29465 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
29466 s,@exec_prefix@,$exec_prefix,;t t
29467 s,@prefix@,$prefix,;t t
29468 s,@program_transform_name@,$program_transform_name,;t t
29469 s,@bindir@,$bindir,;t t
29470 s,@sbindir@,$sbindir,;t t
29471 s,@libexecdir@,$libexecdir,;t t
29472 s,@datadir@,$datadir,;t t
29473 s,@sysconfdir@,$sysconfdir,;t t
29474 s,@sharedstatedir@,$sharedstatedir,;t t
29475 s,@localstatedir@,$localstatedir,;t t
29476 s,@libdir@,$libdir,;t t
29477 s,@includedir@,$includedir,;t t
29478 s,@oldincludedir@,$oldincludedir,;t t
29479 s,@infodir@,$infodir,;t t
29480 s,@mandir@,$mandir,;t t
29481 s,@build_alias@,$build_alias,;t t
29482 s,@host_alias@,$host_alias,;t t
29483 s,@target_alias@,$target_alias,;t t
29484 s,@DEFS@,$DEFS,;t t
29485 s,@ECHO_C@,$ECHO_C,;t t
29486 s,@ECHO_N@,$ECHO_N,;t t
29487 s,@ECHO_T@,$ECHO_T,;t t
29488 s,@LIBS@,$LIBS,;t t
29489 s,@build@,$build,;t t
29490 s,@build_cpu@,$build_cpu,;t t
29491 s,@build_vendor@,$build_vendor,;t t
29492 s,@build_os@,$build_os,;t t
29493 s,@build_libsubdir@,$build_libsubdir,;t t
29494 s,@build_subdir@,$build_subdir,;t t
29495 s,@host_subdir@,$host_subdir,;t t
29496 s,@target_subdir@,$target_subdir,;t t
29497 s,@multi_basedir@,$multi_basedir,;t t
29498 s,@host@,$host,;t t
29499 s,@host_cpu@,$host_cpu,;t t
29500 s,@host_vendor@,$host_vendor,;t t
29501 s,@host_os@,$host_os,;t t
29502 s,@target@,$target,;t t
29503 s,@target_cpu@,$target_cpu,;t t
29504 s,@target_vendor@,$target_vendor,;t t
29505 s,@target_os@,$target_os,;t t
29506 s,@target_noncanonical@,$target_noncanonical,;t t
29507 s,@LN_S@,$LN_S,;t t
29508 s,@mkinstalldirs@,$mkinstalldirs,;t t
29509 s,@JAVA_MAINTAINER_MODE_TRUE@,$JAVA_MAINTAINER_MODE_TRUE,;t t
29510 s,@JAVA_MAINTAINER_MODE_FALSE@,$JAVA_MAINTAINER_MODE_FALSE,;t t
29512 s,@ac_ct_CC@,$ac_ct_CC,;t t
29513 s,@EXEEXT@,$EXEEXT,;t t
29514 s,@OBJEXT@,$OBJEXT,;t t
29516 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
29517 s,@CFLAGS@,$CFLAGS,;t t
29518 s,@CXXFLAGS@,$CXXFLAGS,;t t
29519 s,@LDFLAGS@,$LDFLAGS,;t t
29520 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
29521 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
29522 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
29523 s,@CYGPATH_W@,$CYGPATH_W,;t t
29524 s,@PACKAGE@,$PACKAGE,;t t
29525 s,@VERSION@,$VERSION,;t t
29526 s,@ACLOCAL@,$ACLOCAL,;t t
29527 s,@AUTOCONF@,$AUTOCONF,;t t
29528 s,@AUTOMAKE@,$AUTOMAKE,;t t
29529 s,@AUTOHEADER@,$AUTOHEADER,;t t
29530 s,@MAKEINFO@,$MAKEINFO,;t t
29531 s,@install_sh@,$install_sh,;t t
29532 s,@STRIP@,$STRIP,;t t
29533 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
29534 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
29535 s,@mkdir_p@,$mkdir_p,;t t
29537 s,@SET_MAKE@,$SET_MAKE,;t t
29538 s,@am__leading_dot@,$am__leading_dot,;t t
29539 s,@AMTAR@,$AMTAR,;t t
29540 s,@am__tar@,$am__tar,;t t
29541 s,@am__untar@,$am__untar,;t t
29542 s,@DEPDIR@,$DEPDIR,;t t
29543 s,@am__include@,$am__include,;t t
29544 s,@am__quote@,$am__quote,;t t
29545 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
29546 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
29547 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
29548 s,@CCDEPMODE@,$CCDEPMODE,;t t
29549 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
29550 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
29551 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
29552 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
29553 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
29555 s,@ac_ct_AS@,$ac_ct_AS,;t t
29557 s,@ac_ct_LD@,$ac_ct_LD,;t t
29559 s,@ac_ct_AR@,$ac_ct_AR,;t t
29560 s,@RANLIB@,$RANLIB,;t t
29561 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
29564 s,@UNZIP@,$UNZIP,;t t
29565 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
29566 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
29567 s,@MAINT@,$MAINT,;t t
29568 s,@LIBGCJ_CFLAGS@,$LIBGCJ_CFLAGS,;t t
29569 s,@LIBGCJ_CXXFLAGS@,$LIBGCJ_CXXFLAGS,;t t
29570 s,@LIBGCJ_JAVAFLAGS@,$LIBGCJ_JAVAFLAGS,;t t
29571 s,@LIBGCJ_LD_SYMBOLIC@,$LIBGCJ_LD_SYMBOLIC,;t t
29572 s,@LIBGCJ_LD_SYMBOLIC_FUNCTIONS@,$LIBGCJ_LD_SYMBOLIC_FUNCTIONS,;t t
29573 s,@LIBGCJDEBUG@,$LIBGCJDEBUG,;t t
29574 s,@TOOLKIT@,$TOOLKIT,;t t
29575 s,@XLIB_AWT_TRUE@,$XLIB_AWT_TRUE,;t t
29576 s,@XLIB_AWT_FALSE@,$XLIB_AWT_FALSE,;t t
29577 s,@X_AWT_TRUE@,$X_AWT_TRUE,;t t
29578 s,@X_AWT_FALSE@,$X_AWT_FALSE,;t t
29579 s,@GCJ_FOR_ECJX@,$GCJ_FOR_ECJX,;t t
29580 s,@GCJH@,$GCJH,;t t
29581 s,@host_exeext@,$host_exeext,;t t
29582 s,@INCLTDL@,$INCLTDL,;t t
29583 s,@LIBLTDL@,$LIBLTDL,;t t
29584 s,@DIRLTDL@,$DIRLTDL,;t t
29585 s,@LIBTOOL@,$LIBTOOL,;t t
29587 s,@EGREP@,$EGREP,;t t
29588 s,@FGREP@,$FGREP,;t t
29589 s,@GREP@,$GREP,;t t
29590 s,@DUMPBIN@,$DUMPBIN,;t t
29591 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
29593 s,@lt_ECHO@,$lt_ECHO,;t t
29595 s,@CPPFLAGS@,$CPPFLAGS,;t t
29596 s,@CXXCPP@,$CXXCPP,;t t
29598 s,@GCJFLAGS@,$GCJFLAGS,;t t
29599 s,@GCJDEPMODE@,$GCJDEPMODE,;t t
29600 s,@am__fastdepGCJ_TRUE@,$am__fastdepGCJ_TRUE,;t t
29601 s,@am__fastdepGCJ_FALSE@,$am__fastdepGCJ_FALSE,;t t
29602 s,@subdirs@,$subdirs,;t t
29603 s,@TESTSUBDIR_TRUE@,$TESTSUBDIR_TRUE,;t t
29604 s,@TESTSUBDIR_FALSE@,$TESTSUBDIR_FALSE,;t t
29605 s,@ECJ_BUILD_JAR@,$ECJ_BUILD_JAR,;t t
29606 s,@ECJ_JAR@,$ECJ_JAR,;t t
29607 s,@BUILD_ECJ1_TRUE@,$BUILD_ECJ1_TRUE,;t t
29608 s,@BUILD_ECJ1_FALSE@,$BUILD_ECJ1_FALSE,;t t
29609 s,@INSTALL_ECJ_JAR_TRUE@,$INSTALL_ECJ_JAR_TRUE,;t t
29610 s,@INSTALL_ECJ_JAR_FALSE@,$INSTALL_ECJ_JAR_FALSE,;t t
29611 s,@JAVA_HOME_SET_TRUE@,$JAVA_HOME_SET_TRUE,;t t
29612 s,@JAVA_HOME_SET_FALSE@,$JAVA_HOME_SET_FALSE,;t t
29613 s,@JAVA_HOME@,$JAVA_HOME,;t t
29614 s,@SUPPRESS_LIBGCJ_BC_TRUE@,$SUPPRESS_LIBGCJ_BC_TRUE,;t t
29615 s,@SUPPRESS_LIBGCJ_BC_FALSE@,$SUPPRESS_LIBGCJ_BC_FALSE,;t t
29616 s,@INTERPRETER@,$INTERPRETER,;t t
29617 s,@INTERPRETER_TRUE@,$INTERPRETER_TRUE,;t t
29618 s,@INTERPRETER_FALSE@,$INTERPRETER_FALSE,;t t
29619 s,@LIBFFI@,$LIBFFI,;t t
29620 s,@LIBFFIINCS@,$LIBFFIINCS,;t t
29621 s,@PLATFORM@,$PLATFORM,;t t
29622 s,@USING_WIN32_PLATFORM_TRUE@,$USING_WIN32_PLATFORM_TRUE,;t t
29623 s,@USING_WIN32_PLATFORM_FALSE@,$USING_WIN32_PLATFORM_FALSE,;t t
29624 s,@USING_POSIX_PLATFORM_TRUE@,$USING_POSIX_PLATFORM_TRUE,;t t
29625 s,@USING_POSIX_PLATFORM_FALSE@,$USING_POSIX_PLATFORM_FALSE,;t t
29626 s,@USING_DARWIN_CRT_TRUE@,$USING_DARWIN_CRT_TRUE,;t t
29627 s,@USING_DARWIN_CRT_FALSE@,$USING_DARWIN_CRT_FALSE,;t t
29628 s,@SYSTEMSPEC@,$SYSTEMSPEC,;t t
29629 s,@ZLIBSPEC@,$ZLIBSPEC,;t t
29630 s,@ZLIBTESTSPEC@,$ZLIBTESTSPEC,;t t
29631 s,@X_CFLAGS@,$X_CFLAGS,;t t
29632 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
29633 s,@X_LIBS@,$X_LIBS,;t t
29634 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
29635 s,@extra_ldflags_libjava@,$extra_ldflags_libjava,;t t
29636 s,@extra_gij_ldflags@,$extra_gij_ldflags,;t t
29637 s,@extra_ldflags@,$extra_ldflags,;t t
29638 s,@LIBSTDCXXSPEC@,$LIBSTDCXXSPEC,;t t
29639 s,@LIBGCJTESTSPEC@,$LIBGCJTESTSPEC,;t t
29640 s,@GCLIBS@,$GCLIBS,;t t
29641 s,@GCINCS@,$GCINCS,;t t
29642 s,@GCDEPS@,$GCDEPS,;t t
29643 s,@GCSPEC@,$GCSPEC,;t t
29644 s,@JC1GCSPEC@,$JC1GCSPEC,;t t
29645 s,@GCTESTSPEC@,$GCTESTSPEC,;t t
29646 s,@USING_BOEHMGC_TRUE@,$USING_BOEHMGC_TRUE,;t t
29647 s,@USING_BOEHMGC_FALSE@,$USING_BOEHMGC_FALSE,;t t
29648 s,@USING_NOGC_TRUE@,$USING_NOGC_TRUE,;t t
29649 s,@USING_NOGC_FALSE@,$USING_NOGC_FALSE,;t t
29650 s,@THREADLIBS@,$THREADLIBS,;t t
29651 s,@THREADINCS@,$THREADINCS,;t t
29652 s,@THREADDEPS@,$THREADDEPS,;t t
29653 s,@THREADSPEC@,$THREADSPEC,;t t
29654 s,@THREADSTARTFILESPEC@,$THREADSTARTFILESPEC,;t t
29655 s,@THREADLDFLAGS@,$THREADLDFLAGS,;t t
29656 s,@THREADCXXFLAGS@,$THREADCXXFLAGS,;t t
29657 s,@USING_POSIX_THREADS_TRUE@,$USING_POSIX_THREADS_TRUE,;t t
29658 s,@USING_POSIX_THREADS_FALSE@,$USING_POSIX_THREADS_FALSE,;t t
29659 s,@USING_WIN32_THREADS_TRUE@,$USING_WIN32_THREADS_TRUE,;t t
29660 s,@USING_WIN32_THREADS_FALSE@,$USING_WIN32_THREADS_FALSE,;t t
29661 s,@USING_NO_THREADS_TRUE@,$USING_NO_THREADS_TRUE,;t t
29662 s,@USING_NO_THREADS_FALSE@,$USING_NO_THREADS_FALSE,;t t
29663 s,@USE_LIBGCJ_BC_TRUE@,$USE_LIBGCJ_BC_TRUE,;t t
29664 s,@USE_LIBGCJ_BC_FALSE@,$USE_LIBGCJ_BC_FALSE,;t t
29665 s,@LIBGCJ_SPEC@,$LIBGCJ_SPEC,;t t
29666 s,@HASH_SYNC_SPEC@,$HASH_SYNC_SPEC,;t t
29667 s,@USING_GCC_TRUE@,$USING_GCC_TRUE,;t t
29668 s,@USING_GCC_FALSE@,$USING_GCC_FALSE,;t t
29669 s,@LIBICONV@,$LIBICONV,;t t
29670 s,@LTLIBICONV@,$LTLIBICONV,;t t
29671 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
29672 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
29673 s,@GTK_LIBS@,$GTK_LIBS,;t t
29674 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
29675 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
29676 s,@LIBART_CFLAGS@,$LIBART_CFLAGS,;t t
29677 s,@LIBART_LIBS@,$LIBART_LIBS,;t t
29678 s,@CLASSPATH_SEPARATOR@,$CLASSPATH_SEPARATOR,;t t
29679 s,@ZLIBS@,$ZLIBS,;t t
29680 s,@SYS_ZLIBS@,$SYS_ZLIBS,;t t
29681 s,@ZINCS@,$ZINCS,;t t
29682 s,@DIVIDESPEC@,$DIVIDESPEC,;t t
29683 s,@CHECKREFSPEC@,$CHECKREFSPEC,;t t
29684 s,@EXCEPTIONSPEC@,$EXCEPTIONSPEC,;t t
29685 s,@BACKTRACESPEC@,$BACKTRACESPEC,;t t
29686 s,@IEEESPEC@,$IEEESPEC,;t t
29687 s,@NATIVE_TRUE@,$NATIVE_TRUE,;t t
29688 s,@NATIVE_FALSE@,$NATIVE_FALSE,;t t
29689 s,@ENABLE_SHARED_TRUE@,$ENABLE_SHARED_TRUE,;t t
29690 s,@ENABLE_SHARED_FALSE@,$ENABLE_SHARED_FALSE,;t t
29691 s,@NEEDS_DATA_START_TRUE@,$NEEDS_DATA_START_TRUE,;t t
29692 s,@NEEDS_DATA_START_FALSE@,$NEEDS_DATA_START_FALSE,;t t
29693 s,@GCC_UNWIND_INCLUDE@,$GCC_UNWIND_INCLUDE,;t t
29694 s,@toolexecdir@,$toolexecdir,;t t
29695 s,@toolexecmainlibdir@,$toolexecmainlibdir,;t t
29696 s,@toolexeclibdir@,$toolexeclibdir,;t t
29697 s,@GCJVERSION@,$GCJVERSION,;t t
29698 s,@dbexecdir@,$dbexecdir,;t t
29699 s,@gcjsubdir@,$gcjsubdir,;t t
29700 s,@gxx_include_dir@,$gxx_include_dir,;t t
29701 s,@libstdcxx_incdir@,$libstdcxx_incdir,;t t
29702 s,@PERL@,$PERL,;t t
29703 s,@SYSDEP_SOURCES@,$SYSDEP_SOURCES,;t t
29704 s,@ANONVERSCRIPT_TRUE@,$ANONVERSCRIPT_TRUE,;t t
29705 s,@ANONVERSCRIPT_FALSE@,$ANONVERSCRIPT_FALSE,;t t
29706 s,@LD_START_STATIC_SPEC@,$LD_START_STATIC_SPEC,;t t
29707 s,@LD_FINISH_STATIC_SPEC@,$LD_FINISH_STATIC_SPEC,;t t
29708 s,@here@,$here,;t t
29709 s,@python_mod_dir@,$python_mod_dir,;t t
29710 s,@python_mod_dir_expanded@,$python_mod_dir_expanded,;t t
29711 s,@MAKE@,$MAKE,;t t
29712 s,@INSTALL_AOT_RPM_TRUE@,$INSTALL_AOT_RPM_TRUE,;t t
29713 s,@INSTALL_AOT_RPM_FALSE@,$INSTALL_AOT_RPM_FALSE,;t t
29714 s,@CREATE_JAVA_HOME_TRUE@,$CREATE_JAVA_HOME_TRUE,;t t
29715 s,@CREATE_JAVA_HOME_FALSE@,$CREATE_JAVA_HOME_FALSE,;t t
29716 s,@gcc_suffix@,$gcc_suffix,;t t
29717 s,@JAVA_VERSION@,$JAVA_VERSION,;t t
29718 s,@BUILD_VERSION@,$BUILD_VERSION,;t t
29719 s,@JVM_ROOT_DIR@,$JVM_ROOT_DIR,;t t
29720 s,@JVM_JAR_ROOT_DIR@,$JVM_JAR_ROOT_DIR,;t t
29721 s,@JVM_JAR_DIR@,$JVM_JAR_DIR,;t t
29722 s,@JRE_DIR@,$JRE_DIR,;t t
29723 s,@SDK_DIR@,$SDK_DIR,;t t
29724 s,@JRE_LNK@,$JRE_LNK,;t t
29725 s,@SDK_LNK@,$SDK_LNK,;t t
29726 s,@SDK_BIN_DIR@,$SDK_BIN_DIR,;t t
29727 s,@SDK_LIB_DIR@,$SDK_LIB_DIR,;t t
29728 s,@SDK_INCLUDE_DIR@,$SDK_INCLUDE_DIR,;t t
29729 s,@JRE_BIN_DIR@,$JRE_BIN_DIR,;t t
29730 s,@JRE_LIB_DIR@,$JRE_LIB_DIR,;t t
29731 s,@GCJ_BIN_DIR@,$GCJ_BIN_DIR,;t t
29734 s,@LIBDIR@,$LIBDIR,;t t
29735 s,@LIBOBJS@,$LIBOBJS,;t t
29736 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
29741 cat >>$CONFIG_STATUS <<\_ACEOF
29742 # Split the substitutions into bite-sized pieces for seds with
29743 # small command number limits, like on Digital OSF/1 and HP-UX.
29744 ac_max_sed_lines
=48
29745 ac_sed_frag
=1 # Number of current file.
29746 ac_beg
=1 # First line for current file.
29747 ac_end
=$ac_max_sed_lines # Line after last line for current file.
29750 while $ac_more_lines; do
29751 if test $ac_beg -gt 1; then
29752 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
29754 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
29756 if test ! -s $tmp/subs.frag
; then
29757 ac_more_lines
=false
29759 # The purpose of the label and of the branching condition is to
29760 # speed up the sed processing (if there are no `@' at all, there
29761 # is no need to browse any of the substitutions).
29762 # These are the two extra sed commands mentioned above.
29764 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
29765 if test -z "$ac_sed_cmds"; then
29766 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
29768 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
29770 ac_sed_frag
=`expr $ac_sed_frag + 1`
29772 ac_end
=`expr $ac_end + $ac_max_sed_lines`
29775 if test -z "$ac_sed_cmds"; then
29778 fi # test -n "$CONFIG_FILES"
29781 cat >>$CONFIG_STATUS <<\_ACEOF
29782 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
29783 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
29785 - |
*:- |
*:-:* ) # input from stdin
29787 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29788 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29789 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29790 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29791 * ) ac_file_in
=$ac_file.
in ;;
29794 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
29795 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
29796 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29797 X"$ac_file" : 'X\(//\)[^/]' \| \
29798 X"$ac_file" : 'X\(//\)$' \| \
29799 X"$ac_file" : 'X\(/\)' \| \
29800 . : '\(.\)' 2>/dev/null ||
29802 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29803 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29804 /^X\(\/\/\)$/{ s//\1/; q; }
29805 /^X\(\/\).*/{ s//\1/; q; }
29807 { if $as_mkdir_p; then
29812 while test ! -d "$as_dir"; do
29813 as_dirs
="$as_dir $as_dirs"
29814 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
29815 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29816 X"$as_dir" : 'X\(//\)[^/]' \| \
29817 X"$as_dir" : 'X\(//\)$' \| \
29818 X"$as_dir" : 'X\(/\)' \| \
29819 . : '\(.\)' 2>/dev/null ||
29821 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29822 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29823 /^X\(\/\/\)$/{ s//\1/; q; }
29824 /^X\(\/\).*/{ s//\1/; q; }
29827 test ! -n "$as_dirs" || mkdir
$as_dirs
29828 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29829 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29830 { (exit 1); exit 1; }; }; }
29834 if test "$ac_dir" != .
; then
29835 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
29836 # A "../" for each directory in $ac_dir_suffix.
29837 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
29839 ac_dir_suffix
= ac_top_builddir
=
29843 .
) # No --srcdir option. We are building in place.
29845 if test -z "$ac_top_builddir"; then
29848 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
29850 [\\/]* | ?
:[\\/]* ) # Absolute path.
29851 ac_srcdir
=$srcdir$ac_dir_suffix;
29852 ac_top_srcdir
=$srcdir ;;
29853 *) # Relative path.
29854 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
29855 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
29858 # Do not use `cd foo && pwd` to compute absolute paths, because
29859 # the directories may not exist.
29861 .
) ac_abs_builddir
="$ac_dir";;
29864 .
) ac_abs_builddir
=`pwd`;;
29865 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
29866 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
29869 case $ac_abs_builddir in
29870 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29872 case ${ac_top_builddir}.
in
29873 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
29874 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29875 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
29878 case $ac_abs_builddir in
29879 .
) ac_abs_srcdir
=$ac_srcdir;;
29882 .
) ac_abs_srcdir
=$ac_abs_builddir;;
29883 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
29884 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
29887 case $ac_abs_builddir in
29888 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
29890 case $ac_top_srcdir in
29891 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
29892 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
29893 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
29899 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
29900 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
29903 if test x
"$ac_file" != x-
; then
29904 { echo "$as_me:$LINENO: creating $ac_file" >&5
29905 echo "$as_me: creating $ac_file" >&6;}
29908 # Let's still pretend it is `configure' which instantiates (i.e., don't
29909 # use $as_me), people would be surprised to read:
29910 # /* config.h. Generated by config.status. */
29911 if test x
"$ac_file" = x-
; then
29914 configure_input
="$ac_file. "
29916 configure_input
=$configure_input"Generated from `echo $ac_file_in |
29917 sed 's,.*/,,'` by configure."
29919 # First look for the input files in the build tree, otherwise in the
29921 ac_file_inputs
=`IFS=:
29922 for f in $ac_file_in; do
29924 -) echo $tmp/stdin ;;
29926 # Absolute (can't be DOS-style, as IFS=:)
29927 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29928 echo "$as_me: error: cannot find input file: $f" >&2;}
29929 { (exit 1); exit 1; }; }
29932 if test -f "$f"; then
29935 elif test -f "$srcdir/$f"; then
29940 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29941 echo "$as_me: error: cannot find input file: $f" >&2;}
29942 { (exit 1); exit 1; }; }
29945 done` ||
{ (exit 1); exit 1; }
29947 cat >>$CONFIG_STATUS <<_ACEOF
29951 cat >>$CONFIG_STATUS <<\_ACEOF
29953 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
29954 s
,@configure_input@
,$configure_input,;t t
29955 s
,@srcdir@
,$ac_srcdir,;t t
29956 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
29957 s
,@top_srcdir@
,$ac_top_srcdir,;t t
29958 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
29959 s
,@builddir@
,$ac_builddir,;t t
29960 s
,@abs_builddir@
,$ac_abs_builddir,;t t
29961 s
,@top_builddir@
,$ac_top_builddir,;t t
29962 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
29963 s
,@INSTALL@
,$ac_INSTALL,;t t
29964 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
29966 if test x"$ac_file" != x-; then
29967 mv $tmp/out $ac_file
29973 # Run the commands associated with the file.
29975 scripts/jar ) chmod +x scripts/jar ;;
29979 cat >>$CONFIG_STATUS <<\_ACEOF
29982 # CONFIG_HEADER section.
29985 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
29986 # NAME is the cpp macro being defined and VALUE is the value it is being given.
29988 # ac_d sets the value in "#define NAME VALUE" lines.
29989 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
29990 ac_dB
='[ ].*$,\1#\2'
29993 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
29994 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
29995 ac_uB
='$,\1#\2define\3'
29999 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
30000 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
30002 - |
*:- |
*:-:* ) # input from stdin
30004 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30005 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
30006 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30007 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
30008 * ) ac_file_in
=$ac_file.
in ;;
30011 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
30012 echo "$as_me: creating $ac_file" >&6;}
30014 # First look for the input files in the build tree, otherwise in the
30016 ac_file_inputs
=`IFS=:
30017 for f in $ac_file_in; do
30019 -) echo $tmp/stdin ;;
30021 # Absolute (can't be DOS-style, as IFS=:)
30022 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30023 echo "$as_me: error: cannot find input file: $f" >&2;}
30024 { (exit 1); exit 1; }; }
30025 # Do quote $f, to prevent DOS paths from being IFS'd.
30028 if test -f "$f"; then
30031 elif test -f "$srcdir/$f"; then
30036 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30037 echo "$as_me: error: cannot find input file: $f" >&2;}
30038 { (exit 1); exit 1; }; }
30041 done` ||
{ (exit 1); exit 1; }
30042 # Remove the trailing spaces.
30043 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
30047 # Transform confdefs.h into two sed scripts, `conftest.defines' and
30048 # `conftest.undefs', that substitutes the proper values into
30049 # config.h.in to produce config.h. The first handles `#define'
30050 # templates, and the second `#undef' templates.
30051 # And first: Protect against being on the right side of a sed subst in
30052 # config.status. Protect against being in an unquoted here document
30053 # in config.status.
30054 rm -f conftest.defines conftest.undefs
30055 # Using a here document instead of a string reduces the quoting nightmare.
30056 # Putting comments in sed scripts is not portable.
30058 # `end' is used to avoid that the second main sed command (meant for
30059 # 0-ary CPP macros) applies to n-ary macro definitions.
30060 # See the Autoconf documentation for `clear'.
30061 cat >confdef2sed.
sed <<\_ACEOF
30066 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
30068 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
30071 # If some macros were called several times there might be several times
30072 # the same #defines, which is useless. Nevertheless, we may not want to
30073 # sort them, since we want the *last* AC-DEFINE to be honored.
30074 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
30075 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
30076 rm -f confdef2sed.sed
30078 # This sed command replaces #undef with comments. This is necessary, for
30079 # example, in the case of _POSIX_SOURCE, which is predefined and required
30080 # on some systems where configure will not decide to define it.
30081 cat >>conftest.undefs <<\_ACEOF
30082 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
30085 # Break up conftest.defines because some shells have a limit on the size
30086 # of here documents, and old seds have small limits too (100 cmds).
30087 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
30088 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
30089 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
30090 echo ' :' >>$CONFIG_STATUS
30091 rm -f conftest.tail
30092 while grep . conftest.defines >/dev/null
30094 # Write a limited-size here document to $tmp/defines.sed.
30095 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
30096 # Speed up: don't consider the non `#define' lines.
30097 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
30098 # Work around the forget-to-reset-the-flag bug.
30099 echo 't clr' >>$CONFIG_STATUS
30100 echo ': clr' >>$CONFIG_STATUS
30101 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
30103 sed -f $tmp/defines.sed $tmp/in >$tmp/out
30105 mv $tmp/out $tmp/in
30107 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
30108 rm -f conftest.defines
30109 mv conftest.
tail conftest.defines
30111 rm -f conftest.defines
30112 echo ' fi # grep' >>$CONFIG_STATUS
30113 echo >>$CONFIG_STATUS
30115 # Break up conftest.undefs because some shells have a limit on the size
30116 # of here documents, and old seds have small limits too (100 cmds).
30117 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
30118 rm -f conftest.
tail
30119 while grep . conftest.undefs
>/dev
/null
30121 # Write a limited-size here document to $tmp/undefs.sed.
30122 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
30123 # Speed up: don't consider the non
`#undef'
30124 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
30125 # Work around the forget-to-reset-the-flag bug.
30126 echo 't clr' >>$CONFIG_STATUS
30127 echo ': clr' >>$CONFIG_STATUS
30128 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
30130 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
30132 mv $tmp/out $tmp/in
30134 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
30135 rm -f conftest.undefs
30136 mv conftest.tail conftest.undefs
30138 rm -f conftest.undefs
30140 cat >>$CONFIG_STATUS <<\_ACEOF
30141 # Let's still pretend it is `configure
' which instantiates (i.e., don't
30142 # use $as_me), people would be surprised to read:
30143 # /* config.h. Generated by config.status. */
30144 if test x
"$ac_file" = x-
; then
30145 echo "/* Generated by configure. */" >$tmp/config.h
30147 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
30149 cat $tmp/in >>$tmp/config.h
30151 if test x
"$ac_file" != x-
; then
30152 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
30153 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
30154 echo "$as_me: $ac_file is unchanged" >&6;}
30156 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
30157 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30158 X"$ac_file" : 'X\(//\)[^/]' \| \
30159 X"$ac_file" : 'X\(//\)$' \| \
30160 X"$ac_file" : 'X\(/\)' \| \
30161 . : '\(.\)' 2>/dev/null ||
30163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30164 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30165 /^X\(\/\/\)$/{ s//\1/; q; }
30166 /^X\(\/\).*/{ s//\1/; q; }
30168 { if $as_mkdir_p; then
30173 while test ! -d "$as_dir"; do
30174 as_dirs
="$as_dir $as_dirs"
30175 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30176 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30177 X"$as_dir" : 'X\(//\)[^/]' \| \
30178 X"$as_dir" : 'X\(//\)$' \| \
30179 X"$as_dir" : 'X\(/\)' \| \
30180 . : '\(.\)' 2>/dev/null ||
30182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30183 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30184 /^X\(\/\/\)$/{ s//\1/; q; }
30185 /^X\(\/\).*/{ s//\1/; q; }
30188 test ! -n "$as_dirs" || mkdir
$as_dirs
30189 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30190 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30191 { (exit 1); exit 1; }; }; }
30194 mv $tmp/config.h
$ac_file
30198 rm -f $tmp/config.h
30200 # Compute $ac_file's index in $config_headers.
30202 for _am_header
in $config_headers :; do
30203 case $_am_header in
30204 $ac_file |
$ac_file:* )
30207 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
30210 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
30211 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30212 X$ac_file : 'X\(//\)[^/]' \| \
30213 X$ac_file : 'X\(//\)$' \| \
30214 X$ac_file : 'X\(/\)' \| \
30215 . : '\(.\)' 2>/dev/null ||
30217 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30218 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30219 /^X\(\/\/\)$/{ s//\1/; q; }
30220 /^X\(\/\).*/{ s//\1/; q; }
30221 s/.*/./; q'`/stamp-h
$_am_stamp_count
30224 cat >>$CONFIG_STATUS <<\_ACEOF
30227 # CONFIG_LINKS section.
30230 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
30231 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
30232 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30234 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
30235 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
30237 if test ! -r $srcdir/$ac_source; then
30238 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
30239 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
30240 { (exit 1); exit 1; }; }
30244 # Make relative symlinks.
30245 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
30246 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30247 X"$ac_dest" : 'X\(//\)[^/]' \| \
30248 X"$ac_dest" : 'X\(//\)$' \| \
30249 X"$ac_dest" : 'X\(/\)' \| \
30250 . : '\(.\)' 2>/dev/null ||
30252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30253 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30254 /^X\(\/\/\)$/{ s//\1/; q; }
30255 /^X\(\/\).*/{ s//\1/; q; }
30257 { if $as_mkdir_p; then
30258 mkdir
-p "$ac_dest_dir"
30260 as_dir
="$ac_dest_dir"
30262 while test ! -d "$as_dir"; do
30263 as_dirs
="$as_dir $as_dirs"
30264 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30265 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30266 X"$as_dir" : 'X\(//\)[^/]' \| \
30267 X"$as_dir" : 'X\(//\)$' \| \
30268 X"$as_dir" : 'X\(/\)' \| \
30269 . : '\(.\)' 2>/dev/null ||
30271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30272 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30273 /^X\(\/\/\)$/{ s//\1/; q; }
30274 /^X\(\/\).*/{ s//\1/; q; }
30277 test ! -n "$as_dirs" || mkdir
$as_dirs
30278 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
30279 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
30280 { (exit 1); exit 1; }; }; }
30284 if test "$ac_dest_dir" != .
; then
30285 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
30286 # A "../" for each directory in $ac_dir_suffix.
30287 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30289 ac_dir_suffix
= ac_top_builddir
=
30293 .
) # No --srcdir option. We are building in place.
30295 if test -z "$ac_top_builddir"; then
30298 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
30300 [\\/]* | ?
:[\\/]* ) # Absolute path.
30301 ac_srcdir
=$srcdir$ac_dir_suffix;
30302 ac_top_srcdir
=$srcdir ;;
30303 *) # Relative path.
30304 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
30305 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
30308 # Do not use `cd foo && pwd` to compute absolute paths, because
30309 # the directories may not exist.
30311 .
) ac_abs_builddir
="$ac_dest_dir";;
30313 case "$ac_dest_dir" in
30314 .
) ac_abs_builddir
=`pwd`;;
30315 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
30316 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
30319 case $ac_abs_builddir in
30320 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30322 case ${ac_top_builddir}.
in
30323 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
30324 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30325 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
30328 case $ac_abs_builddir in
30329 .
) ac_abs_srcdir
=$ac_srcdir;;
30332 .
) ac_abs_srcdir
=$ac_abs_builddir;;
30333 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
30334 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
30337 case $ac_abs_builddir in
30338 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
30340 case $ac_top_srcdir in
30341 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
30342 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
30343 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
30349 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
30350 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
30353 # Try a symlink, then a hard link, then a copy.
30354 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
30355 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
30356 cp -p $srcdir/$ac_source $ac_dest ||
30357 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
30358 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
30359 { (exit 1); exit 1; }; }
30362 cat >>$CONFIG_STATUS <<\_ACEOF
30365 # CONFIG_COMMANDS section.
30367 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
30368 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
30369 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30370 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
30371 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30372 X"$ac_dest" : 'X\(//\)[^/]' \| \
30373 X"$ac_dest" : 'X\(//\)$' \| \
30374 X"$ac_dest" : 'X\(/\)' \| \
30375 . : '\(.\)' 2>/dev/null ||
30377 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30378 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30379 /^X\(\/\/\)$/{ s//\1/; q; }
30380 /^X\(\/\).*/{ s//\1/; q; }
30382 { if $as_mkdir_p; then
30387 while test ! -d "$as_dir"; do
30388 as_dirs
="$as_dir $as_dirs"
30389 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30390 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30391 X"$as_dir" : 'X\(//\)[^/]' \| \
30392 X"$as_dir" : 'X\(//\)$' \| \
30393 X"$as_dir" : 'X\(/\)' \| \
30394 . : '\(.\)' 2>/dev/null ||
30396 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30397 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30398 /^X\(\/\/\)$/{ s//\1/; q; }
30399 /^X\(\/\).*/{ s//\1/; q; }
30402 test ! -n "$as_dirs" || mkdir
$as_dirs
30403 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30404 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30405 { (exit 1); exit 1; }; }; }
30409 if test "$ac_dir" != .
; then
30410 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30411 # A "../" for each directory in $ac_dir_suffix.
30412 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30414 ac_dir_suffix
= ac_top_builddir
=
30418 .
) # No --srcdir option. We are building in place.
30420 if test -z "$ac_top_builddir"; then
30423 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
30425 [\\/]* | ?
:[\\/]* ) # Absolute path.
30426 ac_srcdir
=$srcdir$ac_dir_suffix;
30427 ac_top_srcdir
=$srcdir ;;
30428 *) # Relative path.
30429 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
30430 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
30433 # Do not use `cd foo && pwd` to compute absolute paths, because
30434 # the directories may not exist.
30436 .
) ac_abs_builddir
="$ac_dir";;
30439 .
) ac_abs_builddir
=`pwd`;;
30440 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
30441 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
30444 case $ac_abs_builddir in
30445 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30447 case ${ac_top_builddir}.
in
30448 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
30449 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30450 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
30453 case $ac_abs_builddir in
30454 .
) ac_abs_srcdir
=$ac_srcdir;;
30457 .
) ac_abs_srcdir
=$ac_abs_builddir;;
30458 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
30459 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
30462 case $ac_abs_builddir in
30463 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
30465 case $ac_top_srcdir in
30466 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
30467 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
30468 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
30473 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
30474 echo "$as_me: executing $ac_dest commands" >&6;}
30477 # Only add multilib support code if we just rebuilt the top-level
30479 case " $CONFIG_FILES " in
30481 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
30484 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
30485 # Strip MF so we end up with the name of the file.
30486 mf
=`echo "$mf" | sed -e 's/:.*$//'`
30487 # Check whether this is an Automake generated Makefile or not.
30488 # We used to match only the files named `Makefile.in', but
30489 # some people rename them; so instead we look at the file content.
30490 # Grep'ing the first line is not enough: some people post-process
30491 # each Makefile.in and add a new line on top of each file to say so.
30492 # So let's grep whole file.
30493 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
30494 dirpart
=`(dirname "$mf") 2>/dev/null ||
30495 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30496 X"$mf" : 'X\(//\)[^/]' \| \
30497 X"$mf" : 'X\(//\)$' \| \
30498 X"$mf" : 'X\(/\)' \| \
30499 . : '\(.\)' 2>/dev/null ||
30501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30502 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30503 /^X\(\/\/\)$/{ s//\1/; q; }
30504 /^X\(\/\).*/{ s//\1/; q; }
30509 # Extract the definition of DEPDIR, am__include, and am__quote
30510 # from the Makefile without running `make'.
30511 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
30512 test -z "$DEPDIR" && continue
30513 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
30514 test -z "am__include" && continue
30515 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
30516 # When using ansi2knr, U may be empty or an underscore; expand it
30517 U
=`sed -n 's/^U = //p' < "$mf"`
30518 # Find all dependency output files, they are included files with
30519 # $(DEPDIR) in their names. We invoke sed twice because it is the
30520 # simplest approach to changing $(DEPDIR) to its actual value in the
30522 for file in `sed -n "
30523 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
30524 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
30525 # Make sure the directory exists.
30526 test -f "$dirpart/$file" && continue
30527 fdir
=`(dirname "$file") 2>/dev/null ||
30528 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30529 X"$file" : 'X\(//\)[^/]' \| \
30530 X"$file" : 'X\(//\)$' \| \
30531 X"$file" : 'X\(/\)' \| \
30532 . : '\(.\)' 2>/dev/null ||
30534 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30535 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30536 /^X\(\/\/\)$/{ s//\1/; q; }
30537 /^X\(\/\).*/{ s//\1/; q; }
30539 { if $as_mkdir_p; then
30540 mkdir
-p $dirpart/$fdir
30542 as_dir
=$dirpart/$fdir
30544 while test ! -d "$as_dir"; do
30545 as_dirs
="$as_dir $as_dirs"
30546 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30547 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30548 X"$as_dir" : 'X\(//\)[^/]' \| \
30549 X"$as_dir" : 'X\(//\)$' \| \
30550 X"$as_dir" : 'X\(/\)' \| \
30551 . : '\(.\)' 2>/dev/null ||
30553 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30554 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30555 /^X\(\/\/\)$/{ s//\1/; q; }
30556 /^X\(\/\).*/{ s//\1/; q; }
30559 test ! -n "$as_dirs" || mkdir
$as_dirs
30560 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
30561 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
30562 { (exit 1); exit 1; }; }; }
30564 # echo "creating $dirpart/$file"
30565 echo '# dummy' > "$dirpart/$file"
30571 # See if we are running on zsh, and set the options which allow our
30572 # commands through without removal of \ escapes.
30573 if test -n "${ZSH_VERSION+set}" ; then
30574 setopt NO_GLOB_SUBST
30577 cfgfile
="${ofile}T"
30578 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
30581 cat <<_LT_EOF >> "$cfgfile"
30584 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
30585 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
30586 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
30587 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
30589 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
30590 # 2006, 2007 Free Software Foundation, Inc.
30592 # This file is part of GNU Libtool:
30593 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
30595 # This program is free software; you can redistribute it and/or modify
30596 # it under the terms of the GNU General Public License as published by
30597 # the Free Software Foundation; either version 2 of the License, or
30598 # (at your option) any later version.
30600 # This program is distributed in the hope that it will be useful, but
30601 # WITHOUT ANY WARRANTY; without even the implied warranty of
30602 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
30603 # General Public License for more details.
30605 # You should have received a copy of the GNU General Public License
30606 # along with this program; if not, a copy can be downloaded from
30607 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
30608 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
30609 # MA 02110-1301, USA.
30611 # As a special exception to the GNU General Public License, if you
30612 # distribute this file as part of a program that contains a
30613 # configuration script generated by Autoconf, you may include it under
30614 # the same distribution terms that you use for the rest of that program.
30617 # The names of the tagged configurations supported by this script.
30618 available_tags="CXX GCJ "
30620 # ### BEGIN LIBTOOL CONFIG
30622 # Which release of libtool.m4 was used?
30623 macro_version=$macro_version
30624 macro_revision=$macro_revision
30626 # Whether or not to build shared libraries.
30627 build_libtool_libs=$enable_shared
30629 # Whether or not to build static libraries.
30630 build_old_libs=$enable_static
30632 # What type of objects to build.
30635 # Whether or not to optimize for fast installation.
30636 fast_install=$enable_fast_install
30639 host_alias=$host_alias
30643 # The build system.
30644 build_alias=$build_alias
30648 # A sed program that does not truncate output.
30651 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
30652 Xsed="\$SED -e 1s/^X//"
30654 # A grep program that handles long lines.
30660 # A literal string matcher.
30663 # A BSD- or MS-compatible name lister.
30666 # Whether we need soft or hard links.
30669 # What is the maximum length of a command?
30670 max_cmd_len=$max_cmd_len
30672 # Object file suffix (normally "o").
30675 # Executable file suffix (normally "").
30678 # whether the shell understands "unset".
30681 # turn spaces into newlines.
30684 # turn newlines into spaces.
30687 # How to create reloadable object files.
30688 reload_flag=$lt_reload_flag
30689 reload_cmds=$lt_reload_cmds
30691 # Method to check whether dependent libraries are shared objects.
30692 deplibs_check_method=$lt_deplibs_check_method
30694 # Command to use when deplibs_check_method == "file_magic".
30695 file_magic_cmd=$lt_file_magic_cmd
30699 AR_FLAGS=$lt_AR_FLAGS
30701 # A symbol stripping program.
30704 # Commands used to install an old-style archive.
30706 old_postinstall_cmds=$lt_old_postinstall_cmds
30707 old_postuninstall_cmds=$lt_old_postuninstall_cmds
30712 # LTCC compiler flags.
30713 LTCFLAGS=$lt_CFLAGS
30715 # Take the output of nm and produce a listing of raw symbols and C names.
30716 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
30718 # Transform the output of nm in a proper C declaration.
30719 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
30721 # Transform the output of nm in a C name address pair.
30722 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
30724 # The name of the directory that contains temporary libtool files.
30727 # Shell to use when invoking shell scripts.
30730 # An echo program that does not interpret backslashes.
30733 # Used to examine libraries when file_magic_cmd begins with "file".
30734 MAGIC_CMD=$MAGIC_CMD
30736 # Must we lock files when doing compilation?
30737 need_locks=$lt_need_locks
30739 # Old archive suffix (normally "a").
30742 # Shared library suffix (normally ".so").
30743 shrext_cmds=$lt_shrext_cmds
30745 # The commands to extract the exported symbol list from a shared archive.
30746 extract_expsyms_cmds=$lt_extract_expsyms_cmds
30748 # Variables whose values should be saved in libtool wrapper scripts and
30749 # restored at link time.
30750 variables_saved_for_relink=$lt_variables_saved_for_relink
30752 # Do we need the "lib" prefix for modules?
30753 need_lib_prefix=$need_lib_prefix
30755 # Do we need a version for libraries?
30756 need_version=$need_version
30758 # Library versioning type.
30759 version_type=$version_type
30761 # Shared library runtime path variable.
30762 runpath_var=$runpath_var
30764 # Shared library path variable.
30765 shlibpath_var=$shlibpath_var
30767 # Is shlibpath searched before the hard-coded library search path?
30768 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
30770 # Format of library name prefix.
30771 libname_spec=$lt_libname_spec
30773 # List of archive names. First name is the real one, the rest are links.
30774 # The last name is the one that the linker finds with -lNAME
30775 library_names_spec=$lt_library_names_spec
30777 # The coded name of the library, if different from the real name.
30778 soname_spec=$lt_soname_spec
30780 # Command to use after installation of a shared archive.
30781 postinstall_cmds=$lt_postinstall_cmds
30783 # Command to use after uninstallation of a shared archive.
30784 postuninstall_cmds=$lt_postuninstall_cmds
30786 # Commands used to finish a libtool library installation in a directory.
30787 finish_cmds=$lt_finish_cmds
30789 # As "finish_cmds", except a single script fragment to be evaled but
30791 finish_eval=$lt_finish_eval
30793 # Whether we should hardcode library paths into libraries.
30794 hardcode_into_libs=$hardcode_into_libs
30796 # Compile-time system search path for libraries.
30797 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
30799 # Run-time system search path for libraries.
30800 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
30802 # Whether dlopen is supported.
30803 dlopen_support=$enable_dlopen
30805 # Whether dlopen of programs is supported.
30806 dlopen_self=$enable_dlopen_self
30808 # Whether dlopen of statically linked programs is supported.
30809 dlopen_self_static=$enable_dlopen_self_static
30811 # Commands to strip libraries.
30812 old_striplib=$lt_old_striplib
30813 striplib=$lt_striplib
30816 # The linker used to build libraries.
30819 # Commands used to build an old-style archive.
30820 old_archive_cmds=$lt_old_archive_cmds
30822 # A language specific compiler.
30825 # Is the compiler the GNU compiler?
30828 # Compiler flag to turn off builtin functions.
30829 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
30831 # How to pass a linker flag through the compiler.
30832 wl=$lt_lt_prog_compiler_wl
30834 # Additional compiler flags for building library objects.
30835 pic_flag=$lt_lt_prog_compiler_pic
30837 # Compiler flag to prevent dynamic linking.
30838 link_static_flag=$lt_lt_prog_compiler_static
30840 # Does compiler simultaneously support -c and -o options?
30841 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
30843 # Whether or not to add -lc for building shared libraries.
30844 build_libtool_need_lc=$archive_cmds_need_lc
30846 # Whether or not to disallow shared libs when runtime libs are static.
30847 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
30849 # Compiler flag to allow reflexive dlopens.
30850 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
30852 # Compiler flag to generate shared objects directly from archives.
30853 whole_archive_flag_spec=$lt_whole_archive_flag_spec
30855 # Whether the compiler copes with passing no objects directly.
30856 compiler_needs_object=$lt_compiler_needs_object
30858 # Create an old-style archive from a shared archive.
30859 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
30861 # Create a temporary old-style archive to link instead of a shared archive.
30862 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
30864 # Commands used to build a shared archive.
30865 archive_cmds=$lt_archive_cmds
30866 archive_expsym_cmds=$lt_archive_expsym_cmds
30868 # Commands used to build a loadable module if different from building
30869 # a shared archive.
30870 module_cmds=$lt_module_cmds
30871 module_expsym_cmds=$lt_module_expsym_cmds
30873 # Whether we are building with GNU ld or not.
30874 with_gnu_ld=$lt_with_gnu_ld
30876 # Flag that allows shared libraries with undefined symbols to be built.
30877 allow_undefined_flag=$lt_allow_undefined_flag
30879 # Flag that enforces no undefined symbols.
30880 no_undefined_flag=$lt_no_undefined_flag
30882 # Flag to hardcode \$libdir into a binary during linking.
30883 # This must work even if \$libdir does not exist
30884 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
30886 # If ld is used when linking, flag to hardcode \$libdir into a binary
30887 # during linking. This must work even if \$libdir does not exist.
30888 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
30890 # Whether we need a single "-rpath" flag with a separated argument.
30891 hardcode_libdir_separator=$lt_hardcode_libdir_separator
30893 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30894 # DIR into the resulting binary.
30895 hardcode_direct=$hardcode_direct
30897 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30898 # DIR into the resulting binary and the resulting library dependency is
30899 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
30900 # library is relocated.
30901 hardcode_direct_absolute=$hardcode_direct_absolute
30903 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30904 # into the resulting binary.
30905 hardcode_minus_L=$hardcode_minus_L
30907 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
30908 # into the resulting binary.
30909 hardcode_shlibpath_var=$hardcode_shlibpath_var
30911 # Set to "yes" if building a shared library automatically hardcodes DIR
30912 # into the library and all subsequent libraries and executables linked
30914 hardcode_automatic=$hardcode_automatic
30916 # Set to yes if linker adds runtime paths of dependent libraries
30917 # to runtime path list.
30918 inherit_rpath=$inherit_rpath
30920 # Whether libtool must link a program against all its dependency libraries.
30921 link_all_deplibs=$link_all_deplibs
30923 # Fix the shell variable \$srcfile for the compiler.
30924 fix_srcfile_path=$lt_fix_srcfile_path
30926 # Set to "yes" if exported symbols are required.
30927 always_export_symbols=$always_export_symbols
30929 # The commands to list exported symbols.
30930 export_symbols_cmds=$lt_export_symbols_cmds
30932 # Symbols that should not be listed in the preloaded symbols.
30933 exclude_expsyms=$lt_exclude_expsyms
30935 # Symbols that must always be exported.
30936 include_expsyms=$lt_include_expsyms
30938 # Commands necessary for linking programs (against libraries) with templates.
30939 prelink_cmds=$lt_prelink_cmds
30941 # Specify filename containing input files.
30942 file_list_spec=$lt_file_list_spec
30944 # How to hardcode a shared library path into an executable.
30945 hardcode_action=$hardcode_action
30947 # Dependencies to place before and after the objects being linked to
30948 # create a shared library.
30949 predep_objects=$lt_predep_objects
30950 postdep_objects=$lt_postdep_objects
30951 predeps=$lt_predeps
30952 postdeps=$lt_postdeps
30954 # The library search path used internally by the compiler when linking
30955 # a shared library.
30956 compiler_lib_search_path=$lt_compiler_lib_search_path
30958 # ### END LIBTOOL CONFIG
30964 cat <<\_LT_EOF
>> "$cfgfile"
30965 # AIX sometimes has problems with the GCC collect2 program. For some
30966 # reason, if we set the COLLECT_NAMES environment variable, the problems
30967 # vanish in a puff of smoke.
30968 if test "X${COLLECT_NAMES+set}" != Xset
; then
30970 export COLLECT_NAMES
30977 ltmain
="$ac_aux_dir/ltmain.sh"
30980 # We use sed instead of cat because bash on DJGPP gets confused if
30981 # if finds mixed CR/LF and LF-only lines. Since sed operates in
30982 # text mode, it properly converts lines to CR/LF. This bash problem
30983 # is reportedly fixed, but why not run on old versions too?
30984 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
30985 ||
(rm -f "$cfgfile"; exit 1)
30989 cat << \_LT_EOF
>> "$cfgfile"
30990 # func_dirname file append nondir_replacement
30991 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
30992 # otherwise set result to NONDIR_REPLACEMENT.
30996 */*) func_dirname_result
="${1%/*}${2}" ;;
30997 * ) func_dirname_result
="${3}" ;;
31001 # func_basename file
31004 func_basename_result
="${1##*/}"
31007 # func_stripname prefix suffix name
31008 # strip PREFIX and SUFFIX off of NAME.
31009 # PREFIX and SUFFIX must not contain globbing or regex special
31010 # characters, hashes, percent signs, but SUFFIX may contain a leading
31011 # dot (in which case that matches only a dot).
31014 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
31015 # positional parameters, so assign one to ordinary parameter first.
31016 func_stripname_result
=${3}
31017 func_stripname_result
=${func_stripname_result#"${1}"}
31018 func_stripname_result
=${func_stripname_result%"${2}"}
31024 func_opt_split_opt
=${1%%=*}
31025 func_opt_split_arg
=${1#*=}
31032 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
31033 *) func_lo2o_result
=${1} ;;
31038 *) # Bourne compatible functions.
31039 cat << \_LT_EOF
>> "$cfgfile"
31040 # func_dirname file append nondir_replacement
31041 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
31042 # otherwise set result to NONDIR_REPLACEMENT.
31045 # Extract subdirectory from the argument.
31046 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
31047 if test "X$func_dirname_result" = "X${1}"; then
31048 func_dirname_result
="${3}"
31050 func_dirname_result
="$func_dirname_result${2}"
31054 # func_basename file
31057 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
31060 # func_stripname prefix suffix name
31061 # strip PREFIX and SUFFIX off of NAME.
31062 # PREFIX and SUFFIX must not contain globbing or regex special
31063 # characters, hashes, percent signs, but SUFFIX may contain a leading
31064 # dot (in which case that matches only a dot).
31065 # func_strip_suffix prefix name
31069 .
*) func_stripname_result
=`$ECHO "X${3}" \
31070 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
31071 *) func_stripname_result
=`$ECHO "X${3}" \
31072 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
31077 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
31078 my_sed_long_arg
='1s/^-[^=]*=//'
31083 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
31084 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
31090 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
31095 case $lt_shell_append in
31097 cat << \_LT_EOF
>> "$cfgfile"
31099 # func_append var value
31100 # Append VALUE to the end of shell variable VAR.
31108 cat << \_LT_EOF
>> "$cfgfile"
31110 # func_append var value
31111 # Append VALUE to the end of shell variable VAR.
31121 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
31122 ||
(rm -f "$cfgfile"; exit 1)
31124 mv -f "$cfgfile" "$ofile" ||
31125 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
31129 cat <<_LT_EOF >> "$ofile"
31131 # ### BEGIN LIBTOOL TAG CONFIG: CXX
31133 # The linker used to build libraries.
31136 # Commands used to build an old-style archive.
31137 old_archive_cmds=$lt_old_archive_cmds_CXX
31139 # A language specific compiler.
31140 CC=$lt_compiler_CXX
31142 # Is the compiler the GNU compiler?
31145 # Compiler flag to turn off builtin functions.
31146 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
31148 # How to pass a linker flag through the compiler.
31149 wl=$lt_lt_prog_compiler_wl_CXX
31151 # Additional compiler flags for building library objects.
31152 pic_flag=$lt_lt_prog_compiler_pic_CXX
31154 # Compiler flag to prevent dynamic linking.
31155 link_static_flag=$lt_lt_prog_compiler_static_CXX
31157 # Does compiler simultaneously support -c and -o options?
31158 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
31160 # Whether or not to add -lc for building shared libraries.
31161 build_libtool_need_lc=$archive_cmds_need_lc_CXX
31163 # Whether or not to disallow shared libs when runtime libs are static.
31164 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
31166 # Compiler flag to allow reflexive dlopens.
31167 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
31169 # Compiler flag to generate shared objects directly from archives.
31170 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
31172 # Whether the compiler copes with passing no objects directly.
31173 compiler_needs_object=$lt_compiler_needs_object_CXX
31175 # Create an old-style archive from a shared archive.
31176 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
31178 # Create a temporary old-style archive to link instead of a shared archive.
31179 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
31181 # Commands used to build a shared archive.
31182 archive_cmds=$lt_archive_cmds_CXX
31183 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
31185 # Commands used to build a loadable module if different from building
31186 # a shared archive.
31187 module_cmds=$lt_module_cmds_CXX
31188 module_expsym_cmds=$lt_module_expsym_cmds_CXX
31190 # Whether we are building with GNU ld or not.
31191 with_gnu_ld=$lt_with_gnu_ld_CXX
31193 # Flag that allows shared libraries with undefined symbols to be built.
31194 allow_undefined_flag=$lt_allow_undefined_flag_CXX
31196 # Flag that enforces no undefined symbols.
31197 no_undefined_flag=$lt_no_undefined_flag_CXX
31199 # Flag to hardcode \$libdir into a binary during linking.
31200 # This must work even if \$libdir does not exist
31201 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
31203 # If ld is used when linking, flag to hardcode \$libdir into a binary
31204 # during linking. This must work even if \$libdir does not exist.
31205 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
31207 # Whether we need a single "-rpath" flag with a separated argument.
31208 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
31210 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
31211 # DIR into the resulting binary.
31212 hardcode_direct=$hardcode_direct_CXX
31214 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
31215 # DIR into the resulting binary and the resulting library dependency is
31216 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
31217 # library is relocated.
31218 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
31220 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
31221 # into the resulting binary.
31222 hardcode_minus_L=$hardcode_minus_L_CXX
31224 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
31225 # into the resulting binary.
31226 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
31228 # Set to "yes" if building a shared library automatically hardcodes DIR
31229 # into the library and all subsequent libraries and executables linked
31231 hardcode_automatic=$hardcode_automatic_CXX
31233 # Set to yes if linker adds runtime paths of dependent libraries
31234 # to runtime path list.
31235 inherit_rpath=$inherit_rpath_CXX
31237 # Whether libtool must link a program against all its dependency libraries.
31238 link_all_deplibs=$link_all_deplibs_CXX
31240 # Fix the shell variable \$srcfile for the compiler.
31241 fix_srcfile_path=$lt_fix_srcfile_path_CXX
31243 # Set to "yes" if exported symbols are required.
31244 always_export_symbols=$always_export_symbols_CXX
31246 # The commands to list exported symbols.
31247 export_symbols_cmds=$lt_export_symbols_cmds_CXX
31249 # Symbols that should not be listed in the preloaded symbols.
31250 exclude_expsyms=$lt_exclude_expsyms_CXX
31252 # Symbols that must always be exported.
31253 include_expsyms=$lt_include_expsyms_CXX
31255 # Commands necessary for linking programs (against libraries) with templates.
31256 prelink_cmds=$lt_prelink_cmds_CXX
31258 # Specify filename containing input files.
31259 file_list_spec=$lt_file_list_spec_CXX
31261 # How to hardcode a shared library path into an executable.
31262 hardcode_action=$hardcode_action_CXX
31264 # Dependencies to place before and after the objects being linked to
31265 # create a shared library.
31266 predep_objects=$lt_predep_objects_CXX
31267 postdep_objects=$lt_postdep_objects_CXX
31268 predeps=$lt_predeps_CXX
31269 postdeps=$lt_postdeps_CXX
31271 # The library search path used internally by the compiler when linking
31272 # a shared library.
31273 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
31275 # ### END LIBTOOL TAG CONFIG: CXX
31279 cat <<_LT_EOF >> "$ofile"
31281 # ### BEGIN LIBTOOL TAG CONFIG: GCJ
31283 # The linker used to build libraries.
31286 # Commands used to build an old-style archive.
31287 old_archive_cmds=$lt_old_archive_cmds_GCJ
31289 # A language specific compiler.
31290 CC=$lt_compiler_GCJ
31292 # Is the compiler the GNU compiler?
31295 # Compiler flag to turn off builtin functions.
31296 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
31298 # How to pass a linker flag through the compiler.
31299 wl=$lt_lt_prog_compiler_wl_GCJ
31301 # Additional compiler flags for building library objects.
31302 pic_flag=$lt_lt_prog_compiler_pic_GCJ
31304 # Compiler flag to prevent dynamic linking.
31305 link_static_flag=$lt_lt_prog_compiler_static_GCJ
31307 # Does compiler simultaneously support -c and -o options?
31308 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
31310 # Whether or not to add -lc for building shared libraries.
31311 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
31313 # Whether or not to disallow shared libs when runtime libs are static.
31314 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
31316 # Compiler flag to allow reflexive dlopens.
31317 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
31319 # Compiler flag to generate shared objects directly from archives.
31320 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
31322 # Whether the compiler copes with passing no objects directly.
31323 compiler_needs_object=$lt_compiler_needs_object_GCJ
31325 # Create an old-style archive from a shared archive.
31326 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
31328 # Create a temporary old-style archive to link instead of a shared archive.
31329 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
31331 # Commands used to build a shared archive.
31332 archive_cmds=$lt_archive_cmds_GCJ
31333 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
31335 # Commands used to build a loadable module if different from building
31336 # a shared archive.
31337 module_cmds=$lt_module_cmds_GCJ
31338 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
31340 # Whether we are building with GNU ld or not.
31341 with_gnu_ld=$lt_with_gnu_ld_GCJ
31343 # Flag that allows shared libraries with undefined symbols to be built.
31344 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
31346 # Flag that enforces no undefined symbols.
31347 no_undefined_flag=$lt_no_undefined_flag_GCJ
31349 # Flag to hardcode \$libdir into a binary during linking.
31350 # This must work even if \$libdir does not exist
31351 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
31353 # If ld is used when linking, flag to hardcode \$libdir into a binary
31354 # during linking. This must work even if \$libdir does not exist.
31355 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
31357 # Whether we need a single "-rpath" flag with a separated argument.
31358 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
31360 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
31361 # DIR into the resulting binary.
31362 hardcode_direct=$hardcode_direct_GCJ
31364 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
31365 # DIR into the resulting binary and the resulting library dependency is
31366 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
31367 # library is relocated.
31368 hardcode_direct_absolute=$hardcode_direct_absolute_GCJ
31370 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
31371 # into the resulting binary.
31372 hardcode_minus_L=$hardcode_minus_L_GCJ
31374 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
31375 # into the resulting binary.
31376 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
31378 # Set to "yes" if building a shared library automatically hardcodes DIR
31379 # into the library and all subsequent libraries and executables linked
31381 hardcode_automatic=$hardcode_automatic_GCJ
31383 # Set to yes if linker adds runtime paths of dependent libraries
31384 # to runtime path list.
31385 inherit_rpath=$inherit_rpath_GCJ
31387 # Whether libtool must link a program against all its dependency libraries.
31388 link_all_deplibs=$link_all_deplibs_GCJ
31390 # Fix the shell variable \$srcfile for the compiler.
31391 fix_srcfile_path=$lt_fix_srcfile_path_GCJ
31393 # Set to "yes" if exported symbols are required.
31394 always_export_symbols=$always_export_symbols_GCJ
31396 # The commands to list exported symbols.
31397 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
31399 # Symbols that should not be listed in the preloaded symbols.
31400 exclude_expsyms=$lt_exclude_expsyms_GCJ
31402 # Symbols that must always be exported.
31403 include_expsyms=$lt_include_expsyms_GCJ
31405 # Commands necessary for linking programs (against libraries) with templates.
31406 prelink_cmds=$lt_prelink_cmds_GCJ
31408 # Specify filename containing input files.
31409 file_list_spec=$lt_file_list_spec_GCJ
31411 # How to hardcode a shared library path into an executable.
31412 hardcode_action=$hardcode_action_GCJ
31414 # Dependencies to place before and after the objects being linked to
31415 # create a shared library.
31416 predep_objects=$lt_predep_objects_GCJ
31417 postdep_objects=$lt_postdep_objects_GCJ
31418 predeps=$lt_predeps_GCJ
31419 postdeps=$lt_postdeps_GCJ
31421 # The library search path used internally by the compiler when linking
31422 # a shared library.
31423 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
31425 # ### END LIBTOOL TAG CONFIG: GCJ
31433 cat >>$CONFIG_STATUS <<\_ACEOF
31435 { (exit 0); exit 0; }
31437 chmod +x
$CONFIG_STATUS
31438 ac_clean_files
=$ac_clean_files_save
31441 # configure is writing to config.log, and then calls config.status.
31442 # config.status does its own redirection, appending to config.log.
31443 # Unfortunately, on DOS this fails, as config.log is still kept open
31444 # by configure, so config.status won't be able to write to it; its
31445 # output is simply discarded. So we exec the FD to /dev/null,
31446 # effectively closing config.log, so it can be properly (re)opened and
31447 # appended to by config.status. When coming back to configure, we
31448 # need to make the FD available again.
31449 if test "$no_create" != yes; then
31451 ac_config_status_args
=
31452 test "$silent" = yes &&
31453 ac_config_status_args
="$ac_config_status_args --quiet"
31455 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
31457 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
31458 # would make configure fail if this is the last instruction.
31459 $ac_cs_success ||
{ (exit 1); exit 1; }
31463 # CONFIG_SUBDIRS section, as fixed in confsubdir.m4.
31465 if test "$no_recursion" != yes; then
31467 # Remove --cache-file and --srcdir arguments so they do not pile up.
31468 ac_sub_configure_args
=
31470 eval "set x $ac_configure_args"
31474 if test -n "$ac_prev"; then
31479 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
31480 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
31481 ac_prev
=cache_file
;;
31482 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
31483 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
31486 --config-cache |
-C)
31488 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
31490 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
31492 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
31494 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
31498 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
31500 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
31504 # Always prepend --prefix to ensure using the same prefix
31505 # in subdir configurations.
31506 ac_arg
="--prefix=$prefix"
31508 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
31510 ac_sub_configure_args
="$ac_arg $ac_sub_configure_args"
31513 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
31515 # Do not complain, so a configure script can configure whichever
31516 # parts of a large source tree are present.
31517 test -d "$srcdir/$ac_dir" ||
continue
31519 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
31520 echo "$as_me: configuring in $ac_dir" >&6;}
31521 { if $as_mkdir_p; then
31526 while test ! -d "$as_dir"; do
31527 as_dirs
="$as_dir $as_dirs"
31528 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31529 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31530 X"$as_dir" : 'X\(//\)[^/]' \| \
31531 X"$as_dir" : 'X\(//\)$' \| \
31532 X"$as_dir" : 'X\(/\)' \| \
31533 . : '\(.\)' 2>/dev/null ||
31535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31536 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31537 /^X\(\/\/\)$/{ s//\1/; q; }
31538 /^X\(\/\).*/{ s//\1/; q; }
31541 test ! -n "$as_dirs" || mkdir
$as_dirs
31542 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31543 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31544 { (exit 1); exit 1; }; }; }
31548 if test "$ac_dir" != .
; then
31549 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31550 # A "../" for each directory in $ac_dir_suffix.
31551 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31553 ac_dir_suffix
= ac_top_builddir
=
31557 .
) # No --srcdir option. We are building in place.
31559 if test -z "$ac_top_builddir"; then
31562 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
31564 [\\/]* | ?
:[\\/]* ) # Absolute path.
31565 ac_srcdir
=$srcdir$ac_dir_suffix;
31566 ac_top_srcdir
=$srcdir ;;
31567 *) # Relative path.
31568 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
31569 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
31572 # Do not use `cd foo && pwd` to compute absolute paths, because
31573 # the directories may not exist.
31575 .
) ac_abs_builddir
="$ac_dir";;
31578 .
) ac_abs_builddir
=`pwd`;;
31579 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
31580 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
31583 case $ac_abs_builddir in
31584 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31586 case ${ac_top_builddir}.
in
31587 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
31588 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31589 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
31592 case $ac_abs_builddir in
31593 .
) ac_abs_srcdir
=$ac_srcdir;;
31596 .
) ac_abs_srcdir
=$ac_abs_builddir;;
31597 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
31598 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
31601 case $ac_abs_builddir in
31602 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
31604 case $ac_top_srcdir in
31605 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
31606 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
31607 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
31614 # Check for guested configure; otherwise get Cygnus style configure.
31615 if test -f "$ac_srcdir/configure.gnu"; then
31616 ac_sub_configure
=$ac_srcdir/configure.gnu
31617 elif test -f "$ac_srcdir/configure"; then
31618 ac_sub_configure
=$ac_srcdir/configure
31619 elif test -f "$ac_srcdir/configure.in"; then
31620 # This should be Cygnus configure.
31621 ac_sub_configure
=$ac_aux_dir/configure
31623 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
31624 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
31628 # The recursion is here.
31629 if test -n "$ac_sub_configure"; then
31630 # Make the cache file name correct relative to the subdirectory.
31631 case $cache_file in
31632 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
31633 *) # Relative path.
31634 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
31637 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
31638 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
31639 # The eval makes quoting arguments work.
31640 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
31641 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
31642 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
31643 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
31644 { (exit 1); exit 1; }; }