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 BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE BUILD_LIBGCJ_REDUCED_REFLECTION_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-reduced-reflection
1042 enable or disable(default) -freduced-reflection when
1043 building portions of libgcj
1044 --enable-gc-debug include full support for pointer backtracing etc.
1045 --enable-interpreter enable interpreter
1046 --enable-sjlj-exceptions
1047 force use of builtin_setjmp for exceptions
1048 --disable-java-net disable java.net
1049 --disable-jvmpi disable JVMPI support
1050 --enable-java-gc=TYPE choose garbage collector (default is boehm)
1051 --disable-rpath do not hardcode runtime library paths
1052 --enable-tls Use thread-local storage [default=yes]
1053 --enable-aot-compile-rpm
1054 enable installation of aot-compile-rpm [default=no]
1055 --enable-java-home create a standard JDK-style directory layout in the
1056 install tree [default=no]
1059 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1060 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1061 --with-build-libsubdir=DIR Directory where to find libraries for build system
1062 --with-target-subdir=SUBDIR
1063 configure in a subdirectory
1064 --with-cross-host=HOST configure with a cross compiler from HOST
1065 --with-newlib configure with newlib
1066 --with-escher=ABS.PATH specify path to escher dir or JAR for X peers
1067 --with-pic try to use only PIC/non-PIC objects [default=use
1069 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1070 --with-ecj-jar=FILE use preinstalled ecj jar
1071 --with-java-home=DIRECTORY
1072 value of java.home system property
1073 --with-win32-nlsapi=ansi or unicows or unicode
1074 native MinGW libgcj Win32 OS API (default is ansi)
1075 --without-libffi don't use libffi
1076 --with-ecos enable runtime eCos target support
1077 --with-system-zlib use installed libz
1078 --with-x use the X Window System
1079 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1080 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1081 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1082 --with-python-dir the location to install Python modules. This path
1083 should NOT include the prefix.
1084 --with-gcc-suffix the GCC tool suffix (defaults to empty string)
1085 --with-arch-directory the arch directory under jre/lib (defaults to
1087 --with-os-directory the os directory under include (defaults to
1089 --with-origin-name the JPackage origin name of this package (default is
1091 --with-arch-suffix the arch directory suffix (default is the empty
1093 --with-jvm-root-dir where to install SDK (default is ${prefix}/lib/jvm)
1094 --with-jvm-jar-dir where to install jars (default is
1095 ${prefix}/lib/jvm-exports)
1097 Some influential environment variables:
1098 CC C compiler command
1099 CFLAGS C compiler flags
1100 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1101 nonstandard directory <lib dir>
1102 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1103 headers in a nonstandard directory <include dir>
1104 CXX C++ compiler command
1105 CXXFLAGS C++ compiler flags
1107 CXXCPP C++ preprocessor
1109 Use these variables to override the choices made by `configure' or to
help
1110 it to
find libraries and programs with nonstandard names
/locations.
1115 if test "$ac_init_help" = "recursive"; then
1116 # If there are subdirs, report their specific --help.
1118 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1119 test -d $ac_dir ||
continue
1122 if test "$ac_dir" != .
; then
1123 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1124 # A "../" for each directory in $ac_dir_suffix.
1125 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1127 ac_dir_suffix
= ac_top_builddir
=
1131 .
) # No --srcdir option. We are building in place.
1133 if test -z "$ac_top_builddir"; then
1136 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1138 [\\/]* | ?
:[\\/]* ) # Absolute path.
1139 ac_srcdir
=$srcdir$ac_dir_suffix;
1140 ac_top_srcdir
=$srcdir ;;
1142 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1143 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1146 # Do not use `cd foo && pwd` to compute absolute paths, because
1147 # the directories may not exist.
1149 .
) ac_abs_builddir
="$ac_dir";;
1152 .
) ac_abs_builddir
=`pwd`;;
1153 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1154 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1157 case $ac_abs_builddir in
1158 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1160 case ${ac_top_builddir}.
in
1161 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1162 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1163 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1166 case $ac_abs_builddir in
1167 .
) ac_abs_srcdir
=$ac_srcdir;;
1170 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1171 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1172 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1175 case $ac_abs_builddir in
1176 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1178 case $ac_top_srcdir in
1179 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1180 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1181 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1186 # Check for guested configure; otherwise get Cygnus style configure.
1187 if test -f $ac_srcdir/configure.gnu
; then
1189 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1190 elif test -f $ac_srcdir/configure
; then
1192 $SHELL $ac_srcdir/configure
--help=recursive
1193 elif test -f $ac_srcdir/configure.ac ||
1194 test -f $ac_srcdir/configure.
in; then
1196 $ac_configure --help
1198 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1204 test -n "$ac_init_help" && exit 0
1205 if $ac_init_version; then
1207 libjava configure version-unused
1208 generated by GNU Autoconf
2.59
1210 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1211 This configure
script is free software
; the Free Software Foundation
1212 gives unlimited permission to copy
, distribute and modify it.
1218 This file contains any messages produced by compilers while
1219 running configure, to aid debugging if configure makes a mistake.
1221 It was created by libjava $as_me version-unused, which was
1222 generated by GNU Autoconf 2.59. Invocation command line was
1233 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1234 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1235 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1236 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1237 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1239 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1240 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1242 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1243 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1244 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1245 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1246 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1247 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1248 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1256 test -z "$as_dir" && as_dir
=.
1257 echo "PATH: $as_dir"
1272 # Keep a trace of the command line.
1273 # Strip out --no-create and --no-recursion so they do not pile up.
1274 # Strip out --silent because we don't want to record it for future runs.
1275 # Also quote any args containing shell meta-characters.
1276 # Make two passes to allow for proper duplicate-argument suppression.
1281 ac_must_keep_next
=false
1287 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1288 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1289 |
-silent |
--silent |
--silen |
--sile |
--sil)
1291 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1292 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1295 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1297 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1298 if test $ac_must_keep_next = true
; then
1299 ac_must_keep_next
=false
# Got value, back to normal.
1302 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1303 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1304 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1305 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1306 case "$ac_configure_args0 " in
1307 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1310 -* ) ac_must_keep_next
=true
;;
1313 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1314 # Get rid of the leading space.
1320 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1321 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1323 # When interrupted or exit'd, cleanup temporary files, and complete
1324 # config.log. We remove comments because anyway the quotes in there
1325 # would cause problems or look ugly.
1326 # WARNING: Be sure not to use single quotes in there, as some shells,
1327 # such as our DU 5.0 friend, will then `close' the trap.
1328 trap 'exit_status=$?
1329 # Save into config.log some information that might help in debugging.
1334 ## ---------------- ##
1335 ## Cache variables. ##
1336 ## ---------------- ##
1339 # The following way of writing the cache mishandles newlines in values,
1342 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1345 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1346 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1350 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1357 ## ----------------- ##
1358 ## Output variables. ##
1359 ## ----------------- ##
1362 for ac_var in $ac_subst_vars
1364 eval ac_val=$`echo $ac_var`
1365 echo "$ac_var='"'"'$ac_val'"'"'"
1369 if test -n "$ac_subst_files"; then
1376 for ac_var in $ac_subst_files
1378 eval ac_val=$`echo $ac_var`
1379 echo "$ac_var='"'"'$ac_val'"'"'"
1384 if test -s confdefs.h; then
1391 sed "/^$/d" confdefs.h | sort
1394 test "$ac_signal" != 0 &&
1395 echo "$as_me: caught signal $ac_signal"
1396 echo "$as_me: exit $exit_status"
1398 rm -f core *.core &&
1399 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1402 for ac_signal
in 1 2 13 15; do
1403 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1407 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1408 rm -rf conftest
* confdefs.h
1409 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1412 # Predefined preprocessor variables.
1414 cat >>confdefs.h
<<_ACEOF
1415 #define PACKAGE_NAME "$PACKAGE_NAME"
1419 cat >>confdefs.h
<<_ACEOF
1420 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1424 cat >>confdefs.h
<<_ACEOF
1425 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1429 cat >>confdefs.h
<<_ACEOF
1430 #define PACKAGE_STRING "$PACKAGE_STRING"
1434 cat >>confdefs.h
<<_ACEOF
1435 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1439 # Let the site file select an alternate cache file if it wants to.
1440 # Prefer explicitly selected file to automatically selected ones.
1441 if test -z "$CONFIG_SITE"; then
1442 if test "x$prefix" != xNONE
; then
1443 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1445 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1448 for ac_site_file
in $CONFIG_SITE; do
1449 if test -r "$ac_site_file"; then
1450 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1451 echo "$as_me: loading site script $ac_site_file" >&6;}
1452 sed 's/^/| /' "$ac_site_file" >&5
1457 if test -r "$cache_file"; then
1458 # Some versions of bash will fail to source /dev/null (special
1459 # files actually), so we avoid doing that.
1460 if test -f "$cache_file"; then
1461 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1462 echo "$as_me: loading cache $cache_file" >&6;}
1464 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1465 *) . .
/$cache_file;;
1469 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1470 echo "$as_me: creating cache $cache_file" >&6;}
1474 # Check that the precious variables saved in the cache have kept the same
1476 ac_cache_corrupted
=false
1477 for ac_var
in `(set) 2>&1 |
1478 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1479 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1480 eval ac_new_set
=\
$ac_env_${ac_var}_set
1481 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1482 eval ac_new_val
="\$ac_env_${ac_var}_value"
1483 case $ac_old_set,$ac_new_set in
1485 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1486 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1487 ac_cache_corrupted
=: ;;
1489 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1490 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1491 ac_cache_corrupted
=: ;;
1494 if test "x$ac_old_val" != "x$ac_new_val"; then
1495 # differences in whitespace do not lead to failure.
1496 ac_old_val_w
=`echo x $ac_old_val`
1497 ac_new_val_w
=`echo x $ac_new_val`
1498 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1499 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1500 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1501 ac_cache_corrupted
=:
1503 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1504 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1505 eval $ac_var=\
$ac_old_val
1507 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1508 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1509 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1510 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1513 # Pass precious variables to config.status.
1514 if test "$ac_new_set" = set; then
1516 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1517 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1518 *) ac_arg
=$ac_var=$ac_new_val ;;
1520 case " $ac_configure_args " in
1521 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1522 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1526 if $ac_cache_corrupted; then
1527 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1528 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1529 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1530 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1531 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1532 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1533 { (exit 1); exit 1; }; }
1537 ac_cpp
='$CPP $CPPFLAGS'
1538 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1539 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1540 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1575 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1576 if test -f $ac_dir/install-sh
; then
1578 ac_install_sh
="$ac_aux_dir/install-sh -c"
1580 elif test -f $ac_dir/install.sh
; then
1582 ac_install_sh
="$ac_aux_dir/install.sh -c"
1584 elif test -f $ac_dir/shtool
; then
1586 ac_install_sh
="$ac_aux_dir/shtool install -c"
1590 if test -z "$ac_aux_dir"; then
1591 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1592 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1593 { (exit 1); exit 1; }; }
1595 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1596 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1597 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1599 # Make sure we can run config.sub.
1600 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1601 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1602 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1603 { (exit 1); exit 1; }; }
1605 echo "$as_me:$LINENO: checking build system type" >&5
1606 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1607 if test "${ac_cv_build+set}" = set; then
1608 echo $ECHO_N "(cached) $ECHO_C" >&6
1610 ac_cv_build_alias
=$build_alias
1611 test -z "$ac_cv_build_alias" &&
1612 ac_cv_build_alias
=`$ac_config_guess`
1613 test -z "$ac_cv_build_alias" &&
1614 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1615 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1616 { (exit 1); exit 1; }; }
1617 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1618 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1619 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1620 { (exit 1); exit 1; }; }
1623 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1624 echo "${ECHO_T}$ac_cv_build" >&6
1626 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1627 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1628 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1631 case ${build_alias} in
1632 "") build_noncanonical
=${build} ;;
1633 *) build_noncanonical
=${build_alias} ;;
1636 case ${host_alias} in
1637 "") host_noncanonical
=${build_noncanonical} ;;
1638 *) host_noncanonical
=${host_alias} ;;
1641 case ${target_alias} in
1642 "") target_noncanonical
=${host_noncanonical} ;;
1643 *) target_noncanonical
=${target_alias} ;;
1647 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1648 # have matching libraries, they should use host libraries: Makefile.tpl
1649 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1650 # However, they still use the build modules, because the corresponding
1651 # host modules (e.g. bison) are only built for the host when bootstrap
1653 # - build_subdir is where we find build modules, and never changes.
1654 # - build_libsubdir is where we find build libraries, and can be overridden.
1656 # Prefix 'build-' so this never conflicts with target_subdir.
1657 build_subdir
="build-${build_noncanonical}"
1659 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1660 if test "${with_build_libsubdir+set}" = set; then
1661 withval
="$with_build_libsubdir"
1662 build_libsubdir
="$withval"
1664 build_libsubdir
="$build_subdir"
1666 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1667 if ( test $srcdir = .
&& test -d gcc
) \
1668 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1669 host_subdir
="host-${host_noncanonical}"
1674 target_subdir
=${target_noncanonical}
1677 # We use these options to decide which functions to include.
1679 # Check whether --with-target-subdir or --without-target-subdir was given.
1680 if test "${with_target_subdir+set}" = set; then
1681 withval
="$with_target_subdir"
1685 # We may get other options which we don't document:
1686 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1688 # Find the rest of the source tree framework.
1689 # Default to --enable-multilib
1690 # Check whether --enable-multilib or --disable-multilib was given.
1691 if test "${enable_multilib+set}" = set; then
1692 enableval
="$enable_multilib"
1693 case "$enableval" in
1694 yes) multilib
=yes ;;
1696 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1697 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1698 { (exit 1); exit 1; }; } ;;
1704 # We may get other options which we leave undocumented:
1705 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1706 # See config-ml.in if you want the gory details.
1708 if test "$srcdir" = "."; then
1709 if test "$with_target_subdir" != "."; then
1710 multi_basedir
="$srcdir/$with_multisrctop../.."
1712 multi_basedir
="$srcdir/$with_multisrctop.."
1715 multi_basedir
="$srcdir/.."
1719 # Even if the default multilib is not a cross compilation,
1720 # it may be that some of the other multilibs are.
1721 if test $cross_compiling = no
&& test $multilib = yes \
1722 && test "x${with_multisubdir}" != x
; then
1723 cross_compiling
=maybe
1726 ac_config_commands
="$ac_config_commands default-1"
1729 echo "$as_me:$LINENO: checking host system type" >&5
1730 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1731 if test "${ac_cv_host+set}" = set; then
1732 echo $ECHO_N "(cached) $ECHO_C" >&6
1734 ac_cv_host_alias
=$host_alias
1735 test -z "$ac_cv_host_alias" &&
1736 ac_cv_host_alias
=$ac_cv_build_alias
1737 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1738 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1739 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1740 { (exit 1); exit 1; }; }
1743 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1744 echo "${ECHO_T}$ac_cv_host" >&6
1746 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1747 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1748 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1751 echo "$as_me:$LINENO: checking target system type" >&5
1752 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1753 if test "${ac_cv_target+set}" = set; then
1754 echo $ECHO_N "(cached) $ECHO_C" >&6
1756 ac_cv_target_alias
=$target_alias
1757 test "x$ac_cv_target_alias" = "x" &&
1758 ac_cv_target_alias
=$ac_cv_host_alias
1759 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1760 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1761 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1762 { (exit 1); exit 1; }; }
1765 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1766 echo "${ECHO_T}$ac_cv_target" >&6
1767 target
=$ac_cv_target
1768 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1769 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1770 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1773 # The aliases save the names the user supplied, while $host etc.
1774 # will get canonicalized.
1775 test -n "$target_alias" &&
1776 test "$program_prefix$program_suffix$program_transform_name" = \
1778 program_prefix
=${target_alias}-
1779 case ${build_alias} in
1780 "") build_noncanonical
=${build} ;;
1781 *) build_noncanonical
=${build_alias} ;;
1784 case ${target_alias} in
1785 "") target_noncanonical
=${host_noncanonical} ;;
1786 *) target_noncanonical
=${target_alias} ;;
1792 # This works around the fact that libtool configuration may change LD
1793 # for this particular configuration, but some shells, instead of
1794 # keeping the changes in LD private, export them just because LD is
1796 ORIGINAL_LD_FOR_MULTILIBS
=$LD
1798 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1799 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1801 if test "$LN_S" = "ln -s"; then
1802 echo "$as_me:$LINENO: result: yes" >&5
1803 echo "${ECHO_T}yes" >&6
1805 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1806 echo "${ECHO_T}no, using $LN_S" >&6
1810 # This works around an automake problem.
1811 mkinstalldirs
="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
1815 # Check whether --with-cross-host or --without-cross-host was given.
1816 if test "${with_cross_host+set}" = set; then
1817 withval
="$with_cross_host"
1822 # Check whether --with-newlib or --without-newlib was given.
1823 if test "${with_newlib+set}" = set; then
1824 withval
="$with_newlib"
1828 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1829 if test "${enable_version_specific_runtime_libs+set}" = set; then
1830 enableval
="$enable_version_specific_runtime_libs"
1831 case "$enableval" in
1832 yes) version_specific_libs
=yes ;;
1833 no
) version_specific_libs
=no
;;
1834 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1835 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1836 { (exit 1); exit 1; }; };;
1839 version_specific_libs
=no
1843 # Check whether --enable-plugin or --disable-plugin was given.
1844 if test "${enable_plugin+set}" = set; then
1845 enableval
="$enable_plugin"
1846 case "$enableval" in
1847 yes) plugin_enabled
=yes ;;
1848 no
) plugin_enabled
=no
;;
1849 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable plugin" >&5
1850 echo "$as_me: error: Unknown argument to enable/disable plugin" >&2;}
1851 { (exit 1); exit 1; }; };;
1858 # Check whether --enable-gconf-peer or --disable-gconf-peer was given.
1859 if test "${enable_gconf_peer+set}" = set; then
1860 enableval
="$enable_gconf_peer"
1861 case "$enableval" in
1862 yes) gconf_enabled
=yes ;;
1863 no
) gconf_enabled
=no
;;
1864 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable gconf-peer" >&5
1865 echo "$as_me: error: Unknown argument to enable/disable gconf-peer" >&2;}
1866 { (exit 1); exit 1; }; };;
1873 # Check whether --enable-java-maintainer-mode or --disable-java-maintainer-mode was given.
1874 if test "${enable_java_maintainer_mode+set}" = set; then
1875 enableval
="$enable_java_maintainer_mode"
1880 if test "$enable_java_maintainer_mode" = yes; then
1881 JAVA_MAINTAINER_MODE_TRUE
=
1882 JAVA_MAINTAINER_MODE_FALSE
='#'
1884 JAVA_MAINTAINER_MODE_TRUE
='#'
1885 JAVA_MAINTAINER_MODE_FALSE
=
1889 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
1892 # (1) We use an abnormal CXX (without library references), so we
1893 # must cache it under a different name.
1894 # (2) CC, CFLAGS, CXX, CXXFLAGS, LDFLAGS must not be 'precious', or
1895 # the non-multilib-adjusted value will be used in multilibs.
1896 # (3) As a side effect, we must SUBST CXXFLAGS, CFLAGS, and LDFLAGS ourselves.
1897 # (4) As another side effect, automake doesn't automatically include them
1899 # (5) For libstdc++-v3, -fno-builtin must be present here so that a
1900 # non-conflicting form of std::exit can be guessed by AC_PROG_CXX, and
1901 # used in later tests. This may not be necessary in libjava; I don't know.
1904 save_CXXFLAGS
="$CXXFLAGS"
1905 CXXFLAGS
="$CXXFLAGS -fno-builtin"
1907 ac_cpp
='$CPP $CPPFLAGS'
1908 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1909 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1910 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1911 if test -n "$ac_tool_prefix"; then
1912 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1913 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1914 echo "$as_me:$LINENO: checking for $ac_word" >&5
1915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1916 if test "${ac_cv_prog_CC+set}" = set; then
1917 echo $ECHO_N "(cached) $ECHO_C" >&6
1919 if test -n "$CC"; then
1920 ac_cv_prog_CC
="$CC" # Let the user override the test.
1922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1926 test -z "$as_dir" && as_dir
=.
1927 for ac_exec_ext
in '' $ac_executable_extensions; do
1928 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1929 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1939 if test -n "$CC"; then
1940 echo "$as_me:$LINENO: result: $CC" >&5
1941 echo "${ECHO_T}$CC" >&6
1943 echo "$as_me:$LINENO: result: no" >&5
1944 echo "${ECHO_T}no" >&6
1948 if test -z "$ac_cv_prog_CC"; then
1950 # Extract the first word of "gcc", so it can be a program name with args.
1951 set dummy gcc
; ac_word
=$2
1952 echo "$as_me:$LINENO: checking for $ac_word" >&5
1953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1954 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1955 echo $ECHO_N "(cached) $ECHO_C" >&6
1957 if test -n "$ac_ct_CC"; then
1958 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1964 test -z "$as_dir" && as_dir
=.
1965 for ac_exec_ext
in '' $ac_executable_extensions; do
1966 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1967 ac_cv_prog_ac_ct_CC
="gcc"
1968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1976 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1977 if test -n "$ac_ct_CC"; then
1978 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1979 echo "${ECHO_T}$ac_ct_CC" >&6
1981 echo "$as_me:$LINENO: result: no" >&5
1982 echo "${ECHO_T}no" >&6
1990 if test -z "$CC"; then
1991 if test -n "$ac_tool_prefix"; then
1992 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1993 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1994 echo "$as_me:$LINENO: checking for $ac_word" >&5
1995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1996 if test "${ac_cv_prog_CC+set}" = set; then
1997 echo $ECHO_N "(cached) $ECHO_C" >&6
1999 if test -n "$CC"; then
2000 ac_cv_prog_CC
="$CC" # Let the user override the test.
2002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2006 test -z "$as_dir" && as_dir
=.
2007 for ac_exec_ext
in '' $ac_executable_extensions; do
2008 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2009 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2019 if test -n "$CC"; then
2020 echo "$as_me:$LINENO: result: $CC" >&5
2021 echo "${ECHO_T}$CC" >&6
2023 echo "$as_me:$LINENO: result: no" >&5
2024 echo "${ECHO_T}no" >&6
2028 if test -z "$ac_cv_prog_CC"; then
2030 # Extract the first word of "cc", so it can be a program name with args.
2031 set dummy cc
; ac_word
=$2
2032 echo "$as_me:$LINENO: checking for $ac_word" >&5
2033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2034 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2035 echo $ECHO_N "(cached) $ECHO_C" >&6
2037 if test -n "$ac_ct_CC"; then
2038 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2044 test -z "$as_dir" && as_dir
=.
2045 for ac_exec_ext
in '' $ac_executable_extensions; do
2046 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2047 ac_cv_prog_ac_ct_CC
="cc"
2048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2056 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2057 if test -n "$ac_ct_CC"; then
2058 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2059 echo "${ECHO_T}$ac_ct_CC" >&6
2061 echo "$as_me:$LINENO: result: no" >&5
2062 echo "${ECHO_T}no" >&6
2071 if test -z "$CC"; then
2072 # Extract the first word of "cc", so it can be a program name with args.
2073 set dummy cc
; ac_word
=$2
2074 echo "$as_me:$LINENO: checking for $ac_word" >&5
2075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2076 if test "${ac_cv_prog_CC+set}" = set; then
2077 echo $ECHO_N "(cached) $ECHO_C" >&6
2079 if test -n "$CC"; then
2080 ac_cv_prog_CC
="$CC" # Let the user override the test.
2083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2087 test -z "$as_dir" && as_dir
=.
2088 for ac_exec_ext
in '' $ac_executable_extensions; do
2089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2090 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2091 ac_prog_rejected
=yes
2095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2101 if test $ac_prog_rejected = yes; then
2102 # We found a bogon in the path, so make sure we never use it.
2103 set dummy
$ac_cv_prog_CC
2105 if test $# != 0; then
2106 # We chose a different compiler from the bogus one.
2107 # However, it has the same basename, so the bogon will be chosen
2108 # first if we set CC to just the basename; use the full file name.
2110 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2116 if test -n "$CC"; then
2117 echo "$as_me:$LINENO: result: $CC" >&5
2118 echo "${ECHO_T}$CC" >&6
2120 echo "$as_me:$LINENO: result: no" >&5
2121 echo "${ECHO_T}no" >&6
2125 if test -z "$CC"; then
2126 if test -n "$ac_tool_prefix"; then
2129 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2130 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2131 echo "$as_me:$LINENO: checking for $ac_word" >&5
2132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2133 if test "${ac_cv_prog_CC+set}" = set; then
2134 echo $ECHO_N "(cached) $ECHO_C" >&6
2136 if test -n "$CC"; then
2137 ac_cv_prog_CC
="$CC" # Let the user override the test.
2139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2143 test -z "$as_dir" && as_dir
=.
2144 for ac_exec_ext
in '' $ac_executable_extensions; do
2145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2146 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2156 if test -n "$CC"; then
2157 echo "$as_me:$LINENO: result: $CC" >&5
2158 echo "${ECHO_T}$CC" >&6
2160 echo "$as_me:$LINENO: result: no" >&5
2161 echo "${ECHO_T}no" >&6
2164 test -n "$CC" && break
2167 if test -z "$CC"; then
2171 # Extract the first word of "$ac_prog", so it can be a program name with args.
2172 set dummy
$ac_prog; ac_word
=$2
2173 echo "$as_me:$LINENO: checking for $ac_word" >&5
2174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2175 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2176 echo $ECHO_N "(cached) $ECHO_C" >&6
2178 if test -n "$ac_ct_CC"; then
2179 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2185 test -z "$as_dir" && as_dir
=.
2186 for ac_exec_ext
in '' $ac_executable_extensions; do
2187 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2188 ac_cv_prog_ac_ct_CC
="$ac_prog"
2189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2197 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2198 if test -n "$ac_ct_CC"; then
2199 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2200 echo "${ECHO_T}$ac_ct_CC" >&6
2202 echo "$as_me:$LINENO: result: no" >&5
2203 echo "${ECHO_T}no" >&6
2206 test -n "$ac_ct_CC" && break
2215 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2216 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2217 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2218 See \`config.log' for more details." >&5
2219 echo "$as_me: error: no acceptable C compiler found in \$PATH
2220 See \`config.log' for more details." >&2;}
2221 { (exit 1); exit 1; }; }; }
2223 # Provide some information about the compiler.
2224 echo "$as_me:$LINENO:" \
2225 "checking for C compiler version" >&5
2226 ac_compiler
=`set X $ac_compile; echo $2`
2227 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2228 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2231 (exit $ac_status); }
2232 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2233 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2236 (exit $ac_status); }
2237 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2238 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241 (exit $ac_status); }
2243 cat >conftest.
$ac_ext <<_ACEOF
2246 cat confdefs.h
>>conftest.
$ac_ext
2247 cat >>conftest.
$ac_ext <<_ACEOF
2248 /* end confdefs.h. */
2259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2260 (eval $ac_link) 2>&5
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); }; then
2269 if test x
$gcc_no_link = xyes
; then
2270 # Setting cross_compile will disable run tests; it will
2271 # also disable AC_CHECK_FILE but that's generally
2272 # correct if we can't link.
2276 cat >conftest.
$ac_ext <<_ACEOF
2279 cat confdefs.h
>>conftest.
$ac_ext
2280 cat >>conftest.
$ac_ext <<_ACEOF
2281 /* end confdefs.h. */
2291 ac_clean_files_save
=$ac_clean_files
2292 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2293 # Try to create an executable without -o first, disregard a.out.
2294 # It will help us diagnose broken compilers, and finding out an intuition
2296 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2297 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2298 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2299 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2300 (eval $ac_link_default) 2>&5
2302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2303 (exit $ac_status); }; then
2304 # Find the output, starting from the most likely. This scheme is
2305 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2308 # Be careful to initialize this variable, since it used to be cached.
2309 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2311 # b.out is created by i960 compilers.
2312 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2314 test -f "$ac_file" ||
continue
2316 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2319 # This is the source file.
2322 # We found the default executable, but exeext='' is most
2326 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2327 # FIXME: I believe we export ac_cv_exeext for Libtool,
2328 # but it would be cool to find out if it's true. Does anybody
2329 # maintain Libtool? --akim.
2337 echo "$as_me: failed program was:" >&5
2338 sed 's/^/| /' conftest.
$ac_ext >&5
2340 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2341 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2342 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2343 See \`config.log' for more details." >&5
2344 echo "$as_me: error: C compiler cannot create executables
2345 See \`config.log' for more details." >&2;}
2346 { (exit 77); exit 77; }; }; }
2349 ac_exeext
=$ac_cv_exeext
2350 echo "$as_me:$LINENO: result: $ac_file" >&5
2351 echo "${ECHO_T}$ac_file" >&6
2353 # Check the compiler produces executables we can run. If not, either
2354 # the compiler is broken, or we cross compile.
2355 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2356 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2357 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2358 # If not cross compiling, check that we can run a simple program.
2359 if test "$cross_compiling" != yes; then
2360 if { ac_try
='./$ac_file'
2361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }; }; then
2368 if test "$cross_compiling" = maybe
; then
2371 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2372 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2373 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2374 If you meant to cross compile, use \`--host'.
2375 See \`config.log' for more details." >&5
2376 echo "$as_me: error: cannot run C compiled programs.
2377 If you meant to cross compile, use \`--host'.
2378 See \`config.log' for more details." >&2;}
2379 { (exit 1); exit 1; }; }; }
2383 echo "$as_me:$LINENO: result: yes" >&5
2384 echo "${ECHO_T}yes" >&6
2386 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2387 ac_clean_files
=$ac_clean_files_save
2388 # Check the compiler produces executables we can run. If not, either
2389 # the compiler is broken, or we cross compile.
2390 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2391 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2392 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2393 echo "${ECHO_T}$cross_compiling" >&6
2395 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2396 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2398 (eval $ac_link) 2>&5
2400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2401 (exit $ac_status); }; then
2402 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2403 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2404 # work properly (i.e., refer to `conftest.exe'), while it won't with
2406 for ac_file
in conftest.exe conftest conftest.
*; do
2407 test -f "$ac_file" ||
continue
2409 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2410 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2417 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2418 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2419 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2420 See \`config.log' for more details." >&5
2421 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2422 See \`config.log' for more details." >&2;}
2423 { (exit 1); exit 1; }; }; }
2426 rm -f conftest
$ac_cv_exeext
2427 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2428 echo "${ECHO_T}$ac_cv_exeext" >&6
2430 rm -f conftest.
$ac_ext
2431 EXEEXT
=$ac_cv_exeext
2434 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2435 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2436 if test "${ac_cv_objext+set}" = set; then
2437 echo $ECHO_N "(cached) $ECHO_C" >&6
2439 cat >conftest.
$ac_ext <<_ACEOF
2442 cat confdefs.h
>>conftest.
$ac_ext
2443 cat >>conftest.
$ac_ext <<_ACEOF
2444 /* end confdefs.h. */
2454 rm -f conftest.o conftest.obj
2455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2456 (eval $ac_compile) 2>&5
2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459 (exit $ac_status); }; then
2460 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2462 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2463 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2468 echo "$as_me: failed program was:" >&5
2469 sed 's/^/| /' conftest.
$ac_ext >&5
2471 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2472 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2473 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2474 See \`config.log' for more details." >&5
2475 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2476 See \`config.log' for more details." >&2;}
2477 { (exit 1); exit 1; }; }; }
2480 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2482 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2483 echo "${ECHO_T}$ac_cv_objext" >&6
2484 OBJEXT
=$ac_cv_objext
2486 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2487 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2488 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2489 echo $ECHO_N "(cached) $ECHO_C" >&6
2491 cat >conftest.
$ac_ext <<_ACEOF
2494 cat confdefs.h
>>conftest.
$ac_ext
2495 cat >>conftest.
$ac_ext <<_ACEOF
2496 /* end confdefs.h. */
2509 rm -f conftest.
$ac_objext
2510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2511 (eval $ac_compile) 2>conftest.er1
2513 grep -v '^ *+' conftest.er1
>conftest.err
2515 cat conftest.err
>&5
2516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2517 (exit $ac_status); } &&
2518 { ac_try
='test -z "$ac_c_werror_flag"
2519 || test ! -s conftest.err'
2520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2524 (exit $ac_status); }; } &&
2525 { ac_try
='test -s conftest.$ac_objext'
2526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2530 (exit $ac_status); }; }; then
2533 echo "$as_me: failed program was:" >&5
2534 sed 's/^/| /' conftest.
$ac_ext >&5
2538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2539 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2542 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2543 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2544 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2545 ac_test_CFLAGS
=${CFLAGS+set}
2546 ac_save_CFLAGS
=$CFLAGS
2548 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2549 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2550 if test "${ac_cv_prog_cc_g+set}" = set; then
2551 echo $ECHO_N "(cached) $ECHO_C" >&6
2553 cat >conftest.
$ac_ext <<_ACEOF
2556 cat confdefs.h
>>conftest.
$ac_ext
2557 cat >>conftest.
$ac_ext <<_ACEOF
2558 /* end confdefs.h. */
2568 rm -f conftest.
$ac_objext
2569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2570 (eval $ac_compile) 2>conftest.er1
2572 grep -v '^ *+' conftest.er1
>conftest.err
2574 cat conftest.err
>&5
2575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576 (exit $ac_status); } &&
2577 { ac_try
='test -z "$ac_c_werror_flag"
2578 || test ! -s conftest.err'
2579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583 (exit $ac_status); }; } &&
2584 { ac_try
='test -s conftest.$ac_objext'
2585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589 (exit $ac_status); }; }; then
2592 echo "$as_me: failed program was:" >&5
2593 sed 's/^/| /' conftest.
$ac_ext >&5
2597 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2599 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2600 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2601 if test "$ac_test_CFLAGS" = set; then
2602 CFLAGS
=$ac_save_CFLAGS
2603 elif test $ac_cv_prog_cc_g = yes; then
2604 if test "$GCC" = yes; then
2610 if test "$GCC" = yes; then
2616 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2617 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2618 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2619 echo $ECHO_N "(cached) $ECHO_C" >&6
2621 ac_cv_prog_cc_stdc
=no
2623 cat >conftest.
$ac_ext <<_ACEOF
2626 cat confdefs.h
>>conftest.
$ac_ext
2627 cat >>conftest.
$ac_ext <<_ACEOF
2628 /* end confdefs.h. */
2631 #include <sys/types.h>
2632 #include <sys/stat.h>
2633 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2634 struct buf { int x; };
2635 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2636 static char *e (p, i)
2642 static char *f (char * (*g) (char **, int), char **p, ...)
2647 s = g (p, va_arg (v,int));
2652 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2653 function prototypes and stuff, but not '\xHH' hex character constants.
2654 These don't provoke an error unfortunately, instead are silently treated
2655 as 'x'. The following induces an error, until -std1 is added to get
2656 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2657 array size at least. It's necessary to write '\x00'==0 to get something
2658 that's true only with -std1. */
2659 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2661 int test (int i, double x);
2662 struct s1 {int (*f) (int a);};
2663 struct s2 {int (*f) (double a);};
2664 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2670 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2675 # Don't try gcc -ansi; that turns off useful extensions and
2676 # breaks some systems' header files.
2677 # AIX -qlanglvl=ansi
2678 # Ultrix and OSF/1 -std1
2679 # HP-UX 10.20 and later -Ae
2680 # HP-UX older versions -Aa -D_HPUX_SOURCE
2681 # SVR4 -Xc -D__EXTENSIONS__
2682 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2684 CC
="$ac_save_CC $ac_arg"
2685 rm -f conftest.
$ac_objext
2686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2687 (eval $ac_compile) 2>conftest.er1
2689 grep -v '^ *+' conftest.er1
>conftest.err
2691 cat conftest.err
>&5
2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 (exit $ac_status); } &&
2694 { ac_try
='test -z "$ac_c_werror_flag"
2695 || test ! -s conftest.err'
2696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700 (exit $ac_status); }; } &&
2701 { ac_try
='test -s conftest.$ac_objext'
2702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2706 (exit $ac_status); }; }; then
2707 ac_cv_prog_cc_stdc
=$ac_arg
2710 echo "$as_me: failed program was:" >&5
2711 sed 's/^/| /' conftest.
$ac_ext >&5
2714 rm -f conftest.err conftest.
$ac_objext
2716 rm -f conftest.
$ac_ext conftest.
$ac_objext
2721 case "x$ac_cv_prog_cc_stdc" in
2723 echo "$as_me:$LINENO: result: none needed" >&5
2724 echo "${ECHO_T}none needed" >&6 ;;
2726 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2727 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2728 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2731 # Some people use a C++ compiler to compile C. Since we use `exit',
2732 # in C++ we need to declare it. In case someone uses the same compiler
2733 # for both compiling C and C++ we need to have the C++ compiler decide
2734 # the declaration of exit, since it's the most demanding environment.
2735 cat >conftest.
$ac_ext <<_ACEOF
2740 rm -f conftest.
$ac_objext
2741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2742 (eval $ac_compile) 2>conftest.er1
2744 grep -v '^ *+' conftest.er1
>conftest.err
2746 cat conftest.err
>&5
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); } &&
2749 { ac_try
='test -z "$ac_c_werror_flag"
2750 || test ! -s conftest.err'
2751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755 (exit $ac_status); }; } &&
2756 { ac_try
='test -s conftest.$ac_objext'
2757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); }; }; then
2762 for ac_declaration
in \
2764 'extern "C" void std::exit (int) throw (); using std::exit;' \
2765 'extern "C" void std::exit (int); using std::exit;' \
2766 'extern "C" void exit (int) throw ();' \
2767 'extern "C" void exit (int);' \
2770 cat >conftest.
$ac_ext <<_ACEOF
2773 cat confdefs.h
>>conftest.
$ac_ext
2774 cat >>conftest.
$ac_ext <<_ACEOF
2775 /* end confdefs.h. */
2786 rm -f conftest.
$ac_objext
2787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2788 (eval $ac_compile) 2>conftest.er1
2790 grep -v '^ *+' conftest.er1
>conftest.err
2792 cat conftest.err
>&5
2793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2794 (exit $ac_status); } &&
2795 { ac_try
='test -z "$ac_c_werror_flag"
2796 || test ! -s conftest.err'
2797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801 (exit $ac_status); }; } &&
2802 { ac_try
='test -s conftest.$ac_objext'
2803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2807 (exit $ac_status); }; }; then
2810 echo "$as_me: failed program was:" >&5
2811 sed 's/^/| /' conftest.
$ac_ext >&5
2815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2816 cat >conftest.
$ac_ext <<_ACEOF
2819 cat confdefs.h
>>conftest.
$ac_ext
2820 cat >>conftest.
$ac_ext <<_ACEOF
2821 /* end confdefs.h. */
2831 rm -f conftest.
$ac_objext
2832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2833 (eval $ac_compile) 2>conftest.er1
2835 grep -v '^ *+' conftest.er1
>conftest.err
2837 cat conftest.err
>&5
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); } &&
2840 { ac_try
='test -z "$ac_c_werror_flag"
2841 || test ! -s conftest.err'
2842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); }; } &&
2847 { ac_try
='test -s conftest.$ac_objext'
2848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2852 (exit $ac_status); }; }; then
2855 echo "$as_me: failed program was:" >&5
2856 sed 's/^/| /' conftest.
$ac_ext >&5
2859 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2862 if test -n "$ac_declaration"; then
2863 echo '#ifdef __cplusplus' >>confdefs.h
2864 echo $ac_declaration >>confdefs.h
2865 echo '#endif' >>confdefs.h
2869 echo "$as_me: failed program was:" >&5
2870 sed 's/^/| /' conftest.
$ac_ext >&5
2873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2875 ac_cpp
='$CPP $CPPFLAGS'
2876 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2877 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2878 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2881 ac_cpp
='$CXXCPP $CPPFLAGS'
2882 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2883 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2884 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2885 if test -n "$ac_tool_prefix"; then
2886 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2888 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2889 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2890 echo "$as_me:$LINENO: checking for $ac_word" >&5
2891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2892 if test "${ac_cv_prog_CXX+set}" = set; then
2893 echo $ECHO_N "(cached) $ECHO_C" >&6
2895 if test -n "$CXX"; then
2896 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2902 test -z "$as_dir" && as_dir
=.
2903 for ac_exec_ext
in '' $ac_executable_extensions; do
2904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2905 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2915 if test -n "$CXX"; then
2916 echo "$as_me:$LINENO: result: $CXX" >&5
2917 echo "${ECHO_T}$CXX" >&6
2919 echo "$as_me:$LINENO: result: no" >&5
2920 echo "${ECHO_T}no" >&6
2923 test -n "$CXX" && break
2926 if test -z "$CXX"; then
2928 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2930 # Extract the first word of "$ac_prog", so it can be a program name with args.
2931 set dummy
$ac_prog; ac_word
=$2
2932 echo "$as_me:$LINENO: checking for $ac_word" >&5
2933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2934 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2935 echo $ECHO_N "(cached) $ECHO_C" >&6
2937 if test -n "$ac_ct_CXX"; then
2938 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2944 test -z "$as_dir" && as_dir
=.
2945 for ac_exec_ext
in '' $ac_executable_extensions; do
2946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2947 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2956 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2957 if test -n "$ac_ct_CXX"; then
2958 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2959 echo "${ECHO_T}$ac_ct_CXX" >&6
2961 echo "$as_me:$LINENO: result: no" >&5
2962 echo "${ECHO_T}no" >&6
2965 test -n "$ac_ct_CXX" && break
2967 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2973 # Provide some information about the compiler.
2974 echo "$as_me:$LINENO:" \
2975 "checking for C++ compiler version" >&5
2976 ac_compiler
=`set X $ac_compile; echo $2`
2977 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2978 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); }
2982 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2983 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); }
2987 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2988 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991 (exit $ac_status); }
2993 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2994 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2995 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2996 echo $ECHO_N "(cached) $ECHO_C" >&6
2998 cat >conftest.
$ac_ext <<_ACEOF
3001 cat confdefs.h
>>conftest.
$ac_ext
3002 cat >>conftest.
$ac_ext <<_ACEOF
3003 /* end confdefs.h. */
3016 rm -f conftest.
$ac_objext
3017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3018 (eval $ac_compile) 2>conftest.er1
3020 grep -v '^ *+' conftest.er1
>conftest.err
3022 cat conftest.err
>&5
3023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024 (exit $ac_status); } &&
3025 { ac_try
='test -z "$ac_cxx_werror_flag"
3026 || test ! -s conftest.err'
3027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031 (exit $ac_status); }; } &&
3032 { ac_try
='test -s conftest.$ac_objext'
3033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3037 (exit $ac_status); }; }; then
3040 echo "$as_me: failed program was:" >&5
3041 sed 's/^/| /' conftest.
$ac_ext >&5
3045 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3046 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3049 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3050 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3051 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3052 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3053 ac_save_CXXFLAGS
=$CXXFLAGS
3055 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3056 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3057 if test "${ac_cv_prog_cxx_g+set}" = set; then
3058 echo $ECHO_N "(cached) $ECHO_C" >&6
3060 cat >conftest.
$ac_ext <<_ACEOF
3063 cat confdefs.h
>>conftest.
$ac_ext
3064 cat >>conftest.
$ac_ext <<_ACEOF
3065 /* end confdefs.h. */
3075 rm -f conftest.
$ac_objext
3076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3077 (eval $ac_compile) 2>conftest.er1
3079 grep -v '^ *+' conftest.er1
>conftest.err
3081 cat conftest.err
>&5
3082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083 (exit $ac_status); } &&
3084 { ac_try
='test -z "$ac_cxx_werror_flag"
3085 || test ! -s conftest.err'
3086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); }; } &&
3091 { ac_try
='test -s conftest.$ac_objext'
3092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096 (exit $ac_status); }; }; then
3097 ac_cv_prog_cxx_g
=yes
3099 echo "$as_me: failed program was:" >&5
3100 sed 's/^/| /' conftest.
$ac_ext >&5
3104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3106 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3107 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3108 if test "$ac_test_CXXFLAGS" = set; then
3109 CXXFLAGS
=$ac_save_CXXFLAGS
3110 elif test $ac_cv_prog_cxx_g = yes; then
3111 if test "$GXX" = yes; then
3117 if test "$GXX" = yes; then
3123 for ac_declaration
in \
3125 'extern "C" void std::exit (int) throw (); using std::exit;' \
3126 'extern "C" void std::exit (int); using std::exit;' \
3127 'extern "C" void exit (int) throw ();' \
3128 'extern "C" void exit (int);' \
3131 cat >conftest.
$ac_ext <<_ACEOF
3134 cat confdefs.h
>>conftest.
$ac_ext
3135 cat >>conftest.
$ac_ext <<_ACEOF
3136 /* end confdefs.h. */
3147 rm -f conftest.
$ac_objext
3148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3149 (eval $ac_compile) 2>conftest.er1
3151 grep -v '^ *+' conftest.er1
>conftest.err
3153 cat conftest.err
>&5
3154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155 (exit $ac_status); } &&
3156 { ac_try
='test -z "$ac_cxx_werror_flag"
3157 || test ! -s conftest.err'
3158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3162 (exit $ac_status); }; } &&
3163 { ac_try
='test -s conftest.$ac_objext'
3164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3168 (exit $ac_status); }; }; then
3171 echo "$as_me: failed program was:" >&5
3172 sed 's/^/| /' conftest.
$ac_ext >&5
3176 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3177 cat >conftest.
$ac_ext <<_ACEOF
3180 cat confdefs.h
>>conftest.
$ac_ext
3181 cat >>conftest.
$ac_ext <<_ACEOF
3182 /* end confdefs.h. */
3192 rm -f conftest.
$ac_objext
3193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3194 (eval $ac_compile) 2>conftest.er1
3196 grep -v '^ *+' conftest.er1
>conftest.err
3198 cat conftest.err
>&5
3199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3200 (exit $ac_status); } &&
3201 { ac_try
='test -z "$ac_cxx_werror_flag"
3202 || test ! -s conftest.err'
3203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); }; } &&
3208 { ac_try
='test -s conftest.$ac_objext'
3209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3213 (exit $ac_status); }; }; then
3216 echo "$as_me: failed program was:" >&5
3217 sed 's/^/| /' conftest.
$ac_ext >&5
3220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3223 if test -n "$ac_declaration"; then
3224 echo '#ifdef __cplusplus' >>confdefs.h
3225 echo $ac_declaration >>confdefs.h
3226 echo '#endif' >>confdefs.h
3230 ac_cpp
='$CPP $CPPFLAGS'
3231 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3232 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3233 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3235 CXXFLAGS
="$save_CXXFLAGS"
3241 am__api_version
="1.9"
3242 # Find a good install program. We prefer a C program (faster),
3243 # so one script is as good as another. But avoid the broken or
3244 # incompatible versions:
3245 # SysV /etc/install, /usr/sbin/install
3246 # SunOS /usr/etc/install
3247 # IRIX /sbin/install
3249 # AmigaOS /C/install, which installs bootblocks on floppy discs
3250 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3251 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3252 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3253 # OS/2's system install, which has a completely different semantic
3254 # ./install, which can be erroneously created by make from ./install.sh.
3255 # Reject install programs that cannot install multiple files.
3256 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3257 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3258 if test -z "$INSTALL"; then
3259 if test "${ac_cv_path_install+set}" = set; then
3260 echo $ECHO_N "(cached) $ECHO_C" >&6
3262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3266 test -z "$as_dir" && as_dir
=.
3267 # Account for people who put trailing slashes in PATH elements.
3269 .
/ | .
// |
/cC
/* | \
3270 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3271 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3274 # OSF1 and SCO ODT 3.0 have their own names for install.
3275 # Don't use installbsd from OSF since it installs stuff as root
3277 for ac_prog
in ginstall scoinst
install; do
3278 for ac_exec_ext
in '' $ac_executable_extensions; do
3279 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3280 if test $ac_prog = install &&
3281 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3282 # AIX install. It has an incompatible calling convention.
3284 elif test $ac_prog = install &&
3285 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3286 # program-specific install script used by HP pwplus--don't use.
3289 rm -rf conftest.one conftest.two conftest.dir
3290 echo one
> conftest.one
3291 echo two
> conftest.two
3293 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3294 test -s conftest.one
&& test -s conftest.two
&&
3295 test -s conftest.dir
/conftest.one
&&
3296 test -s conftest.dir
/conftest.two
3298 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3309 rm -rf conftest.one conftest.two conftest.dir
3312 if test "${ac_cv_path_install+set}" = set; then
3313 INSTALL
=$ac_cv_path_install
3315 # As a last resort, use the slow shell script. Don't cache a
3316 # value for INSTALL within a source directory, because that will
3317 # break other packages using the cache if that directory is
3318 # removed, or if the value is a relative name.
3319 INSTALL
=$ac_install_sh
3322 echo "$as_me:$LINENO: result: $INSTALL" >&5
3323 echo "${ECHO_T}$INSTALL" >&6
3325 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3326 # It thinks the first close brace ends the variable substitution.
3327 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3329 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3331 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3333 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3334 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
3337 echo timestamp
> conftest.
file
3338 # Do `set' in a subshell so we don't clobber the current shell's
3339 # arguments. Must try -L first in case configure is actually a
3340 # symlink; some systems play weird games with the mod time of symlinks
3341 # (eg FreeBSD returns the mod time of the symlink's containing
3344 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
3345 if test "$*" = "X"; then
3347 set X
`ls -t $srcdir/configure conftest.file`
3350 if test "$*" != "X $srcdir/configure conftest.file" \
3351 && test "$*" != "X conftest.file $srcdir/configure"; then
3353 # If neither matched, then we have a broken ls. This can happen
3354 # if, for instance, CONFIG_SHELL is bash and it inherits a
3355 # broken ls alias from the environment. This has actually
3356 # happened. Such a system could not be considered "sane".
3357 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
3358 alias in your environment" >&5
3359 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
3360 alias in your environment" >&2;}
3361 { (exit 1); exit 1; }; }
3364 test "$2" = conftest.
file
3370 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
3371 Check your system clock" >&5
3372 echo "$as_me: error: newly created file is older than distributed files!
3373 Check your system clock" >&2;}
3374 { (exit 1); exit 1; }; }
3376 echo "$as_me:$LINENO: result: yes" >&5
3377 echo "${ECHO_T}yes" >&6
3378 test "$program_prefix" != NONE
&&
3379 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
3380 # Use a double $ so make ignores it.
3381 test "$program_suffix" != NONE
&&
3382 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
3383 # Double any \ or $. echo might interpret backslashes.
3384 # By default was `s,x,x', remove it if useless.
3385 cat <<\_ACEOF
>conftest.
sed
3386 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
3388 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
3391 # expand $ac_aux_dir to an absolute path
3392 am_aux_dir
=`cd $ac_aux_dir && pwd`
3394 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
3395 # Use eval to expand $SHELL
3396 if eval "$MISSING --run true"; then
3397 am_missing_run
="$MISSING --run "
3400 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
3401 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3404 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
3405 # We used to keeping the `.' as first argument, in order to
3406 # allow $(mkdir_p) to be used without argument. As in
3407 # $(mkdir_p) $(somedir)
3408 # where $(somedir) is conditionally defined. However this is wrong
3410 # 1. if the package is installed by a user who cannot write `.'
3411 # make install will fail,
3412 # 2. the above comment should most certainly read
3413 # $(mkdir_p) $(DESTDIR)$(somedir)
3414 # so it does not work when $(somedir) is undefined and
3415 # $(DESTDIR) is not.
3416 # To support the latter case, we have to write
3417 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
3418 # so the `.' trick is pointless.
3419 mkdir_p
='mkdir -p --'
3421 # On NextStep and OpenStep, the `mkdir' command does not
3422 # recognize any option. It will interpret all options as
3423 # directories to create, and then abort because `.' already
3425 for d
in .
/-p .
/--version;
3427 test -d $d && rmdir $d
3429 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
3430 if test -f "$ac_aux_dir/mkinstalldirs"; then
3431 mkdir_p
='$(mkinstalldirs)'
3433 mkdir_p
='$(install_sh) -d'
3437 for ac_prog
in gawk mawk nawk
awk
3439 # Extract the first word of "$ac_prog", so it can be a program name with args.
3440 set dummy
$ac_prog; ac_word
=$2
3441 echo "$as_me:$LINENO: checking for $ac_word" >&5
3442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3443 if test "${ac_cv_prog_AWK+set}" = set; then
3444 echo $ECHO_N "(cached) $ECHO_C" >&6
3446 if test -n "$AWK"; then
3447 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3453 test -z "$as_dir" && as_dir
=.
3454 for ac_exec_ext
in '' $ac_executable_extensions; do
3455 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3456 ac_cv_prog_AWK
="$ac_prog"
3457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3466 if test -n "$AWK"; then
3467 echo "$as_me:$LINENO: result: $AWK" >&5
3468 echo "${ECHO_T}$AWK" >&6
3470 echo "$as_me:$LINENO: result: no" >&5
3471 echo "${ECHO_T}no" >&6
3474 test -n "$AWK" && break
3477 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3478 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3479 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3480 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3481 echo $ECHO_N "(cached) $ECHO_C" >&6
3483 cat >conftest.
make <<\_ACEOF
3485 @
echo 'ac_maketemp="$(MAKE)"'
3487 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3488 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3489 if test -n "$ac_maketemp"; then
3490 eval ac_cv_prog_make_
${ac_make}_set
=yes
3492 eval ac_cv_prog_make_
${ac_make}_set
=no
3496 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3497 echo "$as_me:$LINENO: result: yes" >&5
3498 echo "${ECHO_T}yes" >&6
3501 echo "$as_me:$LINENO: result: no" >&5
3502 echo "${ECHO_T}no" >&6
3503 SET_MAKE
="MAKE=${MAKE-make}"
3506 rm -rf .tst
2>/dev
/null
3507 mkdir .tst
2>/dev
/null
3508 if test -d .tst
; then
3513 rmdir .tst
2>/dev
/null
3515 DEPDIR
="${am__leading_dot}deps"
3517 ac_config_commands
="$ac_config_commands depfiles"
3520 am_make
=${MAKE-make}
3521 cat > confinc
<< 'END'
3526 # If we don't find an include directive, just comment out the code.
3527 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3528 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3532 # First try GNU make style include.
3533 echo "include confinc" > confmf
3534 # We grep out `Entering directory' and `Leaving directory'
3535 # messages which can occur if `w' ends up in MAKEFLAGS.
3536 # In particular we don't look at `^make:' because GNU make might
3537 # be invoked under some other name (usually "gmake"), in which
3538 # case it prints its new name instead of `make'.
3539 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3544 # Now try BSD make style include.
3545 if test "$am__include" = "#"; then
3546 echo '.include "confinc"' > confmf
3547 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3548 am__include
=.include
3555 echo "$as_me:$LINENO: result: $_am_result" >&5
3556 echo "${ECHO_T}$_am_result" >&6
3557 rm -f confinc confmf
3559 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3560 if test "${enable_dependency_tracking+set}" = set; then
3561 enableval
="$enable_dependency_tracking"
3564 if test "x$enable_dependency_tracking" != xno
; then
3565 am_depcomp
="$ac_aux_dir/depcomp"
3570 if test "x$enable_dependency_tracking" != xno; then
3580 # test to see if srcdir already configured
3581 if test "`cd $srcdir && pwd`" != "`pwd`" &&
3582 test -f $srcdir/config.status
; then
3583 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3584 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3585 { (exit 1); exit 1; }; }
3588 # test whether we have cygpath
3589 if test -z "$CYGPATH_W"; then
3590 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3591 CYGPATH_W
='cygpath -w'
3598 # Define the identity of the package.
3600 VERSION
='version-unused'
3603 cat >>confdefs.h
<<_ACEOF
3604 #define PACKAGE "$PACKAGE"
3608 cat >>confdefs.h
<<_ACEOF
3609 #define VERSION "$VERSION"
3612 # Some tools Automake needs.
3614 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3617 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3620 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3623 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3626 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3628 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3630 # Installed binaries are usually stripped using `strip' when the user
3631 # run `make install-strip'. However `strip' might not be the right
3632 # tool to use in cross-compilation environments, therefore Automake
3633 # will honor the `STRIP' environment variable to overrule this program.
3634 if test "$cross_compiling" != no
; then
3635 if test -n "$ac_tool_prefix"; then
3636 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3637 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3638 echo "$as_me:$LINENO: checking for $ac_word" >&5
3639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3640 if test "${ac_cv_prog_STRIP+set}" = set; then
3641 echo $ECHO_N "(cached) $ECHO_C" >&6
3643 if test -n "$STRIP"; then
3644 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3650 test -z "$as_dir" && as_dir
=.
3651 for ac_exec_ext
in '' $ac_executable_extensions; do
3652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3653 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3662 STRIP
=$ac_cv_prog_STRIP
3663 if test -n "$STRIP"; then
3664 echo "$as_me:$LINENO: result: $STRIP" >&5
3665 echo "${ECHO_T}$STRIP" >&6
3667 echo "$as_me:$LINENO: result: no" >&5
3668 echo "${ECHO_T}no" >&6
3672 if test -z "$ac_cv_prog_STRIP"; then
3674 # Extract the first word of "strip", so it can be a program name with args.
3675 set dummy strip
; ac_word
=$2
3676 echo "$as_me:$LINENO: checking for $ac_word" >&5
3677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3678 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3679 echo $ECHO_N "(cached) $ECHO_C" >&6
3681 if test -n "$ac_ct_STRIP"; then
3682 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3688 test -z "$as_dir" && as_dir
=.
3689 for ac_exec_ext
in '' $ac_executable_extensions; do
3690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3691 ac_cv_prog_ac_ct_STRIP
="strip"
3692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3698 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3701 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3702 if test -n "$ac_ct_STRIP"; then
3703 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3704 echo "${ECHO_T}$ac_ct_STRIP" >&6
3706 echo "$as_me:$LINENO: result: no" >&5
3707 echo "${ECHO_T}no" >&6
3712 STRIP
="$ac_cv_prog_STRIP"
3716 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3718 # We need awk for the "check" target. The system "awk" is bad on
3720 # Always define AMTAR for backward compatibility.
3722 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3724 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3729 depcc
="$CC" am_compiler_list
=
3731 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3732 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3733 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3734 echo $ECHO_N "(cached) $ECHO_C" >&6
3736 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3737 # We make a subdir and do the tests there. Otherwise we can end up
3738 # making bogus files that we don't know about and never remove. For
3739 # instance it was reported that on HP-UX the gcc test will end up
3740 # making a dummy file named `D' -- because `-MD' means `put the output
3743 # Copy depcomp to subdir because otherwise we won't find it if we're
3744 # using a relative directory.
3745 cp "$am_depcomp" conftest.dir
3747 # We will build objects and dependencies in a subdirectory because
3748 # it helps to detect inapplicable dependency modes. For instance
3749 # both Tru64's cc and ICC support -MD to output dependencies as a
3750 # side effect of compilation, but ICC will put the dependencies in
3751 # the current directory while Tru64 will put them in the object
3755 am_cv_CC_dependencies_compiler_type
=none
3756 if test "$am_compiler_list" = ""; then
3757 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3759 for depmode
in $am_compiler_list; do
3760 # Setup a source with many dependencies, because some compilers
3761 # like to wrap large dependency lists on column 80 (with \), and
3762 # we should not choose a depcomp mode which is confused by this.
3764 # We need to recreate these files for each test, as the compiler may
3765 # overwrite some of them when testing with obscure command lines.
3766 # This happens at least with the AIX C compiler.
3768 for i
in 1 2 3 4 5 6; do
3769 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3770 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3771 # Solaris 8's {/usr,}/bin/sh.
3772 touch sub
/conftst
$i.h
3774 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3778 # after this tag, mechanisms are not by side-effect, so they'll
3779 # only be used when explicitly requested
3780 if test "x$enable_dependency_tracking" = xyes
; then
3788 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3789 # mode. It turns out that the SunPro C++ compiler does not properly
3790 # handle `-M -o', and we need to detect this.
3791 if depmode
=$depmode \
3792 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3793 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3794 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3795 >/dev
/null
2>conftest.err
&&
3796 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3797 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3798 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3799 # icc doesn't choke on unknown options, it will just issue warnings
3800 # or remarks (even with -Werror). So we grep stderr for any message
3801 # that says an option was ignored or not supported.
3802 # When given -MP, icc 7.0 and 7.1 complain thusly:
3803 # icc: Command line warning: ignoring option '-M'; no argument required
3804 # The diagnosis changed in icc 8.0:
3805 # icc: Command line remark: option '-MP' not supported
3806 if (grep 'ignoring option' conftest.err ||
3807 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3808 am_cv_CC_dependencies_compiler_type
=$depmode
3817 am_cv_CC_dependencies_compiler_type
=none
3821 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3822 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3823 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3828 test "x$enable_dependency_tracking" != xno \
3829 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3831 am__fastdepCC_FALSE
='#'
3833 am__fastdepCC_TRUE
='#'
3834 am__fastdepCC_FALSE
=
3838 depcc
="$CXX" am_compiler_list
=
3840 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3841 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3842 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3843 echo $ECHO_N "(cached) $ECHO_C" >&6
3845 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3846 # We make a subdir and do the tests there. Otherwise we can end up
3847 # making bogus files that we don't know about and never remove. For
3848 # instance it was reported that on HP-UX the gcc test will end up
3849 # making a dummy file named `D' -- because `-MD' means `put the output
3852 # Copy depcomp to subdir because otherwise we won't find it if we're
3853 # using a relative directory.
3854 cp "$am_depcomp" conftest.dir
3856 # We will build objects and dependencies in a subdirectory because
3857 # it helps to detect inapplicable dependency modes. For instance
3858 # both Tru64's cc and ICC support -MD to output dependencies as a
3859 # side effect of compilation, but ICC will put the dependencies in
3860 # the current directory while Tru64 will put them in the object
3864 am_cv_CXX_dependencies_compiler_type
=none
3865 if test "$am_compiler_list" = ""; then
3866 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3868 for depmode
in $am_compiler_list; do
3869 # Setup a source with many dependencies, because some compilers
3870 # like to wrap large dependency lists on column 80 (with \), and
3871 # we should not choose a depcomp mode which is confused by this.
3873 # We need to recreate these files for each test, as the compiler may
3874 # overwrite some of them when testing with obscure command lines.
3875 # This happens at least with the AIX C compiler.
3877 for i
in 1 2 3 4 5 6; do
3878 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3879 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3880 # Solaris 8's {/usr,}/bin/sh.
3881 touch sub
/conftst
$i.h
3883 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3887 # after this tag, mechanisms are not by side-effect, so they'll
3888 # only be used when explicitly requested
3889 if test "x$enable_dependency_tracking" = xyes
; then
3897 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3898 # mode. It turns out that the SunPro C++ compiler does not properly
3899 # handle `-M -o', and we need to detect this.
3900 if depmode
=$depmode \
3901 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3902 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3903 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3904 >/dev
/null
2>conftest.err
&&
3905 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3906 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3907 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3908 # icc doesn't choke on unknown options, it will just issue warnings
3909 # or remarks (even with -Werror). So we grep stderr for any message
3910 # that says an option was ignored or not supported.
3911 # When given -MP, icc 7.0 and 7.1 complain thusly:
3912 # icc: Command line warning: ignoring option '-M'; no argument required
3913 # The diagnosis changed in icc 8.0:
3914 # icc: Command line remark: option '-MP' not supported
3915 if (grep 'ignoring option' conftest.err ||
3916 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3917 am_cv_CXX_dependencies_compiler_type
=$depmode
3926 am_cv_CXX_dependencies_compiler_type
=none
3930 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3931 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3932 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3937 test "x$enable_dependency_tracking" != xno \
3938 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3939 am__fastdepCXX_TRUE
=
3940 am__fastdepCXX_FALSE
='#'
3942 am__fastdepCXX_TRUE
='#'
3943 am__fastdepCXX_FALSE
=
3949 if test -n "$ac_tool_prefix"; then
3950 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3951 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3952 echo "$as_me:$LINENO: checking for $ac_word" >&5
3953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3954 if test "${ac_cv_prog_AS+set}" = set; then
3955 echo $ECHO_N "(cached) $ECHO_C" >&6
3957 if test -n "$AS"; then
3958 ac_cv_prog_AS
="$AS" # Let the user override the test.
3960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3964 test -z "$as_dir" && as_dir
=.
3965 for ac_exec_ext
in '' $ac_executable_extensions; do
3966 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3967 ac_cv_prog_AS
="${ac_tool_prefix}as"
3968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3977 if test -n "$AS"; then
3978 echo "$as_me:$LINENO: result: $AS" >&5
3979 echo "${ECHO_T}$AS" >&6
3981 echo "$as_me:$LINENO: result: no" >&5
3982 echo "${ECHO_T}no" >&6
3986 if test -z "$ac_cv_prog_AS"; then
3988 # Extract the first word of "as", so it can be a program name with args.
3989 set dummy as
; ac_word
=$2
3990 echo "$as_me:$LINENO: checking for $ac_word" >&5
3991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3992 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3993 echo $ECHO_N "(cached) $ECHO_C" >&6
3995 if test -n "$ac_ct_AS"; then
3996 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4002 test -z "$as_dir" && as_dir
=.
4003 for ac_exec_ext
in '' $ac_executable_extensions; do
4004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4005 ac_cv_prog_ac_ct_AS
="as"
4006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4014 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4015 if test -n "$ac_ct_AS"; then
4016 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4017 echo "${ECHO_T}$ac_ct_AS" >&6
4019 echo "$as_me:$LINENO: result: no" >&5
4020 echo "${ECHO_T}no" >&6
4028 if test -n "$ac_tool_prefix"; then
4029 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4030 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4031 echo "$as_me:$LINENO: checking for $ac_word" >&5
4032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4033 if test "${ac_cv_prog_LD+set}" = set; then
4034 echo $ECHO_N "(cached) $ECHO_C" >&6
4036 if test -n "$LD"; then
4037 ac_cv_prog_LD
="$LD" # Let the user override the test.
4039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4043 test -z "$as_dir" && as_dir
=.
4044 for ac_exec_ext
in '' $ac_executable_extensions; do
4045 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4046 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4056 if test -n "$LD"; then
4057 echo "$as_me:$LINENO: result: $LD" >&5
4058 echo "${ECHO_T}$LD" >&6
4060 echo "$as_me:$LINENO: result: no" >&5
4061 echo "${ECHO_T}no" >&6
4065 if test -z "$ac_cv_prog_LD"; then
4067 # Extract the first word of "ld", so it can be a program name with args.
4068 set dummy ld
; ac_word
=$2
4069 echo "$as_me:$LINENO: checking for $ac_word" >&5
4070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4071 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4072 echo $ECHO_N "(cached) $ECHO_C" >&6
4074 if test -n "$ac_ct_LD"; then
4075 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4081 test -z "$as_dir" && as_dir
=.
4082 for ac_exec_ext
in '' $ac_executable_extensions; do
4083 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4084 ac_cv_prog_ac_ct_LD
="ld"
4085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4093 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4094 if test -n "$ac_ct_LD"; then
4095 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4096 echo "${ECHO_T}$ac_ct_LD" >&6
4098 echo "$as_me:$LINENO: result: no" >&5
4099 echo "${ECHO_T}no" >&6
4107 if test -n "$ac_tool_prefix"; then
4108 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4109 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4110 echo "$as_me:$LINENO: checking for $ac_word" >&5
4111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4112 if test "${ac_cv_prog_AR+set}" = set; then
4113 echo $ECHO_N "(cached) $ECHO_C" >&6
4115 if test -n "$AR"; then
4116 ac_cv_prog_AR
="$AR" # Let the user override the test.
4118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4122 test -z "$as_dir" && as_dir
=.
4123 for ac_exec_ext
in '' $ac_executable_extensions; do
4124 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4125 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4135 if test -n "$AR"; then
4136 echo "$as_me:$LINENO: result: $AR" >&5
4137 echo "${ECHO_T}$AR" >&6
4139 echo "$as_me:$LINENO: result: no" >&5
4140 echo "${ECHO_T}no" >&6
4144 if test -z "$ac_cv_prog_AR"; then
4146 # Extract the first word of "ar", so it can be a program name with args.
4147 set dummy
ar; ac_word
=$2
4148 echo "$as_me:$LINENO: checking for $ac_word" >&5
4149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4150 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4151 echo $ECHO_N "(cached) $ECHO_C" >&6
4153 if test -n "$ac_ct_AR"; then
4154 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4160 test -z "$as_dir" && as_dir
=.
4161 for ac_exec_ext
in '' $ac_executable_extensions; do
4162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4163 ac_cv_prog_ac_ct_AR
="ar"
4164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4172 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4173 if test -n "$ac_ct_AR"; then
4174 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4175 echo "${ECHO_T}$ac_ct_AR" >&6
4177 echo "$as_me:$LINENO: result: no" >&5
4178 echo "${ECHO_T}no" >&6
4186 if test -n "$ac_tool_prefix"; then
4187 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4188 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4189 echo "$as_me:$LINENO: checking for $ac_word" >&5
4190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4191 if test "${ac_cv_prog_RANLIB+set}" = set; then
4192 echo $ECHO_N "(cached) $ECHO_C" >&6
4194 if test -n "$RANLIB"; then
4195 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4201 test -z "$as_dir" && as_dir
=.
4202 for ac_exec_ext
in '' $ac_executable_extensions; do
4203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4204 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4213 RANLIB
=$ac_cv_prog_RANLIB
4214 if test -n "$RANLIB"; then
4215 echo "$as_me:$LINENO: result: $RANLIB" >&5
4216 echo "${ECHO_T}$RANLIB" >&6
4218 echo "$as_me:$LINENO: result: no" >&5
4219 echo "${ECHO_T}no" >&6
4223 if test -z "$ac_cv_prog_RANLIB"; then
4224 ac_ct_RANLIB
=$RANLIB
4225 # Extract the first word of "ranlib", so it can be a program name with args.
4226 set dummy ranlib
; ac_word
=$2
4227 echo "$as_me:$LINENO: checking for $ac_word" >&5
4228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4229 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4230 echo $ECHO_N "(cached) $ECHO_C" >&6
4232 if test -n "$ac_ct_RANLIB"; then
4233 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4239 test -z "$as_dir" && as_dir
=.
4240 for ac_exec_ext
in '' $ac_executable_extensions; do
4241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4242 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4249 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4252 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4253 if test -n "$ac_ct_RANLIB"; then
4254 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4255 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4257 echo "$as_me:$LINENO: result: no" >&5
4258 echo "${ECHO_T}no" >&6
4261 RANLIB
=$ac_ct_RANLIB
4263 RANLIB
="$ac_cv_prog_RANLIB"
4266 for ac_prog
in gawk mawk nawk
awk
4268 # Extract the first word of "$ac_prog", so it can be a program name with args.
4269 set dummy
$ac_prog; ac_word
=$2
4270 echo "$as_me:$LINENO: checking for $ac_word" >&5
4271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4272 if test "${ac_cv_prog_AWK+set}" = set; then
4273 echo $ECHO_N "(cached) $ECHO_C" >&6
4275 if test -n "$AWK"; then
4276 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4282 test -z "$as_dir" && as_dir
=.
4283 for ac_exec_ext
in '' $ac_executable_extensions; do
4284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4285 ac_cv_prog_AWK
="$ac_prog"
4286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4295 if test -n "$AWK"; then
4296 echo "$as_me:$LINENO: result: $AWK" >&5
4297 echo "${ECHO_T}$AWK" >&6
4299 echo "$as_me:$LINENO: result: no" >&5
4300 echo "${ECHO_T}no" >&6
4303 test -n "$AWK" && break
4306 for ac_prog
in jar fastjar gjar
4308 # Extract the first word of "$ac_prog", so it can be a program name with args.
4309 set dummy
$ac_prog; ac_word
=$2
4310 echo "$as_me:$LINENO: checking for $ac_word" >&5
4311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4312 if test "${ac_cv_prog_JAR+set}" = set; then
4313 echo $ECHO_N "(cached) $ECHO_C" >&6
4315 if test -n "$JAR"; then
4316 ac_cv_prog_JAR
="$JAR" # Let the user override the test.
4318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4322 test -z "$as_dir" && as_dir
=.
4323 for ac_exec_ext
in '' $ac_executable_extensions; do
4324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4325 ac_cv_prog_JAR
="$ac_prog"
4326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4335 if test -n "$JAR"; then
4336 echo "$as_me:$LINENO: result: $JAR" >&5
4337 echo "${ECHO_T}$JAR" >&6
4339 echo "$as_me:$LINENO: result: no" >&5
4340 echo "${ECHO_T}no" >&6
4343 test -n "$JAR" && break
4345 test -n "$JAR" || JAR
="no"
4347 # Extract the first word of "zip", so it can be a program name with args.
4348 set dummy
zip; ac_word
=$2
4349 echo "$as_me:$LINENO: checking for $ac_word" >&5
4350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4351 if test "${ac_cv_path_ZIP+set}" = set; then
4352 echo $ECHO_N "(cached) $ECHO_C" >&6
4356 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
4359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4363 test -z "$as_dir" && as_dir
=.
4364 for ac_exec_ext
in '' $ac_executable_extensions; do
4365 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4366 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
4367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4373 test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP
="no"
4379 if test -n "$ZIP"; then
4380 echo "$as_me:$LINENO: result: $ZIP" >&5
4381 echo "${ECHO_T}$ZIP" >&6
4383 echo "$as_me:$LINENO: result: no" >&5
4384 echo "${ECHO_T}no" >&6
4387 # Extract the first word of "unzip", so it can be a program name with args.
4388 set dummy
unzip; ac_word
=$2
4389 echo "$as_me:$LINENO: checking for $ac_word" >&5
4390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4391 if test "${ac_cv_path_UNZIP+set}" = set; then
4392 echo $ECHO_N "(cached) $ECHO_C" >&6
4396 ac_cv_path_UNZIP
="$UNZIP" # Let the user override the test with a path.
4399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4403 test -z "$as_dir" && as_dir
=.
4404 for ac_exec_ext
in '' $ac_executable_extensions; do
4405 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4406 ac_cv_path_UNZIP
="$as_dir/$ac_word$ac_exec_ext"
4407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4413 test -z "$ac_cv_path_UNZIP" && ac_cv_path_UNZIP
="unzip"
4417 UNZIP
=$ac_cv_path_UNZIP
4419 if test -n "$UNZIP"; then
4420 echo "$as_me:$LINENO: result: $UNZIP" >&5
4421 echo "${ECHO_T}$UNZIP" >&6
4423 echo "$as_me:$LINENO: result: no" >&5
4424 echo "${ECHO_T}no" >&6
4428 # We need a jar that supports -@. This is a GNU extension.
4429 if test "$JAR" != no
; then
4430 rm -f config-test.jar
4431 echo $srcdir/configure.ac |
$JAR -cf@ config-test.jar
4432 if test -f config-test.jar
; then
4433 rm -f config-test.jar
4439 # Prefer the jar we found, but fall back to our jar script.
4440 if test "$JAR" = no
; then
4441 if test "$ZIP" = no
; then
4442 { { echo "$as_me:$LINENO: error: cannot find neither zip nor jar, cannot continue" >&5
4443 echo "$as_me: error: cannot find neither zip nor jar, cannot continue" >&2;}
4444 { (exit 1); exit 1; }; }
4446 # InfoZIP available, use the 'guaranteed' Bourne-shell JAR to build libjava
4447 JAR
=`pwd`/scripts
/jar
4451 # Find a good install program. We prefer a C program (faster),
4452 # so one script is as good as another. But avoid the broken or
4453 # incompatible versions:
4454 # SysV /etc/install, /usr/sbin/install
4455 # SunOS /usr/etc/install
4456 # IRIX /sbin/install
4458 # AmigaOS /C/install, which installs bootblocks on floppy discs
4459 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4460 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4461 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4462 # OS/2's system install, which has a completely different semantic
4463 # ./install, which can be erroneously created by make from ./install.sh.
4464 # Reject install programs that cannot install multiple files.
4465 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4466 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4467 if test -z "$INSTALL"; then
4468 if test "${ac_cv_path_install+set}" = set; then
4469 echo $ECHO_N "(cached) $ECHO_C" >&6
4471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4475 test -z "$as_dir" && as_dir
=.
4476 # Account for people who put trailing slashes in PATH elements.
4478 .
/ | .
// |
/cC
/* | \
4479 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4480 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4483 # OSF1 and SCO ODT 3.0 have their own names for install.
4484 # Don't use installbsd from OSF since it installs stuff as root
4486 for ac_prog
in ginstall scoinst
install; do
4487 for ac_exec_ext
in '' $ac_executable_extensions; do
4488 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4489 if test $ac_prog = install &&
4490 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4491 # AIX install. It has an incompatible calling convention.
4493 elif test $ac_prog = install &&
4494 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4495 # program-specific install script used by HP pwplus--don't use.
4498 rm -rf conftest.one conftest.two conftest.dir
4499 echo one
> conftest.one
4500 echo two
> conftest.two
4502 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4503 test -s conftest.one
&& test -s conftest.two
&&
4504 test -s conftest.dir
/conftest.one
&&
4505 test -s conftest.dir
/conftest.two
4507 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4518 rm -rf conftest.one conftest.two conftest.dir
4521 if test "${ac_cv_path_install+set}" = set; then
4522 INSTALL
=$ac_cv_path_install
4524 # As a last resort, use the slow shell script. Don't cache a
4525 # value for INSTALL within a source directory, because that will
4526 # break other packages using the cache if that directory is
4527 # removed, or if the value is a relative name.
4528 INSTALL
=$ac_install_sh
4531 echo "$as_me:$LINENO: result: $INSTALL" >&5
4532 echo "${ECHO_T}$INSTALL" >&6
4534 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4535 # It thinks the first close brace ends the variable substitution.
4536 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4538 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4540 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4543 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4544 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4545 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4546 if test "${enable_maintainer_mode+set}" = set; then
4547 enableval
="$enable_maintainer_mode"
4548 USE_MAINTAINER_MODE
=$enableval
4550 USE_MAINTAINER_MODE
=no
4552 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4553 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4556 if test $USE_MAINTAINER_MODE = yes; then
4557 MAINTAINER_MODE_TRUE
=
4558 MAINTAINER_MODE_FALSE
='#'
4560 MAINTAINER_MODE_TRUE
='#'
4561 MAINTAINER_MODE_FALSE
=
4564 MAINT
=$MAINTAINER_MODE_TRUE
4570 # configure.host sets the following important variables
4571 # libgcj_cflags - host specific C compiler flags
4572 # libgcj_cxxflags - host specific C++ compiler flags
4573 # libgcj_javaflags - host specific Java compiler flags
4579 .
${srcdir}/configure.
host
4581 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4582 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4583 if test "${acl_cv_prog_gnu_ld+set}" = set; then
4584 echo $ECHO_N "(cached) $ECHO_C" >&6
4586 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4587 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4588 acl_cv_prog_gnu_ld
=yes
4590 acl_cv_prog_gnu_ld
=no
4593 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
4594 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
4595 with_gnu_ld
=$acl_cv_prog_gnu_ld
4597 echo "$as_me:$LINENO: checking if the GNU linker ($LD) supports -Bsymbolic-functions" >&5
4598 echo $ECHO_N "checking if the GNU linker ($LD) supports -Bsymbolic-functions... $ECHO_C" >&6
4599 if test "${acl_cv_prog_gnu_ld_symbolic+set}" = set; then
4600 echo $ECHO_N "(cached) $ECHO_C" >&6
4603 acl_cv_prog_gnu_ld_symbolic
=no
4605 if test x
"$with_gnu_ld" = x
"yes"; then
4606 if $LD --help 2>&1 </dev
/null |
grep Bsymbolic-functions
1>&5; then
4607 acl_cv_prog_gnu_ld_symbolic
=yes
4611 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld_symbolic" >&5
4612 echo "${ECHO_T}$acl_cv_prog_gnu_ld_symbolic" >&6
4613 if test x
"$acl_cv_prog_gnu_ld_symbolic" = x
"yes"; then
4614 SYMBOLIC_LDFLAGS
="-Wl,-Bsymbolic-functions"
4619 libgcj_ld_symbolic_functions
=$SYMBOLIC_LDFLAGS
4620 if test -z "$libgcj_ld_symbolic"; then
4621 libgcj_ld_symbolic
=$SYMBOLIC_LDFLAGS
4624 LIBGCJ_CFLAGS
="${libgcj_cflags}"
4625 LIBGCJ_CXXFLAGS
="${libgcj_cxxflags}"
4626 LIBGCJ_JAVAFLAGS
="${libgcj_javaflags}"
4627 LIBGCJ_LD_SYMBOLIC
="${libgcj_ld_symbolic}"
4628 LIBGCJ_LD_SYMBOLIC_FUNCTIONS
="${libgcj_ld_symbolic_functions}"
4635 # Only use libltdl for non-newlib builds.
4636 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
4637 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
4638 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
4640 libname_spec
='lib$name'
4648 shlibpath_overrides_runpath
=unknown
4650 dynamic_linker
="$host_os ld.so"
4651 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
4652 if test "$GCC" = yes; then
4653 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
4654 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
4655 # if the path contains ";" then we assume it to be the separator
4656 # otherwise default to the standard path separator (i.e. ":") - it is
4657 # assumed that no part of a normal pathname contains ";" but that should
4658 # okay in the real world where ";" in dirpaths is itself problematic.
4659 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
4661 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
4664 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
4666 need_lib_prefix
=unknown
4667 hardcode_into_libs
=no
4669 # when you set need_version to no, make sure it does not cause -set_version
4670 # flags to be left without arguments
4671 need_version
=unknown
4676 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
4677 shlibpath_var
=LIBPATH
4679 # AIX 3 has no versioning support, so we append a major version to the name.
4680 soname_spec
='${libname}${release}${shared_ext}$major'
4687 hardcode_into_libs
=yes
4688 if test "$host_cpu" = ia64
; then
4689 # AIX 5 supports IA64
4690 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
4691 shlibpath_var
=LD_LIBRARY_PATH
4693 # With GCC up to 2.95.x, collect2 would create an import file
4694 # for dependence libraries. The import file would start with
4695 # the line `#! .'. This would cause the generated library to
4696 # depend on `.', always an invalid library. This was fixed in
4697 # development snapshots of GCC prior to 3.0.
4699 aix4 | aix4.
[01] | aix4.
[01].
*)
4700 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
4702 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
4709 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
4710 # soname into executable. Probably we can add versioning support to
4711 # collect2, so additional links can be useful in future.
4712 if test "$aix_use_runtimelinking" = yes; then
4713 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
4714 # instead of lib<name>.a to let people know that these are not
4715 # typical AIX shared libraries.
4716 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4718 # We preserve .a as extension for shared libraries through AIX4.2
4719 # and later when we are not doing run time linking.
4720 library_names_spec
='${libname}${release}.a $libname.a'
4721 soname_spec
='${libname}${release}${shared_ext}$major'
4723 shlibpath_var
=LIBPATH
4728 library_names_spec
='$libname.ixlibrary $libname.a'
4729 # Create ${libname}_ixlibrary.a entries in /sys/libs.
4730 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'
4734 library_names_spec
='${libname}${shared_ext}'
4735 dynamic_linker
="$host_os ld.so"
4736 shlibpath_var
=LIBRARY_PATH
4742 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4743 soname_spec
='${libname}${release}${shared_ext}$major'
4744 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
4745 shlibpath_var
=LD_LIBRARY_PATH
4746 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
4747 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
4748 # the default ld.so.conf also contains /usr/contrib/lib and
4749 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
4750 # libtool to hard-code these into programs
4753 cygwin
* | mingw
* | pw32
*)
4754 version_type
=windows
4759 case $GCC,$host_os in
4760 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
4761 library_names_spec
='$libname.dll.a'
4762 # DLL is installed to $(libdir)/../bin by postinstall_cmds
4763 postinstall_cmds
='base_file=`basename \${file}`~
4764 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
4765 dldir=$destdir/`dirname \$dlpath`~
4766 test -d \$dldir || mkdir -p \$dldir~
4767 $install_prog $dir/$dlname \$dldir/$dlname'
4768 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
4769 dlpath=$dir/\$dldll~
4771 shlibpath_overrides_runpath
=yes
4775 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
4776 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
4777 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
4780 # MinGW DLLs use traditional 'lib' prefix
4781 soname_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
4782 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
4783 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
4784 # It is most probably a Windows format PATH printed by
4785 # mingw gcc, but we are running on Cygwin. Gcc prints its search
4786 # path with ; separators, and with drive letters. We can handle the
4787 # drive letters (cygwin fileutils understands them), so leave them,
4788 # especially as we might pass files found there to a mingw objdump,
4789 # which wouldn't understand a cygwinified path. Ahh.
4790 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
4792 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
4796 # pw32 DLLs use 'pw' prefix rather than 'lib'
4797 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}${shared_ext}'
4803 library_names_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
4806 dynamic_linker
='Win32 ld.exe'
4807 # FIXME: first we should search . and the directory the executable is in
4811 darwin
* | rhapsody
*)
4812 dynamic_linker
="$host_os dyld"
4816 # FIXME: Relying on posixy $() will cause problems for
4817 # cross-compilation, but unfortunately the echo tests do not
4818 # yet detect zsh echo's removal of \ escapes.
4819 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
4820 soname_spec
='${libname}${release}${major}$shared_ext'
4821 shlibpath_overrides_runpath
=yes
4822 shlibpath_var
=DYLD_LIBRARY_PATH
4823 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
4824 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
4825 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
4826 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"`
4828 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
4835 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
4836 soname_spec
='${libname}${release}${shared_ext}$major'
4837 shlibpath_var
=LD_LIBRARY_PATH
4845 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
4846 version_type
=freebsd-
$objformat
4847 case $version_type in
4849 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
4854 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
4858 shlibpath_var
=LD_LIBRARY_PATH
4861 shlibpath_overrides_runpath
=yes
4863 freebsd3.01
* | freebsdelf3.01
*)
4864 shlibpath_overrides_runpath
=yes
4865 hardcode_into_libs
=yes
4868 shlibpath_overrides_runpath
=no
4869 hardcode_into_libs
=yes
4878 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
4879 soname_spec
='${libname}${release}${shared_ext}$major'
4880 shlibpath_var
=LD_LIBRARY_PATH
4881 hardcode_into_libs
=yes
4884 hpux9
* | hpux10
* | hpux11
*)
4885 # Give a soname corresponding to the major version so that dld.sl refuses to
4886 # link against other versions.
4893 hardcode_into_libs
=yes
4894 dynamic_linker
="$host_os dld.so"
4895 shlibpath_var
=LD_LIBRARY_PATH
4896 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
4897 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4898 soname_spec
='${libname}${release}${shared_ext}$major'
4899 if test "X$HPUX_IA64_MODE" = X32
; then
4900 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
4902 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
4904 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
4908 hardcode_into_libs
=yes
4909 dynamic_linker
="$host_os dld.sl"
4910 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
4911 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
4912 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4913 soname_spec
='${libname}${release}${shared_ext}$major'
4914 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
4915 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
4919 dynamic_linker
="$host_os dld.sl"
4920 shlibpath_var
=SHLIB_PATH
4921 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
4922 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4923 soname_spec
='${libname}${release}${shared_ext}$major'
4926 # HP-UX runs *really* slowly unless shared libraries are mode 555.
4927 postinstall_cmds
='chmod 555 $lib'
4930 irix5
* | irix6
* | nonstopux
*)
4932 nonstopux
*) version_type
=nonstopux
;;
4934 if test "$lt_cv_prog_gnu_ld" = yes; then
4942 soname_spec
='${libname}${release}${shared_ext}$major'
4943 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
4945 irix5
* | nonstopux
*)
4949 case $LD in # libtool.m4 will add one of these switches to LD
4950 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
4951 libsuff
= shlibsuff
= libmagic
=32-bit;;
4952 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
4953 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
4954 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
4955 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
4956 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
4960 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
4961 shlibpath_overrides_runpath
=no
4962 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
4963 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
4964 hardcode_into_libs
=yes
4967 # No shared lib support for Linux oldld, aout, or coff.
4968 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
4972 # This must be Linux ELF.
4977 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4978 soname_spec
='${libname}${release}${shared_ext}$major'
4979 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
4980 shlibpath_var
=LD_LIBRARY_PATH
4981 shlibpath_overrides_runpath
=no
4982 # This implies no fast_install, which is unacceptable.
4983 # Some rework will be needed to allow for fast_install
4984 # before this can be enabled.
4985 hardcode_into_libs
=yes
4987 # We used to test for /lib/ld.so.1 and disable shared libraries on
4988 # powerpc, because MkLinux only supported shared libraries with the
4989 # GNU dynamic linker. Since this was broken with cross compilers,
4990 # most powerpc-linux boxes support dynamic linking these days and
4991 # people can always --disable-shared, the test was removed, and we
4992 # assume the GNU/Linux dynamic linker is in use.
4993 dynamic_linker
='GNU/Linux ld.so'
5000 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
5001 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5002 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
5003 dynamic_linker
='NetBSD (a.out) ld.so'
5005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
5006 soname_spec
='${libname}${release}${shared_ext}$major'
5007 dynamic_linker
='NetBSD ld.elf_so'
5009 shlibpath_var
=LD_LIBRARY_PATH
5010 shlibpath_overrides_runpath
=yes
5011 hardcode_into_libs
=yes
5016 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5017 shlibpath_var
=LD_LIBRARY_PATH
5018 shlibpath_overrides_runpath
=yes
5025 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5026 soname_spec
='${libname}${release}${shared_ext}$major'
5027 shlibpath_var
=LD_LIBRARY_PATH
5028 shlibpath_overrides_runpath
=yes
5035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5036 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
5037 shlibpath_var
=LD_LIBRARY_PATH
5038 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5040 openbsd2.
[89] | openbsd2.
[89].
*)
5041 shlibpath_overrides_runpath
=no
5044 shlibpath_overrides_runpath
=yes
5048 shlibpath_overrides_runpath
=yes
5053 libname_spec
='$name'
5056 library_names_spec
='$libname${shared_ext} $libname.a'
5057 dynamic_linker
='OS/2 ld.exe'
5058 shlibpath_var
=LIBPATH
5061 osf3
* | osf4
* | osf5
*)
5065 soname_spec
='${libname}${release}${shared_ext}$major'
5066 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5067 shlibpath_var
=LD_LIBRARY_PATH
5068 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
5069 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
5074 soname_spec
='${libname}${release}${shared_ext}$major'
5075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5076 shlibpath_var
=LD_LIBRARY_PATH
5083 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5084 soname_spec
='${libname}${release}${shared_ext}$major'
5085 shlibpath_var
=LD_LIBRARY_PATH
5086 shlibpath_overrides_runpath
=yes
5087 hardcode_into_libs
=yes
5088 # ldd complains unless libraries are executable
5089 postinstall_cmds
='chmod +x $lib'
5094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5095 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
5096 shlibpath_var
=LD_LIBRARY_PATH
5097 shlibpath_overrides_runpath
=yes
5098 if test "$with_gnu_ld" = yes; then
5104 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
5106 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5107 soname_spec
='${libname}${release}${shared_ext}$major'
5108 shlibpath_var
=LD_LIBRARY_PATH
5109 case $host_vendor in
5111 shlibpath_overrides_runpath
=no
5113 export_dynamic_flag_spec
='${wl}-Blargedynsym'
5114 runpath_var
=LD_RUN_PATH
5122 shlibpath_overrides_runpath
=no
5123 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
5129 if test -d /usr
/nec
;then
5131 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
5132 soname_spec
='$libname${shared_ext}.$major'
5133 shlibpath_var
=LD_LIBRARY_PATH
5139 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5140 soname_spec
='${libname}${release}${shared_ext}$major'
5141 shlibpath_var
=LD_LIBRARY_PATH
5148 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
5149 echo "${ECHO_T}$dynamic_linker" >&6
5150 test "$dynamic_linker" = no
&& can_build_shared
=no
5153 echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
5154 echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6
5155 if test "${libltdl_cv_shlibpath_var+set}" = set; then
5156 echo $ECHO_N "(cached) $ECHO_C" >&6
5158 libltdl_cv_shlibpath_var
="$shlibpath_var"
5160 echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
5161 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6
5162 if test -n "$libltdl_cv_shlibpath_var"; then
5164 cat >>confdefs.h
<<_ACEOF
5165 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
5172 ac_config_headers
="$ac_config_headers include/config.h gcj/libgcj-config.h"
5175 # See if the user has requested runtime debugging.
5176 LIBGCJDEBUG
="disable"
5178 # Check whether --enable-libgcj-debug or --disable-libgcj-debug was given.
5179 if test "${enable_libgcj_debug+set}" = set; then
5180 enableval
="$enable_libgcj_debug"
5181 if test "$enable_libgcj_debug" = yes; then
5183 cat >>confdefs.h
<<\_ACEOF
5187 LIBGCJDEBUG
="enable"
5192 # Check whether --with-escher or --without-escher was given.
5193 if test "${with_escher+set}" = set; then
5194 withval
="$with_escher"
5197 case "$with_escher" in
5205 { { echo "$as_me:$LINENO: error: Please supply an absolute path to Escher library" >&5
5206 echo "$as_me: error: Please supply an absolute path to Escher library" >&2;}
5207 { (exit 1); exit 1; }; }
5214 # Determine which AWT peer libraries to build
5215 # Check whether --enable-java-awt or --disable-java-awt was given.
5216 if test "${enable_java_awt+set}" = set; then
5217 enableval
="$enable_java_awt"
5221 peerlibs
="`echo ${enable_java_awt} | tr ',' ' '`"
5226 # The default toolkit to use is the first one specified.
5230 for peer
in $peerlibs ; do
5233 if test "$no_x" = yes; then
5234 echo "*** xlib peers requested but no X library available" 1>&2
5238 if test -z "$TOOLKIT"; then
5239 TOOLKIT
=gnu.awt.xlib.XToolkit
5244 if test "$no_x" = yes; then
5245 echo "*** gtk peers requested but no X library available" 1>&2
5249 if test -z "$TOOLKIT"; then
5250 TOOLKIT
=gnu.java.awt.peer.gtk.GtkToolkit
5255 if test "$no_x" = yes; then
5256 # Perhaps we should admit the possibility of embedded Qt.
5257 echo "*** Qt peers requested but no X library available" 1>&2
5261 if test -z "$TOOLKIT"; then
5262 TOOLKIT
=gnu.java.awt.peer.qt.QtToolkit
5268 if test -z "$TOOLKIT"; then
5269 TOOLKIT
=gnu.java.awt.peer.x.XToolkit
5280 echo "*** unrecognised argument \"${peer}\" for --enable-java-awt" 1>&2
5287 if test "$use_xlib_awt" = yes; then
5297 if test "$use_x_awt" = yes; then
5307 cat >>confdefs.h
<<_ACEOF
5308 #define AWT_TOOLKIT "$TOOLKIT"
5313 cat >>confdefs.h
<<_ACEOF
5314 #define LIBGCJ_PREFIX "$prefix"
5318 # Create standard.omit based on decisions we just made.
5319 cp $srcdir/standard.omit.
in standard.omit
5320 if test "$use_xlib_awt" != yes; then
5321 echo gnu
/awt
/xlib
>> standard.omit
5322 echo gnu
/gcj
/xlib
>> standard.omit
5324 if test "$use_x_awt" != yes; then
5325 echo gnu
/java
/awt
/peer
/x
>> standard.omit
5328 # Tools that need to be compiled against classpath's tools classes
5329 : > vm-tools-packages
5330 for package
in gnu
/gcj
/tools
/gc_analyze
; do
5331 echo $package >> standard.omit
5332 echo $package >> vm-tools-packages
5335 if test -z "${with_multisubdir}"; then
5338 builddotdot
=`echo ${with_multisubdir} | sed -e 's:[^/][^/]*:..:g'`
5343 # Which gcj and host gcj (for ecjx) do we use?
5345 host_exeext
=${ac_exeext}
5347 built_gcc_dir
="`cd ${builddotdot}/../../${host_subdir}/gcc && ${PWDCMD-pwd}`"
5348 if test -n "${with_cross_host}"; then
5349 # We are being configured with a cross compiler. We can't
5350 # use ac_exeext, because that is for the target platform.
5353 GCJ_FOR_ECJX
="${with_cross_host}-gcj"
5354 case "${with_cross_host}" in
5356 cross_host_exeext
=.exe
5359 host_exeext
=${cross_host_exeext}
5360 if test -x "${built_gcc_dir}/gcj${cross_host_exeext}"; then
5361 if test x
"$build_noncanonical" = x
"$with_cross_host"; then
5362 # Ordinary cross (host!=target and host=build)
5365 # Canadian cross (host!=target and host!=build)
5372 # We are being configured with a native or crossed-native compiler
5373 if test -x "${built_gcc_dir}/gcj${ac_exeext}"; then
5374 if test x
"$build" = x
"$host"; then
5375 # True native build (host=target and host=build)
5378 # Crossed-native build (host=target and host!=build)
5385 case "${which_gcj}" in
5387 GCJ
="$built_gcc_dir/gcj -B`${PWDCMD-pwd}`/ -B$built_gcc_dir/"
5388 GCJH
='$(top_builddir)/$(MULTIBUILDTOP)../../$(host_subdir)/gcc/gcjh'
5391 if test "x${with_newlib}" = "xyes"; then
5392 # FIXME (comment): Why is this needed?
5394 GCJ
="${target_noncanonical}-gcj"
5396 GCJ
="${target_noncanonical}-gcj -B`${PWDCMD-pwd}`/"
5398 GCJH
='$(target_noncanonical)-gcjh'
5401 GCJ
="gcj -B`${PWDCMD-pwd}`/"
5412 # Create it, so that compile/link tests don't fail
5413 test -f libgcj.spec ||
touch libgcj.spec
5417 # Set up to configure Classpath.
5418 # FIXME: no supported way to pass args in autoconf.
5419 ac_configure_args
="$ac_configure_args --with-fastjar=$JAR"
5420 # Disable tool wrappers to avoid ltdl.h configure check.
5421 ac_configure_args
="$ac_configure_args --disable-tool-wrappers"
5422 ac_configure_args
="$ac_configure_args --disable-load-library"
5423 ac_configure_args
="$ac_configure_args --${LIBGCJDEBUG}-debug"
5424 ac_configure_args
="$ac_configure_args --enable-default-toolkit=$TOOLKIT"
5425 dir1
=`cd $srcdir && pwd`
5427 ac_configure_args
="$ac_configure_args --with-vm-classes=$dir1:$dir2"
5428 ac_configure_args
="$ac_configure_args --disable-core-jni"
5429 ac_configure_args
="$ac_configure_args --disable-examples"
5430 ac_configure_args
="$ac_configure_args --with-glibj=build"
5431 if test "$plugin_enabled" != yes; then
5432 ac_configure_args
="$ac_configure_args --disable-plugin"
5434 if test "$gconf_enabled" != yes; then
5435 ac_configure_args
="$ac_configure_args --disable-gconf-peer"
5436 ac_configure_args
="$ac_configure_args --enable-default-preferences-peer=gnu.java.util.prefs.FileBasedFactory"
5438 if test "$use_gtk_awt" != yes; then
5439 ac_configure_args
="$ac_configure_args --disable-gtk-peer --disable-plugin"
5441 if test "$use_qt_awt" != yes; then
5442 ac_configure_args
="$ac_configure_args --disable-qt-peer"
5444 # We need this as qt is disabled by default in classpath.
5445 ac_configure_args
="$ac_configure_args --enable-qt-peer"
5447 if test "$use_x_awt" != yes; then
5448 ac_configure_args
="$ac_configure_args --without-escher"
5450 # We need this as escher is disabled by default in classpath.
5451 if test "$use_escher" != true
; then
5452 { { echo "$as_me:$LINENO: error: Please supply an absolute path to the Escher library" >&5
5453 echo "$as_me: error: Please supply an absolute path to the Escher library" >&2;}
5454 { (exit 1); exit 1; }; }
5456 ac_configure_args
="$ac_configure_args --with-escher=$with_escher"
5459 # -Werror causes unavoidable problems in code using alsa.
5460 ac_configure_args
="$ac_configure_args --disable-regen-headers"
5461 ac_configure_args
="$ac_configure_args --disable-Werror"
5463 # Only use libltdl for non-newlib builds.
5464 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
5465 case $enable_ltdl_convenience in
5466 no
) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
5467 echo "$as_me: error: this package needs a convenience libltdl" >&2;}
5468 { (exit 1); exit 1; }; } ;;
5469 "") enable_ltdl_convenience
=yes
5470 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
5472 LIBLTDL
='${top_builddir}/''libltdl'/libltdlc.la
5473 LTDLINCL
='-I${top_srcdir}/''libltdl'
5474 # For backwards non-gettext consistent compatibility...
5483 cat >>confdefs.h
<<\_ACEOF
5487 # Sigh. Libtool's macro doesn't do the right thing.
5488 INCLTDL
="-I\$(top_srcdir)/libltdl $INCLTDL"
5489 # FIXME: this is a hack.
5490 sub_auxdir
="`cd $ac_aux_dir && ${PWDCMD-pwd}`"
5491 ac_configure_args
="$ac_configure_args --with-auxdir=$sub_auxdir"
5498 macro_version
='2.1a'
5499 macro_revision
='1.2435'
5512 ltmain
="$ac_aux_dir/ltmain.sh"
5520 # Check whether --enable-shared or --disable-shared was given.
5521 if test "${enable_shared+set}" = set; then
5522 enableval
="$enable_shared"
5523 p
=${PACKAGE-default}
5525 yes) enable_shared
=yes ;;
5526 no
) enable_shared
=no
;;
5529 # Look at the argument we got. We use all the common list separators.
5530 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5531 for pkg
in $enableval; do
5533 if test "X$pkg" = "X$p"; then
5551 # Check whether --enable-static or --disable-static was given.
5552 if test "${enable_static+set}" = set; then
5553 enableval
="$enable_static"
5554 p
=${PACKAGE-default}
5556 yes) enable_static
=yes ;;
5557 no
) enable_static
=no
;;
5560 # Look at the argument we got. We use all the common list separators.
5561 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5562 for pkg
in $enableval; do
5564 if test "X$pkg" = "X$p"; then
5583 # Check whether --with-pic or --without-pic was given.
5584 if test "${with_pic+set}" = set; then
5591 test -z "$pic_mode" && pic_mode
=default
5599 # Check whether --enable-fast-install or --disable-fast-install was given.
5600 if test "${enable_fast_install+set}" = set; then
5601 enableval
="$enable_fast_install"
5602 p
=${PACKAGE-default}
5604 yes) enable_fast_install
=yes ;;
5605 no
) enable_fast_install
=no
;;
5607 enable_fast_install
=no
5608 # Look at the argument we got. We use all the common list separators.
5609 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5610 for pkg
in $enableval; do
5612 if test "X$pkg" = "X$p"; then
5613 enable_fast_install
=yes
5620 enable_fast_install
=yes
5630 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5631 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
5632 if test "${lt_cv_path_SED+set}" = set; then
5633 echo $ECHO_N "(cached) $ECHO_C" >&6
5635 # Loop through the user's path and test for sed and gsed.
5636 # Then use that list of sed's as ones to test for truncation.
5637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5641 test -z "$as_dir" && as_dir
=.
5642 for lt_ac_prog
in sed gsed
; do
5643 for ac_exec_ext
in '' $ac_executable_extensions; do
5644 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5645 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5653 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5654 # along with /bin/sed that truncates output.
5655 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
5656 test ! -f $lt_ac_sed && continue
5657 cat /dev
/null
> conftest.
in
5659 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
5660 # Check for GNU sed and select it if it is found.
5661 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
5662 lt_cv_path_SED
=$lt_ac_sed
5666 cat conftest.
in conftest.
in >conftest.tmp
5667 mv conftest.tmp conftest.
in
5668 cp conftest.
in conftest.
nl
5670 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
5671 cmp -s conftest.out conftest.
nl ||
break
5672 # 10000 chars as input seems more than enough
5673 test $lt_ac_count -gt 10 && break
5674 lt_ac_count
=`expr $lt_ac_count + 1`
5675 if test $lt_ac_count -gt $lt_ac_max; then
5676 lt_ac_max
=$lt_ac_count
5677 lt_cv_path_SED
=$lt_ac_sed
5686 echo "$as_me:$LINENO: result: $SED" >&5
5687 echo "${ECHO_T}$SED" >&6
5689 test -z "$SED" && SED
=sed
5690 Xsed
="$SED -e 1s/^X//"
5702 echo "$as_me:$LINENO: checking for egrep" >&5
5703 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5704 if test "${ac_cv_prog_egrep+set}" = set; then
5705 echo $ECHO_N "(cached) $ECHO_C" >&6
5707 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5708 then ac_cv_prog_egrep
='grep -E'
5709 else ac_cv_prog_egrep
='egrep'
5712 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5713 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5714 EGREP
=$ac_cv_prog_egrep
5717 echo "$as_me:$LINENO: checking for fgrep" >&5
5718 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
5719 if test "${ac_cv_prog_fgrep+set}" = set; then
5720 echo $ECHO_N "(cached) $ECHO_C" >&6
5722 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
5723 then ac_cv_prog_fgrep
='grep -F'
5724 else ac_cv_prog_fgrep
='fgrep'
5727 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
5728 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
5729 FGREP
=$ac_cv_prog_fgrep
5732 test -z "$GREP" && GREP
=grep
5752 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5753 if test "${with_gnu_ld+set}" = set; then
5754 withval
="$with_gnu_ld"
5755 test "$withval" = no || with_gnu_ld
=yes
5760 if test "$GCC" = yes; then
5761 # Check if gcc -print-prog-name=ld gives a path.
5762 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5763 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5766 # gcc leaves a trailing carriage return which upsets mingw
5767 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5769 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5772 # Accept absolute paths.
5774 re_direlt
='/[^/][^/]*/\.\./'
5775 # Canonicalize the pathname of ld
5776 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5777 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5778 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5780 test -z "$LD" && LD
="$ac_prog"
5783 # If it fails, then pretend we aren't using GCC.
5787 # If it is relative, then search for the first ld in PATH.
5791 elif test "$with_gnu_ld" = yes; then
5792 echo "$as_me:$LINENO: checking for GNU ld" >&5
5793 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5795 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5796 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5798 if test "${lt_cv_path_LD+set}" = set; then
5799 echo $ECHO_N "(cached) $ECHO_C" >&6
5801 if test -z "$LD"; then
5802 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5803 for ac_dir
in $PATH; do
5805 test -z "$ac_dir" && ac_dir
=.
5806 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5807 lt_cv_path_LD
="$ac_dir/$ac_prog"
5808 # Check to see if the program is GNU ld. I'd rather use --version,
5809 # but apparently some variants of GNU ld only accept -v.
5810 # Break only if it was the GNU/non-GNU ld that we prefer.
5811 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5812 *GNU
* |
*'with BFD'*)
5813 test "$with_gnu_ld" != no
&& break
5816 test "$with_gnu_ld" != yes && break
5823 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5828 if test -n "$LD"; then
5829 echo "$as_me:$LINENO: result: $LD" >&5
5830 echo "${ECHO_T}$LD" >&6
5832 echo "$as_me:$LINENO: result: no" >&5
5833 echo "${ECHO_T}no" >&6
5835 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5836 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5837 { (exit 1); exit 1; }; }
5838 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5839 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5840 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5841 echo $ECHO_N "(cached) $ECHO_C" >&6
5843 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5844 case `$LD -v 2>&1 </dev/null` in
5845 *GNU
* |
*'with BFD'*)
5846 lt_cv_prog_gnu_ld
=yes
5849 lt_cv_prog_gnu_ld
=no
5853 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5854 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5855 with_gnu_ld
=$lt_cv_prog_gnu_ld
5866 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5867 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
5868 if test "${lt_cv_path_NM+set}" = set; then
5869 echo $ECHO_N "(cached) $ECHO_C" >&6
5871 if test -n "$NM"; then
5872 # Let the user override the test.
5875 lt_nm_to_check
="${ac_tool_prefix}nm"
5876 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5877 lt_nm_to_check
="$lt_nm_to_check nm"
5879 for lt_tmp_nm
in $lt_nm_to_check; do
5880 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5881 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5883 test -z "$ac_dir" && ac_dir
=.
5884 tmp_nm
="$ac_dir/$lt_tmp_nm"
5885 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5886 # Check to see if the nm accepts a BSD-compat flag.
5887 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5888 # nm: unknown option "B" ignored
5889 # Tru64's nm complains that /dev/null is an invalid object file
5890 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5891 */dev
/null
* |
*'Invalid file or object type'*)
5892 lt_cv_path_NM
="$tmp_nm -B"
5896 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5898 lt_cv_path_NM
="$tmp_nm -p"
5902 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5903 continue # so that we can try to find one that supports BSD flags
5912 : ${lt_cv_path_NM=no}
5915 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5916 echo "${ECHO_T}$lt_cv_path_NM" >&6
5917 if test "$lt_cv_path_NM" != "no"; then
5920 # Didn't find any BSD compatible name lister, look for dumpbin.
5921 if test -n "$ac_tool_prefix"; then
5922 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5924 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5925 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5926 echo "$as_me:$LINENO: checking for $ac_word" >&5
5927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5928 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5929 echo $ECHO_N "(cached) $ECHO_C" >&6
5931 if test -n "$DUMPBIN"; then
5932 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5938 test -z "$as_dir" && as_dir
=.
5939 for ac_exec_ext
in '' $ac_executable_extensions; do
5940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5941 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5950 DUMPBIN
=$ac_cv_prog_DUMPBIN
5951 if test -n "$DUMPBIN"; then
5952 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5953 echo "${ECHO_T}$DUMPBIN" >&6
5955 echo "$as_me:$LINENO: result: no" >&5
5956 echo "${ECHO_T}no" >&6
5959 test -n "$DUMPBIN" && break
5962 if test -z "$DUMPBIN"; then
5963 ac_ct_DUMPBIN
=$DUMPBIN
5964 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5966 # Extract the first word of "$ac_prog", so it can be a program name with args.
5967 set dummy
$ac_prog; ac_word
=$2
5968 echo "$as_me:$LINENO: checking for $ac_word" >&5
5969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5970 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5971 echo $ECHO_N "(cached) $ECHO_C" >&6
5973 if test -n "$ac_ct_DUMPBIN"; then
5974 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5980 test -z "$as_dir" && as_dir
=.
5981 for ac_exec_ext
in '' $ac_executable_extensions; do
5982 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5983 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5992 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5993 if test -n "$ac_ct_DUMPBIN"; then
5994 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5995 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
5997 echo "$as_me:$LINENO: result: no" >&5
5998 echo "${ECHO_T}no" >&6
6001 test -n "$ac_ct_DUMPBIN" && break
6003 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
6005 DUMPBIN
=$ac_ct_DUMPBIN
6009 if test "$DUMPBIN" != ":"; then
6013 test -z "$NM" && NM
=nm
6020 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
6021 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
6022 if test "${lt_cv_nm_interface+set}" = set; then
6023 echo $ECHO_N "(cached) $ECHO_C" >&6
6025 lt_cv_nm_interface
="BSD nm"
6026 echo "int some_variable = 0;" > conftest.
$ac_ext
6027 (eval echo "\"\$as_me:6027: $ac_compile\"" >&5)
6028 (eval "$ac_compile" 2>conftest.err
)
6029 cat conftest.err
>&5
6030 (eval echo "\"\$as_me:6030: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6031 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6032 cat conftest.err
>&5
6033 (eval echo "\"\$as_me:6033: output\"" >&5)
6034 cat conftest.out
>&5
6035 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6036 lt_cv_nm_interface
="MS dumpbin"
6040 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
6041 echo "${ECHO_T}$lt_cv_nm_interface" >&6
6043 # find the maximum length of command line arguments
6044 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6045 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
6046 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6047 echo $ECHO_N "(cached) $ECHO_C" >&6
6054 # On DJGPP, this test can blow up pretty badly due to problems in libc
6055 # (any single argument exceeding 2000 bytes causes a buffer overrun
6056 # during glob expansion). Even if it were fixed, the result of this
6057 # check would be larger than it should be.
6058 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6062 # Under GNU Hurd, this test is not required because there is
6063 # no limit to the length of command line arguments.
6064 # Libtool will interpret -1 as no limit whatsoever
6065 lt_cv_sys_max_cmd_len
=-1;
6069 # On Win9x/ME, this test blows up -- it succeeds, but takes
6070 # about 5 minutes as the teststring grows exponentially.
6071 # Worse, since 9x/ME are not pre-emptively multitasking,
6072 # you end up with a "frozen" computer, even though with patience
6073 # the test eventually succeeds (with a max line length of 256k).
6074 # Instead, let's just punt: use the minimum linelength reported by
6075 # all of the supported platforms: 8192 (on NT/2K/XP).
6076 lt_cv_sys_max_cmd_len
=8192;
6080 # On AmigaOS with pdksh, this test takes hours, literally.
6081 # So we just punt and use a minimum line length of 8192.
6082 lt_cv_sys_max_cmd_len
=8192;
6085 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6086 # This has been around since 386BSD, at least. Likely further.
6087 if test -x /sbin
/sysctl
; then
6088 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6089 elif test -x /usr
/sbin
/sysctl
; then
6090 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6092 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6094 # And add a safety zone
6095 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6096 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6100 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6101 lt_cv_sys_max_cmd_len
=196608
6105 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6106 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6107 # nice to cause kernel panics so lets avoid the loop below.
6108 # First set a reasonable default.
6109 lt_cv_sys_max_cmd_len
=16384
6111 if test -x /sbin
/sysconfig
; then
6112 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6113 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6118 lt_cv_sys_max_cmd_len
=102400
6120 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6121 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6122 if test -n "$kargmax"; then
6123 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6125 lt_cv_sys_max_cmd_len
=32768
6129 lt_cv_sys_max_cmd_len
=`getconf ARG_MAX 2> /dev/null`
6130 if test -n $lt_cv_sys_max_cmd_len; then
6131 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6132 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6134 # Make teststring a little bigger before we do anything with it.
6135 # a 1K string should be a reasonable start.
6136 for i
in 1 2 3 4 5 6 7 8 ; do
6137 teststring
=$teststring$teststring
6139 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6140 # If test is not a shell built-in, we'll probably end up computing a
6141 # maximum length that is only half of the actual maximum length, but
6143 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6144 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
6145 test $i != 17 # 1/2 MB should be enough
6148 teststring
=$teststring$teststring
6150 # Only check the string length outside the loop.
6151 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6153 # Add a significant safety factor because C++ compilers can tack on
6154 # massive amounts of additional arguments before passing them to the
6155 # linker. It appears as though 1/2 is a usable value.
6156 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6163 if test -n $lt_cv_sys_max_cmd_len ; then
6164 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6165 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
6167 echo "$as_me:$LINENO: result: none" >&5
6168 echo "${ECHO_T}none" >&6
6170 max_cmd_len
=$lt_cv_sys_max_cmd_len
6181 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6182 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
6183 # Try some XSI features
6186 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6187 = c,a/b,, ) >/dev/null 2>&1 \
6189 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
6190 echo "${ECHO_T}$xsi_shell" >&6
6193 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
6194 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
6196 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6198 && lt_shell_append=yes
6199 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
6200 echo "${ECHO_T}$lt_shell_append" >&6
6203 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6213 # test EBCDIC or ASCII
6214 case `echo X|tr X '\101'` in
6215 A) # ASCII based system
6216 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6217 lt_SP2NL='tr \040 \012'
6218 lt_NL2SP='tr \015\012 \040\040'
6220 *) # EBCDIC based system
6221 lt_SP2NL='tr \100 \n'
6222 lt_NL2SP='tr \r\n \100\100'
6234 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
6235 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
6236 if test "${lt_cv_ld_reload_flag+set}" = set; then
6237 echo $ECHO_N "(cached
) $ECHO_C" >&6
6239 lt_cv_ld_reload_flag='-r'
6241 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
6242 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
6243 reload_flag=$lt_cv_ld_reload_flag
6244 case $reload_flag in
6246 *) reload_flag=" $reload_flag" ;;
6248 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6251 if test "$GCC" = yes; then
6252 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6254 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6268 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
6269 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
6270 if test "${lt_cv_deplibs_check_method+set}" = set; then
6271 echo $ECHO_N "(cached
) $ECHO_C" >&6
6273 lt_cv_file_magic_cmd='$MAGIC_CMD'
6274 lt_cv_file_magic_test_file=
6275 lt_cv_deplibs_check_method='unknown'
6276 # Need to set the preceding variable on all platforms that support
6277 # interlibrary dependencies.
6278 # 'none' -- dependencies not supported.
6279 # `unknown' -- same as none, but documents that we really don't know.
6280 # 'pass_all' -- all dependencies passed with no checks.
6281 # 'test_compile' -- check by making test program.
6282 # 'file_magic [[regex]]' -- check by looking for files in library path
6283 # which responds to the $file_magic_cmd with a given extended regex.
6284 # If you have `file' or equivalent on your system and you're not sure
6285 # whether `pass_all' will *always* work, you probably want this one.
6289 lt_cv_deplibs_check_method=pass_all
6293 lt_cv_deplibs_check_method=pass_all
6297 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6298 lt_cv_file_magic_cmd='/usr/bin/file -L'
6299 lt_cv_file_magic_test_file=/shlib/libc.so
6303 # func_win32_libid is a shell function defined in ltmain.sh
6304 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6305 lt_cv_file_magic_cmd='func_win32_libid'
6309 # Base MSYS/MinGW do not provide the 'file' command needed by
6310 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6311 # unless we find 'file', for example because we are cross-compiling.
6312 if ( file / ) >/dev/null 2>&1; then
6313 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6314 lt_cv_file_magic_cmd='func_win32_libid'
6316 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6317 lt_cv_file_magic_cmd='$OBJDUMP -f'
6321 darwin* | rhapsody*)
6322 lt_cv_deplibs_check_method=pass_all
6325 freebsd* | dragonfly*)
6326 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6329 # Not sure whether the presence of OpenBSD here was a mistake.
6330 # Let's accept both of them until this is cleared up.
6331 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6332 lt_cv_file_magic_cmd=/usr/bin/file
6333 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6337 lt_cv_deplibs_check_method=pass_all
6342 lt_cv_deplibs_check_method=pass_all
6345 hpux10.20* | hpux11*)
6346 lt_cv_file_magic_cmd=/usr/bin/file
6349 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6350 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6353 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]'
6354 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6357 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6358 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6364 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6365 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6368 irix5* | irix6* | nonstopux*)
6370 *-32|*"-32 ") libmagic=32-bit;;
6371 *-n32|*"-n32 ") libmagic=N32;;
6372 *-64|*"-64 ") libmagic=64-bit;;
6373 *) libmagic=never-match;;
6375 lt_cv_deplibs_check_method=pass_all
6378 # This must be Linux ELF.
6379 linux* | k*bsd*-gnu)
6380 lt_cv_deplibs_check_method=pass_all
6384 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6385 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6387 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6392 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6393 lt_cv_file_magic_cmd=/usr/bin/file
6394 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6398 lt_cv_deplibs_check_method=pass_all
6402 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6403 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6405 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6409 osf3* | osf4* | osf5*)
6410 lt_cv_deplibs_check_method=pass_all
6414 lt_cv_deplibs_check_method=pass_all
6418 lt_cv_deplibs_check_method=pass_all
6421 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6422 lt_cv_deplibs_check_method=pass_all
6426 case $host_vendor in
6428 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]'
6429 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6432 lt_cv_deplibs_check_method=pass_all
6435 lt_cv_file_magic_cmd='/bin/file'
6436 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6439 lt_cv_file_magic_cmd='/bin/file'
6440 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6441 lt_cv_file_magic_test_file=/lib/libc.so
6444 lt_cv_deplibs_check_method=pass_all
6447 lt_cv_deplibs_check_method=pass_all
6453 lt_cv_deplibs_check_method=pass_all
6458 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
6459 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
6460 file_magic_cmd=$lt_cv_file_magic_cmd
6461 deplibs_check_method=$lt_cv_deplibs_check_method
6462 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6475 if test -n "$ac_tool_prefix"; then
6476 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6477 set dummy ${ac_tool_prefix}ar; ac_word=$2
6478 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6479 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6480 if test "${ac_cv_prog_AR+set}" = set; then
6481 echo $ECHO_N "(cached
) $ECHO_C" >&6
6483 if test -n "$AR"; then
6484 ac_cv_prog_AR="$AR" # Let the user override the test.
6486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6490 test -z "$as_dir" && as_dir=.
6491 for ac_exec_ext in '' $ac_executable_extensions; do
6492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6493 ac_cv_prog_AR="${ac_tool_prefix}ar"
6494 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6503 if test -n "$AR"; then
6504 echo "$as_me:$LINENO: result
: $AR" >&5
6505 echo "${ECHO_T}$AR" >&6
6507 echo "$as_me:$LINENO: result
: no
" >&5
6508 echo "${ECHO_T}no
" >&6
6512 if test -z "$ac_cv_prog_AR"; then
6514 # Extract the first word of "ar", so it can be a program name with args.
6515 set dummy ar; ac_word=$2
6516 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6517 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6518 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6519 echo $ECHO_N "(cached
) $ECHO_C" >&6
6521 if test -n "$ac_ct_AR"; then
6522 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6528 test -z "$as_dir" && as_dir=.
6529 for ac_exec_ext in '' $ac_executable_extensions; do
6530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6531 ac_cv_prog_ac_ct_AR="ar"
6532 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6538 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
6541 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6542 if test -n "$ac_ct_AR"; then
6543 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
6544 echo "${ECHO_T}$ac_ct_AR" >&6
6546 echo "$as_me:$LINENO: result
: no
" >&5
6547 echo "${ECHO_T}no
" >&6
6555 test -z "$AR" && AR=ar
6556 test -z "$AR_FLAGS" && AR_FLAGS=cru
6568 if test -n "$ac_tool_prefix"; then
6569 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6570 set dummy ${ac_tool_prefix}strip; ac_word=$2
6571 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6572 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6573 if test "${ac_cv_prog_STRIP+set}" = set; then
6574 echo $ECHO_N "(cached
) $ECHO_C" >&6
6576 if test -n "$STRIP"; then
6577 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6583 test -z "$as_dir" && as_dir=.
6584 for ac_exec_ext in '' $ac_executable_extensions; do
6585 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6586 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6587 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6595 STRIP=$ac_cv_prog_STRIP
6596 if test -n "$STRIP"; then
6597 echo "$as_me:$LINENO: result
: $STRIP" >&5
6598 echo "${ECHO_T}$STRIP" >&6
6600 echo "$as_me:$LINENO: result
: no
" >&5
6601 echo "${ECHO_T}no
" >&6
6605 if test -z "$ac_cv_prog_STRIP"; then
6607 # Extract the first word of "strip
", so it can be a program name with args.
6608 set dummy strip; ac_word=$2
6609 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6610 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6611 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6612 echo $ECHO_N "(cached
) $ECHO_C" >&6
6614 if test -n "$ac_ct_STRIP"; then
6615 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6621 test -z "$as_dir" && as_dir=.
6622 for ac_exec_ext in '' $ac_executable_extensions; do
6623 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6624 ac_cv_prog_ac_ct_STRIP="strip
"
6625 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6631 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6634 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6635 if test -n "$ac_ct_STRIP"; then
6636 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
6637 echo "${ECHO_T}$ac_ct_STRIP" >&6
6639 echo "$as_me:$LINENO: result
: no
" >&5
6640 echo "${ECHO_T}no
" >&6
6645 STRIP="$ac_cv_prog_STRIP"
6648 test -z "$STRIP" && STRIP=:
6655 if test -n "$ac_tool_prefix"; then
6656 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6657 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6658 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6659 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6660 if test "${ac_cv_prog_RANLIB+set}" = set; then
6661 echo $ECHO_N "(cached
) $ECHO_C" >&6
6663 if test -n "$RANLIB"; then
6664 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6670 test -z "$as_dir" && as_dir=.
6671 for ac_exec_ext in '' $ac_executable_extensions; do
6672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6673 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6674 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6682 RANLIB=$ac_cv_prog_RANLIB
6683 if test -n "$RANLIB"; then
6684 echo "$as_me:$LINENO: result
: $RANLIB" >&5
6685 echo "${ECHO_T}$RANLIB" >&6
6687 echo "$as_me:$LINENO: result
: no
" >&5
6688 echo "${ECHO_T}no
" >&6
6692 if test -z "$ac_cv_prog_RANLIB"; then
6693 ac_ct_RANLIB=$RANLIB
6694 # Extract the first word of "ranlib
", so it can be a program name with args.
6695 set dummy ranlib; ac_word=$2
6696 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6697 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6698 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6699 echo $ECHO_N "(cached
) $ECHO_C" >&6
6701 if test -n "$ac_ct_RANLIB"; then
6702 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6708 test -z "$as_dir" && as_dir=.
6709 for ac_exec_ext in '' $ac_executable_extensions; do
6710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6711 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6712 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6718 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6721 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6722 if test -n "$ac_ct_RANLIB"; then
6723 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
6724 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6726 echo "$as_me:$LINENO: result
: no
" >&5
6727 echo "${ECHO_T}no
" >&6
6730 RANLIB=$ac_ct_RANLIB
6732 RANLIB="$ac_cv_prog_RANLIB"
6735 test -z "$RANLIB" && RANLIB=:
6742 # Determine commands to create old-style static archives.
6743 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6744 old_postinstall_cmds='chmod 644 $oldlib'
6745 old_postuninstall_cmds=
6747 if test -n "$RANLIB"; then
6750 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6753 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6756 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6792 # If no C compiler was specified, use CC.
6795 # If no C compiler flags were specified, use CFLAGS.
6796 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6798 # Allow CC to be a program name with arguments.
6802 # Check for command to grab the raw symbol name followed by C symbol from nm.
6803 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
6804 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
6805 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6806 echo $ECHO_N "(cached
) $ECHO_C" >&6
6809 # These are sane defaults that work on at least a few old systems.
6810 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6812 # Character class describing NM global symbol codes.
6813 symcode='[BCDEGRST]'
6815 # Regexp to match symbols that can be accessed directly from C.
6816 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6818 # Define system-specific variables.
6823 cygwin* | mingw* | pw32*)
6824 symcode='[ABCDGISTW]'
6827 if test "$host_cpu" = ia64; then
6828 symcode='[ABCDEGRST]'
6832 symcode='[BCDEGRST]'
6835 symcode='[BCDEGQRST]'
6846 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6854 # If we're using GNU nm, then use its standard symbol codes.
6855 case `$NM -V 2>&1` in
6856 *GNU* | *'with BFD'*)
6857 symcode='[ABCDGIRSTW]' ;;
6860 # Transform an extracted symbol line into a proper C declaration.
6861 # Some systems (esp. on ia64) link data and code symbols differently,
6862 # so use this general approach.
6863 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6865 # Transform an extracted symbol line into symbol name and symbol address
6866 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6868 # Handle CRLF in mingw tool chain
6872 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6876 # Try without a prefix underscore, then with it.
6877 for ac_symprfx in "" "_
"; do
6879 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6880 symxfrm="\\1 $ac_symprfx\\2 \\2"
6882 # Write the raw and C identifiers.
6883 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6884 # Fake it for dumpbin and say T for any non-static function
6885 # and D for any global variable.
6886 # Also find C++ and __fastcall symbols from MSVC++,
6887 # which start with @ or ?.
6888 lt_cv_sys_global_symbol_pipe="$AWK '"\
6889 " {last_section=section; section=\$ 3};"\
6890 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6891 " \$ 0!~/External *\|/{next};"\
6892 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6893 " {if(hide[section]) next};"\
6894 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6895 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6896 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6897 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6898 " ' prfx
=^
$ac_symprfx"
6900 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6903 # Check to see that the pipe works correctly.
6907 cat > conftest.$ac_ext <<_LT_EOF
6912 void nm_test_func(void);
6913 void nm_test_func(void){}
6917 int main(){nm_test_var='a';nm_test_func();return(0);}
6920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6921 (eval $ac_compile) 2>&5
6923 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6924 (exit $ac_status); }; then
6925 # Now try to grab the symbols.
6927 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
6928 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6930 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6931 (exit $ac_status); } && test -s "$nlist"; then
6932 # Try sorting and uniquifying the output.
6933 if sort "$nlist" | uniq > "$nlist"T; then
6934 mv -f "$nlist"T "$nlist"
6939 # Make sure that we snagged all the symbols we need.
6940 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6941 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6942 cat <<_LT_EOF > conftest.$ac_ext
6948 # Now generate the symbol file.
6949 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6951 cat <<_LT_EOF >> conftest.$ac_ext
6953 /* The mapping between symbol names and symbols. */
6958 lt__PROGRAM__LTX_preloaded_symbols[] =
6960 { "@PROGRAM@
", (void *) 0 },
6962 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6963 cat <<\_LT_EOF >> conftest.$ac_ext
6967 /* This works around a problem in FreeBSD linker */
6968 #ifdef FREEBSD_WORKAROUND
6969 static const void *lt_preloaded_setup() {
6970 return lt__PROGRAM__LTX_preloaded_symbols;
6978 # Now try linking the two files.
6979 mv conftest.$ac_objext conftstm.$ac_objext
6980 lt_save_LIBS="$LIBS"
6981 lt_save_CFLAGS="$CFLAGS"
6982 LIBS="conftstm.
$ac_objext"
6983 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6985 (eval $ac_link) 2>&5
6987 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6988 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6991 LIBS="$lt_save_LIBS"
6992 CFLAGS="$lt_save_CFLAGS"
6994 echo "cannot
find nm_test_func
in $nlist" >&5
6997 echo "cannot
find nm_test_var
in $nlist" >&5
7000 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7003 echo "$progname: failed program was
:" >&5
7004 cat conftest.$ac_ext >&5
7006 rm -f conftest* conftst*
7008 # Do not use the global_symbol_pipe unless it works.
7009 if test "$pipe_works" = yes; then
7012 lt_cv_sys_global_symbol_pipe=
7018 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7019 lt_cv_sys_global_symbol_to_cdecl=
7021 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7022 echo "$as_me:$LINENO: result
: failed
" >&5
7023 echo "${ECHO_T}failed
" >&6
7025 echo "$as_me:$LINENO: result
: ok
" >&5
7026 echo "${ECHO_T}ok
" >&6
7046 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
7047 if test "${enable_libtool_lock+set}" = set; then
7048 enableval="$enable_libtool_lock"
7051 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7053 # Some flags need to be propagated to the compiler or linker for good
7057 # Find out which ABI we are using.
7058 echo 'int i;' > conftest.$ac_ext
7059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7060 (eval $ac_compile) 2>&5
7062 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7063 (exit $ac_status); }; then
7064 case `/usr/bin/file conftest.$ac_objext` in
7076 # Find out which ABI we are using.
7077 echo '#line 7077 "configure
"' > conftest.$ac_ext
7078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7079 (eval $ac_compile) 2>&5
7081 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7082 (exit $ac_status); }; then
7083 if test "$lt_cv_prog_gnu_ld" = yes; then
7084 case `/usr/bin/file conftest.$ac_objext` in
7086 LD="${LD-ld} -melf32bsmip"
7089 LD="${LD-ld} -melf32bmipn32"
7092 LD="${LD-ld} -melf64bmip"
7096 case `/usr/bin/file conftest.$ac_objext` in
7112 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7113 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7114 # Find out which ABI we are using.
7115 echo 'int i;' > conftest.$ac_ext
7116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7117 (eval $ac_compile) 2>&5
7119 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7120 (exit $ac_status); }; then
7121 case `/usr/bin/file conftest.o` in
7124 x86_64-*kfreebsd*-gnu)
7125 LD="${LD-ld} -m elf_i386_fbsd
"
7128 LD="${LD-ld} -m elf_i386
"
7130 ppc64-*linux*|powerpc64-*linux*)
7131 LD="${LD-ld} -m elf32ppclinux
"
7134 LD="${LD-ld} -m elf_s390
"
7137 LD="${LD-ld} -m elf32_sparc
"
7143 x86_64-*kfreebsd*-gnu)
7144 LD="${LD-ld} -m elf_x86_64_fbsd
"
7147 LD="${LD-ld} -m elf_x86_64
"
7149 ppc*-*linux*|powerpc*-*linux*)
7150 LD="${LD-ld} -m elf64ppc
"
7152 s390*-*linux*|s390*-*tpf*)
7153 LD="${LD-ld} -m elf64_s390
"
7156 LD="${LD-ld} -m elf64_sparc
"
7166 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7167 SAVE_CFLAGS="$CFLAGS"
7168 CFLAGS="$CFLAGS -belf"
7169 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
7170 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
7171 if test "${lt_cv_cc_needs_belf+set}" = set; then
7172 echo $ECHO_N "(cached
) $ECHO_C" >&6
7175 ac_cpp='$CPP $CPPFLAGS'
7176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7180 if test x$gcc_no_link = xyes; then
7181 { { echo "$as_me:$LINENO: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&5
7182 echo "$as_me: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&2;}
7183 { (exit 1); exit 1; }; }
7185 cat >conftest.$ac_ext <<_ACEOF
7188 cat confdefs.h >>conftest.$ac_ext
7189 cat >>conftest.$ac_ext <<_ACEOF
7190 /* end confdefs.h. */
7200 rm -f conftest.$ac_objext conftest$ac_exeext
7201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7202 (eval $ac_link) 2>conftest.er1
7204 grep -v '^ *+' conftest.er1 >conftest.err
7206 cat conftest.err >&5
7207 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7208 (exit $ac_status); } &&
7209 { ac_try='test -z "$ac_c_werror_flag"
7210 || test ! -s conftest.err'
7211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7214 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7215 (exit $ac_status); }; } &&
7216 { ac_try='test -s conftest$ac_exeext'
7217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7220 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7221 (exit $ac_status); }; }; then
7222 lt_cv_cc_needs_belf=yes
7224 echo "$as_me: failed program was
:" >&5
7225 sed 's/^/| /' conftest.$ac_ext >&5
7227 lt_cv_cc_needs_belf=no
7229 rm -f conftest.err conftest.$ac_objext \
7230 conftest$ac_exeext conftest.$ac_ext
7232 ac_cpp='$CPP $CPPFLAGS'
7233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7238 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
7239 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
7240 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7241 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7242 CFLAGS="$SAVE_CFLAGS"
7246 # Find out which ABI we are using.
7247 echo 'int i;' > conftest.$ac_ext
7248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7249 (eval $ac_compile) 2>&5
7251 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7252 (exit $ac_status); }; then
7253 case `/usr/bin/file conftest.o` in
7255 case $lt_cv_prog_gnu_ld in
7256 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7257 *) LD="${LD-ld} -64" ;;
7266 need_locks="$enable_libtool_lock"
7269 ac_cpp='$CPP $CPPFLAGS'
7270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7273 echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
7274 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6
7275 # On Suns, sometimes $CPP names a directory.
7276 if test -n "$CPP" && test -d "$CPP"; then
7279 if test -z "$CPP"; then
7280 if test "${ac_cv_prog_CPP+set}" = set; then
7281 echo $ECHO_N "(cached
) $ECHO_C" >&6
7283 # Double quotes because CPP needs to be expanded
7284 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7287 for ac_c_preproc_warn_flag in '' yes
7289 # Use a header file that comes with gcc, so configuring glibc
7290 # with a fresh cross-compiler works.
7291 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7292 # <limits.h> exists even on freestanding compilers.
7293 # On the NeXT, cc -E runs the code through the compiler's parser,
7294 # not just through cpp. "Syntax error
" is here to catch this case.
7295 cat >conftest.$ac_ext <<_ACEOF
7298 cat confdefs.h >>conftest.$ac_ext
7299 cat >>conftest.$ac_ext <<_ACEOF
7300 /* end confdefs.h. */
7302 # include <limits.h>
7304 # include <assert.h>
7308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7309 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7311 grep -v '^ *+' conftest.er1 >conftest.err
7313 cat conftest.err >&5
7314 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7315 (exit $ac_status); } >/dev/null; then
7316 if test -s conftest.err; then
7317 ac_cpp_err=$ac_c_preproc_warn_flag
7318 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7325 if test -z "$ac_cpp_err"; then
7328 echo "$as_me: failed program was
:" >&5
7329 sed 's/^/| /' conftest.$ac_ext >&5
7331 # Broken: fails on valid input.
7334 rm -f conftest.err conftest.$ac_ext
7336 # OK, works on sane cases. Now check whether non-existent headers
7337 # can be detected and how.
7338 cat >conftest.$ac_ext <<_ACEOF
7341 cat confdefs.h >>conftest.$ac_ext
7342 cat >>conftest.$ac_ext <<_ACEOF
7343 /* end confdefs.h. */
7344 #include <ac_nonexistent.h>
7346 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7347 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7349 grep -v '^ *+' conftest.er1 >conftest.err
7351 cat conftest.err >&5
7352 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7353 (exit $ac_status); } >/dev/null; then
7354 if test -s conftest.err; then
7355 ac_cpp_err=$ac_c_preproc_warn_flag
7356 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7363 if test -z "$ac_cpp_err"; then
7364 # Broken: success on invalid input.
7367 echo "$as_me: failed program was
:" >&5
7368 sed 's/^/| /' conftest.$ac_ext >&5
7370 # Passes both tests.
7374 rm -f conftest.err conftest.$ac_ext
7377 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7378 rm -f conftest.err conftest.$ac_ext
7379 if $ac_preproc_ok; then
7391 echo "$as_me:$LINENO: result
: $CPP" >&5
7392 echo "${ECHO_T}$CPP" >&6
7394 for ac_c_preproc_warn_flag in '' yes
7396 # Use a header file that comes with gcc, so configuring glibc
7397 # with a fresh cross-compiler works.
7398 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7399 # <limits.h> exists even on freestanding compilers.
7400 # On the NeXT, cc -E runs the code through the compiler's parser,
7401 # not just through cpp. "Syntax error
" is here to catch this case.
7402 cat >conftest.$ac_ext <<_ACEOF
7405 cat confdefs.h >>conftest.$ac_ext
7406 cat >>conftest.$ac_ext <<_ACEOF
7407 /* end confdefs.h. */
7409 # include <limits.h>
7411 # include <assert.h>
7415 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7416 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7418 grep -v '^ *+' conftest.er1 >conftest.err
7420 cat conftest.err >&5
7421 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7422 (exit $ac_status); } >/dev/null; then
7423 if test -s conftest.err; then
7424 ac_cpp_err=$ac_c_preproc_warn_flag
7425 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7432 if test -z "$ac_cpp_err"; then
7435 echo "$as_me: failed program was
:" >&5
7436 sed 's/^/| /' conftest.$ac_ext >&5
7438 # Broken: fails on valid input.
7441 rm -f conftest.err conftest.$ac_ext
7443 # OK, works on sane cases. Now check whether non-existent headers
7444 # can be detected and how.
7445 cat >conftest.$ac_ext <<_ACEOF
7448 cat confdefs.h >>conftest.$ac_ext
7449 cat >>conftest.$ac_ext <<_ACEOF
7450 /* end confdefs.h. */
7451 #include <ac_nonexistent.h>
7453 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7454 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7456 grep -v '^ *+' conftest.er1 >conftest.err
7458 cat conftest.err >&5
7459 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7460 (exit $ac_status); } >/dev/null; then
7461 if test -s conftest.err; then
7462 ac_cpp_err=$ac_c_preproc_warn_flag
7463 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7470 if test -z "$ac_cpp_err"; then
7471 # Broken: success on invalid input.
7474 echo "$as_me: failed program was
:" >&5
7475 sed 's/^/| /' conftest.$ac_ext >&5
7477 # Passes both tests.
7481 rm -f conftest.err conftest.$ac_ext
7484 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7485 rm -f conftest.err conftest.$ac_ext
7486 if $ac_preproc_ok; then
7489 { { echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
7490 echo "$as_me: error: in \`$ac_pwd':" >&2;}
7491 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7492 See \`config.log' for more details.
" >&5
7493 echo "$as_me: error
: C preprocessor
\"$CPP\" fails sanity check
7494 See \
`config.log' for more details." >&2;}
7495 { (exit 1); exit 1; }; }; }
7499 ac_cpp='$CPP $CPPFLAGS'
7500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7505 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7506 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7507 if test "${ac_cv_header_stdc+set}" = set; then
7508 echo $ECHO_N "(cached) $ECHO_C" >&6
7510 cat >conftest.$ac_ext <<_ACEOF
7513 cat confdefs.h >>conftest.$ac_ext
7514 cat >>conftest.$ac_ext <<_ACEOF
7515 /* end confdefs.h. */
7529 rm -f conftest.$ac_objext
7530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7531 (eval $ac_compile) 2>conftest.er1
7533 grep -v '^ *+' conftest.er1 >conftest.err
7535 cat conftest.err >&5
7536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7537 (exit $ac_status); } &&
7538 { ac_try='test -z "$ac_c_werror_flag"
7539 || test ! -s conftest.err'
7540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7544 (exit $ac_status); }; } &&
7545 { ac_try='test -s conftest.$ac_objext'
7546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7550 (exit $ac_status); }; }; then
7551 ac_cv_header_stdc=yes
7553 echo "$as_me: failed program was:" >&5
7554 sed 's/^/| /' conftest.$ac_ext >&5
7556 ac_cv_header_stdc=no
7558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7560 if test $ac_cv_header_stdc = yes; then
7561 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7562 cat >conftest.$ac_ext <<_ACEOF
7565 cat confdefs.h >>conftest.$ac_ext
7566 cat >>conftest.$ac_ext <<_ACEOF
7567 /* end confdefs.h. */
7571 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7572 $EGREP "memchr" >/dev/null 2>&1; then
7575 ac_cv_header_stdc=no
7581 if test $ac_cv_header_stdc = yes; then
7582 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7583 cat >conftest.$ac_ext <<_ACEOF
7586 cat confdefs.h >>conftest.$ac_ext
7587 cat >>conftest.$ac_ext <<_ACEOF
7588 /* end confdefs.h. */
7592 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7593 $EGREP "free" >/dev/null 2>&1; then
7596 ac_cv_header_stdc=no
7602 if test $ac_cv_header_stdc = yes; then
7603 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7604 if test "$cross_compiling" = yes; then
7607 cat >conftest.$ac_ext <<_ACEOF
7610 cat confdefs.h >>conftest.$ac_ext
7611 cat >>conftest.$ac_ext <<_ACEOF
7612 /* end confdefs.h. */
7614 #if ((' ' & 0x0FF) == 0x020)
7615 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7616 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7618 # define ISLOWER(c) \
7619 (('a' <= (c) && (c) <= 'i') \
7620 || ('j' <= (c) && (c) <= 'r') \
7621 || ('s' <= (c) && (c) <= 'z'))
7622 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7625 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7630 for (i = 0; i < 256; i++)
7631 if (XOR (islower (i), ISLOWER (i))
7632 || toupper (i) != TOUPPER (i))
7637 rm -f conftest$ac_exeext
7638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7639 (eval $ac_link) 2>&5
7641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7642 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7647 (exit $ac_status); }; }; then
7650 echo "$as_me: program exited with status $ac_status" >&5
7651 echo "$as_me: failed program was:" >&5
7652 sed 's/^/| /' conftest.$ac_ext >&5
7655 ac_cv_header_stdc=no
7657 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7661 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7662 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7663 if test $ac_cv_header_stdc = yes; then
7665 cat >>confdefs.h <<\_ACEOF
7666 #define STDC_HEADERS 1
7671 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7681 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7682 inttypes.h stdint.h unistd.h
7684 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7685 echo "$as_me:$LINENO: checking for $ac_header" >&5
7686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7687 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7688 echo $ECHO_N "(cached) $ECHO_C" >&6
7690 cat >conftest.$ac_ext <<_ACEOF
7693 cat confdefs.h >>conftest.$ac_ext
7694 cat >>conftest.$ac_ext <<_ACEOF
7695 /* end confdefs.h. */
7696 $ac_includes_default
7698 #include <$ac_header>
7700 rm -f conftest.$ac_objext
7701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7702 (eval $ac_compile) 2>conftest.er1
7704 grep -v '^ *+' conftest.er1 >conftest.err
7706 cat conftest.err >&5
7707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7708 (exit $ac_status); } &&
7709 { ac_try='test -z "$ac_c_werror_flag"
7710 || test ! -s conftest.err'
7711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7715 (exit $ac_status); }; } &&
7716 { ac_try='test -s conftest.$ac_objext'
7717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7721 (exit $ac_status); }; }; then
7722 eval "$as_ac_Header=yes"
7724 echo "$as_me: failed program was:" >&5
7725 sed 's/^/| /' conftest.$ac_ext >&5
7727 eval "$as_ac_Header=no"
7729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7733 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7734 cat >>confdefs.h <<_ACEOF
7735 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7744 for ac_header in dlfcn.h
7746 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7747 echo "$as_me:$LINENO: checking for $ac_header" >&5
7748 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7750 echo $ECHO_N "(cached) $ECHO_C" >&6
7752 cat >conftest.$ac_ext <<_ACEOF
7755 cat confdefs.h >>conftest.$ac_ext
7756 cat >>conftest.$ac_ext <<_ACEOF
7757 /* end confdefs.h. */
7758 $ac_includes_default
7760 #include <$ac_header>
7762 rm -f conftest.$ac_objext
7763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7764 (eval $ac_compile) 2>conftest.er1
7766 grep -v '^ *+' conftest.er1 >conftest.err
7768 cat conftest.err >&5
7769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7770 (exit $ac_status); } &&
7771 { ac_try='test -z "$ac_c_werror_flag"
7772 || test ! -s conftest.err'
7773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7777 (exit $ac_status); }; } &&
7778 { ac_try='test -s conftest.$ac_objext'
7779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7783 (exit $ac_status); }; }; then
7784 eval "$as_ac_Header=yes"
7786 echo "$as_me: failed program was:" >&5
7787 sed 's/^/| /' conftest.$ac_ext >&5
7789 eval "$as_ac_Header=no"
7791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7794 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7795 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7796 cat >>confdefs.h <<_ACEOF
7797 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7807 ac_cpp='$CXXCPP $CPPFLAGS'
7808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7811 if test -n "$ac_tool_prefix"; then
7812 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7814 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7815 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7816 echo "$as_me:$LINENO: checking for $ac_word" >&5
7817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7818 if test "${ac_cv_prog_CXX+set}" = set; then
7819 echo $ECHO_N "(cached) $ECHO_C" >&6
7821 if test -n "$CXX"; then
7822 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7828 test -z "$as_dir" && as_dir=.
7829 for ac_exec_ext in '' $ac_executable_extensions; do
7830 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7831 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7841 if test -n "$CXX"; then
7842 echo "$as_me:$LINENO: result: $CXX" >&5
7843 echo "${ECHO_T}$CXX" >&6
7845 echo "$as_me:$LINENO: result: no" >&5
7846 echo "${ECHO_T}no" >&6
7849 test -n "$CXX" && break
7852 if test -z "$CXX"; then
7854 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7856 # Extract the first word of "$ac_prog", so it can be a program name with args.
7857 set dummy $ac_prog; ac_word=$2
7858 echo "$as_me:$LINENO: checking for $ac_word" >&5
7859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7860 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7861 echo $ECHO_N "(cached) $ECHO_C" >&6
7863 if test -n "$ac_ct_CXX"; then
7864 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7870 test -z "$as_dir" && as_dir=.
7871 for ac_exec_ext in '' $ac_executable_extensions; do
7872 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7873 ac_cv_prog_ac_ct_CXX="$ac_prog"
7874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7882 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7883 if test -n "$ac_ct_CXX"; then
7884 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7885 echo "${ECHO_T}$ac_ct_CXX" >&6
7887 echo "$as_me:$LINENO: result: no" >&5
7888 echo "${ECHO_T}no" >&6
7891 test -n "$ac_ct_CXX" && break
7893 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
7899 # Provide some information about the compiler.
7900 echo "$as_me:$LINENO:" \
7901 "checking for C++ compiler version" >&5
7902 ac_compiler=`set X
$ac_compile; echo $2`
7903 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7904 (eval $ac_compiler --version </dev/null >&5) 2>&5
7906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7907 (exit $ac_status); }
7908 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7909 (eval $ac_compiler -v </dev/null >&5) 2>&5
7911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7912 (exit $ac_status); }
7913 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7914 (eval $ac_compiler -V </dev/null >&5) 2>&5
7916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7917 (exit $ac_status); }
7919 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7920 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
7921 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7922 echo $ECHO_N "(cached) $ECHO_C" >&6
7924 cat >conftest.$ac_ext <<_ACEOF
7927 cat confdefs.h >>conftest.$ac_ext
7928 cat >>conftest.$ac_ext <<_ACEOF
7929 /* end confdefs.h. */
7942 rm -f conftest.$ac_objext
7943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7944 (eval $ac_compile) 2>conftest.er1
7946 grep -v '^ *+' conftest.er1 >conftest.err
7948 cat conftest.err >&5
7949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7950 (exit $ac_status); } &&
7951 { ac_try='test -z "$ac_cxx_werror_flag"
7952 || test ! -s conftest.err'
7953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7957 (exit $ac_status); }; } &&
7958 { ac_try='test -s conftest.$ac_objext'
7959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7963 (exit $ac_status); }; }; then
7966 echo "$as_me: failed program was:" >&5
7967 sed 's/^/| /' conftest.$ac_ext >&5
7971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7972 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7975 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7976 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
7977 GXX=`test $ac_compiler_gnu = yes && echo yes`
7978 ac_test_CXXFLAGS=${CXXFLAGS+set}
7979 ac_save_CXXFLAGS=$CXXFLAGS
7981 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7982 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
7983 if test "${ac_cv_prog_cxx_g+set}" = set; then
7984 echo $ECHO_N "(cached) $ECHO_C" >&6
7986 cat >conftest.$ac_ext <<_ACEOF
7989 cat confdefs.h >>conftest.$ac_ext
7990 cat >>conftest.$ac_ext <<_ACEOF
7991 /* end confdefs.h. */
8001 rm -f conftest.$ac_objext
8002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8003 (eval $ac_compile) 2>conftest.er1
8005 grep -v '^ *+' conftest.er1 >conftest.err
8007 cat conftest.err >&5
8008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8009 (exit $ac_status); } &&
8010 { ac_try='test -z "$ac_cxx_werror_flag"
8011 || test ! -s conftest.err'
8012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8016 (exit $ac_status); }; } &&
8017 { ac_try='test -s conftest.$ac_objext'
8018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8022 (exit $ac_status); }; }; then
8023 ac_cv_prog_cxx_g=yes
8025 echo "$as_me: failed program was:" >&5
8026 sed 's/^/| /' conftest.$ac_ext >&5
8030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8032 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
8033 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
8034 if test "$ac_test_CXXFLAGS" = set; then
8035 CXXFLAGS=$ac_save_CXXFLAGS
8036 elif test $ac_cv_prog_cxx_g = yes; then
8037 if test "$GXX" = yes; then
8043 if test "$GXX" = yes; then
8049 for ac_declaration in \
8051 'extern "C" void std::exit (int) throw (); using std::exit;' \
8052 'extern "C" void std::exit (int); using std::exit;' \
8053 'extern "C" void exit (int) throw ();' \
8054 'extern "C" void exit (int);' \
8057 cat >conftest.$ac_ext <<_ACEOF
8060 cat confdefs.h >>conftest.$ac_ext
8061 cat >>conftest.$ac_ext <<_ACEOF
8062 /* end confdefs.h. */
8073 rm -f conftest.$ac_objext
8074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8075 (eval $ac_compile) 2>conftest.er1
8077 grep -v '^ *+' conftest.er1 >conftest.err
8079 cat conftest.err >&5
8080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8081 (exit $ac_status); } &&
8082 { ac_try='test -z "$ac_cxx_werror_flag"
8083 || test ! -s conftest.err'
8084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8088 (exit $ac_status); }; } &&
8089 { ac_try='test -s conftest.$ac_objext'
8090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8094 (exit $ac_status); }; }; then
8097 echo "$as_me: failed program was:" >&5
8098 sed 's/^/| /' conftest.$ac_ext >&5
8102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8103 cat >conftest.$ac_ext <<_ACEOF
8106 cat confdefs.h >>conftest.$ac_ext
8107 cat >>conftest.$ac_ext <<_ACEOF
8108 /* end confdefs.h. */
8118 rm -f conftest.$ac_objext
8119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8120 (eval $ac_compile) 2>conftest.er1
8122 grep -v '^ *+' conftest.er1 >conftest.err
8124 cat conftest.err >&5
8125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8126 (exit $ac_status); } &&
8127 { ac_try='test -z "$ac_cxx_werror_flag"
8128 || test ! -s conftest.err'
8129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133 (exit $ac_status); }; } &&
8134 { ac_try='test -s conftest.$ac_objext'
8135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8139 (exit $ac_status); }; }; then
8142 echo "$as_me: failed program was:" >&5
8143 sed 's/^/| /' conftest.$ac_ext >&5
8146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8149 if test -n "$ac_declaration"; then
8150 echo '#ifdef __cplusplus' >>confdefs.h
8151 echo $ac_declaration >>confdefs.h
8152 echo '#endif' >>confdefs.h
8156 ac_cpp='$CPP $CPPFLAGS'
8157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8161 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8162 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
8163 (test "X$CXX" != "Xg++"))) ; then
8165 ac_cpp='$CXXCPP $CPPFLAGS'
8166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8169 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
8170 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
8171 if test -z "$CXXCPP"; then
8172 if test "${ac_cv_prog_CXXCPP+set}" = set; then
8173 echo $ECHO_N "(cached) $ECHO_C" >&6
8175 # Double quotes because CXXCPP needs to be expanded
8176 for CXXCPP in "$CXX -E" "/lib/cpp"
8179 for ac_cxx_preproc_warn_flag in '' yes
8181 # Use a header file that comes with gcc, so configuring glibc
8182 # with a fresh cross-compiler works.
8183 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8184 # <limits.h> exists even on freestanding compilers.
8185 # On the NeXT, cc -E runs the code through the compiler's parser,
8186 # not just through cpp. "Syntax error" is here to catch this case.
8187 cat >conftest.$ac_ext <<_ACEOF
8190 cat confdefs.h >>conftest.$ac_ext
8191 cat >>conftest.$ac_ext <<_ACEOF
8192 /* end confdefs.h. */
8194 # include <limits.h>
8196 # include <assert.h>
8200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8201 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8203 grep -v '^ *+' conftest.er1 >conftest.err
8205 cat conftest.err >&5
8206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8207 (exit $ac_status); } >/dev/null; then
8208 if test -s conftest.err; then
8209 ac_cpp_err=$ac_cxx_preproc_warn_flag
8210 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8217 if test -z "$ac_cpp_err"; then
8220 echo "$as_me: failed program was:" >&5
8221 sed 's/^/| /' conftest.$ac_ext >&5
8223 # Broken: fails on valid input.
8226 rm -f conftest.err conftest.$ac_ext
8228 # OK, works on sane cases. Now check whether non-existent headers
8229 # can be detected and how.
8230 cat >conftest.$ac_ext <<_ACEOF
8233 cat confdefs.h >>conftest.$ac_ext
8234 cat >>conftest.$ac_ext <<_ACEOF
8235 /* end confdefs.h. */
8236 #include <ac_nonexistent.h>
8238 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8239 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8241 grep -v '^ *+' conftest.er1 >conftest.err
8243 cat conftest.err >&5
8244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8245 (exit $ac_status); } >/dev/null; then
8246 if test -s conftest.err; then
8247 ac_cpp_err=$ac_cxx_preproc_warn_flag
8248 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8255 if test -z "$ac_cpp_err"; then
8256 # Broken: success on invalid input.
8259 echo "$as_me: failed program was:" >&5
8260 sed 's/^/| /' conftest.$ac_ext >&5
8262 # Passes both tests.
8266 rm -f conftest.err conftest.$ac_ext
8269 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8270 rm -f conftest.err conftest.
$ac_ext
8271 if $ac_preproc_ok; then
8276 ac_cv_prog_CXXCPP
=$CXXCPP
8279 CXXCPP
=$ac_cv_prog_CXXCPP
8281 ac_cv_prog_CXXCPP
=$CXXCPP
8283 echo "$as_me:$LINENO: result: $CXXCPP" >&5
8284 echo "${ECHO_T}$CXXCPP" >&6
8286 for ac_cxx_preproc_warn_flag
in '' yes
8288 # Use a header file that comes with gcc, so configuring glibc
8289 # with a fresh cross-compiler works.
8290 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8291 # <limits.h> exists even on freestanding compilers.
8292 # On the NeXT, cc -E runs the code through the compiler's parser,
8293 # not just through cpp. "Syntax error" is here to catch this case.
8294 cat >conftest.
$ac_ext <<_ACEOF
8297 cat confdefs.h
>>conftest.
$ac_ext
8298 cat >>conftest.
$ac_ext <<_ACEOF
8299 /* end confdefs.h. */
8301 # include <limits.h>
8303 # include <assert.h>
8307 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8308 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8310 grep -v '^ *+' conftest.er1
>conftest.err
8312 cat conftest.err
>&5
8313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8314 (exit $ac_status); } >/dev
/null
; then
8315 if test -s conftest.err
; then
8316 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8317 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8324 if test -z "$ac_cpp_err"; then
8327 echo "$as_me: failed program was:" >&5
8328 sed 's/^/| /' conftest.
$ac_ext >&5
8330 # Broken: fails on valid input.
8333 rm -f conftest.err conftest.
$ac_ext
8335 # OK, works on sane cases. Now check whether non-existent headers
8336 # can be detected and how.
8337 cat >conftest.
$ac_ext <<_ACEOF
8340 cat confdefs.h
>>conftest.
$ac_ext
8341 cat >>conftest.
$ac_ext <<_ACEOF
8342 /* end confdefs.h. */
8343 #include <ac_nonexistent.h>
8345 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8346 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8348 grep -v '^ *+' conftest.er1
>conftest.err
8350 cat conftest.err
>&5
8351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8352 (exit $ac_status); } >/dev
/null
; then
8353 if test -s conftest.err
; then
8354 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8355 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8362 if test -z "$ac_cpp_err"; then
8363 # Broken: success on invalid input.
8366 echo "$as_me: failed program was:" >&5
8367 sed 's/^/| /' conftest.
$ac_ext >&5
8369 # Passes both tests.
8373 rm -f conftest.err conftest.
$ac_ext
8376 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8377 rm -f conftest.err conftest.
$ac_ext
8378 if $ac_preproc_ok; then
8381 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8382 echo "$as_me: error: in \`$ac_pwd':" >&2;}
8383 _lt_caught_CXX_error
=yes; }
8387 ac_cpp
='$CPP $CPPFLAGS'
8388 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8389 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8390 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8393 _lt_caught_CXX_error
=yes
8400 # This can be used to rebuild libtool when needed
8401 LIBTOOL_DEPS
="$ltmain"
8403 # Always use our own libtool.
8404 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8430 test -z "$LN_S" && LN_S
="ln -s"
8445 if test -n "${ZSH_VERSION+set}" ; then
8446 setopt NO_GLOB_SUBST
8449 echo "$as_me:$LINENO: checking for objdir" >&5
8450 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
8451 if test "${lt_cv_objdir+set}" = set; then
8452 echo $ECHO_N "(cached) $ECHO_C" >&6
8454 rm -f .libs
2>/dev
/null
8455 mkdir .libs
2>/dev
/null
8456 if test -d .libs
; then
8459 # MS-DOS does not allow filenames that begin with a dot.
8462 rmdir .libs
2>/dev
/null
8464 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8465 echo "${ECHO_T}$lt_cv_objdir" >&6
8466 objdir
=$lt_cv_objdir
8472 cat >>confdefs.h
<<_ACEOF
8473 #define LT_OBJDIR "$lt_cv_objdir/"
8494 # AIX sometimes has problems with the GCC collect2 program. For some
8495 # reason, if we set the COLLECT_NAMES environment variable, the problems
8496 # vanish in a puff of smoke.
8497 if test "X${COLLECT_NAMES+set}" != Xset
; then
8499 export COLLECT_NAMES
8504 # Sed substitution that helps us do robust quoting. It backslashifies
8505 # metacharacters that are still active within double-quoted strings.
8506 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
8508 # Same as above, but do not quote variable references.
8509 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
8511 # Sed substitution to delay expansion of an escaped shell variable in a
8512 # double_quote_subst'ed string.
8513 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8515 # Sed substitution to delay expansion of an escaped single quote.
8516 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
8518 # Sed substitution to avoid accidental globbing in evaled expressions
8519 no_glob_subst
='s/\*/\\\*/g'
8523 can_build_shared
=yes
8525 # All known linkers require a `.a' archive for static linking (except MSVC,
8526 # which needs '.lib').
8529 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8532 old_CFLAGS
="$CFLAGS"
8534 # Set sane defaults for various variables
8535 test -z "$CC" && CC
=cc
8536 test -z "$LTCC" && LTCC
=$CC
8537 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8538 test -z "$LD" && LD
=ld
8539 test -z "$ac_objext" && ac_objext
=o
8541 for cc_temp
in $compiler""; do
8543 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8544 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8549 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8552 # Only perform the check for file, if the check method requires it
8553 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8554 case $deplibs_check_method in
8556 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8557 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8558 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
8559 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8560 echo $ECHO_N "(cached) $ECHO_C" >&6
8564 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8567 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8568 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8569 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8570 for ac_dir
in $ac_dummy; do
8572 test -z "$ac_dir" && ac_dir
=.
8573 if test -f $ac_dir/${ac_tool_prefix}file; then
8574 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8575 if test -n "$file_magic_test_file"; then
8576 case $deplibs_check_method in
8578 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8579 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8580 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8581 $EGREP "$file_magic_regex" > /dev
/null
; then
8586 *** Warning: the command libtool uses to detect shared libraries,
8587 *** $file_magic_cmd, produces output that libtool cannot recognize.
8588 *** The result is that libtool may fail to recognize shared libraries
8589 *** as such. This will affect the creation of libtool libraries that
8590 *** depend on shared libraries, but programs linked with such libtool
8591 *** libraries will work regardless of this problem. Nevertheless, you
8592 *** may want to report the problem to your system manager and/or to
8593 *** bug-libtool@gnu.org
8603 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8608 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8609 if test -n "$MAGIC_CMD"; then
8610 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8611 echo "${ECHO_T}$MAGIC_CMD" >&6
8613 echo "$as_me:$LINENO: result: no" >&5
8614 echo "${ECHO_T}no" >&6
8621 if test -z "$lt_cv_path_MAGIC_CMD"; then
8622 if test -n "$ac_tool_prefix"; then
8623 echo "$as_me:$LINENO: checking for file" >&5
8624 echo $ECHO_N "checking for file... $ECHO_C" >&6
8625 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8626 echo $ECHO_N "(cached) $ECHO_C" >&6
8630 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8633 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8634 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8635 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8636 for ac_dir
in $ac_dummy; do
8638 test -z "$ac_dir" && ac_dir
=.
8639 if test -f $ac_dir/file; then
8640 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8641 if test -n "$file_magic_test_file"; then
8642 case $deplibs_check_method in
8644 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8645 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8646 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8647 $EGREP "$file_magic_regex" > /dev
/null
; then
8652 *** Warning: the command libtool uses to detect shared libraries,
8653 *** $file_magic_cmd, produces output that libtool cannot recognize.
8654 *** The result is that libtool may fail to recognize shared libraries
8655 *** as such. This will affect the creation of libtool libraries that
8656 *** depend on shared libraries, but programs linked with such libtool
8657 *** libraries will work regardless of this problem. Nevertheless, you
8658 *** may want to report the problem to your system manager and/or to
8659 *** bug-libtool@gnu.org
8669 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8674 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8675 if test -n "$MAGIC_CMD"; then
8676 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8677 echo "${ECHO_T}$MAGIC_CMD" >&6
8679 echo "$as_me:$LINENO: result: no" >&5
8680 echo "${ECHO_T}no" >&6
8693 # Use C for the default configuration in the libtool script
8697 ac_cpp
='$CPP $CPPFLAGS'
8698 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8699 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8700 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8703 # Source file extension for C test sources.
8706 # Object file extension for compiled C test sources.
8710 # Code to be used in simple compile tests
8711 lt_simple_compile_test_code
="int some_variable = 0;"
8713 # Code to be used in simple link tests
8714 lt_simple_link_test_code
='int main(){return(0);}'
8722 # If no C compiler was specified, use CC.
8725 # If no C compiler flags were specified, use CFLAGS.
8726 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8728 # Allow CC to be a program name with arguments.
8731 # Save the default compiler, since it gets overwritten when the other
8732 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8733 compiler_DEFAULT
=$CC
8735 # save warnings/boilerplate of simple test code
8736 ac_outfile
=conftest.
$ac_objext
8737 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8738 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8739 _lt_compiler_boilerplate
=`cat conftest.err`
8742 ac_outfile
=conftest.
$ac_objext
8743 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8744 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8745 _lt_linker_boilerplate
=`cat conftest.err`
8750 ## There is no encapsulation within the following macros, do not change
8751 ## the running order or otherwise move them around unless you know exactly
8752 ## what you are doing...
8753 if test -n "$compiler"; then
8755 lt_prog_compiler_no_builtin_flag
=
8757 if test "$GCC" = yes; then
8758 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8760 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8761 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
8762 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8763 echo $ECHO_N "(cached) $ECHO_C" >&6
8765 lt_cv_prog_compiler_rtti_exceptions
=no
8766 ac_outfile
=conftest.
$ac_objext
8767 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8768 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8769 # Insert the option either (1) after the last *FLAGS variable, or
8770 # (2) before a word containing "conftest.", or (3) at the end.
8771 # Note that $ac_compile itself does not contain backslashes and begins
8772 # with a dollar sign (not a hyphen), so the echo should work correctly.
8773 # The option is referenced via a variable to avoid confusing sed.
8774 lt_compile
=`echo "$ac_compile" | $SED \
8775 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8776 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8777 -e 's:$: $lt_compiler_flag:'`
8778 (eval echo "\"\$as_me:8778: $lt_compile\"" >&5)
8779 (eval "$lt_compile" 2>conftest.err
)
8781 cat conftest.err
>&5
8782 echo "$as_me:8782: \$? = $ac_status" >&5
8783 if (exit $ac_status) && test -s "$ac_outfile"; then
8784 # The compiler can only warn and ignore the option if not recognized
8785 # So say no if there are warnings other than the usual output.
8786 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8787 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8788 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8789 lt_cv_prog_compiler_rtti_exceptions
=yes
8795 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8796 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
8798 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8799 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8811 lt_prog_compiler_wl
=
8812 lt_prog_compiler_pic
=
8813 lt_prog_compiler_static
=
8815 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8816 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
8818 if test "$GCC" = yes; then
8819 lt_prog_compiler_wl
='-Wl,'
8820 lt_prog_compiler_static
='-static'
8824 # All AIX code is PIC.
8825 if test "$host_cpu" = ia64
; then
8826 # AIX 5 now supports IA64 processor
8827 lt_prog_compiler_static
='-Bstatic'
8832 if test "$host_cpu" = m68k
; then
8833 # FIXME: we need at least 68020 code to build shared libraries, but
8834 # adding the `-m68020' flag to GCC prevents building anything better,
8836 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8840 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8841 # PIC is the default for these OSes.
8844 mingw
* | cygwin
* | pw32
* | os2
*)
8845 # This hack is so that the source file can tell whether it is being
8846 # built for inclusion in a dll (and should export symbols for example).
8847 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8848 # (--disable-auto-import) libraries
8849 lt_prog_compiler_pic
='-DDLL_EXPORT'
8852 darwin
* | rhapsody
*)
8853 # PIC is the default on this platform
8854 # Common symbols not allowed in MH_DYLIB files
8855 lt_prog_compiler_pic
='-fno-common'
8859 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8866 lt_prog_compiler_pic
='-fPIC'
8872 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8873 # Instead, we relocate shared libraries at runtime.
8877 # Just because we use GCC doesn't mean we suddenly get shared libraries
8878 # on systems that don't support them.
8879 lt_prog_compiler_can_build_shared
=no
8884 # QNX uses GNU C++, but need to define -shared option too, otherwise
8886 lt_prog_compiler_pic
='-fPIC -shared'
8890 if test -d /usr
/nec
; then
8891 lt_prog_compiler_pic
=-Kconform_pic
8896 lt_prog_compiler_pic
='-fPIC'
8900 # PORTME Check for flag to pass linker flags through the system compiler.
8903 lt_prog_compiler_wl
='-Wl,'
8904 if test "$host_cpu" = ia64
; then
8905 # AIX 5 now supports IA64 processor
8906 lt_prog_compiler_static
='-Bstatic'
8908 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8912 # PIC is the default on this platform
8913 # Common symbols not allowed in MH_DYLIB files
8914 case $cc_basename in
8916 lt_prog_compiler_pic
='-qnocommon'
8917 lt_prog_compiler_wl
='-Wl,'
8922 mingw
* | cygwin
* | pw32
* | os2
*)
8923 # This hack is so that the source file can tell whether it is being
8924 # built for inclusion in a dll (and should export symbols for example).
8925 lt_prog_compiler_pic
='-DDLL_EXPORT'
8928 hpux9
* | hpux10
* | hpux11
*)
8929 lt_prog_compiler_wl
='-Wl,'
8930 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8937 lt_prog_compiler_pic
='+Z'
8940 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8941 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8944 irix5
* | irix6
* | nonstopux
*)
8945 lt_prog_compiler_wl
='-Wl,'
8946 # PIC (with -KPIC) is the default.
8947 lt_prog_compiler_static
='-non_shared'
8950 linux
* | k
*bsd
*-gnu)
8951 case $cc_basename in
8953 lt_prog_compiler_wl
='-Wl,'
8954 lt_prog_compiler_pic
='-KPIC'
8955 lt_prog_compiler_static
='-static'
8957 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8958 # Portland Group compilers (*not* the Pentium gcc compiler,
8959 # which looks to be a dead project)
8960 lt_prog_compiler_wl
='-Wl,'
8961 lt_prog_compiler_pic
='-fpic'
8962 lt_prog_compiler_static
='-Bstatic'
8965 lt_prog_compiler_wl
='-Wl,'
8966 # All Alpha code is PIC.
8967 lt_prog_compiler_static
='-non_shared'
8970 case `$CC -V 2>&1 | sed 5q` in
8973 lt_prog_compiler_pic
='-KPIC'
8974 lt_prog_compiler_static
='-Bstatic'
8975 lt_prog_compiler_wl
='-Wl,'
8978 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8979 lt_prog_compiler_pic
='-KPIC'
8980 lt_prog_compiler_static
='-Bstatic'
8981 lt_prog_compiler_wl
=''
8989 lt_prog_compiler_pic
='-KPIC'
8990 lt_prog_compiler_static
='-Bstatic'
8994 # QNX uses GNU C++, but need to define -shared option too, otherwise
8996 lt_prog_compiler_pic
='-fPIC -shared'
8999 osf3
* | osf4
* | osf5
*)
9000 lt_prog_compiler_wl
='-Wl,'
9001 # All OSF/1 code is PIC.
9002 lt_prog_compiler_static
='-non_shared'
9006 lt_prog_compiler_static
='-non_shared'
9010 lt_prog_compiler_pic
='-KPIC'
9011 lt_prog_compiler_static
='-Bstatic'
9012 case $cc_basename in
9014 lt_prog_compiler_wl
='-Qoption ld ';;
9016 lt_prog_compiler_wl
='-Wl,';;
9021 lt_prog_compiler_wl
='-Qoption ld '
9022 lt_prog_compiler_pic
='-PIC'
9023 lt_prog_compiler_static
='-Bstatic'
9026 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9027 lt_prog_compiler_wl
='-Wl,'
9028 lt_prog_compiler_pic
='-KPIC'
9029 lt_prog_compiler_static
='-Bstatic'
9033 if test -d /usr
/nec
;then
9034 lt_prog_compiler_pic
='-Kconform_pic'
9035 lt_prog_compiler_static
='-Bstatic'
9039 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9040 lt_prog_compiler_wl
='-Wl,'
9041 lt_prog_compiler_pic
='-KPIC'
9042 lt_prog_compiler_static
='-Bstatic'
9046 lt_prog_compiler_wl
='-Wl,'
9047 lt_prog_compiler_can_build_shared
=no
9051 lt_prog_compiler_pic
='-pic'
9052 lt_prog_compiler_static
='-Bstatic'
9056 lt_prog_compiler_can_build_shared
=no
9062 # For platforms which do not support PIC, -DPIC is meaningless:
9064 lt_prog_compiler_pic
=
9067 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9070 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9071 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
9079 # Check to make sure the PIC flag actually works.
9081 if test -n "$lt_prog_compiler_pic"; then
9082 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9083 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
9084 if test "${lt_prog_compiler_pic_works+set}" = set; then
9085 echo $ECHO_N "(cached) $ECHO_C" >&6
9087 lt_prog_compiler_pic_works
=no
9088 ac_outfile
=conftest.
$ac_objext
9089 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9090 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9091 # Insert the option either (1) after the last *FLAGS variable, or
9092 # (2) before a word containing "conftest.", or (3) at the end.
9093 # Note that $ac_compile itself does not contain backslashes and begins
9094 # with a dollar sign (not a hyphen), so the echo should work correctly.
9095 # The option is referenced via a variable to avoid confusing sed.
9096 lt_compile
=`echo "$ac_compile" | $SED \
9097 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9098 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9099 -e 's:$: $lt_compiler_flag:'`
9100 (eval echo "\"\$as_me:9100: $lt_compile\"" >&5)
9101 (eval "$lt_compile" 2>conftest.err
)
9103 cat conftest.err
>&5
9104 echo "$as_me:9104: \$? = $ac_status" >&5
9105 if (exit $ac_status) && test -s "$ac_outfile"; then
9106 # The compiler can only warn and ignore the option if not recognized
9107 # So say no if there are warnings other than the usual output.
9108 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
9109 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9110 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9111 lt_prog_compiler_pic_works
=yes
9117 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
9118 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
9120 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
9121 case $lt_prog_compiler_pic in
9123 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9126 lt_prog_compiler_pic
=
9127 lt_prog_compiler_can_build_shared
=no
9138 # Check to make sure the static flag actually works.
9140 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9141 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9142 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
9143 if test "${lt_prog_compiler_static_works+set}" = set; then
9144 echo $ECHO_N "(cached) $ECHO_C" >&6
9146 lt_prog_compiler_static_works
=no
9147 save_LDFLAGS
="$LDFLAGS"
9148 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9149 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9150 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9151 # The linker can only warn and ignore the option if not recognized
9152 # So say no if there are warnings
9153 if test -s conftest.err
; then
9154 # Append any errors to the config.log.
9155 cat conftest.err
1>&5
9156 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
9157 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9158 if diff conftest.exp conftest.er2
>/dev
/null
; then
9159 lt_prog_compiler_static_works
=yes
9162 lt_prog_compiler_static_works
=yes
9166 LDFLAGS
="$save_LDFLAGS"
9169 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
9170 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
9172 if test x
"$lt_prog_compiler_static_works" = xyes
; then
9175 lt_prog_compiler_static
=
9184 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9185 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
9186 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9187 echo $ECHO_N "(cached) $ECHO_C" >&6
9189 lt_cv_prog_compiler_c_o
=no
9190 $RM -r conftest
2>/dev
/null
9194 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9196 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9197 # Insert the option either (1) after the last *FLAGS variable, or
9198 # (2) before a word containing "conftest.", or (3) at the end.
9199 # Note that $ac_compile itself does not contain backslashes and begins
9200 # with a dollar sign (not a hyphen), so the echo should work correctly.
9201 lt_compile
=`echo "$ac_compile" | $SED \
9202 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9203 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9204 -e 's:$: $lt_compiler_flag:'`
9205 (eval echo "\"\$as_me:9205: $lt_compile\"" >&5)
9206 (eval "$lt_compile" 2>out
/conftest.err
)
9208 cat out
/conftest.err
>&5
9209 echo "$as_me:9209: \$? = $ac_status" >&5
9210 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9212 # The compiler can only warn and ignore the option if not recognized
9213 # So say no if there are warnings
9214 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9215 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9216 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9217 lt_cv_prog_compiler_c_o
=yes
9222 # SGI C++ compiler will create directory out/ii_files/ for
9223 # template instantiation
9224 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9225 $RM out
/* && rmdir out
9231 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9232 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
9239 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9240 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
9241 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9242 echo $ECHO_N "(cached) $ECHO_C" >&6
9244 lt_cv_prog_compiler_c_o
=no
9245 $RM -r conftest
2>/dev
/null
9249 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9251 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9252 # Insert the option either (1) after the last *FLAGS variable, or
9253 # (2) before a word containing "conftest.", or (3) at the end.
9254 # Note that $ac_compile itself does not contain backslashes and begins
9255 # with a dollar sign (not a hyphen), so the echo should work correctly.
9256 lt_compile
=`echo "$ac_compile" | $SED \
9257 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9258 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9259 -e 's:$: $lt_compiler_flag:'`
9260 (eval echo "\"\$as_me:9260: $lt_compile\"" >&5)
9261 (eval "$lt_compile" 2>out
/conftest.err
)
9263 cat out
/conftest.err
>&5
9264 echo "$as_me:9264: \$? = $ac_status" >&5
9265 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9267 # The compiler can only warn and ignore the option if not recognized
9268 # So say no if there are warnings
9269 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9270 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9271 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9272 lt_cv_prog_compiler_c_o
=yes
9277 # SGI C++ compiler will create directory out/ii_files/ for
9278 # template instantiation
9279 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9280 $RM out
/* && rmdir out
9286 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9287 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
9292 hard_links
="nottested"
9293 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9294 # do not overwrite the value of need_locks provided by the user
9295 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9296 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
9299 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9301 ln conftest.a conftest.b
2>&5 || hard_links
=no
9302 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9303 echo "$as_me:$LINENO: result: $hard_links" >&5
9304 echo "${ECHO_T}$hard_links" >&6
9305 if test "$hard_links" = no
; then
9306 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9307 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9319 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9320 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9323 allow_undefined_flag
=
9324 always_export_symbols
=no
9326 archive_expsym_cmds
=
9327 compiler_needs_object
=no
9328 enable_shared_with_static_runtimes
=no
9329 export_dynamic_flag_spec
=
9330 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9331 hardcode_automatic
=no
9333 hardcode_direct_absolute
=no
9334 hardcode_libdir_flag_spec
=
9335 hardcode_libdir_flag_spec_ld
=
9336 hardcode_libdir_separator
=
9338 hardcode_shlibpath_var
=unsupported
9340 link_all_deplibs
=unknown
9343 old_archive_from_new_cmds
=
9344 old_archive_from_expsyms_cmds
=
9345 thread_safe_flag_spec
=
9346 whole_archive_flag_spec
=
9347 # include_expsyms should be a list of space-separated symbols to be *always*
9348 # included in the symbol list
9350 # exclude_expsyms can be an extended regexp of symbols to exclude
9351 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9352 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9353 # as well as any symbol that contains `d'.
9354 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
9355 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9356 # platforms (ab)use it in PIC code, but their linkers get confused if
9357 # the symbol is explicitly referenced. Since portable code cannot
9358 # rely on this symbol name, it's probably fine to never include it in
9359 # preloaded symbol tables.
9360 extract_expsyms_cmds
=
9363 cygwin
* | mingw
* | pw32
*)
9364 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9365 # When not using gcc, we currently assume that we are using
9366 # Microsoft Visual C++.
9367 if test "$GCC" != yes; then
9372 # we just hope/assume this is gcc and not c89 (= MSVC++)
9381 if test "$with_gnu_ld" = yes; then
9382 # If archive_cmds runs LD, not CC, wlarc should be empty
9385 # Set some defaults for GNU ld with shared library support. These
9386 # are reset later if shared libraries are not supported. Putting them
9387 # here allows them to be overridden if necessary.
9388 runpath_var
=LD_RUN_PATH
9389 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9390 export_dynamic_flag_spec
='${wl}--export-dynamic'
9391 # ancient GNU ld didn't support --whole-archive et. al.
9392 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9393 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9395 whole_archive_flag_spec
=
9397 supports_anon_versioning
=no
9398 case `$LD -v 2>&1` in
9399 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9400 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9401 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9402 *\
2.11.
*) ;; # other 2.11 versions
9403 *) supports_anon_versioning
=yes ;;
9406 # See if GNU ld supports shared libraries.
9409 # On AIX/PPC, the GNU linker is very broken
9410 if test "$host_cpu" != ia64
; then
9414 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9415 *** to be unable to reliably create shared libraries on AIX.
9416 *** Therefore, libtool is disabling shared libraries support. If you
9417 *** really care for shared libraries, you may want to modify your PATH
9418 *** so that a non-GNU linker is found, and then restart.
9425 if test "$host_cpu" = m68k
; then
9426 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)'
9427 hardcode_libdir_flag_spec
='-L$libdir'
9428 hardcode_minus_L
=yes
9431 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9432 # that the semantics of dynamic libraries on AmigaOS, at least up
9433 # to version 4, is to share data among multiple programs linked
9434 # with the same dynamic library. Since this doesn't match the
9435 # behavior of shared libraries on other platforms, we can't use
9441 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9442 allow_undefined_flag
=unsupported
9443 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9444 # support --undefined. This deserves some investigation. FIXME
9445 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9451 cygwin
* | mingw
* | pw32
*)
9452 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9453 # as there is no search path for DLLs.
9454 hardcode_libdir_flag_spec
='-L$libdir'
9455 allow_undefined_flag
=unsupported
9456 always_export_symbols
=no
9457 enable_shared_with_static_runtimes
=yes
9458 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9460 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9461 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9462 # If the export-symbols file already is a .def file (1st line
9463 # is EXPORTS), use it as is; otherwise, prepend...
9464 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9465 cp $export_symbols $output_objdir/$soname.def;
9467 echo EXPORTS > $output_objdir/$soname.def;
9468 cat $export_symbols >> $output_objdir/$soname.def;
9470 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9478 hardcode_shlibpath_var
=no
9479 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9480 export_dynamic_flag_spec
='${wl}-E'
9481 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9482 # Instead, shared libraries are loaded at an image base (0x10000000 by
9483 # default) and relocated if they conflict, which is a slow very memory
9484 # consuming and fragmenting process. To avoid this, we pick a random,
9485 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9486 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9487 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9488 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'
9491 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
9493 if test "$host_os" = linux-dietlibc
; then
9494 case $cc_basename in
9495 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9498 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9499 && test "$tmp_diet" = no
9502 case $cc_basename,$host_cpu in
9503 pgcc
*) # Portland Group C compiler
9504 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'
9505 tmp_addflag
=' $pic_flag'
9507 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9508 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'
9509 tmp_addflag
=' $pic_flag -Mnomain' ;;
9510 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9511 tmp_addflag
=' -i_dynamic' ;;
9512 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9513 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9514 ifc
* | ifort
*) # Intel Fortran compiler
9515 tmp_addflag
=' -nofor_main' ;;
9517 case `$CC -V 2>&1 | sed 5q` in
9518 *Sun\ C
*) # Sun C 5.9
9519 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'
9520 compiler_needs_object
=yes
9521 tmp_sharedflag
='-G' ;;
9522 *Sun\ F
*) # Sun Fortran 8.3
9523 tmp_sharedflag
='-G' ;;
9525 tmp_sharedflag
='-shared' ;;
9527 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9529 if test "x$supports_anon_versioning" = xyes
; then
9530 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9531 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9532 echo "local: *; };" >> $output_objdir/$libname.ver~
9533 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9541 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9542 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9545 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9546 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9551 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9555 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9556 *** create shared libraries on Solaris systems. Therefore, libtool
9557 *** is disabling shared libraries support. We urge you to upgrade GNU
9558 *** binutils to release 2.9.1 or newer. Another option is to modify
9559 *** your PATH or compiler configuration so that the native linker is
9560 *** used, and then restart.
9563 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9564 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9565 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9571 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9572 case `$LD -v 2>&1` in
9573 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9577 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9578 *** reliably create shared libraries on SCO systems. Therefore, libtool
9579 *** is disabling shared libraries support. We urge you to upgrade GNU
9580 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9581 *** your PATH or compiler configuration so that the native linker is
9582 *** used, and then restart.
9587 # For security reasons, it is highly recommended that you always
9588 # use absolute paths for naming shared libraries, and exclude the
9589 # DT_RUNPATH tag from executables and libraries. But doing so
9590 # requires that you compile everything twice, which is a pain.
9591 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9592 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9593 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9594 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9603 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9606 hardcode_shlibpath_var
=no
9610 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9611 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9612 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9619 if test "$ld_shlibs" = no
; then
9621 hardcode_libdir_flag_spec
=
9622 export_dynamic_flag_spec
=
9623 whole_archive_flag_spec
=
9626 # PORTME fill in a description of your system's linker (not GNU ld)
9629 allow_undefined_flag
=unsupported
9630 always_export_symbols
=yes
9631 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'
9632 # Note: this linker hardcodes the directories in LIBPATH if there
9633 # are no directories specified by -L.
9634 hardcode_minus_L
=yes
9635 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9636 # Neither direct hardcoding nor static linking is supported with a
9638 hardcode_direct
=unsupported
9643 if test "$host_cpu" = ia64
; then
9644 # On IA64, the linker does run time linking by default, so we don't
9645 # have to do anything special.
9646 aix_use_runtimelinking
=no
9647 exp_sym_flag
='-Bexport'
9650 # If we're using GNU nm, then we don't want the "-C" option.
9651 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9652 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9653 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'
9655 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'
9657 aix_use_runtimelinking
=no
9659 # Test if we are trying to use run time linking or normal
9660 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9661 # need to do runtime linking.
9662 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9663 for ld_flag
in $LDFLAGS; do
9664 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9665 aix_use_runtimelinking
=yes
9672 exp_sym_flag
='-bexport'
9673 no_entry_flag
='-bnoentry'
9676 # When large executables or shared objects are built, AIX ld can
9677 # have problems creating the table of contents. If linking a library
9678 # or program results in "error TOC overflow" add -mminimal-toc to
9679 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9680 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9684 hardcode_direct_absolute
=yes
9685 hardcode_libdir_separator
=':'
9686 link_all_deplibs
=yes
9687 file_list_spec
='${wl}-f,'
9689 if test "$GCC" = yes; then
9690 case $host_os in aix4.
[012]|aix4.
[012].
*)
9691 # We only want to do this on AIX 4.2 and lower, the check
9692 # below for broken collect2 doesn't work under 4.3+
9693 collect2name
=`${CC} -print-prog-name=collect2`
9694 if test -f "$collect2name" &&
9695 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9697 # We have reworked collect2
9700 # We have old collect2
9701 hardcode_direct
=unsupported
9702 # It fails to find uninstalled libraries when the uninstalled
9703 # path is not listed in the libpath. Setting hardcode_minus_L
9704 # to unsupported forces relinking
9705 hardcode_minus_L
=yes
9706 hardcode_libdir_flag_spec
='-L$libdir'
9707 hardcode_libdir_separator
=
9711 shared_flag
='-shared'
9712 if test "$aix_use_runtimelinking" = yes; then
9713 shared_flag
="$shared_flag "'${wl}-G'
9717 if test "$host_cpu" = ia64
; then
9718 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9719 # chokes on -Wl,-G. The following line is correct:
9722 if test "$aix_use_runtimelinking" = yes; then
9723 shared_flag
='${wl}-G'
9725 shared_flag
='${wl}-bM:SRE'
9730 # It seems that -bexpall does not export symbols beginning with
9731 # underscore (_), so it is better to generate a list of symbols to export.
9732 always_export_symbols
=yes
9733 if test "$aix_use_runtimelinking" = yes; then
9734 # Warning - without using the other runtime loading flags (-brtl),
9735 # -berok will link without error, but may produce a broken library.
9736 allow_undefined_flag
='-berok'
9737 # Determine the default libpath from the value encoded in an
9739 if test x
$gcc_no_link = xyes
; then
9740 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9742 { (exit 1); exit 1; }; }
9744 cat >conftest.
$ac_ext <<_ACEOF
9747 cat confdefs.h
>>conftest.
$ac_ext
9748 cat >>conftest.
$ac_ext <<_ACEOF
9749 /* end confdefs.h. */
9759 rm -f conftest.
$ac_objext conftest
$ac_exeext
9760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9761 (eval $ac_link) 2>conftest.er1
9763 grep -v '^ *+' conftest.er1
>conftest.err
9765 cat conftest.err
>&5
9766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9767 (exit $ac_status); } &&
9768 { ac_try
='test -z "$ac_c_werror_flag"
9769 || test ! -s conftest.err'
9770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9774 (exit $ac_status); }; } &&
9775 { ac_try
='test -s conftest$ac_exeext'
9776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9780 (exit $ac_status); }; }; then
9782 lt_aix_libpath_sed
='
9783 /Import File Strings/,/^$/ {
9789 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9790 # Check for a 64-bit object if we didn't find anything.
9791 if test -z "$aix_libpath"; then
9792 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9795 echo "$as_me: failed program was:" >&5
9796 sed 's/^/| /' conftest.
$ac_ext >&5
9799 rm -f conftest.err conftest.
$ac_objext \
9800 conftest
$ac_exeext conftest.
$ac_ext
9801 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9803 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9804 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"
9806 if test "$host_cpu" = ia64
; then
9807 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9808 allow_undefined_flag
="-z nodefs"
9809 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"
9811 # Determine the default libpath from the value encoded in an
9813 if test x
$gcc_no_link = xyes
; then
9814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9816 { (exit 1); exit 1; }; }
9818 cat >conftest.
$ac_ext <<_ACEOF
9821 cat confdefs.h
>>conftest.
$ac_ext
9822 cat >>conftest.
$ac_ext <<_ACEOF
9823 /* end confdefs.h. */
9833 rm -f conftest.
$ac_objext conftest
$ac_exeext
9834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9835 (eval $ac_link) 2>conftest.er1
9837 grep -v '^ *+' conftest.er1
>conftest.err
9839 cat conftest.err
>&5
9840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9841 (exit $ac_status); } &&
9842 { ac_try
='test -z "$ac_c_werror_flag"
9843 || test ! -s conftest.err'
9844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9848 (exit $ac_status); }; } &&
9849 { ac_try
='test -s conftest$ac_exeext'
9850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9854 (exit $ac_status); }; }; then
9856 lt_aix_libpath_sed
='
9857 /Import File Strings/,/^$/ {
9863 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9864 # Check for a 64-bit object if we didn't find anything.
9865 if test -z "$aix_libpath"; then
9866 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9869 echo "$as_me: failed program was:" >&5
9870 sed 's/^/| /' conftest.
$ac_ext >&5
9873 rm -f conftest.err conftest.
$ac_objext \
9874 conftest
$ac_exeext conftest.
$ac_ext
9875 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9877 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9878 # Warning - without using the other run time loading flags,
9879 # -berok will link without error, but may produce a broken library.
9880 no_undefined_flag
=' ${wl}-bernotok'
9881 allow_undefined_flag
=' ${wl}-berok'
9882 # Exported symbols can be pulled into shared objects from archives
9883 whole_archive_flag_spec
='$convenience'
9884 archive_cmds_need_lc
=yes
9885 # This is similar to how AIX traditionally builds its shared libraries.
9886 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'
9892 if test "$host_cpu" = m68k
; then
9893 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)'
9894 hardcode_libdir_flag_spec
='-L$libdir'
9895 hardcode_minus_L
=yes
9897 # see comment about different semantics on the GNU ld section
9902 export_dynamic_flag_spec
=-rdynamic
9905 cygwin
* | mingw
* | pw32
*)
9906 # When not using gcc, we currently assume that we are using
9907 # Microsoft Visual C++.
9908 # hardcode_libdir_flag_spec is actually meaningless, as there is
9909 # no search path for DLLs.
9910 hardcode_libdir_flag_spec
=' '
9911 allow_undefined_flag
=unsupported
9912 # Tell ltmain to make .lib files, not .a files.
9914 # Tell ltmain to make .dll files, not .so files.
9916 # FIXME: Setting linknames here is a bad hack.
9917 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9918 # The linker will automatically build a .lib file if we build a DLL.
9919 old_archive_from_new_cmds
='true'
9920 # FIXME: Should let the user specify the lib program.
9921 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9922 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9923 enable_shared_with_static_runtimes
=yes
9926 darwin
* | rhapsody
*)
9928 rhapsody
* | darwin1.
[012])
9929 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
9932 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
9934 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9937 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
9942 archive_cmds_need_lc
=no
9944 hardcode_automatic
=yes
9945 hardcode_shlibpath_var
=unsupported
9946 whole_archive_flag_spec
=''
9947 link_all_deplibs
=yes
9948 if test "$GCC" = yes ; then
9949 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
9950 echo $ECHO_N "(cached) $ECHO_C" >&6
9952 lt_cv_apple_cc_single_mod
=no
9953 if test -z "${LT_MULTI_MODULE}"; then
9954 # By default we will add the -single_module flag. You can override
9955 # by either setting the environment variable LT_MULTI_MODULE
9956 # non-empty at configure time, or by adding -multi-module to the
9958 echo "int foo(void){return 1;}" > conftest.c
9959 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9960 -dynamiclib ${wl}-single_module conftest.c
9961 if test -f libconftest.dylib
; then
9962 lt_cv_apple_cc_single_mod
=yes
9963 rm libconftest.dylib
9969 output_verbose_link_cmd
=echo
9970 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
9971 archive_cmds
='$CC -dynamiclib $single_module $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 $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}'
9974 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9975 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}'
9977 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9978 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}'
9980 case $cc_basename in
9982 output_verbose_link_cmd
=echo
9983 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
9984 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9985 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9986 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}'
9987 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}'
9997 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9998 hardcode_libdir_flag_spec
='-L$libdir'
9999 hardcode_shlibpath_var
=no
10006 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10007 # support. Future versions do this automatically, but an explicit c++rt0.o
10008 # does not break anything, and helps significantly (at the cost of a little
10011 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10012 hardcode_libdir_flag_spec
='-R$libdir'
10013 hardcode_direct
=yes
10014 hardcode_shlibpath_var
=no
10017 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10019 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10020 hardcode_direct
=yes
10021 hardcode_minus_L
=yes
10022 hardcode_shlibpath_var
=no
10025 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10026 freebsd
* | dragonfly
*)
10027 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10028 hardcode_libdir_flag_spec
='-R$libdir'
10029 hardcode_direct
=yes
10030 hardcode_shlibpath_var
=no
10034 if test "$GCC" = yes; then
10035 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'
10037 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'
10039 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10040 hardcode_libdir_separator
=:
10041 hardcode_direct
=yes
10043 # hardcode_minus_L: Not really in the search PATH,
10044 # but as the default location of the library.
10045 hardcode_minus_L
=yes
10046 export_dynamic_flag_spec
='${wl}-E'
10050 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
10051 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10053 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10055 if test "$with_gnu_ld" = no
; then
10056 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10057 hardcode_libdir_flag_spec_ld
='+b $libdir'
10058 hardcode_libdir_separator
=:
10059 hardcode_direct
=yes
10060 hardcode_direct_absolute
=yes
10061 export_dynamic_flag_spec
='${wl}-E'
10062 # hardcode_minus_L: Not really in the search PATH,
10063 # but as the default location of the library.
10064 hardcode_minus_L
=yes
10069 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
10072 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10075 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10078 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10084 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10087 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10090 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10094 if test "$with_gnu_ld" = no
; then
10095 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10096 hardcode_libdir_separator
=:
10101 hardcode_shlibpath_var
=no
10104 hardcode_direct
=yes
10105 hardcode_direct_absolute
=yes
10106 export_dynamic_flag_spec
='${wl}-E'
10108 # hardcode_minus_L: Not really in the search PATH,
10109 # but as the default location of the library.
10110 hardcode_minus_L
=yes
10116 irix5
* | irix6
* | nonstopux
*)
10117 if test "$GCC" = yes; then
10118 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'
10119 # Try to use the -exported_symbol ld option, if it does not
10120 # work, assume that -exports_file does not work either and
10121 # implicitly export all symbols.
10122 save_LDFLAGS
="$LDFLAGS"
10123 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10124 if test x
$gcc_no_link = xyes
; then
10125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10127 { (exit 1); exit 1; }; }
10129 cat >conftest.
$ac_ext <<_ACEOF
10132 rm -f conftest.
$ac_objext conftest
$ac_exeext
10133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10134 (eval $ac_link) 2>conftest.er1
10136 grep -v '^ *+' conftest.er1
>conftest.err
10138 cat conftest.err
>&5
10139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10140 (exit $ac_status); } &&
10141 { ac_try
='test -z "$ac_c_werror_flag"
10142 || test ! -s conftest.err'
10143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10144 (eval $ac_try) 2>&5
10146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10147 (exit $ac_status); }; } &&
10148 { ac_try
='test -s conftest$ac_exeext'
10149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10150 (eval $ac_try) 2>&5
10152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10153 (exit $ac_status); }; }; then
10154 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'
10157 echo "$as_me: failed program was:" >&5
10158 sed 's/^/| /' conftest.
$ac_ext >&5
10161 rm -f conftest.err conftest.
$ac_objext \
10162 conftest
$ac_exeext conftest.
$ac_ext
10163 LDFLAGS
="$save_LDFLAGS"
10165 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'
10166 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'
10168 archive_cmds_need_lc
='no'
10169 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10170 hardcode_libdir_separator
=:
10172 link_all_deplibs
=yes
10176 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10177 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10179 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10181 hardcode_libdir_flag_spec
='-R$libdir'
10182 hardcode_direct
=yes
10183 hardcode_shlibpath_var
=no
10187 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10188 hardcode_direct
=yes
10189 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10190 hardcode_libdir_separator
=:
10191 hardcode_shlibpath_var
=no
10198 hardcode_direct
=yes
10199 hardcode_shlibpath_var
=no
10200 hardcode_direct_absolute
=yes
10201 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10202 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10203 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10204 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10205 export_dynamic_flag_spec
='${wl}-E'
10208 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10209 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10210 hardcode_libdir_flag_spec
='-R$libdir'
10213 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10214 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10221 hardcode_libdir_flag_spec
='-L$libdir'
10222 hardcode_minus_L
=yes
10223 allow_undefined_flag
=unsupported
10224 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'
10225 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10229 if test "$GCC" = yes; then
10230 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10231 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'
10233 allow_undefined_flag
=' -expect_unresolved \*'
10234 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'
10236 archive_cmds_need_lc
='no'
10237 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10238 hardcode_libdir_separator
=:
10241 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10242 if test "$GCC" = yes; then
10243 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10244 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'
10245 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10247 allow_undefined_flag
=' -expect_unresolved \*'
10248 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'
10249 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~
10250 $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'
10252 # Both c and cxx compiler support -rpath directly
10253 hardcode_libdir_flag_spec
='-rpath $libdir'
10255 archive_cmds_need_lc
='no'
10256 hardcode_libdir_separator
=:
10260 no_undefined_flag
=' -z defs'
10261 if test "$GCC" = yes; then
10263 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10264 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10265 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10267 case `$CC -V 2>&1` in
10270 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10271 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10272 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10276 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10277 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10278 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10282 hardcode_libdir_flag_spec
='-R$libdir'
10283 hardcode_shlibpath_var
=no
10285 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10287 # The compiler driver will combine and reorder linker options,
10288 # but understands `-z linker_flag'. GCC discards it without `$wl',
10289 # but is careful enough not to reorder.
10290 # Supported since Solaris 2.6 (maybe 2.5.1?)
10291 if test "$GCC" = yes; then
10292 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10294 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10298 link_all_deplibs
=yes
10302 if test "x$host_vendor" = xsequent
; then
10303 # Use $CC to link under sequent, because it throws in some extra .o
10304 # files that make .init and .fini sections work.
10305 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10307 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10309 hardcode_libdir_flag_spec
='-L$libdir'
10310 hardcode_direct
=yes
10311 hardcode_minus_L
=yes
10312 hardcode_shlibpath_var
=no
10316 case $host_vendor in
10318 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10319 hardcode_direct
=yes # is this really true???
10322 ## LD is ld it makes a PLAMLIB
10323 ## CC just makes a GrossModule.
10324 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10325 reload_cmds
='$CC -r -o $output$reload_objs'
10329 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10330 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10333 runpath_var
='LD_RUN_PATH'
10334 hardcode_shlibpath_var
=no
10338 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10339 hardcode_shlibpath_var
=no
10340 export_dynamic_flag_spec
='-Bexport'
10344 if test -d /usr
/nec
; then
10345 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10346 hardcode_shlibpath_var
=no
10347 runpath_var
=LD_RUN_PATH
10348 hardcode_runpath_var
=yes
10353 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10354 no_undefined_flag
='${wl}-z,text'
10355 archive_cmds_need_lc
=no
10356 hardcode_shlibpath_var
=no
10357 runpath_var
='LD_RUN_PATH'
10359 if test "$GCC" = yes; then
10360 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10361 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10363 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10364 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10368 sysv5
* | sco3.2v5
* | sco5v6
*)
10369 # Note: We can NOT use -z defs as we might desire, because we do not
10370 # link with -lc, and that would cause any symbols used from libc to
10371 # always be unresolved, which means just about no library would
10372 # ever link correctly. If we're not using GNU ld we use -z text
10373 # though, which does catch some bad symbols but isn't as heavy-handed
10375 no_undefined_flag
='${wl}-z,text'
10376 allow_undefined_flag
='${wl}-z,nodefs'
10377 archive_cmds_need_lc
=no
10378 hardcode_shlibpath_var
=no
10379 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10380 hardcode_libdir_separator
=':'
10381 link_all_deplibs
=yes
10382 export_dynamic_flag_spec
='${wl}-Bexport'
10383 runpath_var
='LD_RUN_PATH'
10385 if test "$GCC" = yes; then
10386 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10387 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10389 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10390 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10395 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10396 hardcode_libdir_flag_spec
='-L$libdir'
10397 hardcode_shlibpath_var
=no
10405 if test x
$host_vendor = xsni
; then
10407 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10408 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10414 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10415 echo "${ECHO_T}$ld_shlibs" >&6
10416 test "$ld_shlibs" = no
&& can_build_shared
=no
10418 with_gnu_ld
=$with_gnu_ld
10435 # Do we need to explicitly link libc?
10437 case "x$archive_cmds_need_lc" in
10439 # Assume -lc should be added
10440 archive_cmds_need_lc
=yes
10442 if test "$enable_shared" = yes && test "$GCC" = yes; then
10443 case $archive_cmds in
10445 # FIXME: we may have to deal with multi-command sequences.
10448 # Test whether the compiler implicitly links with -lc since on some
10449 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10450 # to ld, don't add -lc before -lgcc.
10451 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10452 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10454 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10457 (eval $ac_compile) 2>&5
10459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10460 (exit $ac_status); } 2>conftest.err
; then
10463 libobjs
=conftest.
$ac_objext
10465 wl
=$lt_prog_compiler_wl
10466 pic_flag
=$lt_prog_compiler_pic
10472 lt_save_allow_undefined_flag
=$allow_undefined_flag
10473 allow_undefined_flag
=
10474 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
10475 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10478 (exit $ac_status); }
10480 archive_cmds_need_lc
=no
10482 archive_cmds_need_lc
=yes
10484 allow_undefined_flag
=$lt_save_allow_undefined_flag
10486 cat conftest.err
1>&5
10489 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10490 echo "${ECHO_T}$archive_cmds_need_lc" >&6
10653 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10654 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
10656 if test "$withGCC" = yes; then
10658 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10659 *) lt_awk_arg
="/^libraries:/" ;;
10661 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10662 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
10663 # if the path contains ";" then we assume it to be the separator
10664 # otherwise default to the standard path separator (i.e. ":") - it is
10665 # assumed that no part of a normal pathname contains ";" but that should
10666 # okay in the real world where ";" in dirpaths is itself problematic.
10667 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10669 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10671 # Ok, now we have the path, separated by spaces, we can step through it
10672 # and add multilib dir if necessary.
10673 lt_tmp_lt_search_path_spec
=
10674 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10675 for lt_sys_path
in $lt_search_path_spec; do
10676 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10677 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10679 test -d "$lt_sys_path" && \
10680 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10683 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10684 BEGIN {RS=" "; FS="/|\n";} {
10687 for (lt_i = NF; lt_i > 0; lt_i--) {
10688 if ($lt_i != "" && $lt_i != ".") {
10689 if ($lt_i == "..") {
10692 if (lt_count == 0) {
10693 lt_foo="/" $lt_i lt_foo;
10700 if (lt_foo != "") { lt_freq[lt_foo]++; }
10701 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10703 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10705 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10707 library_names_spec
=
10708 libname_spec
='lib$name'
10712 postuninstall_cmds
=
10716 shlibpath_overrides_runpath
=unknown
10718 dynamic_linker
="$host_os ld.so"
10719 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10720 need_lib_prefix
=unknown
10721 hardcode_into_libs
=no
10723 # when you set need_version to no, make sure it does not cause -set_version
10724 # flags to be left without arguments
10725 need_version
=unknown
10730 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10731 shlibpath_var
=LIBPATH
10733 # AIX 3 has no versioning support, so we append a major version to the name.
10734 soname_spec
='${libname}${release}${shared_ext}$major'
10741 hardcode_into_libs
=yes
10742 if test "$host_cpu" = ia64
; then
10743 # AIX 5 supports IA64
10744 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10745 shlibpath_var
=LD_LIBRARY_PATH
10747 # With GCC up to 2.95.x, collect2 would create an import file
10748 # for dependence libraries. The import file would start with
10749 # the line `#! .'. This would cause the generated library to
10750 # depend on `.', always an invalid library. This was fixed in
10751 # development snapshots of GCC prior to 3.0.
10753 aix4 | aix4.
[01] | aix4.
[01].
*)
10754 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10756 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10759 can_build_shared
=no
10763 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10764 # soname into executable. Probably we can add versioning support to
10765 # collect2, so additional links can be useful in future.
10766 if test "$aix_use_runtimelinking" = yes; then
10767 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10768 # instead of lib<name>.a to let people know that these are not
10769 # typical AIX shared libraries.
10770 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10772 # We preserve .a as extension for shared libraries through AIX4.2
10773 # and later when we are not doing run time linking.
10774 library_names_spec
='${libname}${release}.a $libname.a'
10775 soname_spec
='${libname}${release}${shared_ext}$major'
10777 shlibpath_var
=LIBPATH
10782 if test "$host_cpu" = m68k
; then
10783 library_names_spec
='$libname.ixlibrary $libname.a'
10784 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10785 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'
10792 library_names_spec
='${libname}${shared_ext}'
10793 dynamic_linker
="$host_os ld.so"
10794 shlibpath_var
=LIBRARY_PATH
10800 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10801 soname_spec
='${libname}${release}${shared_ext}$major'
10802 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10803 shlibpath_var
=LD_LIBRARY_PATH
10804 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10805 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10806 # the default ld.so.conf also contains /usr/contrib/lib and
10807 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10808 # libtool to hard-code these into programs
10811 cygwin
* | mingw
* | pw32
*)
10812 version_type
=windows
10817 case $withGCC,$host_os in
10818 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
10819 library_names_spec
='$libname.dll.a'
10820 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10821 postinstall_cmds
='base_file=`basename \${file}`~
10822 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10823 dldir=$destdir/`dirname \$dlpath`~
10824 test -d \$dldir || mkdir -p \$dldir~
10825 $install_prog $dir/$dlname \$dldir/$dlname~
10826 chmod a+x \$dldir/$dlname~
10827 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10828 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10830 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10831 dlpath=$dir/\$dldll~
10833 shlibpath_overrides_runpath
=yes
10837 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10838 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10839 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10842 # MinGW DLLs use traditional 'lib' prefix
10843 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10844 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10845 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10846 # It is most probably a Windows format PATH printed by
10847 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10848 # path with ; separators, and with drive letters. We can handle the
10849 # drive letters (cygwin fileutils understands them), so leave them,
10850 # especially as we might pass files found there to a mingw objdump,
10851 # which wouldn't understand a cygwinified path. Ahh.
10852 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10854 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10858 # pw32 DLLs use 'pw' prefix rather than 'lib'
10859 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10865 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10868 dynamic_linker
='Win32 ld.exe'
10869 # FIXME: first we should search . and the directory the executable is in
10873 darwin
* | rhapsody
*)
10874 dynamic_linker
="$host_os dyld"
10875 version_type
=darwin
10878 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10879 soname_spec
='${libname}${release}${major}$shared_ext'
10880 shlibpath_overrides_runpath
=yes
10881 shlibpath_var
=DYLD_LIBRARY_PATH
10882 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10884 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10885 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10892 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10893 soname_spec
='${libname}${release}${shared_ext}$major'
10894 shlibpath_var
=LD_LIBRARY_PATH
10901 freebsd
* | dragonfly
*)
10902 # DragonFly does not have aout. When/if they implement a new
10903 # versioning mechanism, adjust this.
10904 if test -x /usr
/bin
/objformat
; then
10905 objformat
=`/usr/bin/objformat`
10908 freebsd
[123]*) objformat
=aout
;;
10909 *) objformat
=elf
;;
10912 version_type
=freebsd-
$objformat
10913 case $version_type in
10915 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10920 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10924 shlibpath_var
=LD_LIBRARY_PATH
10927 shlibpath_overrides_runpath
=yes
10929 freebsd3.
[01]* | freebsdelf3.
[01]*)
10930 shlibpath_overrides_runpath
=yes
10931 hardcode_into_libs
=yes
10933 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10934 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10935 shlibpath_overrides_runpath
=no
10936 hardcode_into_libs
=yes
10938 *) # from 4.6 on, and DragonFly
10939 shlibpath_overrides_runpath
=yes
10940 hardcode_into_libs
=yes
10949 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10950 soname_spec
='${libname}${release}${shared_ext}$major'
10951 shlibpath_var
=LD_LIBRARY_PATH
10952 hardcode_into_libs
=yes
10955 hpux9
* | hpux10
* | hpux11
*)
10956 # Give a soname corresponding to the major version so that dld.sl refuses to
10957 # link against other versions.
10964 hardcode_into_libs
=yes
10965 dynamic_linker
="$host_os dld.so"
10966 shlibpath_var
=LD_LIBRARY_PATH
10967 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10968 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10969 soname_spec
='${libname}${release}${shared_ext}$major'
10970 if test "X$HPUX_IA64_MODE" = X32
; then
10971 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10973 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10975 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10979 hardcode_into_libs
=yes
10980 dynamic_linker
="$host_os dld.sl"
10981 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10982 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10983 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10984 soname_spec
='${libname}${release}${shared_ext}$major'
10985 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10986 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10990 dynamic_linker
="$host_os dld.sl"
10991 shlibpath_var
=SHLIB_PATH
10992 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10993 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10994 soname_spec
='${libname}${release}${shared_ext}$major'
10997 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10998 postinstall_cmds
='chmod 555 $lib'
11005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11006 soname_spec
='${libname}${release}${shared_ext}$major'
11007 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11008 shlibpath_var
=LD_LIBRARY_PATH
11009 shlibpath_overrides_runpath
=no
11010 hardcode_into_libs
=yes
11013 irix5
* | irix6
* | nonstopux
*)
11015 nonstopux
*) version_type
=nonstopux
;;
11017 if test "$lt_cv_prog_gnu_ld" = yes; then
11025 soname_spec
='${libname}${release}${shared_ext}$major'
11026 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11028 irix5
* | nonstopux
*)
11029 libsuff
= shlibsuff
=
11032 case $LD in # libtool.m4 will add one of these switches to LD
11033 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11034 libsuff
= shlibsuff
= libmagic
=32-bit;;
11035 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11036 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11037 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11038 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11039 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11043 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11044 shlibpath_overrides_runpath
=no
11045 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11046 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11047 hardcode_into_libs
=yes
11050 # No shared lib support for Linux oldld, aout, or coff.
11051 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11055 # This must be Linux ELF.
11056 linux
* | k
*bsd
*-gnu)
11060 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11061 soname_spec
='${libname}${release}${shared_ext}$major'
11062 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11063 shlibpath_var
=LD_LIBRARY_PATH
11064 shlibpath_overrides_runpath
=no
11065 # Some binutils ld are patched to set DT_RUNPATH
11066 save_LDFLAGS
=$LDFLAGS
11067 save_libdir
=$libdir
11068 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11069 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11070 if test x
$gcc_no_link = xyes
; then
11071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11073 { (exit 1); exit 1; }; }
11075 cat >conftest.
$ac_ext <<_ACEOF
11078 cat confdefs.h
>>conftest.
$ac_ext
11079 cat >>conftest.
$ac_ext <<_ACEOF
11080 /* end confdefs.h. */
11090 rm -f conftest.
$ac_objext conftest
$ac_exeext
11091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11092 (eval $ac_link) 2>conftest.er1
11094 grep -v '^ *+' conftest.er1
>conftest.err
11096 cat conftest.err
>&5
11097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11098 (exit $ac_status); } &&
11099 { ac_try
='test -z "$ac_c_werror_flag"
11100 || test ! -s conftest.err'
11101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11102 (eval $ac_try) 2>&5
11104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11105 (exit $ac_status); }; } &&
11106 { ac_try
='test -s conftest$ac_exeext'
11107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11108 (eval $ac_try) 2>&5
11110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11111 (exit $ac_status); }; }; then
11112 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
11113 shlibpath_overrides_runpath
=yes
11117 echo "$as_me: failed program was:" >&5
11118 sed 's/^/| /' conftest.
$ac_ext >&5
11121 rm -f conftest.err conftest.
$ac_objext \
11122 conftest
$ac_exeext conftest.
$ac_ext
11123 LDFLAGS
=$save_LDFLAGS
11124 libdir
=$save_libdir
11126 # This implies no fast_install, which is unacceptable.
11127 # Some rework will be needed to allow for fast_install
11128 # before this can be enabled.
11129 hardcode_into_libs
=yes
11131 # Append ld.so.conf contents to the search path
11132 if test -f /etc
/ld.so.conf
; then
11133 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' ' '`
11134 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11137 # We used to test for /lib/ld.so.1 and disable shared libraries on
11138 # powerpc, because MkLinux only supported shared libraries with the
11139 # GNU dynamic linker. Since this was broken with cross compilers,
11140 # most powerpc-linux boxes support dynamic linking these days and
11141 # people can always --disable-shared, the test was removed, and we
11142 # assume the GNU/Linux dynamic linker is in use.
11143 dynamic_linker
='GNU/Linux ld.so'
11150 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11151 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11152 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11153 dynamic_linker
='NetBSD (a.out) ld.so'
11155 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11156 soname_spec
='${libname}${release}${shared_ext}$major'
11157 dynamic_linker
='NetBSD ld.elf_so'
11159 shlibpath_var
=LD_LIBRARY_PATH
11160 shlibpath_overrides_runpath
=yes
11161 hardcode_into_libs
=yes
11166 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11167 shlibpath_var
=LD_LIBRARY_PATH
11168 shlibpath_overrides_runpath
=yes
11175 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11176 soname_spec
='${libname}${release}${shared_ext}$major'
11177 shlibpath_var
=LD_LIBRARY_PATH
11178 shlibpath_overrides_runpath
=no
11179 hardcode_into_libs
=yes
11180 dynamic_linker
='ldqnx.so'
11185 sys_lib_dlsearch_path_spec
="/usr/lib"
11187 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11189 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11190 *) need_version
=no
;;
11192 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11193 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11194 shlibpath_var
=LD_LIBRARY_PATH
11195 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11197 openbsd2.
[89] | openbsd2.
[89].
*)
11198 shlibpath_overrides_runpath
=no
11201 shlibpath_overrides_runpath
=yes
11205 shlibpath_overrides_runpath
=yes
11210 libname_spec
='$name'
11213 library_names_spec
='$libname${shared_ext} $libname.a'
11214 dynamic_linker
='OS/2 ld.exe'
11215 shlibpath_var
=LIBPATH
11218 osf3
* | osf4
* | osf5
*)
11222 soname_spec
='${libname}${release}${shared_ext}$major'
11223 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11224 shlibpath_var
=LD_LIBRARY_PATH
11225 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11226 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11237 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11238 soname_spec
='${libname}${release}${shared_ext}$major'
11239 shlibpath_var
=LD_LIBRARY_PATH
11240 shlibpath_overrides_runpath
=yes
11241 hardcode_into_libs
=yes
11242 # ldd complains unless libraries are executable
11243 postinstall_cmds
='chmod +x $lib'
11248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11249 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11250 shlibpath_var
=LD_LIBRARY_PATH
11251 shlibpath_overrides_runpath
=yes
11252 if test "$with_gnu_ld" = yes; then
11260 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11261 soname_spec
='${libname}${release}${shared_ext}$major'
11262 shlibpath_var
=LD_LIBRARY_PATH
11263 case $host_vendor in
11265 shlibpath_overrides_runpath
=no
11267 runpath_var
=LD_RUN_PATH
11275 shlibpath_overrides_runpath
=no
11276 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11282 if test -d /usr
/nec
;then
11284 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11285 soname_spec
='$libname${shared_ext}.$major'
11286 shlibpath_var
=LD_LIBRARY_PATH
11290 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11291 version_type
=freebsd-elf
11294 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11295 soname_spec
='${libname}${release}${shared_ext}$major'
11296 shlibpath_var
=LD_LIBRARY_PATH
11297 shlibpath_overrides_runpath
=yes
11298 hardcode_into_libs
=yes
11299 if test "$with_gnu_ld" = yes; then
11300 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11302 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11305 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11309 sys_lib_dlsearch_path_spec
='/usr/lib'
11313 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11317 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11318 shlibpath_var
=LD_LIBRARY_PATH
11319 shlibpath_overrides_runpath
=no
11320 hardcode_into_libs
=yes
11325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11326 soname_spec
='${libname}${release}${shared_ext}$major'
11327 shlibpath_var
=LD_LIBRARY_PATH
11334 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11335 echo "${ECHO_T}$dynamic_linker" >&6
11336 test "$dynamic_linker" = no
&& can_build_shared
=no
11338 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11339 if test "$GCC" = yes; then
11340 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11429 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11430 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11432 if test -n "$hardcode_libdir_flag_spec" ||
11433 test -n "$runpath_var" ||
11434 test "X$hardcode_automatic" = "Xyes" ; then
11436 # We can hardcode non-existent directories.
11437 if test "$hardcode_direct" != no
&&
11438 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11439 # have to relink, otherwise we might link with an installed library
11440 # when we should be linking with a yet-to-be-installed one
11441 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11442 test "$hardcode_minus_L" != no
; then
11443 # Linking always hardcodes the temporary library directory.
11444 hardcode_action
=relink
11446 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11447 hardcode_action
=immediate
11450 # We cannot hardcode anything, or else we can only hardcode existing
11452 hardcode_action
=unsupported
11454 echo "$as_me:$LINENO: result: $hardcode_action" >&5
11455 echo "${ECHO_T}$hardcode_action" >&6
11457 if test "$hardcode_action" = relink ||
11458 test "$inherit_rpath" = yes; then
11459 # Fast installation is not supported
11460 enable_fast_install
=no
11461 elif test "$shlibpath_overrides_runpath" = yes ||
11462 test "$enable_shared" = no
; then
11463 # Fast installation is not necessary
11464 enable_fast_install
=needless
11472 if test "x$enable_dlopen" != xyes
; then
11473 enable_dlopen
=unknown
11474 enable_dlopen_self
=unknown
11475 enable_dlopen_self_static
=unknown
11482 lt_cv_dlopen
="load_add_on"
11484 lt_cv_dlopen_self
=yes
11488 lt_cv_dlopen
="LoadLibrary"
11493 lt_cv_dlopen
="dlopen"
11498 # if libdl is installed we need to link against it
11499 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11500 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11501 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11502 echo $ECHO_N "(cached) $ECHO_C" >&6
11504 ac_check_lib_save_LIBS
=$LIBS
11506 if test x
$gcc_no_link = xyes
; then
11507 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11509 { (exit 1); exit 1; }; }
11511 cat >conftest.
$ac_ext <<_ACEOF
11514 cat confdefs.h
>>conftest.
$ac_ext
11515 cat >>conftest.
$ac_ext <<_ACEOF
11516 /* end confdefs.h. */
11518 /* Override any gcc2 internal prototype to avoid an error. */
11522 /* We use char because int might match the return type of a gcc2
11523 builtin and then its argument prototype would still apply. */
11533 rm -f conftest.
$ac_objext conftest
$ac_exeext
11534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11535 (eval $ac_link) 2>conftest.er1
11537 grep -v '^ *+' conftest.er1
>conftest.err
11539 cat conftest.err
>&5
11540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11541 (exit $ac_status); } &&
11542 { ac_try
='test -z "$ac_c_werror_flag"
11543 || test ! -s conftest.err'
11544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11545 (eval $ac_try) 2>&5
11547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11548 (exit $ac_status); }; } &&
11549 { ac_try
='test -s conftest$ac_exeext'
11550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11551 (eval $ac_try) 2>&5
11553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11554 (exit $ac_status); }; }; then
11555 ac_cv_lib_dl_dlopen
=yes
11557 echo "$as_me: failed program was:" >&5
11558 sed 's/^/| /' conftest.
$ac_ext >&5
11560 ac_cv_lib_dl_dlopen
=no
11562 rm -f conftest.err conftest.
$ac_objext \
11563 conftest
$ac_exeext conftest.
$ac_ext
11564 LIBS
=$ac_check_lib_save_LIBS
11566 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11567 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11568 if test $ac_cv_lib_dl_dlopen = yes; then
11569 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11572 lt_cv_dlopen
="dyld"
11574 lt_cv_dlopen_self
=yes
11581 echo "$as_me:$LINENO: checking for shl_load" >&5
11582 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11583 if test "${ac_cv_func_shl_load+set}" = set; then
11584 echo $ECHO_N "(cached) $ECHO_C" >&6
11586 if test x
$gcc_no_link = xyes
; then
11587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11589 { (exit 1); exit 1; }; }
11591 cat >conftest.
$ac_ext <<_ACEOF
11594 cat confdefs.h
>>conftest.
$ac_ext
11595 cat >>conftest.
$ac_ext <<_ACEOF
11596 /* end confdefs.h. */
11597 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11599 #define shl_load innocuous_shl_load
11601 /* System header to define __stub macros and hopefully few prototypes,
11602 which can conflict with char shl_load (); below.
11603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11604 <limits.h> exists even on freestanding compilers. */
11607 # include <limits.h>
11609 # include <assert.h>
11614 /* Override any gcc2 internal prototype to avoid an error. */
11619 /* We use char because int might match the return type of a gcc2
11620 builtin and then its argument prototype would still apply. */
11622 /* The GNU C library defines this for functions which it implements
11623 to always fail with ENOSYS. Some functions are actually named
11624 something starting with __ and the normal name is an alias. */
11625 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11628 char (*f) () = shl_load;
11637 return f != shl_load;
11642 rm -f conftest.
$ac_objext conftest
$ac_exeext
11643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11644 (eval $ac_link) 2>conftest.er1
11646 grep -v '^ *+' conftest.er1
>conftest.err
11648 cat conftest.err
>&5
11649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11650 (exit $ac_status); } &&
11651 { ac_try
='test -z "$ac_c_werror_flag"
11652 || test ! -s conftest.err'
11653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11654 (eval $ac_try) 2>&5
11656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11657 (exit $ac_status); }; } &&
11658 { ac_try
='test -s conftest$ac_exeext'
11659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11660 (eval $ac_try) 2>&5
11662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11663 (exit $ac_status); }; }; then
11664 ac_cv_func_shl_load
=yes
11666 echo "$as_me: failed program was:" >&5
11667 sed 's/^/| /' conftest.
$ac_ext >&5
11669 ac_cv_func_shl_load
=no
11671 rm -f conftest.err conftest.
$ac_objext \
11672 conftest
$ac_exeext conftest.
$ac_ext
11674 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11675 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11676 if test $ac_cv_func_shl_load = yes; then
11677 lt_cv_dlopen
="shl_load"
11679 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11680 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11681 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11682 echo $ECHO_N "(cached) $ECHO_C" >&6
11684 ac_check_lib_save_LIBS
=$LIBS
11686 if test x
$gcc_no_link = xyes
; then
11687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11689 { (exit 1); exit 1; }; }
11691 cat >conftest.
$ac_ext <<_ACEOF
11694 cat confdefs.h
>>conftest.
$ac_ext
11695 cat >>conftest.
$ac_ext <<_ACEOF
11696 /* end confdefs.h. */
11698 /* Override any gcc2 internal prototype to avoid an error. */
11702 /* We use char because int might match the return type of a gcc2
11703 builtin and then its argument prototype would still apply. */
11713 rm -f conftest.
$ac_objext conftest
$ac_exeext
11714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11715 (eval $ac_link) 2>conftest.er1
11717 grep -v '^ *+' conftest.er1
>conftest.err
11719 cat conftest.err
>&5
11720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11721 (exit $ac_status); } &&
11722 { ac_try
='test -z "$ac_c_werror_flag"
11723 || test ! -s conftest.err'
11724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11725 (eval $ac_try) 2>&5
11727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11728 (exit $ac_status); }; } &&
11729 { ac_try
='test -s conftest$ac_exeext'
11730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11731 (eval $ac_try) 2>&5
11733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11734 (exit $ac_status); }; }; then
11735 ac_cv_lib_dld_shl_load
=yes
11737 echo "$as_me: failed program was:" >&5
11738 sed 's/^/| /' conftest.
$ac_ext >&5
11740 ac_cv_lib_dld_shl_load
=no
11742 rm -f conftest.err conftest.
$ac_objext \
11743 conftest
$ac_exeext conftest.
$ac_ext
11744 LIBS
=$ac_check_lib_save_LIBS
11746 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11747 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11748 if test $ac_cv_lib_dld_shl_load = yes; then
11749 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
11751 echo "$as_me:$LINENO: checking for dlopen" >&5
11752 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11753 if test "${ac_cv_func_dlopen+set}" = set; then
11754 echo $ECHO_N "(cached) $ECHO_C" >&6
11756 if test x
$gcc_no_link = xyes
; then
11757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11759 { (exit 1); exit 1; }; }
11761 cat >conftest.
$ac_ext <<_ACEOF
11764 cat confdefs.h
>>conftest.
$ac_ext
11765 cat >>conftest.
$ac_ext <<_ACEOF
11766 /* end confdefs.h. */
11767 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11769 #define dlopen innocuous_dlopen
11771 /* System header to define __stub macros and hopefully few prototypes,
11772 which can conflict with char dlopen (); below.
11773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11774 <limits.h> exists even on freestanding compilers. */
11777 # include <limits.h>
11779 # include <assert.h>
11784 /* Override any gcc2 internal prototype to avoid an error. */
11789 /* We use char because int might match the return type of a gcc2
11790 builtin and then its argument prototype would still apply. */
11792 /* The GNU C library defines this for functions which it implements
11793 to always fail with ENOSYS. Some functions are actually named
11794 something starting with __ and the normal name is an alias. */
11795 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11798 char (*f) () = dlopen;
11807 return f != dlopen;
11812 rm -f conftest.
$ac_objext conftest
$ac_exeext
11813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11814 (eval $ac_link) 2>conftest.er1
11816 grep -v '^ *+' conftest.er1
>conftest.err
11818 cat conftest.err
>&5
11819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11820 (exit $ac_status); } &&
11821 { ac_try
='test -z "$ac_c_werror_flag"
11822 || test ! -s conftest.err'
11823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11824 (eval $ac_try) 2>&5
11826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11827 (exit $ac_status); }; } &&
11828 { ac_try
='test -s conftest$ac_exeext'
11829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11830 (eval $ac_try) 2>&5
11832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11833 (exit $ac_status); }; }; then
11834 ac_cv_func_dlopen
=yes
11836 echo "$as_me: failed program was:" >&5
11837 sed 's/^/| /' conftest.
$ac_ext >&5
11839 ac_cv_func_dlopen
=no
11841 rm -f conftest.err conftest.
$ac_objext \
11842 conftest
$ac_exeext conftest.
$ac_ext
11844 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11845 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11846 if test $ac_cv_func_dlopen = yes; then
11847 lt_cv_dlopen
="dlopen"
11849 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11850 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11851 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11852 echo $ECHO_N "(cached) $ECHO_C" >&6
11854 ac_check_lib_save_LIBS
=$LIBS
11856 if test x
$gcc_no_link = xyes
; then
11857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11859 { (exit 1); exit 1; }; }
11861 cat >conftest.
$ac_ext <<_ACEOF
11864 cat confdefs.h
>>conftest.
$ac_ext
11865 cat >>conftest.
$ac_ext <<_ACEOF
11866 /* end confdefs.h. */
11868 /* Override any gcc2 internal prototype to avoid an error. */
11872 /* We use char because int might match the return type of a gcc2
11873 builtin and then its argument prototype would still apply. */
11883 rm -f conftest.
$ac_objext conftest
$ac_exeext
11884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11885 (eval $ac_link) 2>conftest.er1
11887 grep -v '^ *+' conftest.er1
>conftest.err
11889 cat conftest.err
>&5
11890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11891 (exit $ac_status); } &&
11892 { ac_try
='test -z "$ac_c_werror_flag"
11893 || test ! -s conftest.err'
11894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11895 (eval $ac_try) 2>&5
11897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11898 (exit $ac_status); }; } &&
11899 { ac_try
='test -s conftest$ac_exeext'
11900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11901 (eval $ac_try) 2>&5
11903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11904 (exit $ac_status); }; }; then
11905 ac_cv_lib_dl_dlopen
=yes
11907 echo "$as_me: failed program was:" >&5
11908 sed 's/^/| /' conftest.
$ac_ext >&5
11910 ac_cv_lib_dl_dlopen
=no
11912 rm -f conftest.err conftest.
$ac_objext \
11913 conftest
$ac_exeext conftest.
$ac_ext
11914 LIBS
=$ac_check_lib_save_LIBS
11916 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11917 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11918 if test $ac_cv_lib_dl_dlopen = yes; then
11919 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11921 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11922 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11923 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11924 echo $ECHO_N "(cached) $ECHO_C" >&6
11926 ac_check_lib_save_LIBS
=$LIBS
11927 LIBS
="-lsvld $LIBS"
11928 if test x
$gcc_no_link = xyes
; then
11929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11931 { (exit 1); exit 1; }; }
11933 cat >conftest.
$ac_ext <<_ACEOF
11936 cat confdefs.h
>>conftest.
$ac_ext
11937 cat >>conftest.
$ac_ext <<_ACEOF
11938 /* end confdefs.h. */
11940 /* Override any gcc2 internal prototype to avoid an error. */
11944 /* We use char because int might match the return type of a gcc2
11945 builtin and then its argument prototype would still apply. */
11955 rm -f conftest.
$ac_objext conftest
$ac_exeext
11956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11957 (eval $ac_link) 2>conftest.er1
11959 grep -v '^ *+' conftest.er1
>conftest.err
11961 cat conftest.err
>&5
11962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11963 (exit $ac_status); } &&
11964 { ac_try
='test -z "$ac_c_werror_flag"
11965 || test ! -s conftest.err'
11966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11967 (eval $ac_try) 2>&5
11969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11970 (exit $ac_status); }; } &&
11971 { ac_try
='test -s conftest$ac_exeext'
11972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11973 (eval $ac_try) 2>&5
11975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11976 (exit $ac_status); }; }; then
11977 ac_cv_lib_svld_dlopen
=yes
11979 echo "$as_me: failed program was:" >&5
11980 sed 's/^/| /' conftest.
$ac_ext >&5
11982 ac_cv_lib_svld_dlopen
=no
11984 rm -f conftest.err conftest.
$ac_objext \
11985 conftest
$ac_exeext conftest.
$ac_ext
11986 LIBS
=$ac_check_lib_save_LIBS
11988 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11989 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11990 if test $ac_cv_lib_svld_dlopen = yes; then
11991 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11993 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11994 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11995 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11996 echo $ECHO_N "(cached) $ECHO_C" >&6
11998 ac_check_lib_save_LIBS
=$LIBS
12000 if test x
$gcc_no_link = xyes
; then
12001 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12003 { (exit 1); exit 1; }; }
12005 cat >conftest.
$ac_ext <<_ACEOF
12008 cat confdefs.h
>>conftest.
$ac_ext
12009 cat >>conftest.
$ac_ext <<_ACEOF
12010 /* end confdefs.h. */
12012 /* Override any gcc2 internal prototype to avoid an error. */
12016 /* We use char because int might match the return type of a gcc2
12017 builtin and then its argument prototype would still apply. */
12027 rm -f conftest.
$ac_objext conftest
$ac_exeext
12028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12029 (eval $ac_link) 2>conftest.er1
12031 grep -v '^ *+' conftest.er1
>conftest.err
12033 cat conftest.err
>&5
12034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12035 (exit $ac_status); } &&
12036 { ac_try
='test -z "$ac_c_werror_flag"
12037 || test ! -s conftest.err'
12038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12039 (eval $ac_try) 2>&5
12041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12042 (exit $ac_status); }; } &&
12043 { ac_try
='test -s conftest$ac_exeext'
12044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12045 (eval $ac_try) 2>&5
12047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12048 (exit $ac_status); }; }; then
12049 ac_cv_lib_dld_dld_link
=yes
12051 echo "$as_me: failed program was:" >&5
12052 sed 's/^/| /' conftest.
$ac_ext >&5
12054 ac_cv_lib_dld_dld_link
=no
12056 rm -f conftest.err conftest.
$ac_objext \
12057 conftest
$ac_exeext conftest.
$ac_ext
12058 LIBS
=$ac_check_lib_save_LIBS
12060 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12061 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12062 if test $ac_cv_lib_dld_dld_link = yes; then
12063 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
12084 if test "x$lt_cv_dlopen" != xno
; then
12090 case $lt_cv_dlopen in
12092 save_CPPFLAGS
="$CPPFLAGS"
12093 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12095 save_LDFLAGS
="$LDFLAGS"
12096 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12099 LIBS
="$lt_cv_dlopen_libs $LIBS"
12101 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12102 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12103 if test "${lt_cv_dlopen_self+set}" = set; then
12104 echo $ECHO_N "(cached) $ECHO_C" >&6
12106 if test "$cross_compiling" = yes; then :
12107 lt_cv_dlopen_self
=cross
12109 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12110 lt_status
=$lt_dlunknown
12111 cat > conftest.
$ac_ext <<_LT_EOF
12112 #line 12112 "configure"
12113 #include "confdefs.h"
12122 # define LT_DLGLOBAL RTLD_GLOBAL
12125 # define LT_DLGLOBAL DL_GLOBAL
12127 # define LT_DLGLOBAL 0
12131 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12132 find out it does not work in some platform. */
12133 #ifndef LT_DLLAZY_OR_NOW
12135 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12138 # define LT_DLLAZY_OR_NOW DL_LAZY
12141 # define LT_DLLAZY_OR_NOW RTLD_NOW
12144 # define LT_DLLAZY_OR_NOW DL_NOW
12146 # define LT_DLLAZY_OR_NOW 0
12154 extern "C" void exit (int);
12157 void fnord() { int i=42;}
12160 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12161 int status = $lt_dlunknown;
12165 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12166 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12167 /* dlclose (self); */
12175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12176 (eval $ac_link) 2>&5
12178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12179 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12180 (.
/conftest
; exit; ) >&5 2>/dev
/null
12182 case x
$lt_status in
12183 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12184 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12185 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12188 # compilation failed
12189 lt_cv_dlopen_self
=no
12196 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12197 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12199 if test "x$lt_cv_dlopen_self" = xyes
; then
12200 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12201 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12202 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12203 if test "${lt_cv_dlopen_self_static+set}" = set; then
12204 echo $ECHO_N "(cached) $ECHO_C" >&6
12206 if test "$cross_compiling" = yes; then :
12207 lt_cv_dlopen_self_static
=cross
12209 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12210 lt_status
=$lt_dlunknown
12211 cat > conftest.
$ac_ext <<_LT_EOF
12212 #line 12212 "configure"
12213 #include "confdefs.h"
12222 # define LT_DLGLOBAL RTLD_GLOBAL
12225 # define LT_DLGLOBAL DL_GLOBAL
12227 # define LT_DLGLOBAL 0
12231 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12232 find out it does not work in some platform. */
12233 #ifndef LT_DLLAZY_OR_NOW
12235 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12238 # define LT_DLLAZY_OR_NOW DL_LAZY
12241 # define LT_DLLAZY_OR_NOW RTLD_NOW
12244 # define LT_DLLAZY_OR_NOW DL_NOW
12246 # define LT_DLLAZY_OR_NOW 0
12254 extern "C" void exit (int);
12257 void fnord() { int i=42;}
12260 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12261 int status = $lt_dlunknown;
12265 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12266 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12267 /* dlclose (self); */
12275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12276 (eval $ac_link) 2>&5
12278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12279 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12280 (.
/conftest
; exit; ) >&5 2>/dev
/null
12282 case x
$lt_status in
12283 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12284 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12285 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12288 # compilation failed
12289 lt_cv_dlopen_self_static
=no
12296 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12297 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12300 CPPFLAGS
="$save_CPPFLAGS"
12301 LDFLAGS
="$save_LDFLAGS"
12306 case $lt_cv_dlopen_self in
12307 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12308 *) enable_dlopen_self
=unknown
;;
12311 case $lt_cv_dlopen_self_static in
12312 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12313 *) enable_dlopen_self_static
=unknown
;;
12335 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12336 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
12337 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12338 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12339 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12340 echo "$as_me:$LINENO: result: yes" >&5
12341 echo "${ECHO_T}yes" >&6
12343 # FIXME - insert some real tests, host_os isn't really good enough
12346 if test -n "$STRIP" ; then
12347 striplib
="$STRIP -x"
12348 old_striplib
="$STRIP -S"
12349 echo "$as_me:$LINENO: result: yes" >&5
12350 echo "${ECHO_T}yes" >&6
12352 echo "$as_me:$LINENO: result: no" >&5
12353 echo "${ECHO_T}no" >&6
12357 echo "$as_me:$LINENO: result: no" >&5
12358 echo "${ECHO_T}no" >&6
12374 # Report which library types will actually be built
12375 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12376 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12377 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12378 echo "${ECHO_T}$can_build_shared" >&6
12380 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12381 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12382 test "$can_build_shared" = "no" && enable_shared
=no
12384 # On AIX, shared libraries and static libraries use the same namespace, and
12385 # are all built from PIC.
12388 test "$enable_shared" = yes && enable_static
=no
12389 if test -n "$RANLIB"; then
12390 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12391 postinstall_cmds
='$RANLIB $lib'
12396 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12397 test "$enable_shared" = yes && enable_static
=no
12401 echo "$as_me:$LINENO: result: $enable_shared" >&5
12402 echo "${ECHO_T}$enable_shared" >&6
12404 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12405 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12406 # Make sure either enable_shared or enable_static is yes.
12407 test "$enable_shared" = yes || enable_static
=yes
12408 echo "$as_me:$LINENO: result: $enable_static" >&5
12409 echo "${ECHO_T}$enable_static" >&6
12416 ac_cpp
='$CPP $CPPFLAGS'
12417 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12418 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12419 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12425 ac_cpp
='$CXXCPP $CPPFLAGS'
12426 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12427 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12428 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12430 archive_cmds_need_lc_CXX
=no
12431 allow_undefined_flag_CXX
=
12432 always_export_symbols_CXX
=no
12433 archive_expsym_cmds_CXX
=
12434 compiler_needs_object_CXX
=no
12435 export_dynamic_flag_spec_CXX
=
12436 hardcode_direct_CXX
=no
12437 hardcode_direct_absolute_CXX
=no
12438 hardcode_libdir_flag_spec_CXX
=
12439 hardcode_libdir_flag_spec_ld_CXX
=
12440 hardcode_libdir_separator_CXX
=
12441 hardcode_minus_L_CXX
=no
12442 hardcode_shlibpath_var_CXX
=unsupported
12443 hardcode_automatic_CXX
=no
12444 inherit_rpath_CXX
=no
12446 module_expsym_cmds_CXX
=
12447 link_all_deplibs_CXX
=unknown
12448 old_archive_cmds_CXX
=$old_archive_cmds
12449 no_undefined_flag_CXX
=
12450 whole_archive_flag_spec_CXX
=
12451 enable_shared_with_static_runtimes_CXX
=no
12453 # Source file extension for C++ test sources.
12456 # Object file extension for compiled C++ test sources.
12460 # No sense in running all these tests if we already determined that
12461 # the CXX compiler isn't working. Some variables (like enable_shared)
12462 # are currently assumed to apply to all compilers on this platform,
12463 # and will be corrupted by setting them based on a non-working compiler.
12464 if test "$_lt_caught_CXX_error" != yes; then
12465 # Code to be used in simple compile tests
12466 lt_simple_compile_test_code
="int some_variable = 0;"
12468 # Code to be used in simple link tests
12469 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12471 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12478 # If no C compiler was specified, use CC.
12481 # If no C compiler flags were specified, use CFLAGS.
12482 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12484 # Allow CC to be a program name with arguments.
12488 # save warnings/boilerplate of simple test code
12489 ac_outfile
=conftest.
$ac_objext
12490 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12491 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12492 _lt_compiler_boilerplate
=`cat conftest.err`
12495 ac_outfile
=conftest.
$ac_objext
12496 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12497 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12498 _lt_linker_boilerplate
=`cat conftest.err`
12502 # Allow CC to be a program name with arguments.
12507 lt_save_with_gnu_ld
=$with_gnu_ld
12508 lt_save_path_LD
=$lt_cv_path_LD
12509 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12510 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12512 $as_unset lt_cv_prog_gnu_ld
12514 if test -n "${lt_cv_path_LDCXX+set}"; then
12515 lt_cv_path_LD
=$lt_cv_path_LDCXX
12517 $as_unset lt_cv_path_LD
12519 test -z "${LDCXX+set}" || LD
=$LDCXX
12523 for cc_temp
in $compiler""; do
12525 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12526 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12531 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12534 if test -n "$compiler"; then
12535 # We don't want -fno-exception when compiling C++ code, so set the
12536 # no_builtin_flag separately
12537 if test "$GXX" = yes; then
12538 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12540 lt_prog_compiler_no_builtin_flag_CXX
=
12543 if test "$GXX" = yes; then
12544 # Set up default GNU C++ configuration
12548 # Check whether --with-gnu-ld or --without-gnu-ld was given.
12549 if test "${with_gnu_ld+set}" = set; then
12550 withval
="$with_gnu_ld"
12551 test "$withval" = no || with_gnu_ld
=yes
12556 if test "$GCC" = yes; then
12557 # Check if gcc -print-prog-name=ld gives a path.
12558 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12559 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
12562 # gcc leaves a trailing carriage return which upsets mingw
12563 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12565 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12568 # Accept absolute paths.
12570 re_direlt
='/[^/][^/]*/\.\./'
12571 # Canonicalize the pathname of ld
12572 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12573 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12574 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12576 test -z "$LD" && LD
="$ac_prog"
12579 # If it fails, then pretend we aren't using GCC.
12583 # If it is relative, then search for the first ld in PATH.
12584 with_gnu_ld
=unknown
12587 elif test "$with_gnu_ld" = yes; then
12588 echo "$as_me:$LINENO: checking for GNU ld" >&5
12589 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
12591 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12592 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
12594 if test "${lt_cv_path_LD+set}" = set; then
12595 echo $ECHO_N "(cached) $ECHO_C" >&6
12597 if test -z "$LD"; then
12598 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12599 for ac_dir
in $PATH; do
12601 test -z "$ac_dir" && ac_dir
=.
12602 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12603 lt_cv_path_LD
="$ac_dir/$ac_prog"
12604 # Check to see if the program is GNU ld. I'd rather use --version,
12605 # but apparently some variants of GNU ld only accept -v.
12606 # Break only if it was the GNU/non-GNU ld that we prefer.
12607 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12608 *GNU
* |
*'with BFD'*)
12609 test "$with_gnu_ld" != no
&& break
12612 test "$with_gnu_ld" != yes && break
12619 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12623 LD
="$lt_cv_path_LD"
12624 if test -n "$LD"; then
12625 echo "$as_me:$LINENO: result: $LD" >&5
12626 echo "${ECHO_T}$LD" >&6
12628 echo "$as_me:$LINENO: result: no" >&5
12629 echo "${ECHO_T}no" >&6
12631 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12632 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12633 { (exit 1); exit 1; }; }
12634 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12635 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
12636 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12637 echo $ECHO_N "(cached) $ECHO_C" >&6
12639 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12640 case `$LD -v 2>&1 </dev/null` in
12641 *GNU
* |
*'with BFD'*)
12642 lt_cv_prog_gnu_ld
=yes
12645 lt_cv_prog_gnu_ld
=no
12649 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12650 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
12651 with_gnu_ld
=$lt_cv_prog_gnu_ld
12659 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12660 # archiving commands below assume that GNU ld is being used.
12661 if test "$with_gnu_ld" = yes; then
12662 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12663 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'
12665 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12666 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12668 # If archive_cmds runs LD, not CC, wlarc should be empty
12669 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12670 # investigate it a little bit more. (MM)
12673 # ancient GNU ld didn't support --whole-archive et. al.
12674 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12675 $GREP 'no-whole-archive' > /dev
/null
; then
12676 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12678 whole_archive_flag_spec_CXX
=
12684 # A generic and very simple default shared library creation
12685 # command for GNU C++ for the case where it uses the native
12686 # linker, instead of GNU ld. If possible, this setting should
12687 # overridden to take advantage of the native linker features on
12688 # the platform it is being used on.
12689 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12692 # Commands to make compiler produce verbose output that lists
12693 # what "hidden" libraries, object files and flags are used when
12694 # linking a shared library.
12695 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12703 # PORTME: fill in a description of your system's C++ link characteristics
12704 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12705 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12709 # FIXME: insert proper C++ library support
12713 if test "$host_cpu" = ia64
; then
12714 # On IA64, the linker does run time linking by default, so we don't
12715 # have to do anything special.
12716 aix_use_runtimelinking
=no
12717 exp_sym_flag
='-Bexport'
12720 aix_use_runtimelinking
=no
12722 # Test if we are trying to use run time linking or normal
12723 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12724 # need to do runtime linking.
12725 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12726 for ld_flag
in $LDFLAGS; do
12729 aix_use_runtimelinking
=yes
12737 exp_sym_flag
='-bexport'
12738 no_entry_flag
='-bnoentry'
12741 # When large executables or shared objects are built, AIX ld can
12742 # have problems creating the table of contents. If linking a library
12743 # or program results in "error TOC overflow" add -mminimal-toc to
12744 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12745 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12747 archive_cmds_CXX
=''
12748 hardcode_direct_CXX
=yes
12749 hardcode_direct_absolute_CXX
=yes
12750 hardcode_libdir_separator_CXX
=':'
12751 link_all_deplibs_CXX
=yes
12752 file_list_spec_CXX
='${wl}-f,'
12754 if test "$GXX" = yes; then
12755 case $host_os in aix4.
[012]|aix4.
[012].
*)
12756 # We only want to do this on AIX 4.2 and lower, the check
12757 # below for broken collect2 doesn't work under 4.3+
12758 collect2name
=`${CC} -print-prog-name=collect2`
12759 if test -f "$collect2name" &&
12760 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12762 # We have reworked collect2
12765 # We have old collect2
12766 hardcode_direct_CXX
=unsupported
12767 # It fails to find uninstalled libraries when the uninstalled
12768 # path is not listed in the libpath. Setting hardcode_minus_L
12769 # to unsupported forces relinking
12770 hardcode_minus_L_CXX
=yes
12771 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12772 hardcode_libdir_separator_CXX
=
12775 shared_flag
='-shared'
12776 if test "$aix_use_runtimelinking" = yes; then
12777 shared_flag
="$shared_flag "'${wl}-G'
12781 if test "$host_cpu" = ia64
; then
12782 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12783 # chokes on -Wl,-G. The following line is correct:
12786 if test "$aix_use_runtimelinking" = yes; then
12787 shared_flag
='${wl}-G'
12789 shared_flag
='${wl}-bM:SRE'
12794 # It seems that -bexpall does not export symbols beginning with
12795 # underscore (_), so it is better to generate a list of symbols to
12797 always_export_symbols_CXX
=yes
12798 if test "$aix_use_runtimelinking" = yes; then
12799 # Warning - without using the other runtime loading flags (-brtl),
12800 # -berok will link without error, but may produce a broken library.
12801 allow_undefined_flag_CXX
='-berok'
12802 # Determine the default libpath from the value encoded in an empty
12804 if test x
$gcc_no_link = xyes
; then
12805 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12807 { (exit 1); exit 1; }; }
12809 cat >conftest.
$ac_ext <<_ACEOF
12812 cat confdefs.h
>>conftest.
$ac_ext
12813 cat >>conftest.
$ac_ext <<_ACEOF
12814 /* end confdefs.h. */
12824 rm -f conftest.
$ac_objext conftest
$ac_exeext
12825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12826 (eval $ac_link) 2>conftest.er1
12828 grep -v '^ *+' conftest.er1
>conftest.err
12830 cat conftest.err
>&5
12831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12832 (exit $ac_status); } &&
12833 { ac_try
='test -z "$ac_cxx_werror_flag"
12834 || test ! -s conftest.err'
12835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12836 (eval $ac_try) 2>&5
12838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12839 (exit $ac_status); }; } &&
12840 { ac_try
='test -s conftest$ac_exeext'
12841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12842 (eval $ac_try) 2>&5
12844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12845 (exit $ac_status); }; }; then
12847 lt_aix_libpath_sed
='
12848 /Import File Strings/,/^$/ {
12854 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12855 # Check for a 64-bit object if we didn't find anything.
12856 if test -z "$aix_libpath"; then
12857 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12860 echo "$as_me: failed program was:" >&5
12861 sed 's/^/| /' conftest.
$ac_ext >&5
12864 rm -f conftest.err conftest.
$ac_objext \
12865 conftest
$ac_exeext conftest.
$ac_ext
12866 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12868 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12870 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"
12872 if test "$host_cpu" = ia64
; then
12873 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12874 allow_undefined_flag_CXX
="-z nodefs"
12875 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"
12877 # Determine the default libpath from the value encoded in an
12878 # empty executable.
12879 if test x
$gcc_no_link = xyes
; then
12880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12882 { (exit 1); exit 1; }; }
12884 cat >conftest.
$ac_ext <<_ACEOF
12887 cat confdefs.h
>>conftest.
$ac_ext
12888 cat >>conftest.
$ac_ext <<_ACEOF
12889 /* end confdefs.h. */
12899 rm -f conftest.
$ac_objext conftest
$ac_exeext
12900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12901 (eval $ac_link) 2>conftest.er1
12903 grep -v '^ *+' conftest.er1
>conftest.err
12905 cat conftest.err
>&5
12906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12907 (exit $ac_status); } &&
12908 { ac_try
='test -z "$ac_cxx_werror_flag"
12909 || test ! -s conftest.err'
12910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12911 (eval $ac_try) 2>&5
12913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12914 (exit $ac_status); }; } &&
12915 { ac_try
='test -s conftest$ac_exeext'
12916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12917 (eval $ac_try) 2>&5
12919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12920 (exit $ac_status); }; }; then
12922 lt_aix_libpath_sed
='
12923 /Import File Strings/,/^$/ {
12929 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12930 # Check for a 64-bit object if we didn't find anything.
12931 if test -z "$aix_libpath"; then
12932 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12935 echo "$as_me: failed program was:" >&5
12936 sed 's/^/| /' conftest.
$ac_ext >&5
12939 rm -f conftest.err conftest.
$ac_objext \
12940 conftest
$ac_exeext conftest.
$ac_ext
12941 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12943 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12944 # Warning - without using the other run time loading flags,
12945 # -berok will link without error, but may produce a broken library.
12946 no_undefined_flag_CXX
=' ${wl}-bernotok'
12947 allow_undefined_flag_CXX
=' ${wl}-berok'
12948 # Exported symbols can be pulled into shared objects from archives
12949 whole_archive_flag_spec_CXX
='$convenience'
12950 archive_cmds_need_lc_CXX
=yes
12951 # This is similar to how AIX traditionally builds its shared
12953 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'
12959 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12960 allow_undefined_flag_CXX
=unsupported
12961 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12962 # support --undefined. This deserves some investigation. FIXME
12963 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12970 case $cc_basename in
12972 # FIXME: insert proper C++ library support
12978 cygwin
* | mingw
* | pw32
*)
12979 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12980 # as there is no search path for DLLs.
12981 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12982 allow_undefined_flag_CXX
=unsupported
12983 always_export_symbols_CXX
=no
12984 enable_shared_with_static_runtimes_CXX
=yes
12986 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12987 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'
12988 # If the export-symbols file already is a .def file (1st line
12989 # is EXPORTS), use it as is; otherwise, prepend...
12990 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12991 cp $export_symbols $output_objdir/$soname.def;
12993 echo EXPORTS > $output_objdir/$soname.def;
12994 cat $export_symbols >> $output_objdir/$soname.def;
12996 $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'
13001 darwin
* | rhapsody
*)
13003 rhapsody
* | darwin1.
[012])
13004 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
13007 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
13009 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13012 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
13017 archive_cmds_need_lc_CXX
=no
13018 hardcode_direct_CXX
=no
13019 hardcode_automatic_CXX
=yes
13020 hardcode_shlibpath_var_CXX
=unsupported
13021 whole_archive_flag_spec_CXX
=''
13022 link_all_deplibs_CXX
=yes
13024 if test "$GXX" = yes ; then
13025 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
13026 echo $ECHO_N "(cached) $ECHO_C" >&6
13028 lt_cv_apple_cc_single_mod
=no
13029 if test -z "${LT_MULTI_MODULE}"; then
13030 # By default we will add the -single_module flag. You can override
13031 # by either setting the environment variable LT_MULTI_MODULE
13032 # non-empty at configure time, or by adding -multi-module to the
13034 echo "int foo(void){return 1;}" > conftest.c
13035 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
13036 -dynamiclib ${wl}-single_module conftest.c
13037 if test -f libconftest.dylib
; then
13038 lt_cv_apple_cc_single_mod
=yes
13039 rm libconftest.dylib
13041 rm conftest.
$ac_ext
13045 output_verbose_link_cmd
=echo
13046 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
13047 archive_cmds_CXX
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13048 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}'
13050 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'
13051 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}'
13053 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13054 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}'
13056 case $cc_basename in
13058 output_verbose_link_cmd
=echo
13059 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'
13060 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13061 # Don't fix this by using the ld -exported_symbols_list flag,
13062 # it doesn't exist in older darwin lds
13063 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}'
13064 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}'
13074 case $cc_basename in
13076 # FIXME: insert proper C++ library support
13080 # Green Hills C++ Compiler
13081 # FIXME: insert proper C++ library support
13085 # FIXME: insert proper C++ library support
13092 # C++ shared libraries reported to be fairly broken before
13098 archive_cmds_need_lc_CXX
=no
13101 freebsd
* | dragonfly
*)
13102 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13111 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13112 hardcode_libdir_separator_CXX
=:
13113 export_dynamic_flag_spec_CXX
='${wl}-E'
13114 hardcode_direct_CXX
=yes
13115 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13116 # but as the default
13117 # location of the library.
13119 case $cc_basename in
13121 # FIXME: insert proper C++ library support
13125 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'
13126 # Commands to make compiler produce verbose output that lists
13127 # what "hidden" libraries, object files and flags are used when
13128 # linking a shared library.
13130 # There doesn't appear to be a way to prevent this compiler from
13131 # explicitly linking system object files so we need to strip them
13132 # from the output so that they don't get included in the library
13134 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'
13137 if test "$GXX" = yes; then
13138 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'
13140 # FIXME: insert proper C++ library support
13148 if test $with_gnu_ld = no
; then
13149 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13150 hardcode_libdir_separator_CXX
=:
13156 export_dynamic_flag_spec_CXX
='${wl}-E'
13162 hardcode_direct_CXX
=no
13163 hardcode_shlibpath_var_CXX
=no
13166 hardcode_direct_CXX
=yes
13167 hardcode_direct_absolute_CXX
=yes
13168 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13169 # but as the default
13170 # location of the library.
13174 case $cc_basename in
13176 # FIXME: insert proper C++ library support
13182 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13185 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13188 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13191 # Commands to make compiler produce verbose output that lists
13192 # what "hidden" libraries, object files and flags are used when
13193 # linking a shared library.
13195 # There doesn't appear to be a way to prevent this compiler from
13196 # explicitly linking system object files so we need to strip them
13197 # from the output so that they don't get included in the library
13199 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'
13202 if test "$GXX" = yes; then
13203 if test $with_gnu_ld = no
; then
13206 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13209 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13212 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'
13217 # FIXME: insert proper C++ library support
13225 hardcode_direct_CXX
=no
13226 hardcode_shlibpath_var_CXX
=no
13227 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13228 export_dynamic_flag_spec_CXX
='${wl}-E'
13229 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13230 # Instead, shared libraries are loaded at an image base (0x10000000 by
13231 # default) and relocated if they conflict, which is a slow very memory
13232 # consuming and fragmenting process. To avoid this, we pick a random,
13233 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13234 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13235 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'
13236 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'
13239 case $cc_basename in
13242 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'
13244 # Archives containing C++ object files must be created using
13245 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13246 # necessary to make sure instantiated templates are included
13248 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13251 if test "$GXX" = yes; then
13252 if test "$with_gnu_ld" = no
; then
13253 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'
13255 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'
13258 link_all_deplibs_CXX
=yes
13261 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13262 hardcode_libdir_separator_CXX
=:
13263 inherit_rpath_CXX
=yes
13266 linux
* | k
*bsd
*-gnu)
13267 case $cc_basename in
13269 # Kuck and Associates, Inc. (KAI) C++ Compiler
13271 # KCC will only create a shared library if the output file
13272 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13273 # to its proper name (with version) after linking.
13274 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'
13275 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'
13276 # Commands to make compiler produce verbose output that lists
13277 # what "hidden" libraries, object files and flags are used when
13278 # linking a shared library.
13280 # There doesn't appear to be a way to prevent this compiler from
13281 # explicitly linking system object files so we need to strip them
13282 # from the output so that they don't get included in the library
13284 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'
13286 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13287 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13289 # Archives containing C++ object files must be created using
13290 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13291 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13296 # version 8.0 and above of icpc choke on multiply defined symbols
13297 # if we add $predep_objects and $postdep_objects, however 7.1 and
13298 # earlier do not add the objects themselves.
13299 case `$CC -V 2>&1` in
13301 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13302 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'
13304 *) # Version 8.0 or newer
13307 ia64
*) tmp_idyn
=' -i_dynamic';;
13309 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13310 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'
13313 archive_cmds_need_lc_CXX
=no
13314 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13315 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13316 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13319 # Portland Group C++ compiler
13322 prelink_cmds_CXX
='tpldir=Template.dir~
13324 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13325 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13326 old_archive_cmds_CXX
='tpldir=Template.dir~
13328 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13329 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13331 archive_cmds_CXX
='tpldir=Template.dir~
13333 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13334 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13335 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13337 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13338 $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'
13340 *) # Version 6 will use weak symbols
13341 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13342 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'
13346 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13347 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13348 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'
13352 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13353 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'
13355 runpath_var
=LD_RUN_PATH
13356 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13357 hardcode_libdir_separator_CXX
=:
13359 # Commands to make compiler produce verbose output that lists
13360 # what "hidden" libraries, object files and flags are used when
13361 # linking a shared library.
13363 # There doesn't appear to be a way to prevent this compiler from
13364 # explicitly linking system object files so we need to strip them
13365 # from the output so that they don't get included in the library
13367 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'
13370 case `$CC -V 2>&1 | sed 5q` in
13373 no_undefined_flag_CXX
=' -zdefs'
13374 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13375 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'
13376 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13377 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'
13378 compiler_needs_object_CXX
=yes
13380 # Not sure whether something based on
13381 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13383 output_verbose_link_cmd
='echo'
13385 # Archives containing C++ object files must be created using
13386 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13387 # necessary to make sure instantiated templates are included
13389 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13397 # FIXME: insert proper C++ library support
13402 # FIXME: insert proper C++ library support
13407 case $cc_basename in
13409 # FIXME: insert proper C++ library support
13413 # FIXME: insert proper C++ library support
13420 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13421 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13423 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13424 hardcode_direct_CXX
=yes
13425 hardcode_shlibpath_var_CXX
=no
13427 # Workaround some broken pre-1.5 toolchains
13428 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13436 # C++ shared libraries are fairly broken
13441 hardcode_direct_CXX
=yes
13442 hardcode_shlibpath_var_CXX
=no
13443 hardcode_direct_absolute_CXX
=yes
13444 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13445 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13446 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13447 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13448 export_dynamic_flag_spec_CXX
='${wl}-E'
13449 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13451 output_verbose_link_cmd
=echo
13454 osf3
* | osf4
* | osf5
*)
13455 case $cc_basename in
13457 # Kuck and Associates, Inc. (KAI) C++ Compiler
13459 # KCC will only create a shared library if the output file
13460 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13461 # to its proper name (with version) after linking.
13462 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'
13464 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13465 hardcode_libdir_separator_CXX
=:
13467 # Archives containing C++ object files must be created using
13468 # the KAI C++ compiler.
13470 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13471 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13475 # Rational C++ 2.4.1
13476 # FIXME: insert proper C++ library support
13482 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13483 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'
13484 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13487 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13488 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'
13489 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13490 echo "-hidden">> $lib.exp~
13491 $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~
13493 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13497 hardcode_libdir_separator_CXX
=:
13499 # Commands to make compiler produce verbose output that lists
13500 # what "hidden" libraries, object files and flags are used when
13501 # linking a shared library.
13503 # There doesn't appear to be a way to prevent this compiler from
13504 # explicitly linking system object files so we need to strip them
13505 # from the output so that they don't get included in the library
13507 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'
13510 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13511 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13514 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'
13517 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'
13521 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13522 hardcode_libdir_separator_CXX
=:
13524 # Commands to make compiler produce verbose output that lists
13525 # what "hidden" libraries, object files and flags are used when
13526 # linking a shared library.
13527 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13530 # FIXME: insert proper C++ library support
13538 # FIXME: insert proper C++ library support
13543 case $cc_basename in
13546 # FIXME: insert proper C++ library support
13551 # FIXME: insert proper C++ library support
13555 # FIXME: insert proper C++ library support
13562 case $cc_basename in
13564 # Sun C++ 4.2, 5.x and Centerline C++
13565 archive_cmds_need_lc_CXX
=yes
13566 no_undefined_flag_CXX
=' -zdefs'
13567 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13568 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13569 $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'
13571 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13572 hardcode_shlibpath_var_CXX
=no
13574 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13576 # The compiler driver will combine and reorder linker options,
13577 # but understands `-z linker_flag'.
13578 # Supported since Solaris 2.6 (maybe 2.5.1?)
13579 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13582 link_all_deplibs_CXX
=yes
13584 output_verbose_link_cmd
='echo'
13586 # Archives containing C++ object files must be created using
13587 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13588 # necessary to make sure instantiated templates are included
13590 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13593 # Green Hills C++ Compiler
13594 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13596 # The C++ compiler must be used to create the archive.
13597 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13600 # GNU C++ compiler with Solaris linker
13601 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13602 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13603 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13604 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13605 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13606 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13608 # Commands to make compiler produce verbose output that lists
13609 # what "hidden" libraries, object files and flags are used when
13610 # linking a shared library.
13611 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13613 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13615 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13616 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13617 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13619 # Commands to make compiler produce verbose output that lists
13620 # what "hidden" libraries, object files and flags are used when
13621 # linking a shared library.
13622 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13625 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13627 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13629 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13637 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13638 no_undefined_flag_CXX
='${wl}-z,text'
13639 archive_cmds_need_lc_CXX
=no
13640 hardcode_shlibpath_var_CXX
=no
13641 runpath_var
='LD_RUN_PATH'
13643 case $cc_basename in
13645 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13646 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13649 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13650 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13655 sysv5
* | sco3.2v5
* | sco5v6
*)
13656 # Note: We can NOT use -z defs as we might desire, because we do not
13657 # link with -lc, and that would cause any symbols used from libc to
13658 # always be unresolved, which means just about no library would
13659 # ever link correctly. If we're not using GNU ld we use -z text
13660 # though, which does catch some bad symbols but isn't as heavy-handed
13662 no_undefined_flag_CXX
='${wl}-z,text'
13663 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13664 archive_cmds_need_lc_CXX
=no
13665 hardcode_shlibpath_var_CXX
=no
13666 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13667 hardcode_libdir_separator_CXX
=':'
13668 link_all_deplibs_CXX
=yes
13669 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13670 runpath_var
='LD_RUN_PATH'
13672 case $cc_basename in
13674 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13675 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13678 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13679 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13685 case $cc_basename in
13687 # NonStop-UX NCC 3.20
13688 # FIXME: insert proper C++ library support
13692 # FIXME: insert proper C++ library support
13699 # FIXME: insert proper C++ library support
13704 # FIXME: insert proper C++ library support
13709 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13710 echo "${ECHO_T}$ld_shlibs_CXX" >&6
13711 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13717 ## There is no encapsulation within the following macros, do not change
13718 ## the running order or otherwise move them around unless you know exactly
13719 ## what you are doing...
13720 # Dependencies to place before and after the object being linked:
13721 predep_objects_CXX
=
13722 postdep_objects_CXX
=
13725 compiler_lib_search_path_CXX
=
13727 cat > conftest.
$ac_ext <<_LT_EOF
13731 Foo (void) { a = 0; }
13737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13738 (eval $ac_compile) 2>&5
13740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13741 (exit $ac_status); }; then
13742 # Parse the compiler output and extract the necessary
13743 # objects, libraries and library flags.
13745 # Sentinel used to keep track of whether or not we are before
13746 # the conftest object file.
13747 pre_test_object_deps_done
=no
13749 # The `*' in the case matches for architectures that use `case' in
13750 # $output_verbose_cmd can trigger glob expansion during the loop
13751 # eval without this substitution.
13752 output_verbose_link_cmd
=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
13754 for p
in `eval $output_verbose_link_cmd`; do
13758 # Some compilers place space between "-{L,R}" and the path.
13759 # Remove the space.
13760 if test $p = "-L" ||
13761 test $p = "-R"; then
13768 if test "$pre_test_object_deps_done" = no
; then
13771 # Internal compiler library paths should come after those
13772 # provided the user. The postdeps already come after the
13773 # user supplied libs so there is no need to process them.
13774 if test -z "$compiler_lib_search_path_CXX"; then
13775 compiler_lib_search_path_CXX
="${prev}${p}"
13777 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13780 # The "-l" case would never come before the object being
13781 # linked, so don't bother handling this case.
13784 if test -z "$postdeps_CXX"; then
13785 postdeps_CXX
="${prev}${p}"
13787 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13793 # This assumes that the test object file only shows up
13794 # once in the compiler output.
13795 if test "$p" = "conftest.$objext"; then
13796 pre_test_object_deps_done
=yes
13800 if test "$pre_test_object_deps_done" = no
; then
13801 if test -z "$predep_objects_CXX"; then
13802 predep_objects_CXX
="$p"
13804 predep_objects_CXX
="$predep_objects_CXX $p"
13807 if test -z "$postdep_objects_CXX"; then
13808 postdep_objects_CXX
="$p"
13810 postdep_objects_CXX
="$postdep_objects_CXX $p"
13815 *) ;; # Ignore the rest.
13823 echo "libtool.m4: error: problem compiling CXX test program"
13826 $RM -f confest.
$objext
13828 # PORTME: override above test on systems where it is broken
13831 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13832 # hack all around it, let's just trust "g++" to DTRT.
13833 predep_objects_CXX
=
13834 postdep_objects_CXX
=
13839 case `$CC -V 2>&1 | sed 5q` in
13843 # The more standards-conforming stlport4 library is
13844 # incompatible with the Cstd library. Avoid specifying
13845 # it if it's in CXXFLAGS. Ignore libCrun as
13846 # -library=stlport4 depends on it.
13847 case " $CXX $CXXFLAGS " in
13848 *" -library=stlport4 "*)
13849 solaris_use_stlport4
=yes
13853 if test "$solaris_use_stlport4" != yes; then
13854 postdeps_CXX
='-library=Cstd -library=Crun'
13861 case $cc_basename in
13863 # The more standards-conforming stlport4 library is
13864 # incompatible with the Cstd library. Avoid specifying
13865 # it if it's in CXXFLAGS. Ignore libCrun as
13866 # -library=stlport4 depends on it.
13867 case " $CXX $CXXFLAGS " in
13868 *" -library=stlport4 "*)
13869 solaris_use_stlport4
=yes
13873 # Adding this requires a known-good setup of shared libraries for
13874 # Sun compiler versions before 5.6, else PIC objects from an old
13875 # archive will be linked into the output, leading to subtle bugs.
13876 if test "$solaris_use_stlport4" != yes; then
13877 postdeps_CXX
='-library=Cstd -library=Crun'
13885 case " $postdeps_CXX " in
13886 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13914 lt_prog_compiler_wl_CXX
=
13915 lt_prog_compiler_pic_CXX
=
13916 lt_prog_compiler_static_CXX
=
13918 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13919 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13921 # C++ specific cases for pic, static, wl, etc.
13922 if test "$GXX" = yes; then
13923 lt_prog_compiler_wl_CXX
='-Wl,'
13924 lt_prog_compiler_static_CXX
='-static'
13928 # All AIX code is PIC.
13929 if test "$host_cpu" = ia64
; then
13930 # AIX 5 now supports IA64 processor
13931 lt_prog_compiler_static_CXX
='-Bstatic'
13935 if test "$host_cpu" = m68k
; then
13936 # FIXME: we need at least 68020 code to build shared libraries, but
13937 # adding the `-m68020' flag to GCC prevents building anything better,
13939 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13942 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13943 # PIC is the default for these OSes.
13945 mingw
* | cygwin
* | os2
* | pw32
*)
13946 # This hack is so that the source file can tell whether it is being
13947 # built for inclusion in a dll (and should export symbols for example).
13948 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13949 # (--disable-auto-import) libraries
13950 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13952 darwin
* | rhapsody
*)
13953 # PIC is the default on this platform
13954 # Common symbols not allowed in MH_DYLIB files
13955 lt_prog_compiler_pic_CXX
='-fno-common'
13958 # DJGPP does not support shared libraries at all
13959 lt_prog_compiler_pic_CXX
=
13962 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13963 # Instead, we relocate shared libraries at runtime.
13966 if test -d /usr
/nec
; then
13967 lt_prog_compiler_pic_CXX
=-Kconform_pic
13971 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13972 # not for PA HP-UX.
13977 lt_prog_compiler_pic_CXX
='-fPIC'
13982 # QNX uses GNU C++, but need to define -shared option too, otherwise
13983 # it will coredump.
13984 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13987 lt_prog_compiler_pic_CXX
='-fPIC'
13993 # All AIX code is PIC.
13994 if test "$host_cpu" = ia64
; then
13995 # AIX 5 now supports IA64 processor
13996 lt_prog_compiler_static_CXX
='-Bstatic'
13998 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14002 case $cc_basename in
14004 # Green Hills C++ Compiler
14005 # _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"
14010 # PIC is the default on this platform
14011 # Common symbols not allowed in MH_DYLIB files
14012 case $cc_basename in
14014 lt_prog_compiler_pic_CXX
='-qnocommon'
14015 lt_prog_compiler_wl_CXX
='-Wl,'
14020 case $cc_basename in
14022 lt_prog_compiler_pic_CXX
='-KPIC'
14025 # Green Hills C++ Compiler
14026 lt_prog_compiler_pic_CXX
='-pic'
14032 freebsd
* | dragonfly
*)
14033 # FreeBSD uses GNU C++
14035 hpux9
* | hpux10
* | hpux11
*)
14036 case $cc_basename in
14038 lt_prog_compiler_wl_CXX
='-Wl,'
14039 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14040 if test "$host_cpu" != ia64
; then
14041 lt_prog_compiler_pic_CXX
='+Z'
14045 lt_prog_compiler_wl_CXX
='-Wl,'
14046 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14052 lt_prog_compiler_pic_CXX
='+Z'
14061 # This is c89, which is MS Visual C++ (no shared libs)
14062 # Anyone wants to do a port?
14064 irix5
* | irix6
* | nonstopux
*)
14065 case $cc_basename in
14067 lt_prog_compiler_wl_CXX
='-Wl,'
14068 lt_prog_compiler_static_CXX
='-non_shared'
14069 # CC pic flag -KPIC is the default.
14075 linux
* | k
*bsd
*-gnu)
14076 case $cc_basename in
14079 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14080 lt_prog_compiler_pic_CXX
='-fPIC'
14084 lt_prog_compiler_wl_CXX
='-Wl,'
14085 lt_prog_compiler_pic_CXX
='-KPIC'
14086 lt_prog_compiler_static_CXX
='-static'
14089 # Portland Group C++ compiler
14090 lt_prog_compiler_wl_CXX
='-Wl,'
14091 lt_prog_compiler_pic_CXX
='-fpic'
14092 lt_prog_compiler_static_CXX
='-Bstatic'
14096 # Make sure the PIC flag is empty. It appears that all Alpha
14097 # Linux and Compaq Tru64 Unix objects are PIC.
14098 lt_prog_compiler_pic_CXX
=
14099 lt_prog_compiler_static_CXX
='-non_shared'
14102 case `$CC -V 2>&1 | sed 5q` in
14105 lt_prog_compiler_pic_CXX
='-KPIC'
14106 lt_prog_compiler_static_CXX
='-Bstatic'
14107 lt_prog_compiler_wl_CXX
='-Qoption ld '
14118 case $cc_basename in
14120 lt_prog_compiler_pic_CXX
='-W c,exportall'
14129 # QNX uses GNU C++, but need to define -shared option too, otherwise
14130 # it will coredump.
14131 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14133 osf3
* | osf4
* | osf5
*)
14134 case $cc_basename in
14136 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14139 # Rational C++ 2.4.1
14140 lt_prog_compiler_pic_CXX
='-pic'
14143 # Digital/Compaq C++
14144 lt_prog_compiler_wl_CXX
='-Wl,'
14145 # Make sure the PIC flag is empty. It appears that all Alpha
14146 # Linux and Compaq Tru64 Unix objects are PIC.
14147 lt_prog_compiler_pic_CXX
=
14148 lt_prog_compiler_static_CXX
='-non_shared'
14157 case $cc_basename in
14159 # Sun C++ 4.2, 5.x and Centerline C++
14160 lt_prog_compiler_pic_CXX
='-KPIC'
14161 lt_prog_compiler_static_CXX
='-Bstatic'
14162 lt_prog_compiler_wl_CXX
='-Qoption ld '
14165 # Green Hills C++ Compiler
14166 lt_prog_compiler_pic_CXX
='-PIC'
14173 case $cc_basename in
14176 lt_prog_compiler_pic_CXX
='-pic'
14177 lt_prog_compiler_static_CXX
='-Bstatic'
14181 lt_prog_compiler_pic_CXX
='-pic'
14187 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14188 case $cc_basename in
14190 lt_prog_compiler_wl_CXX
='-Wl,'
14191 lt_prog_compiler_pic_CXX
='-KPIC'
14192 lt_prog_compiler_static_CXX
='-Bstatic'
14197 case $cc_basename in
14199 # NonStop-UX NCC 3.20
14200 lt_prog_compiler_pic_CXX
='-KPIC'
14209 lt_prog_compiler_can_build_shared_CXX
=no
14215 # For platforms which do not support PIC, -DPIC is meaningless:
14217 lt_prog_compiler_pic_CXX
=
14220 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14223 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14224 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
14229 # Check to make sure the PIC flag actually works.
14231 if test -n "$lt_prog_compiler_pic_CXX"; then
14232 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14233 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
14234 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
14235 echo $ECHO_N "(cached) $ECHO_C" >&6
14237 lt_prog_compiler_pic_works_CXX
=no
14238 ac_outfile
=conftest.
$ac_objext
14239 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14240 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14241 # Insert the option either (1) after the last *FLAGS variable, or
14242 # (2) before a word containing "conftest.", or (3) at the end.
14243 # Note that $ac_compile itself does not contain backslashes and begins
14244 # with a dollar sign (not a hyphen), so the echo should work correctly.
14245 # The option is referenced via a variable to avoid confusing sed.
14246 lt_compile
=`echo "$ac_compile" | $SED \
14247 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14248 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14249 -e 's:$: $lt_compiler_flag:'`
14250 (eval echo "\"\$as_me:14250: $lt_compile\"" >&5)
14251 (eval "$lt_compile" 2>conftest.err
)
14253 cat conftest.err
>&5
14254 echo "$as_me:14254: \$? = $ac_status" >&5
14255 if (exit $ac_status) && test -s "$ac_outfile"; then
14256 # The compiler can only warn and ignore the option if not recognized
14257 # So say no if there are warnings other than the usual output.
14258 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14259 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14260 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14261 lt_prog_compiler_pic_works_CXX
=yes
14267 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
14268 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
14270 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
14271 case $lt_prog_compiler_pic_CXX in
14273 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14276 lt_prog_compiler_pic_CXX
=
14277 lt_prog_compiler_can_build_shared_CXX
=no
14285 # Check to make sure the static flag actually works.
14287 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14288 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14289 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
14290 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
14291 echo $ECHO_N "(cached) $ECHO_C" >&6
14293 lt_prog_compiler_static_works_CXX
=no
14294 save_LDFLAGS
="$LDFLAGS"
14295 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14296 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14297 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14298 # The linker can only warn and ignore the option if not recognized
14299 # So say no if there are warnings
14300 if test -s conftest.err
; then
14301 # Append any errors to the config.log.
14302 cat conftest.err
1>&5
14303 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14304 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14305 if diff conftest.exp conftest.er2
>/dev
/null
; then
14306 lt_prog_compiler_static_works_CXX
=yes
14309 lt_prog_compiler_static_works_CXX
=yes
14313 LDFLAGS
="$save_LDFLAGS"
14316 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
14317 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
14319 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
14322 lt_prog_compiler_static_CXX
=
14328 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14329 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
14330 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14331 echo $ECHO_N "(cached) $ECHO_C" >&6
14333 lt_cv_prog_compiler_c_o_CXX
=no
14334 $RM -r conftest
2>/dev
/null
14338 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14340 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14341 # Insert the option either (1) after the last *FLAGS variable, or
14342 # (2) before a word containing "conftest.", or (3) at the end.
14343 # Note that $ac_compile itself does not contain backslashes and begins
14344 # with a dollar sign (not a hyphen), so the echo should work correctly.
14345 lt_compile
=`echo "$ac_compile" | $SED \
14346 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14347 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14348 -e 's:$: $lt_compiler_flag:'`
14349 (eval echo "\"\$as_me:14349: $lt_compile\"" >&5)
14350 (eval "$lt_compile" 2>out
/conftest.err
)
14352 cat out
/conftest.err
>&5
14353 echo "$as_me:14353: \$? = $ac_status" >&5
14354 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14356 # The compiler can only warn and ignore the option if not recognized
14357 # So say no if there are warnings
14358 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14359 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14360 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14361 lt_cv_prog_compiler_c_o_CXX
=yes
14366 # SGI C++ compiler will create directory out/ii_files/ for
14367 # template instantiation
14368 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14369 $RM out
/* && rmdir out
14375 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14376 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
14380 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14381 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
14382 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14383 echo $ECHO_N "(cached) $ECHO_C" >&6
14385 lt_cv_prog_compiler_c_o_CXX
=no
14386 $RM -r conftest
2>/dev
/null
14390 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14392 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14393 # Insert the option either (1) after the last *FLAGS variable, or
14394 # (2) before a word containing "conftest.", or (3) at the end.
14395 # Note that $ac_compile itself does not contain backslashes and begins
14396 # with a dollar sign (not a hyphen), so the echo should work correctly.
14397 lt_compile
=`echo "$ac_compile" | $SED \
14398 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14399 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14400 -e 's:$: $lt_compiler_flag:'`
14401 (eval echo "\"\$as_me:14401: $lt_compile\"" >&5)
14402 (eval "$lt_compile" 2>out
/conftest.err
)
14404 cat out
/conftest.err
>&5
14405 echo "$as_me:14405: \$? = $ac_status" >&5
14406 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14408 # The compiler can only warn and ignore the option if not recognized
14409 # So say no if there are warnings
14410 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14411 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14412 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14413 lt_cv_prog_compiler_c_o_CXX
=yes
14418 # SGI C++ compiler will create directory out/ii_files/ for
14419 # template instantiation
14420 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14421 $RM out
/* && rmdir out
14427 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14428 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
14433 hard_links
="nottested"
14434 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14435 # do not overwrite the value of need_locks provided by the user
14436 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14437 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
14440 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14442 ln conftest.a conftest.b
2>&5 || hard_links
=no
14443 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14444 echo "$as_me:$LINENO: result: $hard_links" >&5
14445 echo "${ECHO_T}$hard_links" >&6
14446 if test "$hard_links" = no
; then
14447 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14448 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14457 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14458 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
14460 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14463 # If we're using GNU nm, then we don't want the "-C" option.
14464 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14465 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14466 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'
14468 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'
14472 export_symbols_cmds_CXX
="$ltdll_cmds"
14475 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'
14478 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14482 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14483 echo "${ECHO_T}$ld_shlibs_CXX" >&6
14484 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14486 with_gnu_ld_CXX
=$with_gnu_ld
14494 # Do we need to explicitly link libc?
14496 case "x$archive_cmds_need_lc_CXX" in
14498 # Assume -lc should be added
14499 archive_cmds_need_lc_CXX
=yes
14501 if test "$enable_shared" = yes && test "$GCC" = yes; then
14502 case $archive_cmds_CXX in
14504 # FIXME: we may have to deal with multi-command sequences.
14507 # Test whether the compiler implicitly links with -lc since on some
14508 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14509 # to ld, don't add -lc before -lgcc.
14510 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14511 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14513 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14516 (eval $ac_compile) 2>&5
14518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14519 (exit $ac_status); } 2>conftest.err
; then
14522 libobjs
=conftest.
$ac_objext
14524 wl
=$lt_prog_compiler_wl_CXX
14525 pic_flag
=$lt_prog_compiler_pic_CXX
14531 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14532 allow_undefined_flag_CXX
=
14533 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
14534 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14537 (exit $ac_status); }
14539 archive_cmds_need_lc_CXX
=no
14541 archive_cmds_need_lc_CXX
=yes
14543 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14545 cat conftest.err
1>&5
14548 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14549 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
14619 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14620 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14622 library_names_spec
=
14623 libname_spec
='lib$name'
14627 postuninstall_cmds
=
14631 shlibpath_overrides_runpath
=unknown
14633 dynamic_linker
="$host_os ld.so"
14634 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14635 need_lib_prefix
=unknown
14636 hardcode_into_libs
=no
14638 # when you set need_version to no, make sure it does not cause -set_version
14639 # flags to be left without arguments
14640 need_version
=unknown
14645 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14646 shlibpath_var
=LIBPATH
14648 # AIX 3 has no versioning support, so we append a major version to the name.
14649 soname_spec
='${libname}${release}${shared_ext}$major'
14656 hardcode_into_libs
=yes
14657 if test "$host_cpu" = ia64
; then
14658 # AIX 5 supports IA64
14659 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14660 shlibpath_var
=LD_LIBRARY_PATH
14662 # With GCC up to 2.95.x, collect2 would create an import file
14663 # for dependence libraries. The import file would start with
14664 # the line `#! .'. This would cause the generated library to
14665 # depend on `.', always an invalid library. This was fixed in
14666 # development snapshots of GCC prior to 3.0.
14668 aix4 | aix4.
[01] | aix4.
[01].
*)
14669 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14671 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14674 can_build_shared
=no
14678 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14679 # soname into executable. Probably we can add versioning support to
14680 # collect2, so additional links can be useful in future.
14681 if test "$aix_use_runtimelinking" = yes; then
14682 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14683 # instead of lib<name>.a to let people know that these are not
14684 # typical AIX shared libraries.
14685 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14687 # We preserve .a as extension for shared libraries through AIX4.2
14688 # and later when we are not doing run time linking.
14689 library_names_spec
='${libname}${release}.a $libname.a'
14690 soname_spec
='${libname}${release}${shared_ext}$major'
14692 shlibpath_var
=LIBPATH
14697 if test "$host_cpu" = m68k
; then
14698 library_names_spec
='$libname.ixlibrary $libname.a'
14699 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14700 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'
14707 library_names_spec
='${libname}${shared_ext}'
14708 dynamic_linker
="$host_os ld.so"
14709 shlibpath_var
=LIBRARY_PATH
14715 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14716 soname_spec
='${libname}${release}${shared_ext}$major'
14717 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14718 shlibpath_var
=LD_LIBRARY_PATH
14719 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14720 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14721 # the default ld.so.conf also contains /usr/contrib/lib and
14722 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14723 # libtool to hard-code these into programs
14726 cygwin
* | mingw
* | pw32
*)
14727 version_type
=windows
14732 case $withGCC,$host_os in
14733 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14734 library_names_spec
='$libname.dll.a'
14735 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14736 postinstall_cmds
='base_file=`basename \${file}`~
14737 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14738 dldir=$destdir/`dirname \$dlpath`~
14739 test -d \$dldir || mkdir -p \$dldir~
14740 $install_prog $dir/$dlname \$dldir/$dlname~
14741 chmod a+x \$dldir/$dlname~
14742 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14743 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14745 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14746 dlpath=$dir/\$dldll~
14748 shlibpath_overrides_runpath
=yes
14752 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14753 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14754 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14757 # MinGW DLLs use traditional 'lib' prefix
14758 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14759 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14760 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
14761 # It is most probably a Windows format PATH printed by
14762 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14763 # path with ; separators, and with drive letters. We can handle the
14764 # drive letters (cygwin fileutils understands them), so leave them,
14765 # especially as we might pass files found there to a mingw objdump,
14766 # which wouldn't understand a cygwinified path. Ahh.
14767 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14769 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14773 # pw32 DLLs use 'pw' prefix rather than 'lib'
14774 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14780 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14783 dynamic_linker
='Win32 ld.exe'
14784 # FIXME: first we should search . and the directory the executable is in
14788 darwin
* | rhapsody
*)
14789 dynamic_linker
="$host_os dyld"
14790 version_type
=darwin
14793 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14794 soname_spec
='${libname}${release}${major}$shared_ext'
14795 shlibpath_overrides_runpath
=yes
14796 shlibpath_var
=DYLD_LIBRARY_PATH
14797 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14799 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14806 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14807 soname_spec
='${libname}${release}${shared_ext}$major'
14808 shlibpath_var
=LD_LIBRARY_PATH
14815 freebsd
* | dragonfly
*)
14816 # DragonFly does not have aout. When/if they implement a new
14817 # versioning mechanism, adjust this.
14818 if test -x /usr
/bin
/objformat
; then
14819 objformat
=`/usr/bin/objformat`
14822 freebsd
[123]*) objformat
=aout
;;
14823 *) objformat
=elf
;;
14826 version_type
=freebsd-
$objformat
14827 case $version_type in
14829 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14834 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14838 shlibpath_var
=LD_LIBRARY_PATH
14841 shlibpath_overrides_runpath
=yes
14843 freebsd3.
[01]* | freebsdelf3.
[01]*)
14844 shlibpath_overrides_runpath
=yes
14845 hardcode_into_libs
=yes
14847 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14848 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14849 shlibpath_overrides_runpath
=no
14850 hardcode_into_libs
=yes
14852 *) # from 4.6 on, and DragonFly
14853 shlibpath_overrides_runpath
=yes
14854 hardcode_into_libs
=yes
14863 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14864 soname_spec
='${libname}${release}${shared_ext}$major'
14865 shlibpath_var
=LD_LIBRARY_PATH
14866 hardcode_into_libs
=yes
14869 hpux9
* | hpux10
* | hpux11
*)
14870 # Give a soname corresponding to the major version so that dld.sl refuses to
14871 # link against other versions.
14878 hardcode_into_libs
=yes
14879 dynamic_linker
="$host_os dld.so"
14880 shlibpath_var
=LD_LIBRARY_PATH
14881 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14882 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14883 soname_spec
='${libname}${release}${shared_ext}$major'
14884 if test "X$HPUX_IA64_MODE" = X32
; then
14885 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14887 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14889 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14893 hardcode_into_libs
=yes
14894 dynamic_linker
="$host_os dld.sl"
14895 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14896 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14897 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14898 soname_spec
='${libname}${release}${shared_ext}$major'
14899 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14900 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14904 dynamic_linker
="$host_os dld.sl"
14905 shlibpath_var
=SHLIB_PATH
14906 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14907 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14908 soname_spec
='${libname}${release}${shared_ext}$major'
14911 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14912 postinstall_cmds
='chmod 555 $lib'
14919 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14920 soname_spec
='${libname}${release}${shared_ext}$major'
14921 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14922 shlibpath_var
=LD_LIBRARY_PATH
14923 shlibpath_overrides_runpath
=no
14924 hardcode_into_libs
=yes
14927 irix5
* | irix6
* | nonstopux
*)
14929 nonstopux
*) version_type
=nonstopux
;;
14931 if test "$lt_cv_prog_gnu_ld" = yes; then
14939 soname_spec
='${libname}${release}${shared_ext}$major'
14940 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14942 irix5
* | nonstopux
*)
14943 libsuff
= shlibsuff
=
14946 case $LD in # libtool.m4 will add one of these switches to LD
14947 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14948 libsuff
= shlibsuff
= libmagic
=32-bit;;
14949 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14950 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14951 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14952 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14953 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14957 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14958 shlibpath_overrides_runpath
=no
14959 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14960 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14961 hardcode_into_libs
=yes
14964 # No shared lib support for Linux oldld, aout, or coff.
14965 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14969 # This must be Linux ELF.
14970 linux
* | k
*bsd
*-gnu)
14974 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14975 soname_spec
='${libname}${release}${shared_ext}$major'
14976 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14977 shlibpath_var
=LD_LIBRARY_PATH
14978 shlibpath_overrides_runpath
=no
14979 # Some binutils ld are patched to set DT_RUNPATH
14980 save_LDFLAGS
=$LDFLAGS
14981 save_libdir
=$libdir
14982 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14983 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14984 if test x
$gcc_no_link = xyes
; then
14985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14987 { (exit 1); exit 1; }; }
14989 cat >conftest.
$ac_ext <<_ACEOF
14992 cat confdefs.h
>>conftest.
$ac_ext
14993 cat >>conftest.
$ac_ext <<_ACEOF
14994 /* end confdefs.h. */
15004 rm -f conftest.
$ac_objext conftest
$ac_exeext
15005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15006 (eval $ac_link) 2>conftest.er1
15008 grep -v '^ *+' conftest.er1
>conftest.err
15010 cat conftest.err
>&5
15011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15012 (exit $ac_status); } &&
15013 { ac_try
='test -z "$ac_cxx_werror_flag"
15014 || test ! -s conftest.err'
15015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15016 (eval $ac_try) 2>&5
15018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15019 (exit $ac_status); }; } &&
15020 { ac_try
='test -s conftest$ac_exeext'
15021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15022 (eval $ac_try) 2>&5
15024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15025 (exit $ac_status); }; }; then
15026 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
15027 shlibpath_overrides_runpath
=yes
15031 echo "$as_me: failed program was:" >&5
15032 sed 's/^/| /' conftest.
$ac_ext >&5
15035 rm -f conftest.err conftest.
$ac_objext \
15036 conftest
$ac_exeext conftest.
$ac_ext
15037 LDFLAGS
=$save_LDFLAGS
15038 libdir
=$save_libdir
15040 # This implies no fast_install, which is unacceptable.
15041 # Some rework will be needed to allow for fast_install
15042 # before this can be enabled.
15043 hardcode_into_libs
=yes
15045 # Append ld.so.conf contents to the search path
15046 if test -f /etc
/ld.so.conf
; then
15047 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' ' '`
15048 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15051 # We used to test for /lib/ld.so.1 and disable shared libraries on
15052 # powerpc, because MkLinux only supported shared libraries with the
15053 # GNU dynamic linker. Since this was broken with cross compilers,
15054 # most powerpc-linux boxes support dynamic linking these days and
15055 # people can always --disable-shared, the test was removed, and we
15056 # assume the GNU/Linux dynamic linker is in use.
15057 dynamic_linker
='GNU/Linux ld.so'
15064 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15065 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15066 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15067 dynamic_linker
='NetBSD (a.out) ld.so'
15069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15070 soname_spec
='${libname}${release}${shared_ext}$major'
15071 dynamic_linker
='NetBSD ld.elf_so'
15073 shlibpath_var
=LD_LIBRARY_PATH
15074 shlibpath_overrides_runpath
=yes
15075 hardcode_into_libs
=yes
15080 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15081 shlibpath_var
=LD_LIBRARY_PATH
15082 shlibpath_overrides_runpath
=yes
15089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15090 soname_spec
='${libname}${release}${shared_ext}$major'
15091 shlibpath_var
=LD_LIBRARY_PATH
15092 shlibpath_overrides_runpath
=no
15093 hardcode_into_libs
=yes
15094 dynamic_linker
='ldqnx.so'
15099 sys_lib_dlsearch_path_spec
="/usr/lib"
15101 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15103 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15104 *) need_version
=no
;;
15106 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15107 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15108 shlibpath_var
=LD_LIBRARY_PATH
15109 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15111 openbsd2.
[89] | openbsd2.
[89].
*)
15112 shlibpath_overrides_runpath
=no
15115 shlibpath_overrides_runpath
=yes
15119 shlibpath_overrides_runpath
=yes
15124 libname_spec
='$name'
15127 library_names_spec
='$libname${shared_ext} $libname.a'
15128 dynamic_linker
='OS/2 ld.exe'
15129 shlibpath_var
=LIBPATH
15132 osf3
* | osf4
* | osf5
*)
15136 soname_spec
='${libname}${release}${shared_ext}$major'
15137 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15138 shlibpath_var
=LD_LIBRARY_PATH
15139 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15140 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15151 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15152 soname_spec
='${libname}${release}${shared_ext}$major'
15153 shlibpath_var
=LD_LIBRARY_PATH
15154 shlibpath_overrides_runpath
=yes
15155 hardcode_into_libs
=yes
15156 # ldd complains unless libraries are executable
15157 postinstall_cmds
='chmod +x $lib'
15162 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15163 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15164 shlibpath_var
=LD_LIBRARY_PATH
15165 shlibpath_overrides_runpath
=yes
15166 if test "$with_gnu_ld" = yes; then
15174 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15175 soname_spec
='${libname}${release}${shared_ext}$major'
15176 shlibpath_var
=LD_LIBRARY_PATH
15177 case $host_vendor in
15179 shlibpath_overrides_runpath
=no
15181 runpath_var
=LD_RUN_PATH
15189 shlibpath_overrides_runpath
=no
15190 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15196 if test -d /usr
/nec
;then
15198 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15199 soname_spec
='$libname${shared_ext}.$major'
15200 shlibpath_var
=LD_LIBRARY_PATH
15204 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15205 version_type
=freebsd-elf
15208 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15209 soname_spec
='${libname}${release}${shared_ext}$major'
15210 shlibpath_var
=LD_LIBRARY_PATH
15211 shlibpath_overrides_runpath
=yes
15212 hardcode_into_libs
=yes
15213 if test "$with_gnu_ld" = yes; then
15214 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15216 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15219 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15223 sys_lib_dlsearch_path_spec
='/usr/lib'
15227 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15231 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15232 shlibpath_var
=LD_LIBRARY_PATH
15233 shlibpath_overrides_runpath
=no
15234 hardcode_into_libs
=yes
15239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15240 soname_spec
='${libname}${release}${shared_ext}$major'
15241 shlibpath_var
=LD_LIBRARY_PATH
15248 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15249 echo "${ECHO_T}$dynamic_linker" >&6
15250 test "$dynamic_linker" = no
&& can_build_shared
=no
15252 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15253 if test "$GCC" = yes; then
15254 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15292 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15293 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15294 hardcode_action_CXX
=
15295 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15296 test -n "$runpath_var_CXX" ||
15297 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15299 # We can hardcode non-existent directories.
15300 if test "$hardcode_direct_CXX" != no
&&
15301 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15302 # have to relink, otherwise we might link with an installed library
15303 # when we should be linking with a yet-to-be-installed one
15304 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15305 test "$hardcode_minus_L_CXX" != no
; then
15306 # Linking always hardcodes the temporary library directory.
15307 hardcode_action_CXX
=relink
15309 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15310 hardcode_action_CXX
=immediate
15313 # We cannot hardcode anything, or else we can only hardcode existing
15315 hardcode_action_CXX
=unsupported
15317 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15318 echo "${ECHO_T}$hardcode_action_CXX" >&6
15320 if test "$hardcode_action_CXX" = relink ||
15321 test "$inherit_rpath_CXX" = yes; then
15322 # Fast installation is not supported
15323 enable_fast_install
=no
15324 elif test "$shlibpath_overrides_runpath" = yes ||
15325 test "$enable_shared" = no
; then
15326 # Fast installation is not necessary
15327 enable_fast_install
=needless
15336 fi # test -n "$compiler"
15342 with_gnu_ld
=$lt_save_with_gnu_ld
15343 lt_cv_path_LDCXX
=$lt_cv_path_LD
15344 lt_cv_path_LD
=$lt_save_path_LD
15345 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15346 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15347 fi # test "$_lt_caught_CXX_error" != yes
15350 ac_cpp
='$CPP $CPPFLAGS'
15351 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15352 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15353 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15367 ac_config_commands
="$ac_config_commands libtool"
15372 # Only expand once:
15378 # Extract the first word of "$ac_prog", so it can be a program name with args.
15379 set dummy
$ac_prog; ac_word
=$2
15380 echo "$as_me:$LINENO: checking for $ac_word" >&5
15381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15382 if test "${ac_cv_prog_GCJ+set}" = set; then
15383 echo $ECHO_N "(cached) $ECHO_C" >&6
15385 if test -n "$GCJ"; then
15386 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
15388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15389 for as_dir
in $PATH
15392 test -z "$as_dir" && as_dir
=.
15393 for ac_exec_ext
in '' $ac_executable_extensions; do
15394 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15395 ac_cv_prog_GCJ
="$ac_prog"
15396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15404 GCJ
=$ac_cv_prog_GCJ
15405 if test -n "$GCJ"; then
15406 echo "$as_me:$LINENO: result: $GCJ" >&5
15407 echo "${ECHO_T}$GCJ" >&6
15409 echo "$as_me:$LINENO: result: no" >&5
15410 echo "${ECHO_T}no" >&6
15413 test -n "$GCJ" && break
15415 test -n "$GCJ" || GCJ
="gcj"
15417 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
15418 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
15419 { (exit 1); exit 1; }; }
15420 if test "x${GCJFLAGS-unset}" = xunset
; then
15425 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
15427 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
15428 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
15429 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
15430 echo $ECHO_N "(cached) $ECHO_C" >&6
15432 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15433 # We make a subdir and do the tests there. Otherwise we can end up
15434 # making bogus files that we don't know about and never remove. For
15435 # instance it was reported that on HP-UX the gcc test will end up
15436 # making a dummy file named `D' -- because `-MD' means `put the output
15439 # Copy depcomp to subdir because otherwise we won't find it if we're
15440 # using a relative directory.
15441 cp "$am_depcomp" conftest.dir
15443 # We will build objects and dependencies in a subdirectory because
15444 # it helps to detect inapplicable dependency modes. For instance
15445 # both Tru64's cc and ICC support -MD to output dependencies as a
15446 # side effect of compilation, but ICC will put the dependencies in
15447 # the current directory while Tru64 will put them in the object
15451 am_cv_GCJ_dependencies_compiler_type
=none
15452 if test "$am_compiler_list" = ""; then
15453 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15455 for depmode
in $am_compiler_list; do
15456 # Setup a source with many dependencies, because some compilers
15457 # like to wrap large dependency lists on column 80 (with \), and
15458 # we should not choose a depcomp mode which is confused by this.
15460 # We need to recreate these files for each test, as the compiler may
15461 # overwrite some of them when testing with obscure command lines.
15462 # This happens at least with the AIX C compiler.
15464 for i
in 1 2 3 4 5 6; do
15465 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
15466 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15467 # Solaris 8's {/usr,}/bin/sh.
15468 touch sub
/conftst
$i.h
15470 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15474 # after this tag, mechanisms are not by side-effect, so they'll
15475 # only be used when explicitly requested
15476 if test "x$enable_dependency_tracking" = xyes
; then
15484 # We check with `-c' and `-o' for the sake of the "dashmstdout"
15485 # mode. It turns out that the SunPro C++ compiler does not properly
15486 # handle `-M -o', and we need to detect this.
15487 if depmode
=$depmode \
15488 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
15489 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
15490 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
15491 >/dev
/null
2>conftest.err
&&
15492 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
15493 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
15494 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
15495 # icc doesn't choke on unknown options, it will just issue warnings
15496 # or remarks (even with -Werror). So we grep stderr for any message
15497 # that says an option was ignored or not supported.
15498 # When given -MP, icc 7.0 and 7.1 complain thusly:
15499 # icc: Command line warning: ignoring option '-M'; no argument required
15500 # The diagnosis changed in icc 8.0:
15501 # icc: Command line remark: option '-MP' not supported
15502 if (grep 'ignoring option' conftest.err ||
15503 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
15504 am_cv_GCJ_dependencies_compiler_type
=$depmode
15511 rm -rf conftest.dir
15513 am_cv_GCJ_dependencies_compiler_type
=none
15517 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
15518 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
15519 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
15524 test "x$enable_dependency_tracking" != xno \
15525 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
15526 am__fastdepGCJ_TRUE
=
15527 am__fastdepGCJ_FALSE
='#'
15529 am__fastdepGCJ_TRUE
='#'
15530 am__fastdepGCJ_FALSE
=
15537 # Extract the first word of "$ac_prog", so it can be a program name with args.
15538 set dummy
$ac_prog; ac_word
=$2
15539 echo "$as_me:$LINENO: checking for $ac_word" >&5
15540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15541 if test "${ac_cv_prog_GCJ+set}" = set; then
15542 echo $ECHO_N "(cached) $ECHO_C" >&6
15544 if test -n "$GCJ"; then
15545 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
15547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15548 for as_dir
in $PATH
15551 test -z "$as_dir" && as_dir
=.
15552 for ac_exec_ext
in '' $ac_executable_extensions; do
15553 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15554 ac_cv_prog_GCJ
="$ac_prog"
15555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15563 GCJ
=$ac_cv_prog_GCJ
15564 if test -n "$GCJ"; then
15565 echo "$as_me:$LINENO: result: $GCJ" >&5
15566 echo "${ECHO_T}$GCJ" >&6
15568 echo "$as_me:$LINENO: result: no" >&5
15569 echo "${ECHO_T}no" >&6
15572 test -n "$GCJ" && break
15574 test -n "$GCJ" || GCJ
="gcj"
15576 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
15577 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
15578 { (exit 1); exit 1; }; }
15579 if test "x${GCJFLAGS-unset}" = xunset
; then
15584 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
15586 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
15587 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
15588 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
15589 echo $ECHO_N "(cached) $ECHO_C" >&6
15591 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15592 # We make a subdir and do the tests there. Otherwise we can end up
15593 # making bogus files that we don't know about and never remove. For
15594 # instance it was reported that on HP-UX the gcc test will end up
15595 # making a dummy file named `D' -- because `-MD' means `put the output
15598 # Copy depcomp to subdir because otherwise we won't find it if we're
15599 # using a relative directory.
15600 cp "$am_depcomp" conftest.dir
15602 # We will build objects and dependencies in a subdirectory because
15603 # it helps to detect inapplicable dependency modes. For instance
15604 # both Tru64's cc and ICC support -MD to output dependencies as a
15605 # side effect of compilation, but ICC will put the dependencies in
15606 # the current directory while Tru64 will put them in the object
15610 am_cv_GCJ_dependencies_compiler_type
=none
15611 if test "$am_compiler_list" = ""; then
15612 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15614 for depmode
in $am_compiler_list; do
15615 # Setup a source with many dependencies, because some compilers
15616 # like to wrap large dependency lists on column 80 (with \), and
15617 # we should not choose a depcomp mode which is confused by this.
15619 # We need to recreate these files for each test, as the compiler may
15620 # overwrite some of them when testing with obscure command lines.
15621 # This happens at least with the AIX C compiler.
15623 for i
in 1 2 3 4 5 6; do
15624 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
15625 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15626 # Solaris 8's {/usr,}/bin/sh.
15627 touch sub
/conftst
$i.h
15629 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15633 # after this tag, mechanisms are not by side-effect, so they'll
15634 # only be used when explicitly requested
15635 if test "x$enable_dependency_tracking" = xyes
; then
15643 # We check with `-c' and `-o' for the sake of the "dashmstdout"
15644 # mode. It turns out that the SunPro C++ compiler does not properly
15645 # handle `-M -o', and we need to detect this.
15646 if depmode
=$depmode \
15647 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
15648 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
15649 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
15650 >/dev
/null
2>conftest.err
&&
15651 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
15652 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
15653 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
15654 # icc doesn't choke on unknown options, it will just issue warnings
15655 # or remarks (even with -Werror). So we grep stderr for any message
15656 # that says an option was ignored or not supported.
15657 # When given -MP, icc 7.0 and 7.1 complain thusly:
15658 # icc: Command line warning: ignoring option '-M'; no argument required
15659 # The diagnosis changed in icc 8.0:
15660 # icc: Command line remark: option '-MP' not supported
15661 if (grep 'ignoring option' conftest.err ||
15662 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
15663 am_cv_GCJ_dependencies_compiler_type
=$depmode
15670 rm -rf conftest.dir
15672 am_cv_GCJ_dependencies_compiler_type
=none
15676 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
15677 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
15678 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
15683 test "x$enable_dependency_tracking" != xno \
15684 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
15685 am__fastdepGCJ_TRUE
=
15686 am__fastdepGCJ_FALSE
='#'
15688 am__fastdepGCJ_TRUE
='#'
15689 am__fastdepGCJ_FALSE
=
15697 # Source file extension for Java test sources.
15700 # Object file extension for compiled Java test sources.
15704 # Code to be used in simple compile tests
15705 lt_simple_compile_test_code
="int some_variable = 0;"
15707 # Code to be used in simple link tests
15708 lt_simple_link_test_code
='int main(){return(0);}'
15710 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15717 # If no C compiler was specified, use CC.
15720 # If no C compiler flags were specified, use CFLAGS.
15721 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15723 # Allow CC to be a program name with arguments.
15727 # save warnings/boilerplate of simple test code
15728 ac_outfile
=conftest.
$ac_objext
15729 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
15730 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15731 _lt_compiler_boilerplate
=`cat conftest.err`
15734 ac_outfile
=conftest.
$ac_objext
15735 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
15736 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15737 _lt_linker_boilerplate
=`cat conftest.err`
15741 # Allow CC to be a program name with arguments.
15744 for cc_temp
in $compiler""; do
15746 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15747 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15752 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15755 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15756 archive_cmds_need_lc_GCJ
=no
15758 old_archive_cmds_GCJ
=$old_archive_cmds
15761 ## There is no encapsulation within the following macros, do not change
15762 ## the running order or otherwise move them around unless you know exactly
15763 ## what you are doing...
15764 if test -n "$compiler"; then
15766 lt_prog_compiler_no_builtin_flag_GCJ
=
15768 if test "$GCC" = yes; then
15769 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15771 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15772 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15773 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15774 echo $ECHO_N "(cached) $ECHO_C" >&6
15776 lt_cv_prog_compiler_rtti_exceptions
=no
15777 ac_outfile
=conftest.
$ac_objext
15778 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15779 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15780 # Insert the option either (1) after the last *FLAGS variable, or
15781 # (2) before a word containing "conftest.", or (3) at the end.
15782 # Note that $ac_compile itself does not contain backslashes and begins
15783 # with a dollar sign (not a hyphen), so the echo should work correctly.
15784 # The option is referenced via a variable to avoid confusing sed.
15785 lt_compile
=`echo "$ac_compile" | $SED \
15786 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15787 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15788 -e 's:$: $lt_compiler_flag:'`
15789 (eval echo "\"\$as_me:15789: $lt_compile\"" >&5)
15790 (eval "$lt_compile" 2>conftest.err
)
15792 cat conftest.err
>&5
15793 echo "$as_me:15793: \$? = $ac_status" >&5
15794 if (exit $ac_status) && test -s "$ac_outfile"; then
15795 # The compiler can only warn and ignore the option if not recognized
15796 # So say no if there are warnings other than the usual output.
15797 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15798 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15799 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15800 lt_cv_prog_compiler_rtti_exceptions
=yes
15806 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15807 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15809 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15810 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15819 lt_prog_compiler_wl_GCJ
=
15820 lt_prog_compiler_pic_GCJ
=
15821 lt_prog_compiler_static_GCJ
=
15823 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15824 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15826 if test "$GCC" = yes; then
15827 lt_prog_compiler_wl_GCJ
='-Wl,'
15828 lt_prog_compiler_static_GCJ
='-static'
15832 # All AIX code is PIC.
15833 if test "$host_cpu" = ia64
; then
15834 # AIX 5 now supports IA64 processor
15835 lt_prog_compiler_static_GCJ
='-Bstatic'
15840 if test "$host_cpu" = m68k
; then
15841 # FIXME: we need at least 68020 code to build shared libraries, but
15842 # adding the `-m68020' flag to GCC prevents building anything better,
15844 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
15848 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15849 # PIC is the default for these OSes.
15852 mingw
* | cygwin
* | pw32
* | os2
*)
15853 # This hack is so that the source file can tell whether it is being
15854 # built for inclusion in a dll (and should export symbols for example).
15855 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15856 # (--disable-auto-import) libraries
15860 darwin
* | rhapsody
*)
15861 # PIC is the default on this platform
15862 # Common symbols not allowed in MH_DYLIB files
15863 lt_prog_compiler_pic_GCJ
='-fno-common'
15867 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15868 # not for PA HP-UX.
15874 lt_prog_compiler_pic_GCJ
='-fPIC'
15880 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15881 # Instead, we relocate shared libraries at runtime.
15885 # Just because we use GCC doesn't mean we suddenly get shared libraries
15886 # on systems that don't support them.
15887 lt_prog_compiler_can_build_shared_GCJ
=no
15892 # QNX uses GNU C++, but need to define -shared option too, otherwise
15893 # it will coredump.
15894 lt_prog_compiler_pic_GCJ
='-fPIC -shared'
15898 if test -d /usr
/nec
; then
15899 lt_prog_compiler_pic_GCJ
=-Kconform_pic
15904 lt_prog_compiler_pic_GCJ
='-fPIC'
15908 # PORTME Check for flag to pass linker flags through the system compiler.
15911 lt_prog_compiler_wl_GCJ
='-Wl,'
15912 if test "$host_cpu" = ia64
; then
15913 # AIX 5 now supports IA64 processor
15914 lt_prog_compiler_static_GCJ
='-Bstatic'
15916 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
15920 # PIC is the default on this platform
15921 # Common symbols not allowed in MH_DYLIB files
15922 case $cc_basename in
15924 lt_prog_compiler_pic_GCJ
='-qnocommon'
15925 lt_prog_compiler_wl_GCJ
='-Wl,'
15930 mingw
* | cygwin
* | pw32
* | os2
*)
15931 # This hack is so that the source file can tell whether it is being
15932 # built for inclusion in a dll (and should export symbols for example).
15936 hpux9
* | hpux10
* | hpux11
*)
15937 lt_prog_compiler_wl_GCJ
='-Wl,'
15938 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15939 # not for PA HP-UX.
15945 lt_prog_compiler_pic_GCJ
='+Z'
15948 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15949 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
15952 irix5
* | irix6
* | nonstopux
*)
15953 lt_prog_compiler_wl_GCJ
='-Wl,'
15954 # PIC (with -KPIC) is the default.
15955 lt_prog_compiler_static_GCJ
='-non_shared'
15958 linux
* | k
*bsd
*-gnu)
15959 case $cc_basename in
15961 lt_prog_compiler_wl_GCJ
='-Wl,'
15962 lt_prog_compiler_pic_GCJ
='-KPIC'
15963 lt_prog_compiler_static_GCJ
='-static'
15965 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
15966 # Portland Group compilers (*not* the Pentium gcc compiler,
15967 # which looks to be a dead project)
15968 lt_prog_compiler_wl_GCJ
='-Wl,'
15969 lt_prog_compiler_pic_GCJ
='-fpic'
15970 lt_prog_compiler_static_GCJ
='-Bstatic'
15973 lt_prog_compiler_wl_GCJ
='-Wl,'
15974 # All Alpha code is PIC.
15975 lt_prog_compiler_static_GCJ
='-non_shared'
15978 case `$CC -V 2>&1 | sed 5q` in
15981 lt_prog_compiler_pic_GCJ
='-KPIC'
15982 lt_prog_compiler_static_GCJ
='-Bstatic'
15983 lt_prog_compiler_wl_GCJ
='-Wl,'
15986 # Sun Fortran 8.3 passes all unrecognized flags to the linker
15987 lt_prog_compiler_pic_GCJ
='-KPIC'
15988 lt_prog_compiler_static_GCJ
='-Bstatic'
15989 lt_prog_compiler_wl_GCJ
=''
15997 lt_prog_compiler_pic_GCJ
='-KPIC'
15998 lt_prog_compiler_static_GCJ
='-Bstatic'
16002 # QNX uses GNU C++, but need to define -shared option too, otherwise
16003 # it will coredump.
16004 lt_prog_compiler_pic_GCJ
='-fPIC -shared'
16007 osf3
* | osf4
* | osf5
*)
16008 lt_prog_compiler_wl_GCJ
='-Wl,'
16009 # All OSF/1 code is PIC.
16010 lt_prog_compiler_static_GCJ
='-non_shared'
16014 lt_prog_compiler_static_GCJ
='-non_shared'
16018 lt_prog_compiler_pic_GCJ
='-KPIC'
16019 lt_prog_compiler_static_GCJ
='-Bstatic'
16020 case $cc_basename in
16021 f77
* | f90
* | f95
*)
16022 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16024 lt_prog_compiler_wl_GCJ
='-Wl,';;
16029 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16030 lt_prog_compiler_pic_GCJ
='-PIC'
16031 lt_prog_compiler_static_GCJ
='-Bstatic'
16034 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16035 lt_prog_compiler_wl_GCJ
='-Wl,'
16036 lt_prog_compiler_pic_GCJ
='-KPIC'
16037 lt_prog_compiler_static_GCJ
='-Bstatic'
16041 if test -d /usr
/nec
;then
16042 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16043 lt_prog_compiler_static_GCJ
='-Bstatic'
16047 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16048 lt_prog_compiler_wl_GCJ
='-Wl,'
16049 lt_prog_compiler_pic_GCJ
='-KPIC'
16050 lt_prog_compiler_static_GCJ
='-Bstatic'
16054 lt_prog_compiler_wl_GCJ
='-Wl,'
16055 lt_prog_compiler_can_build_shared_GCJ
=no
16059 lt_prog_compiler_pic_GCJ
='-pic'
16060 lt_prog_compiler_static_GCJ
='-Bstatic'
16064 lt_prog_compiler_can_build_shared_GCJ
=no
16070 # For platforms which do not support PIC, -DPIC is meaningless:
16072 lt_prog_compiler_pic_GCJ
=
16075 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16078 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16079 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
16084 # Check to make sure the PIC flag actually works.
16086 if test -n "$lt_prog_compiler_pic_GCJ"; then
16087 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16088 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
16089 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16090 echo $ECHO_N "(cached) $ECHO_C" >&6
16092 lt_prog_compiler_pic_works_GCJ
=no
16093 ac_outfile
=conftest.
$ac_objext
16094 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16095 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16096 # Insert the option either (1) after the last *FLAGS variable, or
16097 # (2) before a word containing "conftest.", or (3) at the end.
16098 # Note that $ac_compile itself does not contain backslashes and begins
16099 # with a dollar sign (not a hyphen), so the echo should work correctly.
16100 # The option is referenced via a variable to avoid confusing sed.
16101 lt_compile
=`echo "$ac_compile" | $SED \
16102 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16103 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16104 -e 's:$: $lt_compiler_flag:'`
16105 (eval echo "\"\$as_me:16105: $lt_compile\"" >&5)
16106 (eval "$lt_compile" 2>conftest.err
)
16108 cat conftest.err
>&5
16109 echo "$as_me:16109: \$? = $ac_status" >&5
16110 if (exit $ac_status) && test -s "$ac_outfile"; then
16111 # The compiler can only warn and ignore the option if not recognized
16112 # So say no if there are warnings other than the usual output.
16113 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16114 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16115 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16116 lt_prog_compiler_pic_works_GCJ
=yes
16122 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16123 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
16125 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16126 case $lt_prog_compiler_pic_GCJ in
16128 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16131 lt_prog_compiler_pic_GCJ
=
16132 lt_prog_compiler_can_build_shared_GCJ
=no
16140 # Check to make sure the static flag actually works.
16142 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16143 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16144 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
16145 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16146 echo $ECHO_N "(cached) $ECHO_C" >&6
16148 lt_prog_compiler_static_works_GCJ
=no
16149 save_LDFLAGS
="$LDFLAGS"
16150 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16151 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16152 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16153 # The linker can only warn and ignore the option if not recognized
16154 # So say no if there are warnings
16155 if test -s conftest.err
; then
16156 # Append any errors to the config.log.
16157 cat conftest.err
1>&5
16158 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16159 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16160 if diff conftest.exp conftest.er2
>/dev
/null
; then
16161 lt_prog_compiler_static_works_GCJ
=yes
16164 lt_prog_compiler_static_works_GCJ
=yes
16168 LDFLAGS
="$save_LDFLAGS"
16171 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16172 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
16174 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16177 lt_prog_compiler_static_GCJ
=
16183 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16184 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16185 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16186 echo $ECHO_N "(cached) $ECHO_C" >&6
16188 lt_cv_prog_compiler_c_o_GCJ
=no
16189 $RM -r conftest
2>/dev
/null
16193 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16195 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16196 # Insert the option either (1) after the last *FLAGS variable, or
16197 # (2) before a word containing "conftest.", or (3) at the end.
16198 # Note that $ac_compile itself does not contain backslashes and begins
16199 # with a dollar sign (not a hyphen), so the echo should work correctly.
16200 lt_compile
=`echo "$ac_compile" | $SED \
16201 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16202 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16203 -e 's:$: $lt_compiler_flag:'`
16204 (eval echo "\"\$as_me:16204: $lt_compile\"" >&5)
16205 (eval "$lt_compile" 2>out
/conftest.err
)
16207 cat out
/conftest.err
>&5
16208 echo "$as_me:16208: \$? = $ac_status" >&5
16209 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16211 # The compiler can only warn and ignore the option if not recognized
16212 # So say no if there are warnings
16213 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16214 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16215 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16216 lt_cv_prog_compiler_c_o_GCJ
=yes
16221 # SGI C++ compiler will create directory out/ii_files/ for
16222 # template instantiation
16223 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16224 $RM out
/* && rmdir out
16230 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16231 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16235 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16236 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16237 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16238 echo $ECHO_N "(cached) $ECHO_C" >&6
16240 lt_cv_prog_compiler_c_o_GCJ
=no
16241 $RM -r conftest
2>/dev
/null
16245 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16247 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16248 # Insert the option either (1) after the last *FLAGS variable, or
16249 # (2) before a word containing "conftest.", or (3) at the end.
16250 # Note that $ac_compile itself does not contain backslashes and begins
16251 # with a dollar sign (not a hyphen), so the echo should work correctly.
16252 lt_compile
=`echo "$ac_compile" | $SED \
16253 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16254 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16255 -e 's:$: $lt_compiler_flag:'`
16256 (eval echo "\"\$as_me:16256: $lt_compile\"" >&5)
16257 (eval "$lt_compile" 2>out
/conftest.err
)
16259 cat out
/conftest.err
>&5
16260 echo "$as_me:16260: \$? = $ac_status" >&5
16261 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16263 # The compiler can only warn and ignore the option if not recognized
16264 # So say no if there are warnings
16265 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16266 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16267 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16268 lt_cv_prog_compiler_c_o_GCJ
=yes
16273 # SGI C++ compiler will create directory out/ii_files/ for
16274 # template instantiation
16275 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16276 $RM out
/* && rmdir out
16282 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16283 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16288 hard_links
="nottested"
16289 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16290 # do not overwrite the value of need_locks provided by the user
16291 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16292 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16295 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16297 ln conftest.a conftest.b
2>&5 || hard_links
=no
16298 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16299 echo "$as_me:$LINENO: result: $hard_links" >&5
16300 echo "${ECHO_T}$hard_links" >&6
16301 if test "$hard_links" = no
; then
16302 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16303 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16312 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16313 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16316 allow_undefined_flag_GCJ
=
16317 always_export_symbols_GCJ
=no
16319 archive_expsym_cmds_GCJ
=
16320 compiler_needs_object_GCJ
=no
16321 enable_shared_with_static_runtimes_GCJ
=no
16322 export_dynamic_flag_spec_GCJ
=
16323 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16324 hardcode_automatic_GCJ
=no
16325 hardcode_direct_GCJ
=no
16326 hardcode_direct_absolute_GCJ
=no
16327 hardcode_libdir_flag_spec_GCJ
=
16328 hardcode_libdir_flag_spec_ld_GCJ
=
16329 hardcode_libdir_separator_GCJ
=
16330 hardcode_minus_L_GCJ
=no
16331 hardcode_shlibpath_var_GCJ
=unsupported
16332 inherit_rpath_GCJ
=no
16333 link_all_deplibs_GCJ
=unknown
16335 module_expsym_cmds_GCJ
=
16336 old_archive_from_new_cmds_GCJ
=
16337 old_archive_from_expsyms_cmds_GCJ
=
16338 thread_safe_flag_spec_GCJ
=
16339 whole_archive_flag_spec_GCJ
=
16340 # include_expsyms should be a list of space-separated symbols to be *always*
16341 # included in the symbol list
16342 include_expsyms_GCJ
=
16343 # exclude_expsyms can be an extended regexp of symbols to exclude
16344 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16345 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16346 # as well as any symbol that contains `d'.
16347 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16348 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16349 # platforms (ab)use it in PIC code, but their linkers get confused if
16350 # the symbol is explicitly referenced. Since portable code cannot
16351 # rely on this symbol name, it's probably fine to never include it in
16352 # preloaded symbol tables.
16353 extract_expsyms_cmds
=
16356 cygwin
* | mingw
* | pw32
*)
16357 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16358 # When not using gcc, we currently assume that we are using
16359 # Microsoft Visual C++.
16360 if test "$GCC" != yes; then
16365 # we just hope/assume this is gcc and not c89 (= MSVC++)
16374 if test "$with_gnu_ld" = yes; then
16375 # If archive_cmds runs LD, not CC, wlarc should be empty
16378 # Set some defaults for GNU ld with shared library support. These
16379 # are reset later if shared libraries are not supported. Putting them
16380 # here allows them to be overridden if necessary.
16381 runpath_var
=LD_RUN_PATH
16382 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16383 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16384 # ancient GNU ld didn't support --whole-archive et. al.
16385 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
16386 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16388 whole_archive_flag_spec_GCJ
=
16390 supports_anon_versioning
=no
16391 case `$LD -v 2>&1` in
16392 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16393 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16394 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16395 *\
2.11.
*) ;; # other 2.11 versions
16396 *) supports_anon_versioning
=yes ;;
16399 # See if GNU ld supports shared libraries.
16402 # On AIX/PPC, the GNU linker is very broken
16403 if test "$host_cpu" != ia64
; then
16407 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16408 *** to be unable to reliably create shared libraries on AIX.
16409 *** Therefore, libtool is disabling shared libraries support. If you
16410 *** really care for shared libraries, you may want to modify your PATH
16411 *** so that a non-GNU linker is found, and then restart.
16418 if test "$host_cpu" = m68k
; then
16419 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)'
16420 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16421 hardcode_minus_L_GCJ
=yes
16424 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16425 # that the semantics of dynamic libraries on AmigaOS, at least up
16426 # to version 4, is to share data among multiple programs linked
16427 # with the same dynamic library. Since this doesn't match the
16428 # behavior of shared libraries on other platforms, we can't use
16434 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16435 allow_undefined_flag_GCJ
=unsupported
16436 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16437 # support --undefined. This deserves some investigation. FIXME
16438 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16444 cygwin
* | mingw
* | pw32
*)
16445 # _LT_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16446 # as there is no search path for DLLs.
16447 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16448 allow_undefined_flag_GCJ
=unsupported
16449 always_export_symbols_GCJ
=no
16450 enable_shared_with_static_runtimes_GCJ
=yes
16451 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16453 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
16454 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16455 # If the export-symbols file already is a .def file (1st line
16456 # is EXPORTS), use it as is; otherwise, prepend...
16457 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16458 cp $export_symbols $output_objdir/$soname.def;
16460 echo EXPORTS > $output_objdir/$soname.def;
16461 cat $export_symbols >> $output_objdir/$soname.def;
16463 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16470 hardcode_direct_GCJ
=no
16471 hardcode_shlibpath_var_GCJ
=no
16472 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16473 export_dynamic_flag_spec_GCJ
='${wl}-E'
16474 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16475 # Instead, shared libraries are loaded at an image base (0x10000000 by
16476 # default) and relocated if they conflict, which is a slow very memory
16477 # consuming and fragmenting process. To avoid this, we pick a random,
16478 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16479 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16480 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'
16481 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'
16484 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
16486 if test "$host_os" = linux-dietlibc
; then
16487 case $cc_basename in
16488 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
16491 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
16492 && test "$tmp_diet" = no
16495 case $cc_basename,$host_cpu in
16496 pgcc
*) # Portland Group C compiler
16497 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'
16498 tmp_addflag
=' $pic_flag'
16500 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16501 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'
16502 tmp_addflag
=' $pic_flag -Mnomain' ;;
16503 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16504 tmp_addflag
=' -i_dynamic' ;;
16505 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16506 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16507 ifc
* | ifort
*) # Intel Fortran compiler
16508 tmp_addflag
=' -nofor_main' ;;
16510 case `$CC -V 2>&1 | sed 5q` in
16511 *Sun\ C
*) # Sun C 5.9
16512 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'
16513 compiler_needs_object_GCJ
=yes
16514 tmp_sharedflag
='-G' ;;
16515 *Sun\ F
*) # Sun Fortran 8.3
16516 tmp_sharedflag
='-G' ;;
16518 tmp_sharedflag
='-shared' ;;
16520 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16522 if test "x$supports_anon_versioning" = xyes
; then
16523 archive_expsym_cmds_GCJ
='echo "{ global:" > $output_objdir/$libname.ver~
16524 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16525 echo "local: *; };" >> $output_objdir/$libname.ver~
16526 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16534 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
16535 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16538 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16539 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16544 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
16548 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16549 *** create shared libraries on Solaris systems. Therefore, libtool
16550 *** is disabling shared libraries support. We urge you to upgrade GNU
16551 *** binutils to release 2.9.1 or newer. Another option is to modify
16552 *** your PATH or compiler configuration so that the native linker is
16553 *** used, and then restart.
16556 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16557 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16558 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16564 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16565 case `$LD -v 2>&1` in
16566 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16570 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16571 *** reliably create shared libraries on SCO systems. Therefore, libtool
16572 *** is disabling shared libraries support. We urge you to upgrade GNU
16573 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16574 *** your PATH or compiler configuration so that the native linker is
16575 *** used, and then restart.
16580 # For security reasons, it is highly recommended that you always
16581 # use absolute paths for naming shared libraries, and exclude the
16582 # DT_RUNPATH tag from executables and libraries. But doing so
16583 # requires that you compile everything twice, which is a pain.
16584 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16585 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16586 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16587 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16596 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16598 hardcode_direct_GCJ
=yes
16599 hardcode_shlibpath_var_GCJ
=no
16603 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16604 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16605 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16612 if test "$ld_shlibs_GCJ" = no
; then
16614 hardcode_libdir_flag_spec_GCJ
=
16615 export_dynamic_flag_spec_GCJ
=
16616 whole_archive_flag_spec_GCJ
=
16619 # PORTME fill in a description of your system's linker (not GNU ld)
16622 allow_undefined_flag_GCJ
=unsupported
16623 always_export_symbols_GCJ
=yes
16624 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'
16625 # Note: this linker hardcodes the directories in LIBPATH if there
16626 # are no directories specified by -L.
16627 hardcode_minus_L_GCJ
=yes
16628 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16629 # Neither direct hardcoding nor static linking is supported with a
16631 hardcode_direct_GCJ
=unsupported
16636 if test "$host_cpu" = ia64
; then
16637 # On IA64, the linker does run time linking by default, so we don't
16638 # have to do anything special.
16639 aix_use_runtimelinking
=no
16640 exp_sym_flag
='-Bexport'
16643 # If we're using GNU nm, then we don't want the "-C" option.
16644 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16645 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
16646 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'
16648 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'
16650 aix_use_runtimelinking
=no
16652 # Test if we are trying to use run time linking or normal
16653 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16654 # need to do runtime linking.
16655 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
16656 for ld_flag
in $LDFLAGS; do
16657 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16658 aix_use_runtimelinking
=yes
16665 exp_sym_flag
='-bexport'
16666 no_entry_flag
='-bnoentry'
16669 # When large executables or shared objects are built, AIX ld can
16670 # have problems creating the table of contents. If linking a library
16671 # or program results in "error TOC overflow" add -mminimal-toc to
16672 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16673 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16675 archive_cmds_GCJ
=''
16676 hardcode_direct_GCJ
=yes
16677 hardcode_direct_absolute_GCJ
=yes
16678 hardcode_libdir_separator_GCJ
=':'
16679 link_all_deplibs_GCJ
=yes
16680 file_list_spec_GCJ
='${wl}-f,'
16682 if test "$GCC" = yes; then
16683 case $host_os in aix4.
[012]|aix4.
[012].
*)
16684 # We only want to do this on AIX 4.2 and lower, the check
16685 # below for broken collect2 doesn't work under 4.3+
16686 collect2name
=`${CC} -print-prog-name=collect2`
16687 if test -f "$collect2name" &&
16688 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
16690 # We have reworked collect2
16693 # We have old collect2
16694 hardcode_direct_GCJ
=unsupported
16695 # It fails to find uninstalled libraries when the uninstalled
16696 # path is not listed in the libpath. Setting hardcode_minus_L
16697 # to unsupported forces relinking
16698 hardcode_minus_L_GCJ
=yes
16699 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16700 hardcode_libdir_separator_GCJ
=
16704 shared_flag
='-shared'
16705 if test "$aix_use_runtimelinking" = yes; then
16706 shared_flag
="$shared_flag "'${wl}-G'
16710 if test "$host_cpu" = ia64
; then
16711 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16712 # chokes on -Wl,-G. The following line is correct:
16715 if test "$aix_use_runtimelinking" = yes; then
16716 shared_flag
='${wl}-G'
16718 shared_flag
='${wl}-bM:SRE'
16723 # It seems that -bexpall does not export symbols beginning with
16724 # underscore (_), so it is better to generate a list of symbols to export.
16725 always_export_symbols_GCJ
=yes
16726 if test "$aix_use_runtimelinking" = yes; then
16727 # Warning - without using the other runtime loading flags (-brtl),
16728 # -berok will link without error, but may produce a broken library.
16729 allow_undefined_flag_GCJ
='-berok'
16730 # Determine the default libpath from the value encoded in an
16731 # empty executable.
16732 if test x
$gcc_no_link = xyes
; then
16733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16735 { (exit 1); exit 1; }; }
16737 cat >conftest.
$ac_ext <<_ACEOF
16740 cat confdefs.h
>>conftest.
$ac_ext
16741 cat >>conftest.
$ac_ext <<_ACEOF
16742 /* end confdefs.h. */
16752 rm -f conftest.
$ac_objext conftest
$ac_exeext
16753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16754 (eval $ac_link) 2>conftest.er1
16756 grep -v '^ *+' conftest.er1
>conftest.err
16758 cat conftest.err
>&5
16759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16760 (exit $ac_status); } &&
16761 { ac_try
='test -z "$ac_c_werror_flag"
16762 || test ! -s conftest.err'
16763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16764 (eval $ac_try) 2>&5
16766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16767 (exit $ac_status); }; } &&
16768 { ac_try
='test -s conftest$ac_exeext'
16769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16770 (eval $ac_try) 2>&5
16772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16773 (exit $ac_status); }; }; then
16775 lt_aix_libpath_sed
='
16776 /Import File Strings/,/^$/ {
16782 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16783 # Check for a 64-bit object if we didn't find anything.
16784 if test -z "$aix_libpath"; then
16785 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16788 echo "$as_me: failed program was:" >&5
16789 sed 's/^/| /' conftest.
$ac_ext >&5
16792 rm -f conftest.err conftest.
$ac_objext \
16793 conftest
$ac_exeext conftest.
$ac_ext
16794 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16796 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16797 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"
16799 if test "$host_cpu" = ia64
; then
16800 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
16801 allow_undefined_flag_GCJ
="-z nodefs"
16802 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"
16804 # Determine the default libpath from the value encoded in an
16805 # empty executable.
16806 if test x
$gcc_no_link = xyes
; then
16807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16809 { (exit 1); exit 1; }; }
16811 cat >conftest.
$ac_ext <<_ACEOF
16814 cat confdefs.h
>>conftest.
$ac_ext
16815 cat >>conftest.
$ac_ext <<_ACEOF
16816 /* end confdefs.h. */
16826 rm -f conftest.
$ac_objext conftest
$ac_exeext
16827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16828 (eval $ac_link) 2>conftest.er1
16830 grep -v '^ *+' conftest.er1
>conftest.err
16832 cat conftest.err
>&5
16833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16834 (exit $ac_status); } &&
16835 { ac_try
='test -z "$ac_c_werror_flag"
16836 || test ! -s conftest.err'
16837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16838 (eval $ac_try) 2>&5
16840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16841 (exit $ac_status); }; } &&
16842 { ac_try
='test -s conftest$ac_exeext'
16843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16844 (eval $ac_try) 2>&5
16846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16847 (exit $ac_status); }; }; then
16849 lt_aix_libpath_sed
='
16850 /Import File Strings/,/^$/ {
16856 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16857 # Check for a 64-bit object if we didn't find anything.
16858 if test -z "$aix_libpath"; then
16859 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16862 echo "$as_me: failed program was:" >&5
16863 sed 's/^/| /' conftest.
$ac_ext >&5
16866 rm -f conftest.err conftest.
$ac_objext \
16867 conftest
$ac_exeext conftest.
$ac_ext
16868 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16870 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16871 # Warning - without using the other run time loading flags,
16872 # -berok will link without error, but may produce a broken library.
16873 no_undefined_flag_GCJ
=' ${wl}-bernotok'
16874 allow_undefined_flag_GCJ
=' ${wl}-berok'
16875 # Exported symbols can be pulled into shared objects from archives
16876 whole_archive_flag_spec_GCJ
='$convenience'
16877 archive_cmds_need_lc_GCJ
=yes
16878 # This is similar to how AIX traditionally builds its shared libraries.
16879 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'
16885 if test "$host_cpu" = m68k
; then
16886 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)'
16887 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16888 hardcode_minus_L_GCJ
=yes
16890 # see comment about different semantics on the GNU ld section
16895 export_dynamic_flag_spec_GCJ
=-rdynamic
16898 cygwin
* | mingw
* | pw32
*)
16899 # When not using gcc, we currently assume that we are using
16900 # Microsoft Visual C++.
16901 # hardcode_libdir_flag_spec is actually meaningless, as there is
16902 # no search path for DLLs.
16903 hardcode_libdir_flag_spec_GCJ
=' '
16904 allow_undefined_flag_GCJ
=unsupported
16905 # Tell ltmain to make .lib files, not .a files.
16907 # Tell ltmain to make .dll files, not .so files.
16909 # FIXME: Setting linknames here is a bad hack.
16910 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
16911 # The linker will automatically build a .lib file if we build a DLL.
16912 old_archive_from_new_cmds_GCJ
='true'
16913 # FIXME: Should let the user specify the lib program.
16914 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
16915 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
16916 enable_shared_with_static_runtimes_GCJ
=yes
16919 darwin
* | rhapsody
*)
16921 rhapsody
* | darwin1.
[012])
16922 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
16925 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
16927 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16930 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
16935 archive_cmds_need_lc_GCJ
=no
16936 hardcode_direct_GCJ
=no
16937 hardcode_automatic_GCJ
=yes
16938 hardcode_shlibpath_var_GCJ
=unsupported
16939 whole_archive_flag_spec_GCJ
=''
16940 link_all_deplibs_GCJ
=yes
16941 if test "$GCC" = yes ; then
16942 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
16943 echo $ECHO_N "(cached) $ECHO_C" >&6
16945 lt_cv_apple_cc_single_mod
=no
16946 if test -z "${LT_MULTI_MODULE}"; then
16947 # By default we will add the -single_module flag. You can override
16948 # by either setting the environment variable LT_MULTI_MODULE
16949 # non-empty at configure time, or by adding -multi-module to the
16951 echo "int foo(void){return 1;}" > conftest.c
16952 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
16953 -dynamiclib ${wl}-single_module conftest.c
16954 if test -f libconftest.dylib
; then
16955 lt_cv_apple_cc_single_mod
=yes
16956 rm libconftest.dylib
16958 rm conftest.
$ac_ext
16962 output_verbose_link_cmd
=echo
16963 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
16964 archive_cmds_GCJ
='$CC -dynamiclib $single_module $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 $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}'
16967 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16968 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}'
16970 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16971 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}'
16973 case $cc_basename in
16975 output_verbose_link_cmd
=echo
16976 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
16977 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16978 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16979 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}'
16980 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}'
16990 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16991 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16992 hardcode_shlibpath_var_GCJ
=no
16999 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17000 # support. Future versions do this automatically, but an explicit c++rt0.o
17001 # does not break anything, and helps significantly (at the cost of a little
17004 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17005 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17006 hardcode_direct_GCJ
=yes
17007 hardcode_shlibpath_var_GCJ
=no
17010 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17012 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17013 hardcode_direct_GCJ
=yes
17014 hardcode_minus_L_GCJ
=yes
17015 hardcode_shlibpath_var_GCJ
=no
17018 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17019 freebsd
* | dragonfly
*)
17020 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17021 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17022 hardcode_direct_GCJ
=yes
17023 hardcode_shlibpath_var_GCJ
=no
17027 if test "$GCC" = yes; then
17028 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'
17030 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'
17032 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17033 hardcode_libdir_separator_GCJ
=:
17034 hardcode_direct_GCJ
=yes
17036 # hardcode_minus_L: Not really in the search PATH,
17037 # but as the default location of the library.
17038 hardcode_minus_L_GCJ
=yes
17039 export_dynamic_flag_spec_GCJ
='${wl}-E'
17043 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17044 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17046 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17048 if test "$with_gnu_ld" = no
; then
17049 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17050 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17051 hardcode_libdir_separator_GCJ
=:
17052 hardcode_direct_GCJ
=yes
17053 hardcode_direct_absolute_GCJ
=yes
17054 export_dynamic_flag_spec_GCJ
='${wl}-E'
17055 # hardcode_minus_L: Not really in the search PATH,
17056 # but as the default location of the library.
17057 hardcode_minus_L_GCJ
=yes
17062 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17065 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17068 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17071 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17077 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17080 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17083 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17087 if test "$with_gnu_ld" = no
; then
17088 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17089 hardcode_libdir_separator_GCJ
=:
17093 hardcode_direct_GCJ
=no
17094 hardcode_shlibpath_var_GCJ
=no
17097 hardcode_direct_GCJ
=yes
17098 hardcode_direct_absolute_GCJ
=yes
17099 export_dynamic_flag_spec_GCJ
='${wl}-E'
17101 # hardcode_minus_L: Not really in the search PATH,
17102 # but as the default location of the library.
17103 hardcode_minus_L_GCJ
=yes
17109 irix5
* | irix6
* | nonstopux
*)
17110 if test "$GCC" = yes; then
17111 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'
17112 # Try to use the -exported_symbol ld option, if it does not
17113 # work, assume that -exports_file does not work either and
17114 # implicitly export all symbols.
17115 save_LDFLAGS
="$LDFLAGS"
17116 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
17117 if test x
$gcc_no_link = xyes
; then
17118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17120 { (exit 1); exit 1; }; }
17122 cat >conftest.
$ac_ext <<_ACEOF
17125 rm -f conftest.
$ac_objext conftest
$ac_exeext
17126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17127 (eval $ac_link) 2>conftest.er1
17129 grep -v '^ *+' conftest.er1
>conftest.err
17131 cat conftest.err
>&5
17132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17133 (exit $ac_status); } &&
17134 { ac_try
='test -z "$ac_c_werror_flag"
17135 || test ! -s conftest.err'
17136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17137 (eval $ac_try) 2>&5
17139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140 (exit $ac_status); }; } &&
17141 { ac_try
='test -s conftest$ac_exeext'
17142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17143 (eval $ac_try) 2>&5
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); }; }; then
17147 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'
17150 echo "$as_me: failed program was:" >&5
17151 sed 's/^/| /' conftest.
$ac_ext >&5
17154 rm -f conftest.err conftest.
$ac_objext \
17155 conftest
$ac_exeext conftest.
$ac_ext
17156 LDFLAGS
="$save_LDFLAGS"
17158 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'
17159 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'
17161 archive_cmds_need_lc_GCJ
='no'
17162 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17163 hardcode_libdir_separator_GCJ
=:
17164 inherit_rpath_GCJ
=yes
17165 link_all_deplibs_GCJ
=yes
17169 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
17170 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17172 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17174 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17175 hardcode_direct_GCJ
=yes
17176 hardcode_shlibpath_var_GCJ
=no
17180 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17181 hardcode_direct_GCJ
=yes
17182 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17183 hardcode_libdir_separator_GCJ
=:
17184 hardcode_shlibpath_var_GCJ
=no
17191 hardcode_direct_GCJ
=yes
17192 hardcode_shlibpath_var_GCJ
=no
17193 hardcode_direct_absolute_GCJ
=yes
17194 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17195 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17196 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17197 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17198 export_dynamic_flag_spec_GCJ
='${wl}-E'
17201 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17202 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17203 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17206 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17207 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17214 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17215 hardcode_minus_L_GCJ
=yes
17216 allow_undefined_flag_GCJ
=unsupported
17217 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'
17218 old_archive_from_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17222 if test "$GCC" = yes; then
17223 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17224 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'
17226 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17227 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'
17229 archive_cmds_need_lc_GCJ
='no'
17230 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17231 hardcode_libdir_separator_GCJ
=:
17234 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17235 if test "$GCC" = yes; then
17236 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17237 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'
17238 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17240 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17241 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'
17242 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~
17243 $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'
17245 # Both c and cxx compiler support -rpath directly
17246 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17248 archive_cmds_need_lc_GCJ
='no'
17249 hardcode_libdir_separator_GCJ
=:
17253 no_undefined_flag_GCJ
=' -z defs'
17254 if test "$GCC" = yes; then
17256 archive_cmds_GCJ
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17257 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17258 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
17260 case `$CC -V 2>&1` in
17263 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17264 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17265 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
17269 archive_cmds_GCJ
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
17270 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17271 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
17275 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17276 hardcode_shlibpath_var_GCJ
=no
17278 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17280 # The compiler driver will combine and reorder linker options,
17281 # but understands `-z linker_flag'. GCC discards it without `$wl',
17282 # but is careful enough not to reorder.
17283 # Supported since Solaris 2.6 (maybe 2.5.1?)
17284 if test "$GCC" = yes; then
17285 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17287 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
17291 link_all_deplibs_GCJ
=yes
17295 if test "x$host_vendor" = xsequent
; then
17296 # Use $CC to link under sequent, because it throws in some extra .o
17297 # files that make .init and .fini sections work.
17298 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17300 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17302 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17303 hardcode_direct_GCJ
=yes
17304 hardcode_minus_L_GCJ
=yes
17305 hardcode_shlibpath_var_GCJ
=no
17309 case $host_vendor in
17311 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17312 hardcode_direct_GCJ
=yes # is this really true???
17315 ## LD is ld it makes a PLAMLIB
17316 ## CC just makes a GrossModule.
17317 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17318 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17319 hardcode_direct_GCJ
=no
17322 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17323 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17326 runpath_var
='LD_RUN_PATH'
17327 hardcode_shlibpath_var_GCJ
=no
17331 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17332 hardcode_shlibpath_var_GCJ
=no
17333 export_dynamic_flag_spec_GCJ
='-Bexport'
17337 if test -d /usr
/nec
; then
17338 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17339 hardcode_shlibpath_var_GCJ
=no
17340 runpath_var
=LD_RUN_PATH
17341 hardcode_runpath_var
=yes
17346 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
17347 no_undefined_flag_GCJ
='${wl}-z,text'
17348 archive_cmds_need_lc_GCJ
=no
17349 hardcode_shlibpath_var_GCJ
=no
17350 runpath_var
='LD_RUN_PATH'
17352 if test "$GCC" = yes; then
17353 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17354 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17356 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17357 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17361 sysv5
* | sco3.2v5
* | sco5v6
*)
17362 # Note: We can NOT use -z defs as we might desire, because we do not
17363 # link with -lc, and that would cause any symbols used from libc to
17364 # always be unresolved, which means just about no library would
17365 # ever link correctly. If we're not using GNU ld we use -z text
17366 # though, which does catch some bad symbols but isn't as heavy-handed
17368 no_undefined_flag_GCJ
='${wl}-z,text'
17369 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17370 archive_cmds_need_lc_GCJ
=no
17371 hardcode_shlibpath_var_GCJ
=no
17372 hardcode_libdir_flag_spec_GCJ
='${wl}-R,$libdir'
17373 hardcode_libdir_separator_GCJ
=':'
17374 link_all_deplibs_GCJ
=yes
17375 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17376 runpath_var
='LD_RUN_PATH'
17378 if test "$GCC" = yes; then
17379 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17380 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17382 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17383 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17388 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17389 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17390 hardcode_shlibpath_var_GCJ
=no
17398 if test x
$host_vendor = xsni
; then
17400 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
17401 export_dynamic_flag_spec_GCJ
='${wl}-Blargedynsym'
17407 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17408 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17409 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17411 with_gnu_ld_GCJ
=$with_gnu_ld
17419 # Do we need to explicitly link libc?
17421 case "x$archive_cmds_need_lc_GCJ" in
17423 # Assume -lc should be added
17424 archive_cmds_need_lc_GCJ
=yes
17426 if test "$enable_shared" = yes && test "$GCC" = yes; then
17427 case $archive_cmds_GCJ in
17429 # FIXME: we may have to deal with multi-command sequences.
17432 # Test whether the compiler implicitly links with -lc since on some
17433 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17434 # to ld, don't add -lc before -lgcc.
17435 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17436 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17438 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17441 (eval $ac_compile) 2>&5
17443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17444 (exit $ac_status); } 2>conftest.err
; then
17447 libobjs
=conftest.
$ac_objext
17449 wl
=$lt_prog_compiler_wl_GCJ
17450 pic_flag
=$lt_prog_compiler_pic_GCJ
17456 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17457 allow_undefined_flag_GCJ
=
17458 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
17459 (eval $archive_cmds_GCJ 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17462 (exit $ac_status); }
17464 archive_cmds_need_lc_GCJ
=no
17466 archive_cmds_need_lc_GCJ
=yes
17468 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17470 cat conftest.err
1>&5
17473 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17474 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17544 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17545 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17547 library_names_spec
=
17548 libname_spec
='lib$name'
17552 postuninstall_cmds
=
17556 shlibpath_overrides_runpath
=unknown
17558 dynamic_linker
="$host_os ld.so"
17559 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17560 need_lib_prefix
=unknown
17561 hardcode_into_libs
=no
17563 # when you set need_version to no, make sure it does not cause -set_version
17564 # flags to be left without arguments
17565 need_version
=unknown
17570 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17571 shlibpath_var
=LIBPATH
17573 # AIX 3 has no versioning support, so we append a major version to the name.
17574 soname_spec
='${libname}${release}${shared_ext}$major'
17581 hardcode_into_libs
=yes
17582 if test "$host_cpu" = ia64
; then
17583 # AIX 5 supports IA64
17584 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17585 shlibpath_var
=LD_LIBRARY_PATH
17587 # With GCC up to 2.95.x, collect2 would create an import file
17588 # for dependence libraries. The import file would start with
17589 # the line `#! .'. This would cause the generated library to
17590 # depend on `.', always an invalid library. This was fixed in
17591 # development snapshots of GCC prior to 3.0.
17593 aix4 | aix4.
[01] | aix4.
[01].
*)
17594 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17596 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
17599 can_build_shared
=no
17603 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17604 # soname into executable. Probably we can add versioning support to
17605 # collect2, so additional links can be useful in future.
17606 if test "$aix_use_runtimelinking" = yes; then
17607 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17608 # instead of lib<name>.a to let people know that these are not
17609 # typical AIX shared libraries.
17610 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17612 # We preserve .a as extension for shared libraries through AIX4.2
17613 # and later when we are not doing run time linking.
17614 library_names_spec
='${libname}${release}.a $libname.a'
17615 soname_spec
='${libname}${release}${shared_ext}$major'
17617 shlibpath_var
=LIBPATH
17622 if test "$host_cpu" = m68k
; then
17623 library_names_spec
='$libname.ixlibrary $libname.a'
17624 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17625 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'
17632 library_names_spec
='${libname}${shared_ext}'
17633 dynamic_linker
="$host_os ld.so"
17634 shlibpath_var
=LIBRARY_PATH
17640 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17641 soname_spec
='${libname}${release}${shared_ext}$major'
17642 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17643 shlibpath_var
=LD_LIBRARY_PATH
17644 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17645 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17646 # the default ld.so.conf also contains /usr/contrib/lib and
17647 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17648 # libtool to hard-code these into programs
17651 cygwin
* | mingw
* | pw32
*)
17652 version_type
=windows
17657 case $withGCC,$host_os in
17658 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17659 library_names_spec
='$libname.dll.a'
17660 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17661 postinstall_cmds
='base_file=`basename \${file}`~
17662 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17663 dldir=$destdir/`dirname \$dlpath`~
17664 test -d \$dldir || mkdir -p \$dldir~
17665 $install_prog $dir/$dlname \$dldir/$dlname~
17666 chmod a+x \$dldir/$dlname~
17667 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17668 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17670 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17671 dlpath=$dir/\$dldll~
17673 shlibpath_overrides_runpath
=yes
17677 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17678 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17679 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17682 # MinGW DLLs use traditional 'lib' prefix
17683 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17684 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17685 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
17686 # It is most probably a Windows format PATH printed by
17687 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17688 # path with ; separators, and with drive letters. We can handle the
17689 # drive letters (cygwin fileutils understands them), so leave them,
17690 # especially as we might pass files found there to a mingw objdump,
17691 # which wouldn't understand a cygwinified path. Ahh.
17692 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17694 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17698 # pw32 DLLs use 'pw' prefix rather than 'lib'
17699 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17705 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17708 dynamic_linker
='Win32 ld.exe'
17709 # FIXME: first we should search . and the directory the executable is in
17713 darwin
* | rhapsody
*)
17714 dynamic_linker
="$host_os dyld"
17715 version_type
=darwin
17718 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17719 soname_spec
='${libname}${release}${major}$shared_ext'
17720 shlibpath_overrides_runpath
=yes
17721 shlibpath_var
=DYLD_LIBRARY_PATH
17722 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17724 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17731 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17732 soname_spec
='${libname}${release}${shared_ext}$major'
17733 shlibpath_var
=LD_LIBRARY_PATH
17740 freebsd
* | dragonfly
*)
17741 # DragonFly does not have aout. When/if they implement a new
17742 # versioning mechanism, adjust this.
17743 if test -x /usr
/bin
/objformat
; then
17744 objformat
=`/usr/bin/objformat`
17747 freebsd
[123]*) objformat
=aout
;;
17748 *) objformat
=elf
;;
17751 version_type
=freebsd-
$objformat
17752 case $version_type in
17754 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17759 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17763 shlibpath_var
=LD_LIBRARY_PATH
17766 shlibpath_overrides_runpath
=yes
17768 freebsd3.
[01]* | freebsdelf3.
[01]*)
17769 shlibpath_overrides_runpath
=yes
17770 hardcode_into_libs
=yes
17772 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17773 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17774 shlibpath_overrides_runpath
=no
17775 hardcode_into_libs
=yes
17777 *) # from 4.6 on, and DragonFly
17778 shlibpath_overrides_runpath
=yes
17779 hardcode_into_libs
=yes
17788 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17789 soname_spec
='${libname}${release}${shared_ext}$major'
17790 shlibpath_var
=LD_LIBRARY_PATH
17791 hardcode_into_libs
=yes
17794 hpux9
* | hpux10
* | hpux11
*)
17795 # Give a soname corresponding to the major version so that dld.sl refuses to
17796 # link against other versions.
17803 hardcode_into_libs
=yes
17804 dynamic_linker
="$host_os dld.so"
17805 shlibpath_var
=LD_LIBRARY_PATH
17806 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17807 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17808 soname_spec
='${libname}${release}${shared_ext}$major'
17809 if test "X$HPUX_IA64_MODE" = X32
; then
17810 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17812 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17814 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17818 hardcode_into_libs
=yes
17819 dynamic_linker
="$host_os dld.sl"
17820 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17821 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17822 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17823 soname_spec
='${libname}${release}${shared_ext}$major'
17824 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17825 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17829 dynamic_linker
="$host_os dld.sl"
17830 shlibpath_var
=SHLIB_PATH
17831 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17832 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17833 soname_spec
='${libname}${release}${shared_ext}$major'
17836 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17837 postinstall_cmds
='chmod 555 $lib'
17844 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17845 soname_spec
='${libname}${release}${shared_ext}$major'
17846 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17847 shlibpath_var
=LD_LIBRARY_PATH
17848 shlibpath_overrides_runpath
=no
17849 hardcode_into_libs
=yes
17852 irix5
* | irix6
* | nonstopux
*)
17854 nonstopux
*) version_type
=nonstopux
;;
17856 if test "$lt_cv_prog_gnu_ld" = yes; then
17864 soname_spec
='${libname}${release}${shared_ext}$major'
17865 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17867 irix5
* | nonstopux
*)
17868 libsuff
= shlibsuff
=
17871 case $LD in # libtool.m4 will add one of these switches to LD
17872 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17873 libsuff
= shlibsuff
= libmagic
=32-bit;;
17874 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17875 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17876 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17877 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17878 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17882 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17883 shlibpath_overrides_runpath
=no
17884 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17885 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17886 hardcode_into_libs
=yes
17889 # No shared lib support for Linux oldld, aout, or coff.
17890 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17894 # This must be Linux ELF.
17895 linux
* | k
*bsd
*-gnu)
17899 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17900 soname_spec
='${libname}${release}${shared_ext}$major'
17901 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17902 shlibpath_var
=LD_LIBRARY_PATH
17903 shlibpath_overrides_runpath
=no
17904 # Some binutils ld are patched to set DT_RUNPATH
17905 save_LDFLAGS
=$LDFLAGS
17906 save_libdir
=$libdir
17907 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_GCJ\"; \
17908 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_GCJ\""
17909 if test x
$gcc_no_link = xyes
; then
17910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17912 { (exit 1); exit 1; }; }
17914 cat >conftest.
$ac_ext <<_ACEOF
17917 cat confdefs.h
>>conftest.
$ac_ext
17918 cat >>conftest.
$ac_ext <<_ACEOF
17919 /* end confdefs.h. */
17929 rm -f conftest.
$ac_objext conftest
$ac_exeext
17930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17931 (eval $ac_link) 2>conftest.er1
17933 grep -v '^ *+' conftest.er1
>conftest.err
17935 cat conftest.err
>&5
17936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937 (exit $ac_status); } &&
17938 { ac_try
='test -z "$ac_c_werror_flag"
17939 || test ! -s conftest.err'
17940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17941 (eval $ac_try) 2>&5
17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 (exit $ac_status); }; } &&
17945 { ac_try
='test -s conftest$ac_exeext'
17946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17947 (eval $ac_try) 2>&5
17949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950 (exit $ac_status); }; }; then
17951 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
17952 shlibpath_overrides_runpath
=yes
17956 echo "$as_me: failed program was:" >&5
17957 sed 's/^/| /' conftest.
$ac_ext >&5
17960 rm -f conftest.err conftest.
$ac_objext \
17961 conftest
$ac_exeext conftest.
$ac_ext
17962 LDFLAGS
=$save_LDFLAGS
17963 libdir
=$save_libdir
17965 # This implies no fast_install, which is unacceptable.
17966 # Some rework will be needed to allow for fast_install
17967 # before this can be enabled.
17968 hardcode_into_libs
=yes
17970 # Append ld.so.conf contents to the search path
17971 if test -f /etc
/ld.so.conf
; then
17972 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' ' '`
17973 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17976 # We used to test for /lib/ld.so.1 and disable shared libraries on
17977 # powerpc, because MkLinux only supported shared libraries with the
17978 # GNU dynamic linker. Since this was broken with cross compilers,
17979 # most powerpc-linux boxes support dynamic linking these days and
17980 # people can always --disable-shared, the test was removed, and we
17981 # assume the GNU/Linux dynamic linker is in use.
17982 dynamic_linker
='GNU/Linux ld.so'
17989 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
17990 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17991 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17992 dynamic_linker
='NetBSD (a.out) ld.so'
17994 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17995 soname_spec
='${libname}${release}${shared_ext}$major'
17996 dynamic_linker
='NetBSD ld.elf_so'
17998 shlibpath_var
=LD_LIBRARY_PATH
17999 shlibpath_overrides_runpath
=yes
18000 hardcode_into_libs
=yes
18005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18006 shlibpath_var
=LD_LIBRARY_PATH
18007 shlibpath_overrides_runpath
=yes
18014 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18015 soname_spec
='${libname}${release}${shared_ext}$major'
18016 shlibpath_var
=LD_LIBRARY_PATH
18017 shlibpath_overrides_runpath
=no
18018 hardcode_into_libs
=yes
18019 dynamic_linker
='ldqnx.so'
18024 sys_lib_dlsearch_path_spec
="/usr/lib"
18026 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18028 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18029 *) need_version
=no
;;
18031 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18032 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18033 shlibpath_var
=LD_LIBRARY_PATH
18034 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18036 openbsd2.
[89] | openbsd2.
[89].
*)
18037 shlibpath_overrides_runpath
=no
18040 shlibpath_overrides_runpath
=yes
18044 shlibpath_overrides_runpath
=yes
18049 libname_spec
='$name'
18052 library_names_spec
='$libname${shared_ext} $libname.a'
18053 dynamic_linker
='OS/2 ld.exe'
18054 shlibpath_var
=LIBPATH
18057 osf3
* | osf4
* | osf5
*)
18061 soname_spec
='${libname}${release}${shared_ext}$major'
18062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18063 shlibpath_var
=LD_LIBRARY_PATH
18064 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18065 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18076 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18077 soname_spec
='${libname}${release}${shared_ext}$major'
18078 shlibpath_var
=LD_LIBRARY_PATH
18079 shlibpath_overrides_runpath
=yes
18080 hardcode_into_libs
=yes
18081 # ldd complains unless libraries are executable
18082 postinstall_cmds
='chmod +x $lib'
18087 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18088 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18089 shlibpath_var
=LD_LIBRARY_PATH
18090 shlibpath_overrides_runpath
=yes
18091 if test "$with_gnu_ld" = yes; then
18099 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18100 soname_spec
='${libname}${release}${shared_ext}$major'
18101 shlibpath_var
=LD_LIBRARY_PATH
18102 case $host_vendor in
18104 shlibpath_overrides_runpath
=no
18106 runpath_var
=LD_RUN_PATH
18114 shlibpath_overrides_runpath
=no
18115 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18121 if test -d /usr
/nec
;then
18123 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18124 soname_spec
='$libname${shared_ext}.$major'
18125 shlibpath_var
=LD_LIBRARY_PATH
18129 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18130 version_type
=freebsd-elf
18133 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18134 soname_spec
='${libname}${release}${shared_ext}$major'
18135 shlibpath_var
=LD_LIBRARY_PATH
18136 shlibpath_overrides_runpath
=yes
18137 hardcode_into_libs
=yes
18138 if test "$with_gnu_ld" = yes; then
18139 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18141 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18144 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18148 sys_lib_dlsearch_path_spec
='/usr/lib'
18152 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
18156 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18157 shlibpath_var
=LD_LIBRARY_PATH
18158 shlibpath_overrides_runpath
=no
18159 hardcode_into_libs
=yes
18164 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18165 soname_spec
='${libname}${release}${shared_ext}$major'
18166 shlibpath_var
=LD_LIBRARY_PATH
18173 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18174 echo "${ECHO_T}$dynamic_linker" >&6
18175 test "$dynamic_linker" = no
&& can_build_shared
=no
18177 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18178 if test "$GCC" = yes; then
18179 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18217 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18218 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
18219 hardcode_action_GCJ
=
18220 if test -n "$hardcode_libdir_flag_spec_GCJ" ||
18221 test -n "$runpath_var_GCJ" ||
18222 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18224 # We can hardcode non-existent directories.
18225 if test "$hardcode_direct_GCJ" != no
&&
18226 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18227 # have to relink, otherwise we might link with an installed library
18228 # when we should be linking with a yet-to-be-installed one
18229 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18230 test "$hardcode_minus_L_GCJ" != no
; then
18231 # Linking always hardcodes the temporary library directory.
18232 hardcode_action_GCJ
=relink
18234 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18235 hardcode_action_GCJ
=immediate
18238 # We cannot hardcode anything, or else we can only hardcode existing
18240 hardcode_action_GCJ
=unsupported
18242 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18243 echo "${ECHO_T}$hardcode_action_GCJ" >&6
18245 if test "$hardcode_action_GCJ" = relink ||
18246 test "$inherit_rpath_GCJ" = yes; then
18247 # Fast installation is not supported
18248 enable_fast_install
=no
18249 elif test "$shlibpath_overrides_runpath" = yes ||
18250 test "$enable_shared" = no
; then
18251 # Fast installation is not necessary
18252 enable_fast_install
=needless
18263 compiler_GCJ
=${GCJ-gcj}
18265 ac_cpp
='$CPP $CPPFLAGS'
18266 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18267 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18268 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18271 if test "x$CC" != xcc
; then
18272 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
18273 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
18275 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
18276 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
18278 set dummy
$CC; ac_cc
=`echo $2 |
18279 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
18280 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
18281 echo $ECHO_N "(cached) $ECHO_C" >&6
18283 cat >conftest.
$ac_ext <<_ACEOF
18286 cat confdefs.h
>>conftest.
$ac_ext
18287 cat >>conftest.
$ac_ext <<_ACEOF
18288 /* end confdefs.h. */
18298 # Make sure it works both with $CC and with simple cc.
18299 # We do the test twice because some compilers refuse to overwrite an
18300 # existing .o file with -o, though they will create one.
18301 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
18302 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18303 (eval $ac_try) 2>&5
18305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18306 (exit $ac_status); } &&
18307 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18308 (eval $ac_try) 2>&5
18310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18311 (exit $ac_status); };
18313 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
18314 if test "x$CC" != xcc
; then
18315 # Test first that cc exists at all.
18316 if { ac_try
='cc -c conftest.$ac_ext >&5'
18317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18318 (eval $ac_try) 2>&5
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); }; }; then
18322 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
18323 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18324 (eval $ac_try) 2>&5
18326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327 (exit $ac_status); } &&
18328 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18329 (eval $ac_try) 2>&5
18331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18332 (exit $ac_status); };
18337 # cc exists but doesn't like -o.
18338 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
18343 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
18348 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
18349 echo "$as_me:$LINENO: result: yes" >&5
18350 echo "${ECHO_T}yes" >&6
18352 echo "$as_me:$LINENO: result: no" >&5
18353 echo "${ECHO_T}no" >&6
18355 cat >>confdefs.h
<<\_ACEOF
18356 #define NO_MINUS_C_MINUS_O 1
18361 # FIXME: we rely on the cache variable name because
18362 # there is no other way.
18364 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
18365 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
18366 # Losing compiler, so override with the script.
18367 # FIXME: It is wrong to rewrite CC.
18368 # But if we don't then we get into trouble of one sort or another.
18369 # A longer-term fix would be to have automake use am__CC in this case,
18370 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
18371 CC
="$am_aux_dir/compile $CC"
18377 subdirs
="$subdirs classpath libltdl"
18380 # The -no-testsuite modules omit the test subdir.
18383 if test -d $srcdir/testsuite
; then
18385 TESTSUBDIR_FALSE
='#'
18387 TESTSUBDIR_TRUE
='#'
18392 # Should the runtime set system properties by examining the
18393 # environment variable GCJ_PROPERTIES?
18394 # Check whether --enable-getenv-properties or --disable-getenv-properties was given.
18395 if test "${enable_getenv_properties+set}" = set; then
18396 enableval
="$enable_getenv_properties"
18400 # Whether GCJ_PROPERTIES is used depends on the target.
18401 if test -z "$enable_getenv_properties"; then
18402 enable_getenv_properties
=${enable_getenv_properties_default-yes}
18404 if test "$enable_getenv_properties" = no
; then
18406 cat >>confdefs.h
<<\_ACEOF
18407 #define DISABLE_GETENV_PROPERTIES 1
18412 # Whether we should use arguments to main()
18413 if test -z "$enable_main_args"; then
18414 enable_main_args
=${enable_main_args_default-yes}
18416 if test "$enable_main_args" = no
; then
18418 cat >>confdefs.h
<<\_ACEOF
18419 #define DISABLE_MAIN_ARGS 1
18425 # Should we use hashtable-based synchronization?
18426 # Currently works only for Linux X86/ia64
18427 # Typically faster and more space-efficient
18428 # Check whether --enable-hash-synchronization or --disable-hash-synchronization was given.
18429 if test "${enable_hash_synchronization+set}" = set; then
18430 enableval
="$enable_hash_synchronization"
18434 if test -z "$enable_hash_synchronization"; then
18435 enable_hash_synchronization
=$enable_hash_synchronization_default
18443 # Check whether --with-ecj-jar or --without-ecj-jar was given.
18444 if test "${with_ecj_jar+set}" = set; then
18445 withval
="$with_ecj_jar"
18448 if test -f $multi_basedir/ecj.jar
; then
18449 ECJ_BUILD_JAR
=$multi_basedir/ecj.jar
18450 ECJ_JAR
='$(jardir)/ecj.jar'
18451 install_ecj_jar
=yes
18458 if test "$ECJ_JAR" != ""; then
18460 BUILD_ECJ1_FALSE
='#'
18462 BUILD_ECJ1_TRUE
='#'
18468 if test $install_ecj_jar = yes; then
18469 INSTALL_ECJ_JAR_TRUE
=
18470 INSTALL_ECJ_JAR_FALSE
='#'
18472 INSTALL_ECJ_JAR_TRUE
='#'
18473 INSTALL_ECJ_JAR_FALSE
=
18478 # Check whether --with-java-home or --without-java-home was given.
18479 if test "${with_java_home+set}" = set; then
18480 withval
="$with_java_home"
18481 JAVA_HOME
="${withval}"
18487 if test ! -z "$JAVA_HOME"; then
18488 JAVA_HOME_SET_TRUE
=
18489 JAVA_HOME_SET_FALSE
='#'
18491 JAVA_HOME_SET_TRUE
='#'
18492 JAVA_HOME_SET_FALSE
=
18497 suppress_libgcj_bc
=no
18498 # Check whether --enable-libgcj-bc or --disable-libgcj-bc was given.
18499 if test "${enable_libgcj_bc+set}" = set; then
18500 enableval
="$enable_libgcj_bc"
18501 if test "$enable_libgcj_bc" = "no"; then
18502 suppress_libgcj_bc
=yes
18507 if test "$suppress_libgcj_bc" = "yes"; then
18508 SUPPRESS_LIBGCJ_BC_TRUE
=
18509 SUPPRESS_LIBGCJ_BC_FALSE
='#'
18511 SUPPRESS_LIBGCJ_BC_TRUE
='#'
18512 SUPPRESS_LIBGCJ_BC_FALSE
=
18516 build_libgcj_reduced_reflection
=no
18517 # Check whether --enable-reduced-reflection or --disable-reduced-reflection was given.
18518 if test "${enable_reduced_reflection+set}" = set; then
18519 enableval
="$enable_reduced_reflection"
18520 if test "$enable_reduced_reflection" = "yes"; then
18521 build_libgcj_reduced_reflection
=yes
18526 if test "$build_libgcj_reduced_reflection" = "yes"; then
18527 BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE
=
18528 BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE
='#'
18530 BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE
='#'
18531 BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE
=
18535 # What is the native OS API for MinGW?
18537 # Check whether --with-win32-nlsapi or --without-win32-nlsapi was given.
18538 if test "${with_win32_nlsapi+set}" = set; then
18539 withval
="$with_win32_nlsapi"
18540 case "${withval}" in
18541 ansi
) with_win32_nlsapi
=ansi
;;
18542 unicows
) with_win32_nlsapi
=unicows
;;
18543 unicode
) with_win32_nlsapi
=unicode
;;
18544 *) { { echo "$as_me:$LINENO: error: Bad value ${withval} for --with-win32-nlsapi." >&5
18545 echo "$as_me: error: Bad value ${withval} for --with-win32-nlsapi." >&2;}
18546 { (exit 1); exit 1; }; } ;;
18549 with_win32_nlsapi
=ansi
18552 case "${with_win32_nlsapi}" in
18555 cat >>confdefs.h
<<\_ACEOF
18556 #define MINGW_LIBGCJ_UNICODE 1
18562 # configure.host sets slow_pthread_self if the synchronization code should
18563 # try to avoid pthread_self calls by caching thread IDs in a hashtable.
18564 if test "${slow_pthread_self}" = "yes"; then
18566 cat >>confdefs.h
<<\_ACEOF
18567 #define SLOW_PTHREAD_SELF 1
18572 # Check for gc debugging. This option is handled both here and in the GC.
18573 # Check whether --enable-gc-debug or --disable-gc-debug was given.
18574 if test "${enable_gc_debug+set}" = set; then
18575 enableval
="$enable_gc_debug"
18576 if test "$enable_gc_debug" = "yes"; then
18578 cat >>confdefs.h
<<\_ACEOF
18579 #define LIBGCJ_GC_DEBUG 1
18585 # See if the user has the interpreter included.
18586 # Check whether --enable-interpreter or --disable-interpreter was given.
18587 if test "${enable_interpreter+set}" = set; then
18588 enableval
="$enable_interpreter"
18589 if test "$enable_interpreter" = yes; then
18590 # This can also be set in configure.host.
18591 libgcj_interpreter
=yes
18592 elif test "$enable_interpreter" = no
; then
18593 libgcj_interpreter
=no
18597 if test "$libgcj_interpreter" = yes; then
18599 cat >>confdefs.h
<<\_ACEOF
18600 #define INTERPRETER 1
18604 INTERPRETER
="$libgcj_interpreter"
18608 if test "$libgcj_interpreter" = yes; then
18610 INTERPRETER_FALSE
='#'
18612 INTERPRETER_TRUE
='#'
18617 echo "$as_me:$LINENO: checking for exception model to use" >&5
18618 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
18620 ac_cpp
='$CXXCPP $CPPFLAGS'
18621 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18622 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18623 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18625 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
18626 if test "${enable_sjlj_exceptions+set}" = set; then
18627 enableval
="$enable_sjlj_exceptions"
18630 cat > conftest.
$ac_ext << EOF
18631 #line 18631 "configure"
18632 struct S { ~S(); };
18640 old_CXXFLAGS
="$CXXFLAGS"
18642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18643 (eval $ac_compile) 2>&5
18645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18646 (exit $ac_status); }; then
18647 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1 ; then
18648 enable_sjlj_exceptions
=yes
18649 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1 ; then
18650 enable_sjlj_exceptions
=no
18653 CXXFLAGS
="$old_CXXFLAGS"
18656 if test x
$enable_sjlj_exceptions = xyes
; then
18658 cat >>confdefs.h
<<\_ACEOF
18659 #define SJLJ_EXCEPTIONS 1
18662 ac_exception_model_name
=sjlj
18663 elif test x
$enable_sjlj_exceptions = xno
; then
18664 ac_exception_model_name
="call frame"
18666 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
18667 echo "$as_me: error: unable to detect exception model" >&2;}
18668 { (exit 1); exit 1; }; }
18671 ac_cpp
='$CPP $CPPFLAGS'
18672 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18673 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18674 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18676 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
18677 echo "${ECHO_T}$ac_exception_model_name" >&6
18679 # If we are non using SJLJ exceptions, and this host does not have support
18680 # for unwinding from a signal handler, enable checked dereferences and divides.
18681 if test $can_unwind_signal = no
&& test $enable_sjlj_exceptions = no
; then
18682 CHECKREFSPEC
=-fcheck-references
18683 DIVIDESPEC
=-fuse-divide-subroutine
18687 # See if the user wants to disable java.net. This is the mildly
18688 # ugly way that we admit that target-side configuration sucks.
18689 # Check whether --enable-java-net or --disable-java-net was given.
18690 if test "${enable_java_net+set}" = set; then
18691 enableval
="$enable_java_net"
18695 # Whether java.net is built by default can depend on the target.
18696 if test -z "$enable_java_net"; then
18697 enable_java_net
=${enable_java_net_default-yes}
18699 if test "$enable_java_net" = no
; then
18701 cat >>confdefs.h
<<\_ACEOF
18702 #define DISABLE_JAVA_NET 1
18707 # See if the user wants to configure without libffi. Some
18708 # architectures don't support it, and default values are set in
18711 # Check whether --with-libffi or --without-libffi was given.
18712 if test "${with_libffi+set}" = set; then
18713 withval
="$with_libffi"
18716 with_libffi
=${with_libffi_default-yes}
18721 if test "$with_libffi" != no
; then
18723 cat >>confdefs.h
<<\_ACEOF
18724 #define USE_LIBFFI 1
18727 LIBFFI
=..
/libffi
/libffi_convenience.la
18728 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
18733 # See if the user wants to disable JVMPI support.
18734 # Check whether --enable-jvmpi or --disable-jvmpi was given.
18735 if test "${enable_jvmpi+set}" = set; then
18736 enableval
="$enable_jvmpi"
18740 if test "$enable_jvmpi" != no
; then
18742 cat >>confdefs.h
<<\_ACEOF
18743 #define ENABLE_JVMPI 1
18748 # If the target is an eCos system, use the appropriate eCos
18750 # FIXME: this should not be a local option but a global target
18751 # system; at present there is no eCos target.
18752 TARGET_ECOS
=${PROCESS-"no"}
18754 # Check whether --with-ecos or --without-ecos was given.
18755 if test "${with_ecos+set}" = set; then
18756 withval
="$with_ecos"
18757 TARGET_ECOS
="$with_ecos"
18761 case "$TARGET_ECOS" in
18762 no
) case "$host" in
18768 echo "$as_me:$LINENO: checking whether 'ld' is at least 2.13" >&5
18769 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6
18770 LD_PROG
=`$CC --print-prog-name=ld`
18771 LD_VERSION
=`$LD_PROG --version`
18772 LD_VERSION_MAJOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
18773 LD_VERSION_MINOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
18774 if expr "$LD_VERSION_MAJOR" \
> 2 > /dev
/null
; then
18777 if expr "$LD_VERSION_MAJOR" = 2 && expr "$LD_VERSION_MINOR" \
>= 13 > /dev
/null
; then
18781 if test "x$LD_OK" != x
; then
18782 echo "$as_me:$LINENO: result: yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
18783 echo "${ECHO_T}yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
18785 echo "$as_me:$LINENO: result: no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
18786 echo "${ECHO_T}no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
18787 { echo "$as_me:$LINENO: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&5
18788 echo "$as_me: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&2;}
18790 cat >>confdefs.h
<<\_ACEOF
18791 #define JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS 1
18807 cat >>confdefs.h
<<\_ACEOF
18815 ac_config_links
="$ac_config_links include/platform.h:include/$PLATFORMH"
18818 cat >conftest.
$ac_ext <<_ACEOF
18821 cat confdefs.h
>>conftest.
$ac_ext
18822 cat >>conftest.
$ac_ext <<_ACEOF
18823 /* end confdefs.h. */
18824 #include <stdint.h>
18827 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18828 $EGREP "uint32_t" >/dev
/null
2>&1; then
18830 cat >>confdefs.h
<<\_ACEOF
18831 #define HAVE_INT32_DEFINED 1
18837 cat >conftest.
$ac_ext <<_ACEOF
18840 cat confdefs.h
>>conftest.
$ac_ext
18841 cat >>conftest.
$ac_ext <<_ACEOF
18842 /* end confdefs.h. */
18843 #include <inttypes.h>
18846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18847 $EGREP "uint32_t" >/dev
/null
2>&1; then
18849 cat >>confdefs.h
<<\_ACEOF
18850 #define HAVE_INT32_DEFINED 1
18856 cat >conftest.
$ac_ext <<_ACEOF
18859 cat confdefs.h
>>conftest.
$ac_ext
18860 cat >>conftest.
$ac_ext <<_ACEOF
18861 /* end confdefs.h. */
18862 #include <sys/types.h>
18865 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18866 $EGREP "u_int32_t" >/dev
/null
2>&1; then
18868 cat >>confdefs.h
<<\_ACEOF
18869 #define HAVE_BSD_INT32_DEFINED 1
18875 cat >conftest.
$ac_ext <<_ACEOF
18878 cat confdefs.h
>>conftest.
$ac_ext
18879 cat >>conftest.
$ac_ext <<_ACEOF
18880 /* end confdefs.h. */
18881 #include <sys/config.h>
18884 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18885 $EGREP "u_int32_t" >/dev
/null
2>&1; then
18887 cat >>confdefs.h
<<\_ACEOF
18888 #define HAVE_BSD_INT32_DEFINED 1
18897 if test "$PLATFORM" = Win32
; then
18898 USING_WIN32_PLATFORM_TRUE
=
18899 USING_WIN32_PLATFORM_FALSE
='#'
18901 USING_WIN32_PLATFORM_TRUE
='#'
18902 USING_WIN32_PLATFORM_FALSE
=
18907 if test "$PLATFORM" = Posix ||
test "$PLATFORM" = Ecos
; then
18908 USING_POSIX_PLATFORM_TRUE
=
18909 USING_POSIX_PLATFORM_FALSE
='#'
18911 USING_POSIX_PLATFORM_TRUE
='#'
18912 USING_POSIX_PLATFORM_FALSE
=
18917 *-darwin*) DARWIN_CRT
=true
;;
18918 *) DARWIN_CRT
=false
;;
18922 if $DARWIN_CRT; then
18923 USING_DARWIN_CRT_TRUE
=
18924 USING_DARWIN_CRT_FALSE
='#'
18926 USING_DARWIN_CRT_TRUE
='#'
18927 USING_DARWIN_CRT_FALSE
=
18931 # This may not be defined in a non-ANS conformant embedded system.
18932 # FIXME: Should these case a runtime exception in that case?
18933 cat >conftest.
$ac_ext <<_ACEOF
18936 cat confdefs.h
>>conftest.
$ac_ext
18937 cat >>conftest.
$ac_ext <<_ACEOF
18938 /* end confdefs.h. */
18942 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18943 $EGREP "localtime" >/dev
/null
2>&1; then
18945 cat >>confdefs.h
<<\_ACEOF
18946 #define HAVE_LOCALTIME 1
18953 # Create the subdirectory for natFile.cc, or the attempt
18954 # to create the link will fail.
18955 test -d java || mkdir java
18956 test -d java
/io || mkdir java
/io
18957 test -d gnu || mkdir gnu
18958 ac_config_links
="$ac_config_links java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc"
18961 # Likewise for natConcreteProcess.cc.
18962 test -d java
/lang || mkdir java
/lang
18963 ac_config_links
="$ac_config_links java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc"
18966 # Likewise for natVMInetAddress.cc and natVMNetworkInterface.cc.
18967 test -d java
/net || mkdir java
/net
18968 ac_config_links
="$ac_config_links java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc"
18970 ac_config_links
="$ac_config_links java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc"
18973 # Likewise for natPlainSocketImpl.cc and natPlainDatagramSocketImpl.cc.
18974 test -d gnu
/java || mkdir gnu
/java
18975 test -d gnu
/java
/net || mkdir gnu
/java
/net
18976 ac_config_links
="$ac_config_links gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc"
18978 ac_config_links
="$ac_config_links gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc"
18981 # Likewise for natVMPipe.cc and natVMSelector.cc.
18982 test -d gnu
/java
/nio || mkdir gnu
/java
/nio
18983 ac_config_links
="$ac_config_links gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc"
18985 ac_config_links
="$ac_config_links gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc"
18988 # Likewise for natFileChannelImpl.cc
18989 test -d gnu
/java
/nio
/channels || mkdir gnu
/java
/nio
/channels
18990 ac_config_links
="$ac_config_links gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc"
18995 SYSTEMSPEC
="-lgdi32 -lws2_32"
18996 if test "${with_win32_nlsapi}" = "unicows"; then
18997 SYSTEMSPEC
="-lunicows $SYSTEMSPEC"
19007 # Check whether --with-system-zlib or --without-system-zlib was given.
19008 if test "${with_system_zlib+set}" = set; then
19009 withval
="$with_system_zlib"
19017 echo "$as_me:$LINENO: checking for X" >&5
19018 echo $ECHO_N "checking for X... $ECHO_C" >&6
19021 # Check whether --with-x or --without-x was given.
19022 if test "${with_x+set}" = set; then
19026 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
19027 if test "x$with_x" = xno
; then
19028 # The user explicitly disabled X.
19031 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
19032 # Both variables are already set.
19035 if test "${ac_cv_have_x+set}" = set; then
19036 echo $ECHO_N "(cached) $ECHO_C" >&6
19038 # One or both of the vars are not set, and there is no cached value.
19039 ac_x_includes
=no ac_x_libraries
=no
19040 rm -fr conftest.dir
19041 if mkdir conftest.dir
; then
19043 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
19044 cat >Imakefile
<<'_ACEOF'
19046 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
19048 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
19049 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19050 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
19051 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
19052 for ac_extension
in a so sl
; do
19053 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
19054 test -f $ac_im_libdir/libX11.
$ac_extension; then
19055 ac_im_usrlibdir
=$ac_im_libdir; break
19058 # Screen out bogus values from the imake configuration. They are
19059 # bogus both because they are the default anyway, and because
19060 # using them would break gcc on systems where it needs fixed includes.
19061 case $ac_im_incroot in
19063 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
19065 case $ac_im_usrlibdir in
19066 /usr
/lib |
/lib
) ;;
19067 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
19071 rm -fr conftest.dir
19074 # Standard set of common directories for X headers.
19075 # Check X11 before X11Rn because it is often a symlink to the current release.
19087 /usr/local/X11/include
19088 /usr/local/X11R6/include
19089 /usr/local/X11R5/include
19090 /usr/local/X11R4/include
19092 /usr/local/include/X11
19093 /usr/local/include/X11R6
19094 /usr/local/include/X11R5
19095 /usr/local/include/X11R4
19099 /usr/XFree86/include/X11
19103 /usr/unsupported/include
19104 /usr/athena/include
19105 /usr/local/x11r5/include
19106 /usr/lpp/Xamples/include
19108 /usr/openwin/include
19109 /usr/openwin/share/include'
19111 if test "$ac_x_includes" = no
; then
19112 # Guess where to find include files, by looking for Intrinsic.h.
19113 # First, try using that file with no special directory specified.
19114 cat >conftest.
$ac_ext <<_ACEOF
19117 cat confdefs.h
>>conftest.
$ac_ext
19118 cat >>conftest.
$ac_ext <<_ACEOF
19119 /* end confdefs.h. */
19120 #include <X11/Intrinsic.h>
19122 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19123 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19125 grep -v '^ *+' conftest.er1
>conftest.err
19127 cat conftest.err
>&5
19128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19129 (exit $ac_status); } >/dev
/null
; then
19130 if test -s conftest.err
; then
19131 ac_cpp_err
=$ac_c_preproc_warn_flag
19132 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19139 if test -z "$ac_cpp_err"; then
19140 # We can compile using X headers with no special include directory.
19143 echo "$as_me: failed program was:" >&5
19144 sed 's/^/| /' conftest.
$ac_ext >&5
19146 for ac_dir
in $ac_x_header_dirs; do
19147 if test -r "$ac_dir/X11/Intrinsic.h"; then
19148 ac_x_includes
=$ac_dir
19153 rm -f conftest.err conftest.
$ac_ext
19154 fi # $ac_x_includes = no
19156 if test "$ac_x_libraries" = no
; then
19157 # Check for the libraries.
19158 # See if we find them without any special options.
19159 # Don't add to $LIBS permanently.
19162 if test x
$gcc_no_link = xyes
; then
19163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19165 { (exit 1); exit 1; }; }
19167 cat >conftest.
$ac_ext <<_ACEOF
19170 cat confdefs.h
>>conftest.
$ac_ext
19171 cat >>conftest.
$ac_ext <<_ACEOF
19172 /* end confdefs.h. */
19173 #include <X11/Intrinsic.h>
19182 rm -f conftest.
$ac_objext conftest
$ac_exeext
19183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19184 (eval $ac_link) 2>conftest.er1
19186 grep -v '^ *+' conftest.er1
>conftest.err
19188 cat conftest.err
>&5
19189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19190 (exit $ac_status); } &&
19191 { ac_try
='test -z "$ac_c_werror_flag"
19192 || test ! -s conftest.err'
19193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19194 (eval $ac_try) 2>&5
19196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); }; } &&
19198 { ac_try
='test -s conftest$ac_exeext'
19199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19200 (eval $ac_try) 2>&5
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); }; }; then
19205 # We can link X programs with no special library path.
19208 echo "$as_me: failed program was:" >&5
19209 sed 's/^/| /' conftest.
$ac_ext >&5
19212 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
19214 # Don't even attempt the hair of trying to link an X program!
19215 for ac_extension
in a so sl
; do
19216 if test -r $ac_dir/libXt.
$ac_extension; then
19217 ac_x_libraries
=$ac_dir
19223 rm -f conftest.err conftest.
$ac_objext \
19224 conftest
$ac_exeext conftest.
$ac_ext
19225 fi # $ac_x_libraries = no
19227 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
19228 # Didn't find X anywhere. Cache the known absence of X.
19229 ac_cv_have_x
="have_x=no"
19231 # Record where we found X for the cache.
19232 ac_cv_have_x
="have_x=yes \
19233 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
19238 eval "$ac_cv_have_x"
19241 if test "$have_x" != yes; then
19242 echo "$as_me:$LINENO: result: $have_x" >&5
19243 echo "${ECHO_T}$have_x" >&6
19246 # If each of the values was on the command line, it overrides each guess.
19247 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
19248 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
19249 # Update the cache value to reflect the command line values.
19250 ac_cv_have_x
="have_x=yes \
19251 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
19252 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
19253 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
19256 if test "$no_x" = yes; then
19257 # Not all programs may use this symbol, but it does not hurt to define it.
19259 cat >>confdefs.h
<<\_ACEOF
19260 #define X_DISPLAY_MISSING 1
19263 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
19265 if test -n "$x_includes"; then
19266 X_CFLAGS
="$X_CFLAGS -I$x_includes"
19269 # It would also be nice to do this for all -L options, not just this one.
19270 if test -n "$x_libraries"; then
19271 X_LIBS
="$X_LIBS -L$x_libraries"
19272 # For Solaris; some versions of Sun CC require a space after -R and
19273 # others require no space. Words are not sufficient . . . .
19274 case `(uname -sr) 2>/dev/null` in
19276 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
19277 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
19278 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
19279 if test x
$gcc_no_link = xyes
; then
19280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19282 { (exit 1); exit 1; }; }
19284 cat >conftest.
$ac_ext <<_ACEOF
19287 cat confdefs.h
>>conftest.
$ac_ext
19288 cat >>conftest.
$ac_ext <<_ACEOF
19289 /* end confdefs.h. */
19299 rm -f conftest.
$ac_objext conftest
$ac_exeext
19300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19301 (eval $ac_link) 2>conftest.er1
19303 grep -v '^ *+' conftest.er1
>conftest.err
19305 cat conftest.err
>&5
19306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19307 (exit $ac_status); } &&
19308 { ac_try
='test -z "$ac_c_werror_flag"
19309 || test ! -s conftest.err'
19310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19311 (eval $ac_try) 2>&5
19313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19314 (exit $ac_status); }; } &&
19315 { ac_try
='test -s conftest$ac_exeext'
19316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19317 (eval $ac_try) 2>&5
19319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19320 (exit $ac_status); }; }; then
19323 echo "$as_me: failed program was:" >&5
19324 sed 's/^/| /' conftest.
$ac_ext >&5
19328 rm -f conftest.err conftest.
$ac_objext \
19329 conftest
$ac_exeext conftest.
$ac_ext
19330 if test $ac_R_nospace = yes; then
19331 echo "$as_me:$LINENO: result: no" >&5
19332 echo "${ECHO_T}no" >&6
19333 X_LIBS
="$X_LIBS -R$x_libraries"
19335 LIBS
="$ac_xsave_LIBS -R $x_libraries"
19336 if test x
$gcc_no_link = xyes
; then
19337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19339 { (exit 1); exit 1; }; }
19341 cat >conftest.
$ac_ext <<_ACEOF
19344 cat confdefs.h
>>conftest.
$ac_ext
19345 cat >>conftest.
$ac_ext <<_ACEOF
19346 /* end confdefs.h. */
19356 rm -f conftest.
$ac_objext conftest
$ac_exeext
19357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19358 (eval $ac_link) 2>conftest.er1
19360 grep -v '^ *+' conftest.er1
>conftest.err
19362 cat conftest.err
>&5
19363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19364 (exit $ac_status); } &&
19365 { ac_try
='test -z "$ac_c_werror_flag"
19366 || test ! -s conftest.err'
19367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19368 (eval $ac_try) 2>&5
19370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19371 (exit $ac_status); }; } &&
19372 { ac_try
='test -s conftest$ac_exeext'
19373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19374 (eval $ac_try) 2>&5
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); }; }; then
19380 echo "$as_me: failed program was:" >&5
19381 sed 's/^/| /' conftest.
$ac_ext >&5
19385 rm -f conftest.err conftest.
$ac_objext \
19386 conftest
$ac_exeext conftest.
$ac_ext
19387 if test $ac_R_space = yes; then
19388 echo "$as_me:$LINENO: result: yes" >&5
19389 echo "${ECHO_T}yes" >&6
19390 X_LIBS
="$X_LIBS -R $x_libraries"
19392 echo "$as_me:$LINENO: result: neither works" >&5
19393 echo "${ECHO_T}neither works" >&6
19396 LIBS
=$ac_xsave_LIBS
19400 # Check for system-dependent libraries X programs must link with.
19401 # Do this before checking for the system-independent R6 libraries
19402 # (-lICE), since we may need -lsocket or whatever for X linking.
19404 if test "$ISC" = yes; then
19405 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
19407 # Martyn Johnson says this is needed for Ultrix, if the X
19408 # libraries were built with DECnet support. And Karl Berry says
19409 # the Alpha needs dnet_stub (dnet does not exist).
19410 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
19411 if test x
$gcc_no_link = xyes
; then
19412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19414 { (exit 1); exit 1; }; }
19416 cat >conftest.
$ac_ext <<_ACEOF
19419 cat confdefs.h
>>conftest.
$ac_ext
19420 cat >>conftest.
$ac_ext <<_ACEOF
19421 /* end confdefs.h. */
19423 /* Override any gcc2 internal prototype to avoid an error. */
19427 /* We use char because int might match the return type of a gcc2
19428 builtin and then its argument prototype would still apply. */
19429 char XOpenDisplay ();
19438 rm -f conftest.
$ac_objext conftest
$ac_exeext
19439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19440 (eval $ac_link) 2>conftest.er1
19442 grep -v '^ *+' conftest.er1
>conftest.err
19444 cat conftest.err
>&5
19445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19446 (exit $ac_status); } &&
19447 { ac_try
='test -z "$ac_c_werror_flag"
19448 || test ! -s conftest.err'
19449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19450 (eval $ac_try) 2>&5
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); }; } &&
19454 { ac_try
='test -s conftest$ac_exeext'
19455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19456 (eval $ac_try) 2>&5
19458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459 (exit $ac_status); }; }; then
19462 echo "$as_me: failed program was:" >&5
19463 sed 's/^/| /' conftest.
$ac_ext >&5
19465 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
19466 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
19467 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
19468 echo $ECHO_N "(cached) $ECHO_C" >&6
19470 ac_check_lib_save_LIBS
=$LIBS
19471 LIBS
="-ldnet $LIBS"
19472 if test x
$gcc_no_link = xyes
; then
19473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19475 { (exit 1); exit 1; }; }
19477 cat >conftest.
$ac_ext <<_ACEOF
19480 cat confdefs.h
>>conftest.
$ac_ext
19481 cat >>conftest.
$ac_ext <<_ACEOF
19482 /* end confdefs.h. */
19484 /* Override any gcc2 internal prototype to avoid an error. */
19488 /* We use char because int might match the return type of a gcc2
19489 builtin and then its argument prototype would still apply. */
19499 rm -f conftest.
$ac_objext conftest
$ac_exeext
19500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19501 (eval $ac_link) 2>conftest.er1
19503 grep -v '^ *+' conftest.er1
>conftest.err
19505 cat conftest.err
>&5
19506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19507 (exit $ac_status); } &&
19508 { ac_try
='test -z "$ac_c_werror_flag"
19509 || test ! -s conftest.err'
19510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19511 (eval $ac_try) 2>&5
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); }; } &&
19515 { ac_try
='test -s conftest$ac_exeext'
19516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19517 (eval $ac_try) 2>&5
19519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19520 (exit $ac_status); }; }; then
19521 ac_cv_lib_dnet_dnet_ntoa
=yes
19523 echo "$as_me: failed program was:" >&5
19524 sed 's/^/| /' conftest.
$ac_ext >&5
19526 ac_cv_lib_dnet_dnet_ntoa
=no
19528 rm -f conftest.err conftest.
$ac_objext \
19529 conftest
$ac_exeext conftest.
$ac_ext
19530 LIBS
=$ac_check_lib_save_LIBS
19532 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
19533 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
19534 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
19535 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
19538 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
19539 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
19540 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
19541 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
19542 echo $ECHO_N "(cached) $ECHO_C" >&6
19544 ac_check_lib_save_LIBS
=$LIBS
19545 LIBS
="-ldnet_stub $LIBS"
19546 if test x
$gcc_no_link = xyes
; then
19547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19549 { (exit 1); exit 1; }; }
19551 cat >conftest.
$ac_ext <<_ACEOF
19554 cat confdefs.h
>>conftest.
$ac_ext
19555 cat >>conftest.
$ac_ext <<_ACEOF
19556 /* end confdefs.h. */
19558 /* Override any gcc2 internal prototype to avoid an error. */
19562 /* We use char because int might match the return type of a gcc2
19563 builtin and then its argument prototype would still apply. */
19573 rm -f conftest.
$ac_objext conftest
$ac_exeext
19574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19575 (eval $ac_link) 2>conftest.er1
19577 grep -v '^ *+' conftest.er1
>conftest.err
19579 cat conftest.err
>&5
19580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19581 (exit $ac_status); } &&
19582 { ac_try
='test -z "$ac_c_werror_flag"
19583 || test ! -s conftest.err'
19584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19585 (eval $ac_try) 2>&5
19587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19588 (exit $ac_status); }; } &&
19589 { ac_try
='test -s conftest$ac_exeext'
19590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19591 (eval $ac_try) 2>&5
19593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19594 (exit $ac_status); }; }; then
19595 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
19597 echo "$as_me: failed program was:" >&5
19598 sed 's/^/| /' conftest.
$ac_ext >&5
19600 ac_cv_lib_dnet_stub_dnet_ntoa
=no
19602 rm -f conftest.err conftest.
$ac_objext \
19603 conftest
$ac_exeext conftest.
$ac_ext
19604 LIBS
=$ac_check_lib_save_LIBS
19606 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
19607 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
19608 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
19609 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
19614 rm -f conftest.err conftest.
$ac_objext \
19615 conftest
$ac_exeext conftest.
$ac_ext
19616 LIBS
="$ac_xsave_LIBS"
19618 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
19619 # to get the SysV transport functions.
19620 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
19622 # The nsl library prevents programs from opening the X display
19623 # on Irix 5.2, according to T.E. Dickey.
19624 # The functions gethostbyname, getservbyname, and inet_addr are
19625 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
19626 echo "$as_me:$LINENO: checking for gethostbyname" >&5
19627 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
19628 if test "${ac_cv_func_gethostbyname+set}" = set; then
19629 echo $ECHO_N "(cached) $ECHO_C" >&6
19631 if test x
$gcc_no_link = xyes
; then
19632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19634 { (exit 1); exit 1; }; }
19636 cat >conftest.
$ac_ext <<_ACEOF
19639 cat confdefs.h
>>conftest.
$ac_ext
19640 cat >>conftest.
$ac_ext <<_ACEOF
19641 /* end confdefs.h. */
19642 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
19643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19644 #define gethostbyname innocuous_gethostbyname
19646 /* System header to define __stub macros and hopefully few prototypes,
19647 which can conflict with char gethostbyname (); below.
19648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19649 <limits.h> exists even on freestanding compilers. */
19652 # include <limits.h>
19654 # include <assert.h>
19657 #undef gethostbyname
19659 /* Override any gcc2 internal prototype to avoid an error. */
19664 /* We use char because int might match the return type of a gcc2
19665 builtin and then its argument prototype would still apply. */
19666 char gethostbyname ();
19667 /* The GNU C library defines this for functions which it implements
19668 to always fail with ENOSYS. Some functions are actually named
19669 something starting with __ and the normal name is an alias. */
19670 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
19673 char (*f) () = gethostbyname;
19682 return f != gethostbyname;
19687 rm -f conftest.
$ac_objext conftest
$ac_exeext
19688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19689 (eval $ac_link) 2>conftest.er1
19691 grep -v '^ *+' conftest.er1
>conftest.err
19693 cat conftest.err
>&5
19694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695 (exit $ac_status); } &&
19696 { ac_try
='test -z "$ac_c_werror_flag"
19697 || test ! -s conftest.err'
19698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19699 (eval $ac_try) 2>&5
19701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702 (exit $ac_status); }; } &&
19703 { ac_try
='test -s conftest$ac_exeext'
19704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19705 (eval $ac_try) 2>&5
19707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19708 (exit $ac_status); }; }; then
19709 ac_cv_func_gethostbyname
=yes
19711 echo "$as_me: failed program was:" >&5
19712 sed 's/^/| /' conftest.
$ac_ext >&5
19714 ac_cv_func_gethostbyname
=no
19716 rm -f conftest.err conftest.
$ac_objext \
19717 conftest
$ac_exeext conftest.
$ac_ext
19719 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
19720 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
19722 if test $ac_cv_func_gethostbyname = no
; then
19723 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
19724 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
19725 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
19726 echo $ECHO_N "(cached) $ECHO_C" >&6
19728 ac_check_lib_save_LIBS
=$LIBS
19730 if test x
$gcc_no_link = xyes
; then
19731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19733 { (exit 1); exit 1; }; }
19735 cat >conftest.
$ac_ext <<_ACEOF
19738 cat confdefs.h
>>conftest.
$ac_ext
19739 cat >>conftest.
$ac_ext <<_ACEOF
19740 /* end confdefs.h. */
19742 /* Override any gcc2 internal prototype to avoid an error. */
19746 /* We use char because int might match the return type of a gcc2
19747 builtin and then its argument prototype would still apply. */
19748 char gethostbyname ();
19757 rm -f conftest.
$ac_objext conftest
$ac_exeext
19758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19759 (eval $ac_link) 2>conftest.er1
19761 grep -v '^ *+' conftest.er1
>conftest.err
19763 cat conftest.err
>&5
19764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19765 (exit $ac_status); } &&
19766 { ac_try
='test -z "$ac_c_werror_flag"
19767 || test ! -s conftest.err'
19768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19769 (eval $ac_try) 2>&5
19771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19772 (exit $ac_status); }; } &&
19773 { ac_try
='test -s conftest$ac_exeext'
19774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19775 (eval $ac_try) 2>&5
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); }; }; then
19779 ac_cv_lib_nsl_gethostbyname
=yes
19781 echo "$as_me: failed program was:" >&5
19782 sed 's/^/| /' conftest.
$ac_ext >&5
19784 ac_cv_lib_nsl_gethostbyname
=no
19786 rm -f conftest.err conftest.
$ac_objext \
19787 conftest
$ac_exeext conftest.
$ac_ext
19788 LIBS
=$ac_check_lib_save_LIBS
19790 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
19791 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
19792 if test $ac_cv_lib_nsl_gethostbyname = yes; then
19793 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
19796 if test $ac_cv_lib_nsl_gethostbyname = no
; then
19797 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
19798 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
19799 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
19800 echo $ECHO_N "(cached) $ECHO_C" >&6
19802 ac_check_lib_save_LIBS
=$LIBS
19804 if test x
$gcc_no_link = xyes
; then
19805 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19807 { (exit 1); exit 1; }; }
19809 cat >conftest.
$ac_ext <<_ACEOF
19812 cat confdefs.h
>>conftest.
$ac_ext
19813 cat >>conftest.
$ac_ext <<_ACEOF
19814 /* end confdefs.h. */
19816 /* Override any gcc2 internal prototype to avoid an error. */
19820 /* We use char because int might match the return type of a gcc2
19821 builtin and then its argument prototype would still apply. */
19822 char gethostbyname ();
19831 rm -f conftest.
$ac_objext conftest
$ac_exeext
19832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19833 (eval $ac_link) 2>conftest.er1
19835 grep -v '^ *+' conftest.er1
>conftest.err
19837 cat conftest.err
>&5
19838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19839 (exit $ac_status); } &&
19840 { ac_try
='test -z "$ac_c_werror_flag"
19841 || test ! -s conftest.err'
19842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19843 (eval $ac_try) 2>&5
19845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19846 (exit $ac_status); }; } &&
19847 { ac_try
='test -s conftest$ac_exeext'
19848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19849 (eval $ac_try) 2>&5
19851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19852 (exit $ac_status); }; }; then
19853 ac_cv_lib_bsd_gethostbyname
=yes
19855 echo "$as_me: failed program was:" >&5
19856 sed 's/^/| /' conftest.
$ac_ext >&5
19858 ac_cv_lib_bsd_gethostbyname
=no
19860 rm -f conftest.err conftest.
$ac_objext \
19861 conftest
$ac_exeext conftest.
$ac_ext
19862 LIBS
=$ac_check_lib_save_LIBS
19864 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
19865 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
19866 if test $ac_cv_lib_bsd_gethostbyname = yes; then
19867 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
19873 # lieder@skyler.mavd.honeywell.com says without -lsocket,
19874 # socket/setsockopt and other routines are undefined under SCO ODT
19875 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
19876 # on later versions), says Simon Leinen: it contains gethostby*
19877 # variants that don't use the name server (or something). -lsocket
19878 # must be given before -lnsl if both are needed. We assume that
19879 # if connect needs -lnsl, so does gethostbyname.
19880 echo "$as_me:$LINENO: checking for connect" >&5
19881 echo $ECHO_N "checking for connect... $ECHO_C" >&6
19882 if test "${ac_cv_func_connect+set}" = set; then
19883 echo $ECHO_N "(cached) $ECHO_C" >&6
19885 if test x
$gcc_no_link = xyes
; then
19886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19888 { (exit 1); exit 1; }; }
19890 cat >conftest.
$ac_ext <<_ACEOF
19893 cat confdefs.h
>>conftest.
$ac_ext
19894 cat >>conftest.
$ac_ext <<_ACEOF
19895 /* end confdefs.h. */
19896 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
19897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19898 #define connect innocuous_connect
19900 /* System header to define __stub macros and hopefully few prototypes,
19901 which can conflict with char connect (); below.
19902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19903 <limits.h> exists even on freestanding compilers. */
19906 # include <limits.h>
19908 # include <assert.h>
19913 /* Override any gcc2 internal prototype to avoid an error. */
19918 /* We use char because int might match the return type of a gcc2
19919 builtin and then its argument prototype would still apply. */
19921 /* The GNU C library defines this for functions which it implements
19922 to always fail with ENOSYS. Some functions are actually named
19923 something starting with __ and the normal name is an alias. */
19924 #if defined (__stub_connect) || defined (__stub___connect)
19927 char (*f) () = connect;
19936 return f != connect;
19941 rm -f conftest.
$ac_objext conftest
$ac_exeext
19942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19943 (eval $ac_link) 2>conftest.er1
19945 grep -v '^ *+' conftest.er1
>conftest.err
19947 cat conftest.err
>&5
19948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19949 (exit $ac_status); } &&
19950 { ac_try
='test -z "$ac_c_werror_flag"
19951 || test ! -s conftest.err'
19952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19953 (eval $ac_try) 2>&5
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); }; } &&
19957 { ac_try
='test -s conftest$ac_exeext'
19958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19959 (eval $ac_try) 2>&5
19961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19962 (exit $ac_status); }; }; then
19963 ac_cv_func_connect
=yes
19965 echo "$as_me: failed program was:" >&5
19966 sed 's/^/| /' conftest.
$ac_ext >&5
19968 ac_cv_func_connect
=no
19970 rm -f conftest.err conftest.
$ac_objext \
19971 conftest
$ac_exeext conftest.
$ac_ext
19973 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
19974 echo "${ECHO_T}$ac_cv_func_connect" >&6
19976 if test $ac_cv_func_connect = no
; then
19977 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
19978 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
19979 if test "${ac_cv_lib_socket_connect+set}" = set; then
19980 echo $ECHO_N "(cached) $ECHO_C" >&6
19982 ac_check_lib_save_LIBS
=$LIBS
19983 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
19984 if test x
$gcc_no_link = xyes
; then
19985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19987 { (exit 1); exit 1; }; }
19989 cat >conftest.
$ac_ext <<_ACEOF
19992 cat confdefs.h
>>conftest.
$ac_ext
19993 cat >>conftest.
$ac_ext <<_ACEOF
19994 /* end confdefs.h. */
19996 /* Override any gcc2 internal prototype to avoid an error. */
20000 /* We use char because int might match the return type of a gcc2
20001 builtin and then its argument prototype would still apply. */
20011 rm -f conftest.
$ac_objext conftest
$ac_exeext
20012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20013 (eval $ac_link) 2>conftest.er1
20015 grep -v '^ *+' conftest.er1
>conftest.err
20017 cat conftest.err
>&5
20018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20019 (exit $ac_status); } &&
20020 { ac_try
='test -z "$ac_c_werror_flag"
20021 || test ! -s conftest.err'
20022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20023 (eval $ac_try) 2>&5
20025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026 (exit $ac_status); }; } &&
20027 { ac_try
='test -s conftest$ac_exeext'
20028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20029 (eval $ac_try) 2>&5
20031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20032 (exit $ac_status); }; }; then
20033 ac_cv_lib_socket_connect
=yes
20035 echo "$as_me: failed program was:" >&5
20036 sed 's/^/| /' conftest.
$ac_ext >&5
20038 ac_cv_lib_socket_connect
=no
20040 rm -f conftest.err conftest.
$ac_objext \
20041 conftest
$ac_exeext conftest.
$ac_ext
20042 LIBS
=$ac_check_lib_save_LIBS
20044 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
20045 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
20046 if test $ac_cv_lib_socket_connect = yes; then
20047 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
20052 # Guillermo Gomez says -lposix is necessary on A/UX.
20053 echo "$as_me:$LINENO: checking for remove" >&5
20054 echo $ECHO_N "checking for remove... $ECHO_C" >&6
20055 if test "${ac_cv_func_remove+set}" = set; then
20056 echo $ECHO_N "(cached) $ECHO_C" >&6
20058 if test x
$gcc_no_link = xyes
; then
20059 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20061 { (exit 1); exit 1; }; }
20063 cat >conftest.
$ac_ext <<_ACEOF
20066 cat confdefs.h
>>conftest.
$ac_ext
20067 cat >>conftest.
$ac_ext <<_ACEOF
20068 /* end confdefs.h. */
20069 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
20070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20071 #define remove innocuous_remove
20073 /* System header to define __stub macros and hopefully few prototypes,
20074 which can conflict with char remove (); below.
20075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20076 <limits.h> exists even on freestanding compilers. */
20079 # include <limits.h>
20081 # include <assert.h>
20086 /* Override any gcc2 internal prototype to avoid an error. */
20091 /* We use char because int might match the return type of a gcc2
20092 builtin and then its argument prototype would still apply. */
20094 /* The GNU C library defines this for functions which it implements
20095 to always fail with ENOSYS. Some functions are actually named
20096 something starting with __ and the normal name is an alias. */
20097 #if defined (__stub_remove) || defined (__stub___remove)
20100 char (*f) () = remove;
20109 return f != remove;
20114 rm -f conftest.
$ac_objext conftest
$ac_exeext
20115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20116 (eval $ac_link) 2>conftest.er1
20118 grep -v '^ *+' conftest.er1
>conftest.err
20120 cat conftest.err
>&5
20121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122 (exit $ac_status); } &&
20123 { ac_try
='test -z "$ac_c_werror_flag"
20124 || test ! -s conftest.err'
20125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20126 (eval $ac_try) 2>&5
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129 (exit $ac_status); }; } &&
20130 { ac_try
='test -s conftest$ac_exeext'
20131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20132 (eval $ac_try) 2>&5
20134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20135 (exit $ac_status); }; }; then
20136 ac_cv_func_remove
=yes
20138 echo "$as_me: failed program was:" >&5
20139 sed 's/^/| /' conftest.
$ac_ext >&5
20141 ac_cv_func_remove
=no
20143 rm -f conftest.err conftest.
$ac_objext \
20144 conftest
$ac_exeext conftest.
$ac_ext
20146 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
20147 echo "${ECHO_T}$ac_cv_func_remove" >&6
20149 if test $ac_cv_func_remove = no
; then
20150 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
20151 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
20152 if test "${ac_cv_lib_posix_remove+set}" = set; then
20153 echo $ECHO_N "(cached) $ECHO_C" >&6
20155 ac_check_lib_save_LIBS
=$LIBS
20156 LIBS
="-lposix $LIBS"
20157 if test x
$gcc_no_link = xyes
; then
20158 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20160 { (exit 1); exit 1; }; }
20162 cat >conftest.
$ac_ext <<_ACEOF
20165 cat confdefs.h
>>conftest.
$ac_ext
20166 cat >>conftest.
$ac_ext <<_ACEOF
20167 /* end confdefs.h. */
20169 /* Override any gcc2 internal prototype to avoid an error. */
20173 /* We use char because int might match the return type of a gcc2
20174 builtin and then its argument prototype would still apply. */
20184 rm -f conftest.
$ac_objext conftest
$ac_exeext
20185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20186 (eval $ac_link) 2>conftest.er1
20188 grep -v '^ *+' conftest.er1
>conftest.err
20190 cat conftest.err
>&5
20191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20192 (exit $ac_status); } &&
20193 { ac_try
='test -z "$ac_c_werror_flag"
20194 || test ! -s conftest.err'
20195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20196 (eval $ac_try) 2>&5
20198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199 (exit $ac_status); }; } &&
20200 { ac_try
='test -s conftest$ac_exeext'
20201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20202 (eval $ac_try) 2>&5
20204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20205 (exit $ac_status); }; }; then
20206 ac_cv_lib_posix_remove
=yes
20208 echo "$as_me: failed program was:" >&5
20209 sed 's/^/| /' conftest.
$ac_ext >&5
20211 ac_cv_lib_posix_remove
=no
20213 rm -f conftest.err conftest.
$ac_objext \
20214 conftest
$ac_exeext conftest.
$ac_ext
20215 LIBS
=$ac_check_lib_save_LIBS
20217 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
20218 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
20219 if test $ac_cv_lib_posix_remove = yes; then
20220 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
20225 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
20226 echo "$as_me:$LINENO: checking for shmat" >&5
20227 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
20228 if test "${ac_cv_func_shmat+set}" = set; then
20229 echo $ECHO_N "(cached) $ECHO_C" >&6
20231 if test x
$gcc_no_link = xyes
; then
20232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20234 { (exit 1); exit 1; }; }
20236 cat >conftest.
$ac_ext <<_ACEOF
20239 cat confdefs.h
>>conftest.
$ac_ext
20240 cat >>conftest.
$ac_ext <<_ACEOF
20241 /* end confdefs.h. */
20242 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
20243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20244 #define shmat innocuous_shmat
20246 /* System header to define __stub macros and hopefully few prototypes,
20247 which can conflict with char shmat (); below.
20248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20249 <limits.h> exists even on freestanding compilers. */
20252 # include <limits.h>
20254 # include <assert.h>
20259 /* Override any gcc2 internal prototype to avoid an error. */
20264 /* We use char because int might match the return type of a gcc2
20265 builtin and then its argument prototype would still apply. */
20267 /* The GNU C library defines this for functions which it implements
20268 to always fail with ENOSYS. Some functions are actually named
20269 something starting with __ and the normal name is an alias. */
20270 #if defined (__stub_shmat) || defined (__stub___shmat)
20273 char (*f) () = shmat;
20287 rm -f conftest.
$ac_objext conftest
$ac_exeext
20288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20289 (eval $ac_link) 2>conftest.er1
20291 grep -v '^ *+' conftest.er1
>conftest.err
20293 cat conftest.err
>&5
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); } &&
20296 { ac_try
='test -z "$ac_c_werror_flag"
20297 || test ! -s conftest.err'
20298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20299 (eval $ac_try) 2>&5
20301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20302 (exit $ac_status); }; } &&
20303 { ac_try
='test -s conftest$ac_exeext'
20304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20305 (eval $ac_try) 2>&5
20307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308 (exit $ac_status); }; }; then
20309 ac_cv_func_shmat
=yes
20311 echo "$as_me: failed program was:" >&5
20312 sed 's/^/| /' conftest.
$ac_ext >&5
20314 ac_cv_func_shmat
=no
20316 rm -f conftest.err conftest.
$ac_objext \
20317 conftest
$ac_exeext conftest.
$ac_ext
20319 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
20320 echo "${ECHO_T}$ac_cv_func_shmat" >&6
20322 if test $ac_cv_func_shmat = no
; then
20323 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
20324 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
20325 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
20326 echo $ECHO_N "(cached) $ECHO_C" >&6
20328 ac_check_lib_save_LIBS
=$LIBS
20330 if test x
$gcc_no_link = xyes
; then
20331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20333 { (exit 1); exit 1; }; }
20335 cat >conftest.
$ac_ext <<_ACEOF
20338 cat confdefs.h
>>conftest.
$ac_ext
20339 cat >>conftest.
$ac_ext <<_ACEOF
20340 /* end confdefs.h. */
20342 /* Override any gcc2 internal prototype to avoid an error. */
20346 /* We use char because int might match the return type of a gcc2
20347 builtin and then its argument prototype would still apply. */
20357 rm -f conftest.
$ac_objext conftest
$ac_exeext
20358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20359 (eval $ac_link) 2>conftest.er1
20361 grep -v '^ *+' conftest.er1
>conftest.err
20363 cat conftest.err
>&5
20364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20365 (exit $ac_status); } &&
20366 { ac_try
='test -z "$ac_c_werror_flag"
20367 || test ! -s conftest.err'
20368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20369 (eval $ac_try) 2>&5
20371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372 (exit $ac_status); }; } &&
20373 { ac_try
='test -s conftest$ac_exeext'
20374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20375 (eval $ac_try) 2>&5
20377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20378 (exit $ac_status); }; }; then
20379 ac_cv_lib_ipc_shmat
=yes
20381 echo "$as_me: failed program was:" >&5
20382 sed 's/^/| /' conftest.
$ac_ext >&5
20384 ac_cv_lib_ipc_shmat
=no
20386 rm -f conftest.err conftest.
$ac_objext \
20387 conftest
$ac_exeext conftest.
$ac_ext
20388 LIBS
=$ac_check_lib_save_LIBS
20390 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
20391 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
20392 if test $ac_cv_lib_ipc_shmat = yes; then
20393 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
20399 # Check for libraries that X11R6 Xt/Xaw programs need.
20400 ac_save_LDFLAGS
=$LDFLAGS
20401 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
20402 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
20403 # check for ICE first), but we must link in the order -lSM -lICE or
20404 # we get undefined symbols. So assume we have SM if we have ICE.
20405 # These have to be linked with before -lX11, unlike the other
20406 # libraries we check for below, so use a different variable.
20407 # John Interrante, Karl Berry
20408 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
20409 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
20410 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
20411 echo $ECHO_N "(cached) $ECHO_C" >&6
20413 ac_check_lib_save_LIBS
=$LIBS
20414 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
20415 if test x
$gcc_no_link = xyes
; then
20416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20418 { (exit 1); exit 1; }; }
20420 cat >conftest.
$ac_ext <<_ACEOF
20423 cat confdefs.h
>>conftest.
$ac_ext
20424 cat >>conftest.
$ac_ext <<_ACEOF
20425 /* end confdefs.h. */
20427 /* Override any gcc2 internal prototype to avoid an error. */
20431 /* We use char because int might match the return type of a gcc2
20432 builtin and then its argument prototype would still apply. */
20433 char IceConnectionNumber ();
20437 IceConnectionNumber ();
20442 rm -f conftest.
$ac_objext conftest
$ac_exeext
20443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20444 (eval $ac_link) 2>conftest.er1
20446 grep -v '^ *+' conftest.er1
>conftest.err
20448 cat conftest.err
>&5
20449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20450 (exit $ac_status); } &&
20451 { ac_try
='test -z "$ac_c_werror_flag"
20452 || test ! -s conftest.err'
20453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20454 (eval $ac_try) 2>&5
20456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20457 (exit $ac_status); }; } &&
20458 { ac_try
='test -s conftest$ac_exeext'
20459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20460 (eval $ac_try) 2>&5
20462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20463 (exit $ac_status); }; }; then
20464 ac_cv_lib_ICE_IceConnectionNumber
=yes
20466 echo "$as_me: failed program was:" >&5
20467 sed 's/^/| /' conftest.
$ac_ext >&5
20469 ac_cv_lib_ICE_IceConnectionNumber
=no
20471 rm -f conftest.err conftest.
$ac_objext \
20472 conftest
$ac_exeext conftest.
$ac_ext
20473 LIBS
=$ac_check_lib_save_LIBS
20475 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
20476 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
20477 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
20478 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
20481 LDFLAGS
=$ac_save_LDFLAGS
20486 # FIXME: this should be _libs on some hosts.
20489 LIBGCJTESTSPEC
="-L`${PWDCMD-pwd}`/.libs -rpath `${PWDCMD-pwd}`/.libs"
20492 # extra LD Flags which are required for targets
20495 # For now we have to disable it on darwin[8-9] because it slows down
20496 # the linking phase. A possible bug in ld?
20497 # on Darwin -single_module speeds up loading of the dynamic libraries.
20498 extra_ldflags_libjava
=-Wl,-single_module
20501 extra_gij_ldflags
=-Wl,-allow_stack_execute
20504 # Some of the ARM unwinder code is actually in libstdc++. We
20505 # could in principle replicate it in libgcj, but it's better to
20506 # have a dependency on libstdc++.
20507 extra_ldflags
='-L$(here)/../libstdc++-v3/src/.libs -lstdc++'
20508 LIBSTDCXXSPEC
=-lstdc++
20509 LIBGCJTESTSPEC
="-L`${PWDCMD-pwd}`/.libs -L`${PWDCMD-pwd}`/../libstdc++-v3/src/.libs -rpath `${PWDCMD-pwd}`/.libs:`${PWDCMD-pwd}`/../libstdc++-v3/src/.libs -lstdc++"
20519 # Allow the GC to be disabled. Can be useful when debugging.
20520 echo "$as_me:$LINENO: checking for garbage collector to use" >&5
20521 echo $ECHO_N "checking for garbage collector to use... $ECHO_C" >&6
20522 # Check whether --enable-java-gc or --disable-java-gc was given.
20523 if test "${enable_java_gc+set}" = set; then
20524 enableval
="$enable_java_gc"
20537 echo "$as_me:$LINENO: result: boehm" >&5
20538 echo "${ECHO_T}boehm" >&6
20539 GCLIBS
=..
/boehm-gc
/libgcjgc_convenience.la
20540 JC1GCSPEC
='-fuse-boehm-gc'
20541 GCTESTSPEC
="-L`${PWDCMD-pwd}`/../boehm-gc/.libs -rpath `${PWDCMD-pwd}`/../boehm-gc/.libs"
20542 GCINCS
='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include'
20545 # The POSIX thread support needs to know this.
20547 cat >>confdefs.h
<<\_ACEOF
20548 #define HAVE_BOEHM_GC 1
20553 echo "$as_me:$LINENO: result: none" >&5
20554 echo "${ECHO_T}none" >&6
20558 { { echo "$as_me:$LINENO: error: unrecognized collector \"$GC\"" >&5
20559 echo "$as_me: error: unrecognized collector \"$GC\"" >&2;}
20560 { (exit 1); exit 1; }; }
20569 ac_config_links
="$ac_config_links include/java-gc.h:include/$GCHDR"
20573 if test "$GC" = boehm
; then
20574 USING_BOEHMGC_TRUE
=
20575 USING_BOEHMGC_FALSE
='#'
20577 USING_BOEHMGC_TRUE
='#'
20578 USING_BOEHMGC_FALSE
=
20583 if test "$GC" = no
; then
20585 USING_NOGC_FALSE
='#'
20587 USING_NOGC_TRUE
='#'
20593 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
20594 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
20595 THREADS
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
20596 echo "$as_me:$LINENO: result: $THREADS" >&5
20597 echo "${ECHO_T}$THREADS" >&6
20600 no | none | single
)
20603 posix | posix95 | pthreads
)
20608 cat >>confdefs.h
<<\_ACEOF
20609 #define LINUX_THREADS 1
20617 decosf1 | irix | mach | os2 | solaris | dce | vxworks
)
20618 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
20619 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
20620 { (exit 1); exit 1; }; }
20623 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
20624 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
20625 { (exit 1); exit 1; }; }
20636 THREADSTARTFILESPEC
=
20641 # Don't set THREADLIBS here. Cygwin doesn't have -lpthread.
20643 *-*-freebsd[1234]*)
20644 # Before FreeBSD 5, it didn't have -lpthread (or any library which
20645 # merely adds pthread_* functions) but it does have a -pthread switch
20646 # which is required at link-time to select -lc_r *instead* of -lc.
20647 THREADLDFLAGS
=-pthread
20648 # Don't set THREADSPEC here as might be expected since -pthread is
20649 # not processed when found within a spec file, it must come from
20650 # the command line. For now, the user must provide the -pthread
20651 # switch to link code compiled with gcj. In future, consider adding
20652 # support for weak references to pthread_* functions ala gthr.h API.
20653 THREADSPEC
='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
20656 # FreeBSD >=5.3 implements a model much closer to other modern UNIX
20657 # systems which support threads and -lpthread.
20658 THREADLDFLAGS
=-pthread
20659 THREADSPEC
=-lpthread
20661 alpha
*-dec-osf* | hppa
*-hp-hpux*)
20662 THREADCXXFLAGS
=-pthread
20663 # boehm-gc needs some functions from librt, so link that too.
20664 THREADLIBS
='-lpthread -lrt'
20665 THREADSPEC
='-lpthread -lrt'
20668 THREADLIBS
=-lpthread
20669 THREADSPEC
=-lpthread
20672 THREADH
=posix-threads.h
20673 # MIT pthreads doesn't seem to have the mutexattr functions.
20674 # But for now we don't check for it. We just assume you aren't
20675 # using MIT pthreads.
20677 cat >>confdefs.h
<<\_ACEOF
20678 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
20682 # If we're using the Boehm GC, then we happen to know that it
20683 # defines _REENTRANT, so we don't bother. Eww.
20684 if test "$GC" != boehm
; then
20686 cat >>confdefs.h
<<\_ACEOF
20687 #define _REENTRANT 1
20692 cat >>confdefs.h
<<\_ACEOF
20693 #define _POSIX_PTHREAD_SEMANTICS 1
20699 THREADH
=win32-threads.h
20700 THREADCXXFLAGS
=-mthreads
20701 # We need thread-safe exception handling so _CRT_MT should be set to 1.
20702 # But we do not want the executables created to be dependent on
20703 # mingwm10.dll which provides a __mingwthr_key_dtor() that cleans up
20704 # exception handling contexts. The following kludge achieves this effect
20705 # and causes a dummy __mingwthr_key_dtor() to be linked in from
20706 # libmingw32.a. This causes a memory leak of about 24 bytes per thread.
20707 # A workaround is to explicitly use -mthreads while linking Java programs.
20708 # See PR libgcj/28263.
20710 # FIXME: In Java we are able to detect thread death at the end of
20711 # Thread.run() so we should be able to clean up the exception handling
20712 # contexts ourselves.
20713 THREADSTARTFILESPEC
='crtmt%O%s'
20717 THREADH
=no-threads.h
20720 ac_config_links
="$ac_config_links include/java-threads.h:include/$THREADH"
20731 if test "$THREADS" = posix
; then
20732 USING_POSIX_THREADS_TRUE
=
20733 USING_POSIX_THREADS_FALSE
='#'
20735 USING_POSIX_THREADS_TRUE
='#'
20736 USING_POSIX_THREADS_FALSE
=
20741 if test "$THREADS" = win32
; then
20742 USING_WIN32_THREADS_TRUE
=
20743 USING_WIN32_THREADS_FALSE
='#'
20745 USING_WIN32_THREADS_TRUE
='#'
20746 USING_WIN32_THREADS_FALSE
=
20751 if test "$THREADS" = none
; then
20752 USING_NO_THREADS_TRUE
=
20753 USING_NO_THREADS_FALSE
='#'
20755 USING_NO_THREADS_TRUE
='#'
20756 USING_NO_THREADS_FALSE
=
20761 if test "$use_libgcj_bc" = yes; then
20762 USE_LIBGCJ_BC_TRUE
=
20763 USE_LIBGCJ_BC_FALSE
='#'
20765 USE_LIBGCJ_BC_TRUE
='#'
20766 USE_LIBGCJ_BC_FALSE
=
20770 if test -d sysdep
; then true
; else mkdir sysdep
; fi
20771 ac_config_links
="$ac_config_links sysdep/locks.h:sysdep/$sysdeps_dir/locks.h"
20773 ac_config_links
="$ac_config_links sysdep/backtrace.h:$fallback_backtrace_h"
20775 ac_config_links
="$ac_config_links sysdep/descriptor.h:$descriptor_h"
20778 LIBGCJ_SPEC
="%{s-bc-abi:} -lgcj"
20779 if test "$use_libgcj_bc" = yes; then
20780 LIBGCJ_SPEC
="%{s-bc-abi:-lgcj_bc;:-lgcj}"
20785 # Hash synchronization is only useful with posix threads right now.
20786 if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then
20787 HASH_SYNC_SPEC
=-fhash-synchronization
20789 cat >>confdefs.h
<<\_ACEOF
20790 #define JV_HASH_SYNCHRONIZATION 1
20798 if test "$GCC" = yes; then
20800 USING_GCC_FALSE
='#'
20807 # We're in the tree with gcc, and need to include some of its headers.
20808 GCC_UNWIND_INCLUDE
='-I$(multi_basedir)/./libjava/../gcc'
20810 if test "x${with_newlib}" = "xyes"; then
20811 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
20812 # may not work correctly, because the compiler may not be able to
20813 # link executables.
20815 # We assume newlib. This lets us hard-code the functions we know
20818 cat >>confdefs.h
<<\_ACEOF
20819 #define HAVE_MEMMOVE 1
20823 cat >>confdefs.h
<<\_ACEOF
20824 #define HAVE_MEMCPY 1
20828 cat >>confdefs.h
<<\_ACEOF
20829 #define HAVE_TIME 1
20833 cat >>confdefs.h
<<\_ACEOF
20834 #define HAVE_GMTIME_R 1
20838 cat >>confdefs.h
<<\_ACEOF
20839 #define HAVE_LOCALTIME_R 1
20843 cat >>confdefs.h
<<\_ACEOF
20844 #define HAVE_USLEEP_DECL 1
20847 # This is only for POSIX threads.
20849 cat >>confdefs.h
<<\_ACEOF
20850 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
20854 # Assume we do not have getuid and friends.
20856 cat >>confdefs.h
<<\_ACEOF
20857 #define NO_GETUID 1
20892 for ac_func
in strerror_r
select fstat open fsync
sleep opendir \
20893 localtime_r getpwuid_r getcwd \
20894 access stat lstat mkdir rename
rmdir unlink utime
chmod readlink \
20895 nl_langinfo setlocale \
20896 inet_pton uname inet_ntoa \
20897 getrlimit sigaction ftruncate mmap \
20900 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20901 echo "$as_me:$LINENO: checking for $ac_func" >&5
20902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20903 if eval "test \"\${$as_ac_var+set}\" = set"; then
20904 echo $ECHO_N "(cached) $ECHO_C" >&6
20906 if test x
$gcc_no_link = xyes
; then
20907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20909 { (exit 1); exit 1; }; }
20911 cat >conftest.
$ac_ext <<_ACEOF
20914 cat confdefs.h
>>conftest.
$ac_ext
20915 cat >>conftest.
$ac_ext <<_ACEOF
20916 /* end confdefs.h. */
20917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20919 #define $ac_func innocuous_$ac_func
20921 /* System header to define __stub macros and hopefully few prototypes,
20922 which can conflict with char $ac_func (); below.
20923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20924 <limits.h> exists even on freestanding compilers. */
20927 # include <limits.h>
20929 # include <assert.h>
20934 /* Override any gcc2 internal prototype to avoid an error. */
20939 /* We use char because int might match the return type of a gcc2
20940 builtin and then its argument prototype would still apply. */
20942 /* The GNU C library defines this for functions which it implements
20943 to always fail with ENOSYS. Some functions are actually named
20944 something starting with __ and the normal name is an alias. */
20945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20948 char (*f) () = $ac_func;
20957 return f != $ac_func;
20962 rm -f conftest.
$ac_objext conftest
$ac_exeext
20963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20964 (eval $ac_link) 2>conftest.er1
20966 grep -v '^ *+' conftest.er1
>conftest.err
20968 cat conftest.err
>&5
20969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20970 (exit $ac_status); } &&
20971 { ac_try
='test -z "$ac_c_werror_flag"
20972 || test ! -s conftest.err'
20973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20974 (eval $ac_try) 2>&5
20976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20977 (exit $ac_status); }; } &&
20978 { ac_try
='test -s conftest$ac_exeext'
20979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20980 (eval $ac_try) 2>&5
20982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20983 (exit $ac_status); }; }; then
20984 eval "$as_ac_var=yes"
20986 echo "$as_me: failed program was:" >&5
20987 sed 's/^/| /' conftest.
$ac_ext >&5
20989 eval "$as_ac_var=no"
20991 rm -f conftest.err conftest.
$ac_objext \
20992 conftest
$ac_exeext conftest.
$ac_ext
20994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20995 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20996 if test `eval echo '${'$as_ac_var'}'` = yes; then
20997 cat >>confdefs.h
<<_ACEOF
20998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21006 for ac_func
in inet_aton inet_addr
21008 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21009 echo "$as_me:$LINENO: checking for $ac_func" >&5
21010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21011 if eval "test \"\${$as_ac_var+set}\" = set"; then
21012 echo $ECHO_N "(cached) $ECHO_C" >&6
21014 if test x
$gcc_no_link = xyes
; then
21015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21017 { (exit 1); exit 1; }; }
21019 cat >conftest.
$ac_ext <<_ACEOF
21022 cat confdefs.h
>>conftest.
$ac_ext
21023 cat >>conftest.
$ac_ext <<_ACEOF
21024 /* end confdefs.h. */
21025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21027 #define $ac_func innocuous_$ac_func
21029 /* System header to define __stub macros and hopefully few prototypes,
21030 which can conflict with char $ac_func (); below.
21031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21032 <limits.h> exists even on freestanding compilers. */
21035 # include <limits.h>
21037 # include <assert.h>
21042 /* Override any gcc2 internal prototype to avoid an error. */
21047 /* We use char because int might match the return type of a gcc2
21048 builtin and then its argument prototype would still apply. */
21050 /* The GNU C library defines this for functions which it implements
21051 to always fail with ENOSYS. Some functions are actually named
21052 something starting with __ and the normal name is an alias. */
21053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21056 char (*f) () = $ac_func;
21065 return f != $ac_func;
21070 rm -f conftest.
$ac_objext conftest
$ac_exeext
21071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21072 (eval $ac_link) 2>conftest.er1
21074 grep -v '^ *+' conftest.er1
>conftest.err
21076 cat conftest.err
>&5
21077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21078 (exit $ac_status); } &&
21079 { ac_try
='test -z "$ac_c_werror_flag"
21080 || test ! -s conftest.err'
21081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21082 (eval $ac_try) 2>&5
21084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21085 (exit $ac_status); }; } &&
21086 { ac_try
='test -s conftest$ac_exeext'
21087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21088 (eval $ac_try) 2>&5
21090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21091 (exit $ac_status); }; }; then
21092 eval "$as_ac_var=yes"
21094 echo "$as_me: failed program was:" >&5
21095 sed 's/^/| /' conftest.
$ac_ext >&5
21097 eval "$as_ac_var=no"
21099 rm -f conftest.err conftest.
$ac_objext \
21100 conftest
$ac_exeext conftest.
$ac_ext
21102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21104 if test `eval echo '${'$as_ac_var'}'` = yes; then
21105 cat >>confdefs.h
<<_ACEOF
21106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21115 for ac_header
in unistd.h dlfcn.h sys
/resource.h
21117 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21119 echo "$as_me:$LINENO: checking for $ac_header" >&5
21120 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21121 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21122 echo $ECHO_N "(cached) $ECHO_C" >&6
21124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21125 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21127 # Is the header compilable?
21128 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21129 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21130 cat >conftest.
$ac_ext <<_ACEOF
21133 cat confdefs.h
>>conftest.
$ac_ext
21134 cat >>conftest.
$ac_ext <<_ACEOF
21135 /* end confdefs.h. */
21136 $ac_includes_default
21137 #include <$ac_header>
21139 rm -f conftest.
$ac_objext
21140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21141 (eval $ac_compile) 2>conftest.er1
21143 grep -v '^ *+' conftest.er1
>conftest.err
21145 cat conftest.err
>&5
21146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21147 (exit $ac_status); } &&
21148 { ac_try
='test -z "$ac_c_werror_flag"
21149 || test ! -s conftest.err'
21150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21151 (eval $ac_try) 2>&5
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); }; } &&
21155 { ac_try
='test -s conftest.$ac_objext'
21156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21157 (eval $ac_try) 2>&5
21159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21160 (exit $ac_status); }; }; then
21161 ac_header_compiler
=yes
21163 echo "$as_me: failed program was:" >&5
21164 sed 's/^/| /' conftest.
$ac_ext >&5
21166 ac_header_compiler
=no
21168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21169 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21170 echo "${ECHO_T}$ac_header_compiler" >&6
21172 # Is the header present?
21173 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21174 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21175 cat >conftest.
$ac_ext <<_ACEOF
21178 cat confdefs.h
>>conftest.
$ac_ext
21179 cat >>conftest.
$ac_ext <<_ACEOF
21180 /* end confdefs.h. */
21181 #include <$ac_header>
21183 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21184 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21186 grep -v '^ *+' conftest.er1
>conftest.err
21188 cat conftest.err
>&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); } >/dev
/null
; then
21191 if test -s conftest.err
; then
21192 ac_cpp_err
=$ac_c_preproc_warn_flag
21193 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21200 if test -z "$ac_cpp_err"; then
21201 ac_header_preproc
=yes
21203 echo "$as_me: failed program was:" >&5
21204 sed 's/^/| /' conftest.
$ac_ext >&5
21206 ac_header_preproc
=no
21208 rm -f conftest.err conftest.
$ac_ext
21209 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21210 echo "${ECHO_T}$ac_header_preproc" >&6
21212 # So? What about this header?
21213 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21215 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21216 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21217 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21218 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21219 ac_header_preproc
=yes
21222 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21223 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21224 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21225 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21226 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21227 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21228 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21229 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21230 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21231 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21232 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21233 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21236 ## ---------------------------------- ##
21237 ## Report this to the libjava lists. ##
21238 ## ---------------------------------- ##
21241 sed "s/^/$as_me: WARNING: /" >&2
21244 echo "$as_me:$LINENO: checking for $ac_header" >&5
21245 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21246 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21247 echo $ECHO_N "(cached) $ECHO_C" >&6
21249 eval "$as_ac_Header=\$ac_header_preproc"
21251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21252 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21255 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21256 cat >>confdefs.h
<<_ACEOF
21257 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21264 # Do an additional check on dld, HP-UX for example has dladdr in libdld.sl
21265 echo "$as_me:$LINENO: checking for dladdr in -ldl" >&5
21266 echo $ECHO_N "checking for dladdr in -ldl... $ECHO_C" >&6
21267 if test "${ac_cv_lib_dl_dladdr+set}" = set; then
21268 echo $ECHO_N "(cached) $ECHO_C" >&6
21270 ac_check_lib_save_LIBS
=$LIBS
21272 if test x
$gcc_no_link = xyes
; then
21273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21275 { (exit 1); exit 1; }; }
21277 cat >conftest.
$ac_ext <<_ACEOF
21280 cat confdefs.h
>>conftest.
$ac_ext
21281 cat >>conftest.
$ac_ext <<_ACEOF
21282 /* end confdefs.h. */
21284 /* Override any gcc2 internal prototype to avoid an error. */
21288 /* We use char because int might match the return type of a gcc2
21289 builtin and then its argument prototype would still apply. */
21299 rm -f conftest.
$ac_objext conftest
$ac_exeext
21300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21301 (eval $ac_link) 2>conftest.er1
21303 grep -v '^ *+' conftest.er1
>conftest.err
21305 cat conftest.err
>&5
21306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21307 (exit $ac_status); } &&
21308 { ac_try
='test -z "$ac_c_werror_flag"
21309 || test ! -s conftest.err'
21310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21311 (eval $ac_try) 2>&5
21313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21314 (exit $ac_status); }; } &&
21315 { ac_try
='test -s conftest$ac_exeext'
21316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21317 (eval $ac_try) 2>&5
21319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21320 (exit $ac_status); }; }; then
21321 ac_cv_lib_dl_dladdr
=yes
21323 echo "$as_me: failed program was:" >&5
21324 sed 's/^/| /' conftest.
$ac_ext >&5
21326 ac_cv_lib_dl_dladdr
=no
21328 rm -f conftest.err conftest.
$ac_objext \
21329 conftest
$ac_exeext conftest.
$ac_ext
21330 LIBS
=$ac_check_lib_save_LIBS
21332 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dladdr" >&5
21333 echo "${ECHO_T}$ac_cv_lib_dl_dladdr" >&6
21334 if test $ac_cv_lib_dl_dladdr = yes; then
21337 cat >>confdefs.h
<<\_ACEOF
21338 #define HAVE_DLADDR 1
21343 echo "$as_me:$LINENO: checking for dladdr in -ldld" >&5
21344 echo $ECHO_N "checking for dladdr in -ldld... $ECHO_C" >&6
21345 if test "${ac_cv_lib_dld_dladdr+set}" = set; then
21346 echo $ECHO_N "(cached) $ECHO_C" >&6
21348 ac_check_lib_save_LIBS
=$LIBS
21350 if test x
$gcc_no_link = xyes
; then
21351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21353 { (exit 1); exit 1; }; }
21355 cat >conftest.
$ac_ext <<_ACEOF
21358 cat confdefs.h
>>conftest.
$ac_ext
21359 cat >>conftest.
$ac_ext <<_ACEOF
21360 /* end confdefs.h. */
21362 /* Override any gcc2 internal prototype to avoid an error. */
21366 /* We use char because int might match the return type of a gcc2
21367 builtin and then its argument prototype would still apply. */
21377 rm -f conftest.
$ac_objext conftest
$ac_exeext
21378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21379 (eval $ac_link) 2>conftest.er1
21381 grep -v '^ *+' conftest.er1
>conftest.err
21383 cat conftest.err
>&5
21384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21385 (exit $ac_status); } &&
21386 { ac_try
='test -z "$ac_c_werror_flag"
21387 || test ! -s conftest.err'
21388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21389 (eval $ac_try) 2>&5
21391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21392 (exit $ac_status); }; } &&
21393 { ac_try
='test -s conftest$ac_exeext'
21394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21395 (eval $ac_try) 2>&5
21397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21398 (exit $ac_status); }; }; then
21399 ac_cv_lib_dld_dladdr
=yes
21401 echo "$as_me: failed program was:" >&5
21402 sed 's/^/| /' conftest.
$ac_ext >&5
21404 ac_cv_lib_dld_dladdr
=no
21406 rm -f conftest.err conftest.
$ac_objext \
21407 conftest
$ac_exeext conftest.
$ac_ext
21408 LIBS
=$ac_check_lib_save_LIBS
21410 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dladdr" >&5
21411 echo "${ECHO_T}$ac_cv_lib_dld_dladdr" >&6
21412 if test $ac_cv_lib_dld_dladdr = yes; then
21415 cat >>confdefs.h
<<\_ACEOF
21416 #define HAVE_DLADDR 1
21424 if test x
"$cross_compiling" = x
"no"; then
21425 echo "$as_me:$LINENO: checking for /proc/self/exe" >&5
21426 echo $ECHO_N "checking for /proc/self/exe... $ECHO_C" >&6
21427 if test "${ac_cv_file__proc_self_exe+set}" = set; then
21428 echo $ECHO_N "(cached) $ECHO_C" >&6
21430 test "$cross_compiling" = yes &&
21431 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21432 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
21433 { (exit 1); exit 1; }; }
21434 if test -r "/proc/self/exe"; then
21435 ac_cv_file__proc_self_exe
=yes
21437 ac_cv_file__proc_self_exe
=no
21440 echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_exe" >&5
21441 echo "${ECHO_T}$ac_cv_file__proc_self_exe" >&6
21442 if test $ac_cv_file__proc_self_exe = yes; then
21444 cat >>confdefs.h
<<_ACEOF
21445 #define HAVE__PROC_SELF_EXE 1
21450 cat >>confdefs.h
<<\_ACEOF
21451 #define HAVE_PROC_SELF_EXE 1
21456 echo "$as_me:$LINENO: checking for /proc/self/maps" >&5
21457 echo $ECHO_N "checking for /proc/self/maps... $ECHO_C" >&6
21458 if test "${ac_cv_file__proc_self_maps+set}" = set; then
21459 echo $ECHO_N "(cached) $ECHO_C" >&6
21461 test "$cross_compiling" = yes &&
21462 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21463 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
21464 { (exit 1); exit 1; }; }
21465 if test -r "/proc/self/maps"; then
21466 ac_cv_file__proc_self_maps
=yes
21468 ac_cv_file__proc_self_maps
=no
21471 echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_maps" >&5
21472 echo "${ECHO_T}$ac_cv_file__proc_self_maps" >&6
21473 if test $ac_cv_file__proc_self_maps = yes; then
21475 cat >>confdefs.h
<<_ACEOF
21476 #define HAVE__PROC_SELF_MAPS 1
21481 cat >>confdefs.h
<<\_ACEOF
21482 #define HAVE_PROC_SELF_MAPS 1
21491 cat >>confdefs.h
<<\_ACEOF
21492 #define HAVE_PROC_SELF_EXE 1
21496 cat >>confdefs.h
<<\_ACEOF
21497 #define HAVE_PROC_SELF_MAPS 1
21505 if test "X$prefix" = "XNONE"; then
21506 acl_final_prefix
="$ac_default_prefix"
21508 acl_final_prefix
="$prefix"
21510 if test "X$exec_prefix" = "XNONE"; then
21511 acl_final_exec_prefix
='${prefix}'
21513 acl_final_exec_prefix
="$exec_prefix"
21515 acl_save_prefix
="$prefix"
21516 prefix
="$acl_final_prefix"
21517 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
21518 prefix
="$acl_save_prefix"
21521 # Check whether --with-gnu-ld or --without-gnu-ld was given.
21522 if test "${with_gnu_ld+set}" = set; then
21523 withval
="$with_gnu_ld"
21524 test "$withval" = no || with_gnu_ld
=yes
21528 # Prepare PATH_SEPARATOR.
21529 # The user is always right.
21530 if test "${PATH_SEPARATOR+set}" != set; then
21531 echo "#! /bin/sh" >conf$$.sh
21532 echo "exit 0" >>conf$$.sh
21534 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21542 if test "$GCC" = yes; then
21543 # Check if gcc -print-prog-name=ld gives a path.
21544 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
21545 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
21548 # gcc leaves a trailing carriage return which upsets mingw
21549 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21551 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
21554 # Accept absolute paths.
21555 [\\/]* |
[A-Za-z
]:[\\/]*)
21556 re_direlt
='/[^/][^/]*/\.\./'
21557 # Canonicalize the path of ld
21558 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
21559 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
21560 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
21562 test -z "$LD" && LD
="$ac_prog"
21565 # If it fails, then pretend we aren't using GCC.
21569 # If it is relative, then search for the first ld in PATH.
21570 with_gnu_ld
=unknown
21573 elif test "$with_gnu_ld" = yes; then
21574 echo "$as_me:$LINENO: checking for GNU ld" >&5
21575 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
21577 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
21578 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
21580 if test "${acl_cv_path_LD+set}" = set; then
21581 echo $ECHO_N "(cached) $ECHO_C" >&6
21583 if test -z "$LD"; then
21584 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
21585 for ac_dir
in $PATH; do
21586 test -z "$ac_dir" && ac_dir
=.
21587 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
21588 acl_cv_path_LD
="$ac_dir/$ac_prog"
21589 # Check to see if the program is GNU ld. I'd rather use --version,
21590 # but apparently some GNU ld's only accept -v.
21591 # Break only if it was the GNU/non-GNU ld that we prefer.
21592 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
21593 test "$with_gnu_ld" != no
&& break
21595 test "$with_gnu_ld" != yes && break
21601 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
21605 LD
="$acl_cv_path_LD"
21606 if test -n "$LD"; then
21607 echo "$as_me:$LINENO: result: $LD" >&5
21608 echo "${ECHO_T}$LD" >&6
21610 echo "$as_me:$LINENO: result: no" >&5
21611 echo "${ECHO_T}no" >&6
21613 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
21614 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
21615 { (exit 1); exit 1; }; }
21616 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
21617 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
21618 if test "${acl_cv_prog_gnu_ld+set}" = set; then
21619 echo $ECHO_N "(cached) $ECHO_C" >&6
21621 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
21622 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
21623 acl_cv_prog_gnu_ld
=yes
21625 acl_cv_prog_gnu_ld
=no
21628 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
21629 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
21630 with_gnu_ld
=$acl_cv_prog_gnu_ld
21634 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
21635 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
21636 if test "${acl_cv_rpath+set}" = set; then
21637 echo $ECHO_N "(cached) $ECHO_C" >&6
21640 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
21641 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
21643 rm -f .
/conftest.sh
21647 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
21648 echo "${ECHO_T}$acl_cv_rpath" >&6
21650 libext
="$acl_cv_libext"
21651 shlibext
="$acl_cv_shlibext"
21652 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
21653 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
21654 hardcode_direct
="$acl_cv_hardcode_direct"
21655 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
21656 # Check whether --enable-rpath or --disable-rpath was given.
21657 if test "${enable_rpath+set}" = set; then
21658 enableval
="$enable_rpath"
21672 acl_save_prefix
="$prefix"
21673 prefix
="$acl_final_prefix"
21674 acl_save_exec_prefix
="$exec_prefix"
21675 exec_prefix
="$acl_final_exec_prefix"
21677 eval additional_includedir
=\"$includedir\"
21678 eval additional_libdir
=\"$libdir\"
21680 exec_prefix
="$acl_save_exec_prefix"
21681 prefix
="$acl_save_prefix"
21684 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
21685 if test "${with_libiconv_prefix+set}" = set; then
21686 withval
="$with_libiconv_prefix"
21688 if test "X$withval" = "Xno"; then
21691 if test "X$withval" = "X"; then
21693 acl_save_prefix
="$prefix"
21694 prefix
="$acl_final_prefix"
21695 acl_save_exec_prefix
="$exec_prefix"
21696 exec_prefix
="$acl_final_exec_prefix"
21698 eval additional_includedir
=\"$includedir\"
21699 eval additional_libdir
=\"$libdir\"
21701 exec_prefix
="$acl_save_exec_prefix"
21702 prefix
="$acl_save_prefix"
21705 additional_includedir
="$withval/include"
21706 additional_libdir
="$withval/lib"
21716 names_already_handled
=
21717 names_next_round
='iconv '
21718 while test -n "$names_next_round"; do
21719 names_this_round
="$names_next_round"
21721 for name
in $names_this_round; do
21723 for n
in $names_already_handled; do
21724 if test "$n" = "$name"; then
21725 already_handled
=yes
21729 if test -z "$already_handled"; then
21730 names_already_handled
="$names_already_handled $name"
21731 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
21732 eval value
=\"\
$HAVE_LIB$uppername\"
21733 if test -n "$value"; then
21734 if test "$value" = yes; then
21735 eval value
=\"\
$LIB$uppername\"
21736 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
21737 eval value
=\"\
$LTLIB$uppername\"
21738 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
21747 if test $use_additional = yes; then
21748 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
21749 found_dir
="$additional_libdir"
21750 found_so
="$additional_libdir/lib$name.$shlibext"
21751 if test -f "$additional_libdir/lib$name.la"; then
21752 found_la
="$additional_libdir/lib$name.la"
21755 if test -f "$additional_libdir/lib$name.$libext"; then
21756 found_dir
="$additional_libdir"
21757 found_a
="$additional_libdir/lib$name.$libext"
21758 if test -f "$additional_libdir/lib$name.la"; then
21759 found_la
="$additional_libdir/lib$name.la"
21764 if test "X$found_dir" = "X"; then
21765 for x
in $LDFLAGS $LTLIBICONV; do
21767 acl_save_prefix
="$prefix"
21768 prefix
="$acl_final_prefix"
21769 acl_save_exec_prefix
="$exec_prefix"
21770 exec_prefix
="$acl_final_exec_prefix"
21772 exec_prefix
="$acl_save_exec_prefix"
21773 prefix
="$acl_save_prefix"
21777 dir
=`echo "X$x" | sed -e 's/^X-L//'`
21778 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
21780 found_so
="$dir/lib$name.$shlibext"
21781 if test -f "$dir/lib$name.la"; then
21782 found_la
="$dir/lib$name.la"
21785 if test -f "$dir/lib$name.$libext"; then
21787 found_a
="$dir/lib$name.$libext"
21788 if test -f "$dir/lib$name.la"; then
21789 found_la
="$dir/lib$name.la"
21795 if test "X$found_dir" != "X"; then
21800 if test "X$found_dir" != "X"; then
21801 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
21802 if test "X$found_so" != "X"; then
21803 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
21804 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21807 for x
in $ltrpathdirs; do
21808 if test "X$x" = "X$found_dir"; then
21813 if test -z "$haveit"; then
21814 ltrpathdirs
="$ltrpathdirs $found_dir"
21816 if test "$hardcode_direct" = yes; then
21817 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21819 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
21820 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21822 for x
in $rpathdirs; do
21823 if test "X$x" = "X$found_dir"; then
21828 if test -z "$haveit"; then
21829 rpathdirs
="$rpathdirs $found_dir"
21833 for x
in $LDFLAGS $LIBICONV; do
21835 acl_save_prefix
="$prefix"
21836 prefix
="$acl_final_prefix"
21837 acl_save_exec_prefix
="$exec_prefix"
21838 exec_prefix
="$acl_final_exec_prefix"
21840 exec_prefix
="$acl_save_exec_prefix"
21841 prefix
="$acl_save_prefix"
21843 if test "X$x" = "X-L$found_dir"; then
21848 if test -z "$haveit"; then
21849 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
21851 if test "$hardcode_minus_L" != no
; then
21852 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21854 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
21860 if test "X$found_a" != "X"; then
21861 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
21863 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
21866 additional_includedir
=
21867 case "$found_dir" in
21869 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
21870 additional_includedir
="$basedir/include"
21873 if test "X$additional_includedir" != "X"; then
21874 if test "X$additional_includedir" != "X/usr/include"; then
21876 if test "X$additional_includedir" = "X/usr/local/include"; then
21877 if test -n "$GCC"; then
21879 linux
*) haveit
=yes;;
21883 if test -z "$haveit"; then
21884 for x
in $CPPFLAGS $INCICONV; do
21886 acl_save_prefix
="$prefix"
21887 prefix
="$acl_final_prefix"
21888 acl_save_exec_prefix
="$exec_prefix"
21889 exec_prefix
="$acl_final_exec_prefix"
21891 exec_prefix
="$acl_save_exec_prefix"
21892 prefix
="$acl_save_prefix"
21894 if test "X$x" = "X-I$additional_includedir"; then
21899 if test -z "$haveit"; then
21900 if test -d "$additional_includedir"; then
21901 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
21907 if test -n "$found_la"; then
21908 save_libdir
="$libdir"
21909 case "$found_la" in
21910 */* |
*\\*) .
"$found_la" ;;
21911 *) .
"./$found_la" ;;
21913 libdir
="$save_libdir"
21914 for dep
in $dependency_libs; do
21917 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
21918 if test "X$additional_libdir" != "X/usr/lib"; then
21920 if test "X$additional_libdir" = "X/usr/local/lib"; then
21921 if test -n "$GCC"; then
21923 linux
*) haveit
=yes;;
21927 if test -z "$haveit"; then
21929 for x
in $LDFLAGS $LIBICONV; do
21931 acl_save_prefix
="$prefix"
21932 prefix
="$acl_final_prefix"
21933 acl_save_exec_prefix
="$exec_prefix"
21934 exec_prefix
="$acl_final_exec_prefix"
21936 exec_prefix
="$acl_save_exec_prefix"
21937 prefix
="$acl_save_prefix"
21939 if test "X$x" = "X-L$additional_libdir"; then
21944 if test -z "$haveit"; then
21945 if test -d "$additional_libdir"; then
21946 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
21950 for x
in $LDFLAGS $LTLIBICONV; do
21952 acl_save_prefix
="$prefix"
21953 prefix
="$acl_final_prefix"
21954 acl_save_exec_prefix
="$exec_prefix"
21955 exec_prefix
="$acl_final_exec_prefix"
21957 exec_prefix
="$acl_save_exec_prefix"
21958 prefix
="$acl_save_prefix"
21960 if test "X$x" = "X-L$additional_libdir"; then
21965 if test -z "$haveit"; then
21966 if test -d "$additional_libdir"; then
21967 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
21974 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
21975 if test "$enable_rpath" != no
; then
21977 for x
in $rpathdirs; do
21978 if test "X$x" = "X$dir"; then
21983 if test -z "$haveit"; then
21984 rpathdirs
="$rpathdirs $dir"
21987 for x
in $ltrpathdirs; do
21988 if test "X$x" = "X$dir"; then
21993 if test -z "$haveit"; then
21994 ltrpathdirs
="$ltrpathdirs $dir"
21999 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
22002 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
22005 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
22006 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
22012 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
22013 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
22019 if test "X$rpathdirs" != "X"; then
22020 if test -n "$hardcode_libdir_separator"; then
22022 for found_dir
in $rpathdirs; do
22023 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
22025 acl_save_libdir
="$libdir"
22027 eval flag
=\"$hardcode_libdir_flag_spec\"
22028 libdir
="$acl_save_libdir"
22029 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
22031 for found_dir
in $rpathdirs; do
22032 acl_save_libdir
="$libdir"
22033 libdir
="$found_dir"
22034 eval flag
=\"$hardcode_libdir_flag_spec\"
22035 libdir
="$acl_save_libdir"
22036 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
22040 if test "X$ltrpathdirs" != "X"; then
22041 for found_dir
in $ltrpathdirs; do
22042 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
22052 am_save_CPPFLAGS
="$CPPFLAGS"
22054 for element
in $INCICONV; do
22056 for x
in $CPPFLAGS; do
22058 acl_save_prefix
="$prefix"
22059 prefix
="$acl_final_prefix"
22060 acl_save_exec_prefix
="$exec_prefix"
22061 exec_prefix
="$acl_final_exec_prefix"
22063 exec_prefix
="$acl_save_exec_prefix"
22064 prefix
="$acl_save_prefix"
22066 if test "X$x" = "X$element"; then
22071 if test -z "$haveit"; then
22072 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
22077 echo "$as_me:$LINENO: checking for iconv" >&5
22078 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
22079 if test "${am_cv_func_iconv+set}" = set; then
22080 echo $ECHO_N "(cached) $ECHO_C" >&6
22083 am_cv_func_iconv
="no, consider installing GNU libiconv"
22085 if test x
$gcc_no_link = xyes
; then
22086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22088 { (exit 1); exit 1; }; }
22090 cat >conftest.
$ac_ext <<_ACEOF
22093 cat confdefs.h
>>conftest.
$ac_ext
22094 cat >>conftest.
$ac_ext <<_ACEOF
22095 /* end confdefs.h. */
22096 #include <stdlib.h>
22101 iconv_t cd = iconv_open("","");
22102 iconv(cd,NULL,NULL,NULL,NULL);
22108 rm -f conftest.
$ac_objext conftest
$ac_exeext
22109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22110 (eval $ac_link) 2>conftest.er1
22112 grep -v '^ *+' conftest.er1
>conftest.err
22114 cat conftest.err
>&5
22115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22116 (exit $ac_status); } &&
22117 { ac_try
='test -z "$ac_c_werror_flag"
22118 || test ! -s conftest.err'
22119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22120 (eval $ac_try) 2>&5
22122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22123 (exit $ac_status); }; } &&
22124 { ac_try
='test -s conftest$ac_exeext'
22125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22126 (eval $ac_try) 2>&5
22128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22129 (exit $ac_status); }; }; then
22130 am_cv_func_iconv
=yes
22132 echo "$as_me: failed program was:" >&5
22133 sed 's/^/| /' conftest.
$ac_ext >&5
22136 rm -f conftest.err conftest.
$ac_objext \
22137 conftest
$ac_exeext conftest.
$ac_ext
22138 if test "$am_cv_func_iconv" != yes; then
22139 am_save_LIBS
="$LIBS"
22140 LIBS
="$LIBS $LIBICONV"
22141 if test x
$gcc_no_link = xyes
; then
22142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22144 { (exit 1); exit 1; }; }
22146 cat >conftest.
$ac_ext <<_ACEOF
22149 cat confdefs.h
>>conftest.
$ac_ext
22150 cat >>conftest.
$ac_ext <<_ACEOF
22151 /* end confdefs.h. */
22152 #include <stdlib.h>
22157 iconv_t cd = iconv_open("","");
22158 iconv(cd,NULL,NULL,NULL,NULL);
22164 rm -f conftest.
$ac_objext conftest
$ac_exeext
22165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22166 (eval $ac_link) 2>conftest.er1
22168 grep -v '^ *+' conftest.er1
>conftest.err
22170 cat conftest.err
>&5
22171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22172 (exit $ac_status); } &&
22173 { ac_try
='test -z "$ac_c_werror_flag"
22174 || test ! -s conftest.err'
22175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22176 (eval $ac_try) 2>&5
22178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22179 (exit $ac_status); }; } &&
22180 { ac_try
='test -s conftest$ac_exeext'
22181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22182 (eval $ac_try) 2>&5
22184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22185 (exit $ac_status); }; }; then
22186 am_cv_lib_iconv
=yes
22187 am_cv_func_iconv
=yes
22189 echo "$as_me: failed program was:" >&5
22190 sed 's/^/| /' conftest.
$ac_ext >&5
22193 rm -f conftest.err conftest.
$ac_objext \
22194 conftest
$ac_exeext conftest.
$ac_ext
22195 LIBS
="$am_save_LIBS"
22199 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
22200 echo "${ECHO_T}$am_cv_func_iconv" >&6
22201 if test "$am_cv_func_iconv" = yes; then
22203 cat >>confdefs.h
<<\_ACEOF
22204 #define HAVE_ICONV 1
22208 if test "$am_cv_lib_iconv" = yes; then
22209 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
22210 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
22211 echo "$as_me:$LINENO: result: $LIBICONV" >&5
22212 echo "${ECHO_T}$LIBICONV" >&6
22214 CPPFLAGS
="$am_save_CPPFLAGS"
22221 if test "$am_cv_func_iconv" = yes; then
22222 echo "$as_me:$LINENO: checking for iconv declaration" >&5
22223 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
22224 if test "${am_cv_proto_iconv+set}" = set; then
22225 echo $ECHO_N "(cached) $ECHO_C" >&6
22228 cat >conftest.
$ac_ext <<_ACEOF
22231 cat confdefs.h
>>conftest.
$ac_ext
22232 cat >>conftest.
$ac_ext <<_ACEOF
22233 /* end confdefs.h. */
22235 #include <stdlib.h>
22241 #if defined(__STDC__) || defined(__cplusplus)
22242 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
22255 rm -f conftest.
$ac_objext
22256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22257 (eval $ac_compile) 2>conftest.er1
22259 grep -v '^ *+' conftest.er1
>conftest.err
22261 cat conftest.err
>&5
22262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22263 (exit $ac_status); } &&
22264 { ac_try
='test -z "$ac_c_werror_flag"
22265 || test ! -s conftest.err'
22266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22267 (eval $ac_try) 2>&5
22269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22270 (exit $ac_status); }; } &&
22271 { ac_try
='test -s conftest.$ac_objext'
22272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22273 (eval $ac_try) 2>&5
22275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22276 (exit $ac_status); }; }; then
22277 am_cv_proto_iconv_arg1
=""
22279 echo "$as_me: failed program was:" >&5
22280 sed 's/^/| /' conftest.
$ac_ext >&5
22282 am_cv_proto_iconv_arg1
="const"
22284 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22285 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);"
22288 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
22289 echo "$as_me:$LINENO: result: ${ac_t:-
22290 }$am_cv_proto_iconv" >&5
22291 echo "${ECHO_T}${ac_t:-
22292 }$am_cv_proto_iconv" >&6
22294 cat >>confdefs.h
<<_ACEOF
22295 #define ICONV_CONST $am_cv_proto_iconv_arg1
22301 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
22302 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
22303 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
22304 echo $ECHO_N "(cached) $ECHO_C" >&6
22306 if test x
$gcc_no_link = xyes
; then
22307 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22309 { (exit 1); exit 1; }; }
22311 cat >conftest.
$ac_ext <<_ACEOF
22314 cat confdefs.h
>>conftest.
$ac_ext
22315 cat >>conftest.
$ac_ext <<_ACEOF
22316 /* end confdefs.h. */
22317 #include <locale.h>
22326 rm -f conftest.
$ac_objext conftest
$ac_exeext
22327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22328 (eval $ac_link) 2>conftest.er1
22330 grep -v '^ *+' conftest.er1
>conftest.err
22332 cat conftest.err
>&5
22333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22334 (exit $ac_status); } &&
22335 { ac_try
='test -z "$ac_c_werror_flag"
22336 || test ! -s conftest.err'
22337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22338 (eval $ac_try) 2>&5
22340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22341 (exit $ac_status); }; } &&
22342 { ac_try
='test -s conftest$ac_exeext'
22343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22344 (eval $ac_try) 2>&5
22346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22347 (exit $ac_status); }; }; then
22348 am_cv_val_LC_MESSAGES
=yes
22350 echo "$as_me: failed program was:" >&5
22351 sed 's/^/| /' conftest.
$ac_ext >&5
22353 am_cv_val_LC_MESSAGES
=no
22355 rm -f conftest.err conftest.
$ac_objext \
22356 conftest
$ac_exeext conftest.
$ac_ext
22358 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
22359 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
22360 if test $am_cv_val_LC_MESSAGES = yes; then
22362 cat >>confdefs.h
<<\_ACEOF
22363 #define HAVE_LC_MESSAGES 1
22368 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
22369 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
22370 if test "${ac_cv_struct_tm+set}" = set; then
22371 echo $ECHO_N "(cached) $ECHO_C" >&6
22373 cat >conftest.
$ac_ext <<_ACEOF
22376 cat confdefs.h
>>conftest.
$ac_ext
22377 cat >>conftest.
$ac_ext <<_ACEOF
22378 /* end confdefs.h. */
22379 #include <sys/types.h>
22385 struct tm *tp; tp->tm_sec;
22390 rm -f conftest.
$ac_objext
22391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22392 (eval $ac_compile) 2>conftest.er1
22394 grep -v '^ *+' conftest.er1
>conftest.err
22396 cat conftest.err
>&5
22397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22398 (exit $ac_status); } &&
22399 { ac_try
='test -z "$ac_c_werror_flag"
22400 || test ! -s conftest.err'
22401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22402 (eval $ac_try) 2>&5
22404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22405 (exit $ac_status); }; } &&
22406 { ac_try
='test -s conftest.$ac_objext'
22407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22408 (eval $ac_try) 2>&5
22410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22411 (exit $ac_status); }; }; then
22412 ac_cv_struct_tm
=time.h
22414 echo "$as_me: failed program was:" >&5
22415 sed 's/^/| /' conftest.
$ac_ext >&5
22417 ac_cv_struct_tm
=sys
/time.h
22419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22421 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
22422 echo "${ECHO_T}$ac_cv_struct_tm" >&6
22423 if test $ac_cv_struct_tm = sys
/time.h
; then
22425 cat >>confdefs.h
<<\_ACEOF
22426 #define TM_IN_SYS_TIME 1
22431 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
22432 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
22433 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
22434 echo $ECHO_N "(cached) $ECHO_C" >&6
22436 cat >conftest.
$ac_ext <<_ACEOF
22439 cat confdefs.h
>>conftest.
$ac_ext
22440 cat >>conftest.
$ac_ext <<_ACEOF
22441 /* end confdefs.h. */
22442 #include <sys/types.h>
22443 #include <$ac_cv_struct_tm>
22449 static struct tm ac_aggr;
22450 if (ac_aggr.tm_zone)
22456 rm -f conftest.
$ac_objext
22457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22458 (eval $ac_compile) 2>conftest.er1
22460 grep -v '^ *+' conftest.er1
>conftest.err
22462 cat conftest.err
>&5
22463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22464 (exit $ac_status); } &&
22465 { ac_try
='test -z "$ac_c_werror_flag"
22466 || test ! -s conftest.err'
22467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22468 (eval $ac_try) 2>&5
22470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22471 (exit $ac_status); }; } &&
22472 { ac_try
='test -s conftest.$ac_objext'
22473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22474 (eval $ac_try) 2>&5
22476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22477 (exit $ac_status); }; }; then
22478 ac_cv_member_struct_tm_tm_zone
=yes
22480 echo "$as_me: failed program was:" >&5
22481 sed 's/^/| /' conftest.
$ac_ext >&5
22483 cat >conftest.
$ac_ext <<_ACEOF
22486 cat confdefs.h
>>conftest.
$ac_ext
22487 cat >>conftest.
$ac_ext <<_ACEOF
22488 /* end confdefs.h. */
22489 #include <sys/types.h>
22490 #include <$ac_cv_struct_tm>
22496 static struct tm ac_aggr;
22497 if (sizeof ac_aggr.tm_zone)
22503 rm -f conftest.
$ac_objext
22504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22505 (eval $ac_compile) 2>conftest.er1
22507 grep -v '^ *+' conftest.er1
>conftest.err
22509 cat conftest.err
>&5
22510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22511 (exit $ac_status); } &&
22512 { ac_try
='test -z "$ac_c_werror_flag"
22513 || test ! -s conftest.err'
22514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22515 (eval $ac_try) 2>&5
22517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22518 (exit $ac_status); }; } &&
22519 { ac_try
='test -s conftest.$ac_objext'
22520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22521 (eval $ac_try) 2>&5
22523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22524 (exit $ac_status); }; }; then
22525 ac_cv_member_struct_tm_tm_zone
=yes
22527 echo "$as_me: failed program was:" >&5
22528 sed 's/^/| /' conftest.
$ac_ext >&5
22530 ac_cv_member_struct_tm_tm_zone
=no
22532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22534 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22536 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
22537 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
22538 if test $ac_cv_member_struct_tm_tm_zone = yes; then
22540 cat >>confdefs.h
<<_ACEOF
22541 #define HAVE_STRUCT_TM_TM_ZONE 1
22547 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
22549 cat >>confdefs.h
<<\_ACEOF
22550 #define HAVE_TM_ZONE 1
22554 echo "$as_me:$LINENO: checking for tzname" >&5
22555 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
22556 if test "${ac_cv_var_tzname+set}" = set; then
22557 echo $ECHO_N "(cached) $ECHO_C" >&6
22559 if test x
$gcc_no_link = xyes
; then
22560 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22562 { (exit 1); exit 1; }; }
22564 cat >conftest.
$ac_ext <<_ACEOF
22567 cat confdefs.h
>>conftest.
$ac_ext
22568 cat >>conftest.
$ac_ext <<_ACEOF
22569 /* end confdefs.h. */
22571 #ifndef tzname /* For SGI. */
22572 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
22583 rm -f conftest.
$ac_objext conftest
$ac_exeext
22584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22585 (eval $ac_link) 2>conftest.er1
22587 grep -v '^ *+' conftest.er1
>conftest.err
22589 cat conftest.err
>&5
22590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22591 (exit $ac_status); } &&
22592 { ac_try
='test -z "$ac_c_werror_flag"
22593 || test ! -s conftest.err'
22594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22595 (eval $ac_try) 2>&5
22597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22598 (exit $ac_status); }; } &&
22599 { ac_try
='test -s conftest$ac_exeext'
22600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22601 (eval $ac_try) 2>&5
22603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22604 (exit $ac_status); }; }; then
22605 ac_cv_var_tzname
=yes
22607 echo "$as_me: failed program was:" >&5
22608 sed 's/^/| /' conftest.
$ac_ext >&5
22610 ac_cv_var_tzname
=no
22612 rm -f conftest.err conftest.
$ac_objext \
22613 conftest
$ac_exeext conftest.
$ac_ext
22615 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
22616 echo "${ECHO_T}$ac_cv_var_tzname" >&6
22617 if test $ac_cv_var_tzname = yes; then
22619 cat >>confdefs.h
<<\_ACEOF
22620 #define HAVE_TZNAME 1
22628 for ac_func
in gethostbyname_r
22630 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22631 echo "$as_me:$LINENO: checking for $ac_func" >&5
22632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22633 if eval "test \"\${$as_ac_var+set}\" = set"; then
22634 echo $ECHO_N "(cached) $ECHO_C" >&6
22636 if test x
$gcc_no_link = xyes
; then
22637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22639 { (exit 1); exit 1; }; }
22641 cat >conftest.
$ac_ext <<_ACEOF
22644 cat confdefs.h
>>conftest.
$ac_ext
22645 cat >>conftest.
$ac_ext <<_ACEOF
22646 /* end confdefs.h. */
22647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22649 #define $ac_func innocuous_$ac_func
22651 /* System header to define __stub macros and hopefully few prototypes,
22652 which can conflict with char $ac_func (); below.
22653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22654 <limits.h> exists even on freestanding compilers. */
22657 # include <limits.h>
22659 # include <assert.h>
22664 /* Override any gcc2 internal prototype to avoid an error. */
22669 /* We use char because int might match the return type of a gcc2
22670 builtin and then its argument prototype would still apply. */
22672 /* The GNU C library defines this for functions which it implements
22673 to always fail with ENOSYS. Some functions are actually named
22674 something starting with __ and the normal name is an alias. */
22675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22678 char (*f) () = $ac_func;
22687 return f != $ac_func;
22692 rm -f conftest.
$ac_objext conftest
$ac_exeext
22693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22694 (eval $ac_link) 2>conftest.er1
22696 grep -v '^ *+' conftest.er1
>conftest.err
22698 cat conftest.err
>&5
22699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22700 (exit $ac_status); } &&
22701 { ac_try
='test -z "$ac_c_werror_flag"
22702 || test ! -s conftest.err'
22703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22704 (eval $ac_try) 2>&5
22706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22707 (exit $ac_status); }; } &&
22708 { ac_try
='test -s conftest$ac_exeext'
22709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22710 (eval $ac_try) 2>&5
22712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22713 (exit $ac_status); }; }; then
22714 eval "$as_ac_var=yes"
22716 echo "$as_me: failed program was:" >&5
22717 sed 's/^/| /' conftest.
$ac_ext >&5
22719 eval "$as_ac_var=no"
22721 rm -f conftest.err conftest.
$ac_objext \
22722 conftest
$ac_exeext conftest.
$ac_ext
22724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22726 if test `eval echo '${'$as_ac_var'}'` = yes; then
22727 cat >>confdefs.h
<<_ACEOF
22728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22732 cat >>confdefs.h
<<\_ACEOF
22733 #define HAVE_GETHOSTBYNAME_R 1
22736 # There are two different kinds of gethostbyname_r.
22737 # We look for the one that returns `int'.
22738 # Hopefully this check is robust enough.
22739 cat >conftest.
$ac_ext <<_ACEOF
22742 cat confdefs.h
>>conftest.
$ac_ext
22743 cat >>conftest.
$ac_ext <<_ACEOF
22744 /* end confdefs.h. */
22748 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22749 $EGREP "int.*gethostbyname_r" >/dev
/null
2>&1; then
22752 cat >>confdefs.h
<<\_ACEOF
22753 #define GETHOSTBYNAME_R_RETURNS_INT 1
22760 case " $GCINCS " in
22761 *" -D_REENTRANT "*) ;;
22763 echo "$as_me:$LINENO: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5
22764 echo $ECHO_N "checking whether gethostbyname_r declaration requires -D_REENTRANT... $ECHO_C" >&6
22765 if test "${libjava_cv_gethostbyname_r_needs_reentrant+set}" = set; then
22766 echo $ECHO_N "(cached) $ECHO_C" >&6
22769 ac_cpp
='$CXXCPP $CPPFLAGS'
22770 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22771 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22772 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22774 cat >conftest.
$ac_ext <<_ACEOF
22777 cat confdefs.h
>>conftest.
$ac_ext
22778 cat >>conftest.
$ac_ext <<_ACEOF
22779 /* end confdefs.h. */
22784 gethostbyname_r("", 0, 0);
22789 rm -f conftest.
$ac_objext
22790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22791 (eval $ac_compile) 2>conftest.er1
22793 grep -v '^ *+' conftest.er1
>conftest.err
22795 cat conftest.err
>&5
22796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22797 (exit $ac_status); } &&
22798 { ac_try
='test -z "$ac_cxx_werror_flag"
22799 || test ! -s conftest.err'
22800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22801 (eval $ac_try) 2>&5
22803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22804 (exit $ac_status); }; } &&
22805 { ac_try
='test -s conftest.$ac_objext'
22806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22807 (eval $ac_try) 2>&5
22809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22810 (exit $ac_status); }; }; then
22811 libjava_cv_gethostbyname_r_needs_reentrant
=no
22813 echo "$as_me: failed program was:" >&5
22814 sed 's/^/| /' conftest.
$ac_ext >&5
22816 CPPFLAGS_SAVE
="$CPPFLAGS"
22817 CPPFLAGS
="$CPPFLAGS -D_REENTRANT"
22818 cat >conftest.
$ac_ext <<_ACEOF
22821 cat confdefs.h
>>conftest.
$ac_ext
22822 cat >>conftest.
$ac_ext <<_ACEOF
22823 /* end confdefs.h. */
22828 gethostbyname_r("", 0, 0);
22833 rm -f conftest.
$ac_objext
22834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22835 (eval $ac_compile) 2>conftest.er1
22837 grep -v '^ *+' conftest.er1
>conftest.err
22839 cat conftest.err
>&5
22840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22841 (exit $ac_status); } &&
22842 { ac_try
='test -z "$ac_cxx_werror_flag"
22843 || test ! -s conftest.err'
22844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22845 (eval $ac_try) 2>&5
22847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22848 (exit $ac_status); }; } &&
22849 { ac_try
='test -s conftest.$ac_objext'
22850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22851 (eval $ac_try) 2>&5
22853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22854 (exit $ac_status); }; }; then
22855 libjava_cv_gethostbyname_r_needs_reentrant
=yes
22857 echo "$as_me: failed program was:" >&5
22858 sed 's/^/| /' conftest.
$ac_ext >&5
22860 libjava_cv_gethostbyname_r_needs_reentrant
=fail
22862 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22863 CPPFLAGS
="$CPPFLAGS_SAVE"
22866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22868 ac_cpp
='$CPP $CPPFLAGS'
22869 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22870 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22871 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22875 echo "$as_me:$LINENO: result: $libjava_cv_gethostbyname_r_needs_reentrant" >&5
22876 echo "${ECHO_T}$libjava_cv_gethostbyname_r_needs_reentrant" >&6
22877 if test "x$libjava_cv_gethostbyname_r_needs_reentrant" = xyes
; then
22879 cat >>confdefs.h
<<\_ACEOF
22880 #define _REENTRANT 1
22887 echo "$as_me:$LINENO: checking for struct hostent_data" >&5
22888 echo $ECHO_N "checking for struct hostent_data... $ECHO_C" >&6
22889 if test "${libjava_cv_struct_hostent_data+set}" = set; then
22890 echo $ECHO_N "(cached) $ECHO_C" >&6
22892 cat >conftest.
$ac_ext <<_ACEOF
22895 cat confdefs.h
>>conftest.
$ac_ext
22896 cat >>conftest.
$ac_ext <<_ACEOF
22897 /* end confdefs.h. */
22899 #if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
22900 # define _REENTRANT 1
22906 struct hostent_data data;
22911 rm -f conftest.
$ac_objext
22912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22913 (eval $ac_compile) 2>conftest.er1
22915 grep -v '^ *+' conftest.er1
>conftest.err
22917 cat conftest.err
>&5
22918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22919 (exit $ac_status); } &&
22920 { ac_try
='test -z "$ac_c_werror_flag"
22921 || test ! -s conftest.err'
22922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22923 (eval $ac_try) 2>&5
22925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22926 (exit $ac_status); }; } &&
22927 { ac_try
='test -s conftest.$ac_objext'
22928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22929 (eval $ac_try) 2>&5
22931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22932 (exit $ac_status); }; }; then
22933 libjava_cv_struct_hostent_data
=yes
22935 echo "$as_me: failed program was:" >&5
22936 sed 's/^/| /' conftest.
$ac_ext >&5
22938 libjava_cv_struct_hostent_data
=no
22940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22942 echo "$as_me:$LINENO: result: $libjava_cv_struct_hostent_data" >&5
22943 echo "${ECHO_T}$libjava_cv_struct_hostent_data" >&6
22944 if test "x$libjava_cv_struct_hostent_data" = xyes
; then
22946 cat >>confdefs.h
<<\_ACEOF
22947 #define HAVE_STRUCT_HOSTENT_DATA 1
22956 # FIXME: libjava source code expects to find a prototype for
22957 # gethostbyaddr_r in netdb.h. The outer check ensures that
22958 # HAVE_GETHOSTBYADDR_R will not be defined if the prototype fails
22959 # to exist where expected. (The root issue: AC_CHECK_FUNCS assumes C
22960 # linkage check is enough, yet C++ code requires proper prototypes.)
22961 cat >conftest.
$ac_ext <<_ACEOF
22964 cat confdefs.h
>>conftest.
$ac_ext
22965 cat >>conftest.
$ac_ext <<_ACEOF
22966 /* end confdefs.h. */
22970 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22971 $EGREP "gethostbyaddr_r" >/dev
/null
2>&1; then
22974 for ac_func
in gethostbyaddr_r
22976 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22977 echo "$as_me:$LINENO: checking for $ac_func" >&5
22978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22979 if eval "test \"\${$as_ac_var+set}\" = set"; then
22980 echo $ECHO_N "(cached) $ECHO_C" >&6
22982 if test x
$gcc_no_link = xyes
; then
22983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22985 { (exit 1); exit 1; }; }
22987 cat >conftest.
$ac_ext <<_ACEOF
22990 cat confdefs.h
>>conftest.
$ac_ext
22991 cat >>conftest.
$ac_ext <<_ACEOF
22992 /* end confdefs.h. */
22993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22995 #define $ac_func innocuous_$ac_func
22997 /* System header to define __stub macros and hopefully few prototypes,
22998 which can conflict with char $ac_func (); below.
22999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23000 <limits.h> exists even on freestanding compilers. */
23003 # include <limits.h>
23005 # include <assert.h>
23010 /* Override any gcc2 internal prototype to avoid an error. */
23015 /* We use char because int might match the return type of a gcc2
23016 builtin and then its argument prototype would still apply. */
23018 /* The GNU C library defines this for functions which it implements
23019 to always fail with ENOSYS. Some functions are actually named
23020 something starting with __ and the normal name is an alias. */
23021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23024 char (*f) () = $ac_func;
23033 return f != $ac_func;
23038 rm -f conftest.
$ac_objext conftest
$ac_exeext
23039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23040 (eval $ac_link) 2>conftest.er1
23042 grep -v '^ *+' conftest.er1
>conftest.err
23044 cat conftest.err
>&5
23045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 (exit $ac_status); } &&
23047 { ac_try
='test -z "$ac_c_werror_flag"
23048 || test ! -s conftest.err'
23049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23050 (eval $ac_try) 2>&5
23052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23053 (exit $ac_status); }; } &&
23054 { ac_try
='test -s conftest$ac_exeext'
23055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23056 (eval $ac_try) 2>&5
23058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23059 (exit $ac_status); }; }; then
23060 eval "$as_ac_var=yes"
23062 echo "$as_me: failed program was:" >&5
23063 sed 's/^/| /' conftest.
$ac_ext >&5
23065 eval "$as_ac_var=no"
23067 rm -f conftest.err conftest.
$ac_objext \
23068 conftest
$ac_exeext conftest.
$ac_ext
23070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23072 if test `eval echo '${'$as_ac_var'}'` = yes; then
23073 cat >>confdefs.h
<<_ACEOF
23074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23078 cat >>confdefs.h
<<\_ACEOF
23079 #define HAVE_GETHOSTBYADDR_R 1
23082 # There are two different kinds of gethostbyaddr_r.
23083 # We look for the one that returns `int'.
23084 # Hopefully this check is robust enough.
23085 cat >conftest.
$ac_ext <<_ACEOF
23088 cat confdefs.h
>>conftest.
$ac_ext
23089 cat >>conftest.
$ac_ext <<_ACEOF
23090 /* end confdefs.h. */
23094 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23095 $EGREP "int.*gethostbyaddr_r" >/dev
/null
2>&1; then
23098 cat >>confdefs.h
<<\_ACEOF
23099 #define GETHOSTBYADDR_R_RETURNS_INT 1
23113 for ac_func
in gethostname
23115 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23116 echo "$as_me:$LINENO: checking for $ac_func" >&5
23117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23118 if eval "test \"\${$as_ac_var+set}\" = set"; then
23119 echo $ECHO_N "(cached) $ECHO_C" >&6
23121 if test x
$gcc_no_link = xyes
; then
23122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23124 { (exit 1); exit 1; }; }
23126 cat >conftest.
$ac_ext <<_ACEOF
23129 cat confdefs.h
>>conftest.
$ac_ext
23130 cat >>conftest.
$ac_ext <<_ACEOF
23131 /* end confdefs.h. */
23132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23134 #define $ac_func innocuous_$ac_func
23136 /* System header to define __stub macros and hopefully few prototypes,
23137 which can conflict with char $ac_func (); below.
23138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23139 <limits.h> exists even on freestanding compilers. */
23142 # include <limits.h>
23144 # include <assert.h>
23149 /* Override any gcc2 internal prototype to avoid an error. */
23154 /* We use char because int might match the return type of a gcc2
23155 builtin and then its argument prototype would still apply. */
23157 /* The GNU C library defines this for functions which it implements
23158 to always fail with ENOSYS. Some functions are actually named
23159 something starting with __ and the normal name is an alias. */
23160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23163 char (*f) () = $ac_func;
23172 return f != $ac_func;
23177 rm -f conftest.
$ac_objext conftest
$ac_exeext
23178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23179 (eval $ac_link) 2>conftest.er1
23181 grep -v '^ *+' conftest.er1
>conftest.err
23183 cat conftest.err
>&5
23184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23185 (exit $ac_status); } &&
23186 { ac_try
='test -z "$ac_c_werror_flag"
23187 || test ! -s conftest.err'
23188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23189 (eval $ac_try) 2>&5
23191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23192 (exit $ac_status); }; } &&
23193 { ac_try
='test -s conftest$ac_exeext'
23194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23195 (eval $ac_try) 2>&5
23197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23198 (exit $ac_status); }; }; then
23199 eval "$as_ac_var=yes"
23201 echo "$as_me: failed program was:" >&5
23202 sed 's/^/| /' conftest.
$ac_ext >&5
23204 eval "$as_ac_var=no"
23206 rm -f conftest.err conftest.
$ac_objext \
23207 conftest
$ac_exeext conftest.
$ac_ext
23209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23211 if test `eval echo '${'$as_ac_var'}'` = yes; then
23212 cat >>confdefs.h
<<_ACEOF
23213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23217 cat >>confdefs.h
<<\_ACEOF
23218 #define HAVE_GETHOSTNAME 1
23221 cat >conftest.
$ac_ext <<_ACEOF
23224 cat confdefs.h
>>conftest.
$ac_ext
23225 cat >>conftest.
$ac_ext <<_ACEOF
23226 /* end confdefs.h. */
23227 #include <unistd.h>
23230 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23231 $EGREP "gethostname" >/dev
/null
2>&1; then
23234 cat >>confdefs.h
<<\_ACEOF
23235 #define HAVE_GETHOSTNAME_DECL 1
23246 for ac_func
in usleep
23248 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23249 echo "$as_me:$LINENO: checking for $ac_func" >&5
23250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23251 if eval "test \"\${$as_ac_var+set}\" = set"; then
23252 echo $ECHO_N "(cached) $ECHO_C" >&6
23254 if test x
$gcc_no_link = xyes
; then
23255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23257 { (exit 1); exit 1; }; }
23259 cat >conftest.
$ac_ext <<_ACEOF
23262 cat confdefs.h
>>conftest.
$ac_ext
23263 cat >>conftest.
$ac_ext <<_ACEOF
23264 /* end confdefs.h. */
23265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23267 #define $ac_func innocuous_$ac_func
23269 /* System header to define __stub macros and hopefully few prototypes,
23270 which can conflict with char $ac_func (); below.
23271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23272 <limits.h> exists even on freestanding compilers. */
23275 # include <limits.h>
23277 # include <assert.h>
23282 /* Override any gcc2 internal prototype to avoid an error. */
23287 /* We use char because int might match the return type of a gcc2
23288 builtin and then its argument prototype would still apply. */
23290 /* The GNU C library defines this for functions which it implements
23291 to always fail with ENOSYS. Some functions are actually named
23292 something starting with __ and the normal name is an alias. */
23293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23296 char (*f) () = $ac_func;
23305 return f != $ac_func;
23310 rm -f conftest.
$ac_objext conftest
$ac_exeext
23311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23312 (eval $ac_link) 2>conftest.er1
23314 grep -v '^ *+' conftest.er1
>conftest.err
23316 cat conftest.err
>&5
23317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23318 (exit $ac_status); } &&
23319 { ac_try
='test -z "$ac_c_werror_flag"
23320 || test ! -s conftest.err'
23321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23322 (eval $ac_try) 2>&5
23324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23325 (exit $ac_status); }; } &&
23326 { ac_try
='test -s conftest$ac_exeext'
23327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23328 (eval $ac_try) 2>&5
23330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23331 (exit $ac_status); }; }; then
23332 eval "$as_ac_var=yes"
23334 echo "$as_me: failed program was:" >&5
23335 sed 's/^/| /' conftest.
$ac_ext >&5
23337 eval "$as_ac_var=no"
23339 rm -f conftest.err conftest.
$ac_objext \
23340 conftest
$ac_exeext conftest.
$ac_ext
23342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23344 if test `eval echo '${'$as_ac_var'}'` = yes; then
23345 cat >>confdefs.h
<<_ACEOF
23346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23349 cat >conftest.
$ac_ext <<_ACEOF
23352 cat confdefs.h
>>conftest.
$ac_ext
23353 cat >>conftest.
$ac_ext <<_ACEOF
23354 /* end confdefs.h. */
23355 #include <unistd.h>
23358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23359 $EGREP "usleep" >/dev
/null
2>&1; then
23362 cat >>confdefs.h
<<\_ACEOF
23363 #define HAVE_USLEEP_DECL 1
23373 # Look for these functions in the thread library, but only bother
23374 # if using POSIX threads.
23375 if test "$THREADS" = posix
; then
23377 LIBS
="$LIBS $THREADLIBS"
23379 # Look for sched_yield. Up to Solaris 2.6, it is in libposix4, since
23380 # Solaris 7 the name librt is preferred.
23382 for ac_func
in sched_yield
23384 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23385 echo "$as_me:$LINENO: checking for $ac_func" >&5
23386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23387 if eval "test \"\${$as_ac_var+set}\" = set"; then
23388 echo $ECHO_N "(cached) $ECHO_C" >&6
23390 if test x
$gcc_no_link = xyes
; then
23391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23393 { (exit 1); exit 1; }; }
23395 cat >conftest.
$ac_ext <<_ACEOF
23398 cat confdefs.h
>>conftest.
$ac_ext
23399 cat >>conftest.
$ac_ext <<_ACEOF
23400 /* end confdefs.h. */
23401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23403 #define $ac_func innocuous_$ac_func
23405 /* System header to define __stub macros and hopefully few prototypes,
23406 which can conflict with char $ac_func (); below.
23407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23408 <limits.h> exists even on freestanding compilers. */
23411 # include <limits.h>
23413 # include <assert.h>
23418 /* Override any gcc2 internal prototype to avoid an error. */
23423 /* We use char because int might match the return type of a gcc2
23424 builtin and then its argument prototype would still apply. */
23426 /* The GNU C library defines this for functions which it implements
23427 to always fail with ENOSYS. Some functions are actually named
23428 something starting with __ and the normal name is an alias. */
23429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23432 char (*f) () = $ac_func;
23441 return f != $ac_func;
23446 rm -f conftest.
$ac_objext conftest
$ac_exeext
23447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23448 (eval $ac_link) 2>conftest.er1
23450 grep -v '^ *+' conftest.er1
>conftest.err
23452 cat conftest.err
>&5
23453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23454 (exit $ac_status); } &&
23455 { ac_try
='test -z "$ac_c_werror_flag"
23456 || test ! -s conftest.err'
23457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23458 (eval $ac_try) 2>&5
23460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23461 (exit $ac_status); }; } &&
23462 { ac_try
='test -s conftest$ac_exeext'
23463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23464 (eval $ac_try) 2>&5
23466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23467 (exit $ac_status); }; }; then
23468 eval "$as_ac_var=yes"
23470 echo "$as_me: failed program was:" >&5
23471 sed 's/^/| /' conftest.
$ac_ext >&5
23473 eval "$as_ac_var=no"
23475 rm -f conftest.err conftest.
$ac_objext \
23476 conftest
$ac_exeext conftest.
$ac_ext
23478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23480 if test `eval echo '${'$as_ac_var'}'` = yes; then
23481 cat >>confdefs.h
<<_ACEOF
23482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23487 echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5
23488 echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6
23489 if test "${ac_cv_lib_rt_sched_yield+set}" = set; then
23490 echo $ECHO_N "(cached) $ECHO_C" >&6
23492 ac_check_lib_save_LIBS
=$LIBS
23494 if test x
$gcc_no_link = xyes
; then
23495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23497 { (exit 1); exit 1; }; }
23499 cat >conftest.
$ac_ext <<_ACEOF
23502 cat confdefs.h
>>conftest.
$ac_ext
23503 cat >>conftest.
$ac_ext <<_ACEOF
23504 /* end confdefs.h. */
23506 /* Override any gcc2 internal prototype to avoid an error. */
23510 /* We use char because int might match the return type of a gcc2
23511 builtin and then its argument prototype would still apply. */
23512 char sched_yield ();
23521 rm -f conftest.
$ac_objext conftest
$ac_exeext
23522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23523 (eval $ac_link) 2>conftest.er1
23525 grep -v '^ *+' conftest.er1
>conftest.err
23527 cat conftest.err
>&5
23528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23529 (exit $ac_status); } &&
23530 { ac_try
='test -z "$ac_c_werror_flag"
23531 || test ! -s conftest.err'
23532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23533 (eval $ac_try) 2>&5
23535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23536 (exit $ac_status); }; } &&
23537 { ac_try
='test -s conftest$ac_exeext'
23538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23539 (eval $ac_try) 2>&5
23541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23542 (exit $ac_status); }; }; then
23543 ac_cv_lib_rt_sched_yield
=yes
23545 echo "$as_me: failed program was:" >&5
23546 sed 's/^/| /' conftest.
$ac_ext >&5
23548 ac_cv_lib_rt_sched_yield
=no
23550 rm -f conftest.err conftest.
$ac_objext \
23551 conftest
$ac_exeext conftest.
$ac_ext
23552 LIBS
=$ac_check_lib_save_LIBS
23554 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5
23555 echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6
23556 if test $ac_cv_lib_rt_sched_yield = yes; then
23558 cat >>confdefs.h
<<\_ACEOF
23559 #define HAVE_SCHED_YIELD 1
23562 THREADLIBS
="$THREADLIBS -lrt"
23563 THREADSPEC
="$THREADSPEC -lrt"
23566 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
23567 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
23568 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
23569 echo $ECHO_N "(cached) $ECHO_C" >&6
23571 ac_check_lib_save_LIBS
=$LIBS
23572 LIBS
="-lposix4 $LIBS"
23573 if test x
$gcc_no_link = xyes
; then
23574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23576 { (exit 1); exit 1; }; }
23578 cat >conftest.
$ac_ext <<_ACEOF
23581 cat confdefs.h
>>conftest.
$ac_ext
23582 cat >>conftest.
$ac_ext <<_ACEOF
23583 /* end confdefs.h. */
23585 /* Override any gcc2 internal prototype to avoid an error. */
23589 /* We use char because int might match the return type of a gcc2
23590 builtin and then its argument prototype would still apply. */
23591 char sched_yield ();
23600 rm -f conftest.
$ac_objext conftest
$ac_exeext
23601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23602 (eval $ac_link) 2>conftest.er1
23604 grep -v '^ *+' conftest.er1
>conftest.err
23606 cat conftest.err
>&5
23607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23608 (exit $ac_status); } &&
23609 { ac_try
='test -z "$ac_c_werror_flag"
23610 || test ! -s conftest.err'
23611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23612 (eval $ac_try) 2>&5
23614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23615 (exit $ac_status); }; } &&
23616 { ac_try
='test -s conftest$ac_exeext'
23617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23618 (eval $ac_try) 2>&5
23620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23621 (exit $ac_status); }; }; then
23622 ac_cv_lib_posix4_sched_yield
=yes
23624 echo "$as_me: failed program was:" >&5
23625 sed 's/^/| /' conftest.
$ac_ext >&5
23627 ac_cv_lib_posix4_sched_yield
=no
23629 rm -f conftest.err conftest.
$ac_objext \
23630 conftest
$ac_exeext conftest.
$ac_ext
23631 LIBS
=$ac_check_lib_save_LIBS
23633 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
23634 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
23635 if test $ac_cv_lib_posix4_sched_yield = yes; then
23637 cat >>confdefs.h
<<\_ACEOF
23638 #define HAVE_SCHED_YIELD 1
23641 THREADLIBS
="$THREADLIBS -lposix4"
23642 THREADSPEC
="$THREADSPEC -lposix4"
23651 echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
23652 echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6
23653 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
23654 echo $ECHO_N "(cached) $ECHO_C" >&6
23656 ac_check_lib_save_LIBS
=$LIBS
23658 if test x
$gcc_no_link = xyes
; then
23659 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23661 { (exit 1); exit 1; }; }
23663 cat >conftest.
$ac_ext <<_ACEOF
23666 cat confdefs.h
>>conftest.
$ac_ext
23667 cat >>conftest.
$ac_ext <<_ACEOF
23668 /* end confdefs.h. */
23670 /* Override any gcc2 internal prototype to avoid an error. */
23674 /* We use char because int might match the return type of a gcc2
23675 builtin and then its argument prototype would still apply. */
23676 char clock_gettime ();
23685 rm -f conftest.
$ac_objext conftest
$ac_exeext
23686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23687 (eval $ac_link) 2>conftest.er1
23689 grep -v '^ *+' conftest.er1
>conftest.err
23691 cat conftest.err
>&5
23692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23693 (exit $ac_status); } &&
23694 { ac_try
='test -z "$ac_c_werror_flag"
23695 || test ! -s conftest.err'
23696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23697 (eval $ac_try) 2>&5
23699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23700 (exit $ac_status); }; } &&
23701 { ac_try
='test -s conftest$ac_exeext'
23702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23703 (eval $ac_try) 2>&5
23705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23706 (exit $ac_status); }; }; then
23707 ac_cv_lib_rt_clock_gettime
=yes
23709 echo "$as_me: failed program was:" >&5
23710 sed 's/^/| /' conftest.
$ac_ext >&5
23712 ac_cv_lib_rt_clock_gettime
=no
23714 rm -f conftest.err conftest.
$ac_objext \
23715 conftest
$ac_exeext conftest.
$ac_ext
23716 LIBS
=$ac_check_lib_save_LIBS
23718 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
23719 echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6
23720 if test $ac_cv_lib_rt_clock_gettime = yes; then
23723 cat >>confdefs.h
<<\_ACEOF
23724 #define HAVE_CLOCK_GETTIME 1
23727 case "$THREADSPEC" in
23730 THREADSPEC
="$THREADSPEC -lrt"
23731 THREADLIBS
="$THREADLIBS -lrt"
23739 # We can save a little space at runtime if the mutex has m_count
23740 # or __m_count. This is a nice hack for Linux.
23741 cat >conftest.
$ac_ext <<_ACEOF
23744 cat confdefs.h
>>conftest.
$ac_ext
23745 cat >>conftest.
$ac_ext <<_ACEOF
23746 /* end confdefs.h. */
23747 #include <pthread.h>
23752 extern pthread_mutex_t *mutex; int q = mutex->m_count;
23758 rm -f conftest.
$ac_objext
23759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23760 (eval $ac_compile) 2>conftest.er1
23762 grep -v '^ *+' conftest.er1
>conftest.err
23764 cat conftest.err
>&5
23765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23766 (exit $ac_status); } &&
23767 { ac_try
='test -z "$ac_c_werror_flag"
23768 || test ! -s conftest.err'
23769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23770 (eval $ac_try) 2>&5
23772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23773 (exit $ac_status); }; } &&
23774 { ac_try
='test -s conftest.$ac_objext'
23775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23776 (eval $ac_try) 2>&5
23778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23779 (exit $ac_status); }; }; then
23781 cat >>confdefs.h
<<\_ACEOF
23782 #define PTHREAD_MUTEX_HAVE_M_COUNT 1
23786 echo "$as_me: failed program was:" >&5
23787 sed 's/^/| /' conftest.
$ac_ext >&5
23790 cat >conftest.
$ac_ext <<_ACEOF
23793 cat confdefs.h
>>conftest.
$ac_ext
23794 cat >>conftest.
$ac_ext <<_ACEOF
23795 /* end confdefs.h. */
23796 #include <pthread.h>
23801 extern pthread_mutex_t *mutex; int q = mutex->__m_count;
23807 rm -f conftest.
$ac_objext
23808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23809 (eval $ac_compile) 2>conftest.er1
23811 grep -v '^ *+' conftest.er1
>conftest.err
23813 cat conftest.err
>&5
23814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23815 (exit $ac_status); } &&
23816 { ac_try
='test -z "$ac_c_werror_flag"
23817 || test ! -s conftest.err'
23818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23819 (eval $ac_try) 2>&5
23821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23822 (exit $ac_status); }; } &&
23823 { ac_try
='test -s conftest.$ac_objext'
23824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23825 (eval $ac_try) 2>&5
23827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23828 (exit $ac_status); }; }; then
23830 cat >>confdefs.h
<<\_ACEOF
23831 #define PTHREAD_MUTEX_HAVE___M_COUNT 1
23835 echo "$as_me: failed program was:" >&5
23836 sed 's/^/| /' conftest.
$ac_ext >&5
23839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23844 # We require a way to get the time.
23849 for ac_func
in gettimeofday
time ftime
23851 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23852 echo "$as_me:$LINENO: checking for $ac_func" >&5
23853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23854 if eval "test \"\${$as_ac_var+set}\" = set"; then
23855 echo $ECHO_N "(cached) $ECHO_C" >&6
23857 if test x
$gcc_no_link = xyes
; then
23858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23860 { (exit 1); exit 1; }; }
23862 cat >conftest.
$ac_ext <<_ACEOF
23865 cat confdefs.h
>>conftest.
$ac_ext
23866 cat >>conftest.
$ac_ext <<_ACEOF
23867 /* end confdefs.h. */
23868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23870 #define $ac_func innocuous_$ac_func
23872 /* System header to define __stub macros and hopefully few prototypes,
23873 which can conflict with char $ac_func (); below.
23874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23875 <limits.h> exists even on freestanding compilers. */
23878 # include <limits.h>
23880 # include <assert.h>
23885 /* Override any gcc2 internal prototype to avoid an error. */
23890 /* We use char because int might match the return type of a gcc2
23891 builtin and then its argument prototype would still apply. */
23893 /* The GNU C library defines this for functions which it implements
23894 to always fail with ENOSYS. Some functions are actually named
23895 something starting with __ and the normal name is an alias. */
23896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23899 char (*f) () = $ac_func;
23908 return f != $ac_func;
23913 rm -f conftest.
$ac_objext conftest
$ac_exeext
23914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23915 (eval $ac_link) 2>conftest.er1
23917 grep -v '^ *+' conftest.er1
>conftest.err
23919 cat conftest.err
>&5
23920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23921 (exit $ac_status); } &&
23922 { ac_try
='test -z "$ac_c_werror_flag"
23923 || test ! -s conftest.err'
23924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23925 (eval $ac_try) 2>&5
23927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23928 (exit $ac_status); }; } &&
23929 { ac_try
='test -s conftest$ac_exeext'
23930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23931 (eval $ac_try) 2>&5
23933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23934 (exit $ac_status); }; }; then
23935 eval "$as_ac_var=yes"
23937 echo "$as_me: failed program was:" >&5
23938 sed 's/^/| /' conftest.
$ac_ext >&5
23940 eval "$as_ac_var=no"
23942 rm -f conftest.err conftest.
$ac_objext \
23943 conftest
$ac_exeext conftest.
$ac_ext
23945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23947 if test `eval echo '${'$as_ac_var'}'` = yes; then
23948 cat >>confdefs.h
<<_ACEOF
23949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23955 if test "$time_found" = no
; then
23956 { { echo "$as_me:$LINENO: error: no function found to get the time" >&5
23957 echo "$as_me: error: no function found to get the time" >&2;}
23958 { (exit 1); exit 1; }; }
23962 for ac_func
in memmove
23964 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23965 echo "$as_me:$LINENO: checking for $ac_func" >&5
23966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23967 if eval "test \"\${$as_ac_var+set}\" = set"; then
23968 echo $ECHO_N "(cached) $ECHO_C" >&6
23970 if test x
$gcc_no_link = xyes
; then
23971 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23973 { (exit 1); exit 1; }; }
23975 cat >conftest.
$ac_ext <<_ACEOF
23978 cat confdefs.h
>>conftest.
$ac_ext
23979 cat >>conftest.
$ac_ext <<_ACEOF
23980 /* end confdefs.h. */
23981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23983 #define $ac_func innocuous_$ac_func
23985 /* System header to define __stub macros and hopefully few prototypes,
23986 which can conflict with char $ac_func (); below.
23987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23988 <limits.h> exists even on freestanding compilers. */
23991 # include <limits.h>
23993 # include <assert.h>
23998 /* Override any gcc2 internal prototype to avoid an error. */
24003 /* We use char because int might match the return type of a gcc2
24004 builtin and then its argument prototype would still apply. */
24006 /* The GNU C library defines this for functions which it implements
24007 to always fail with ENOSYS. Some functions are actually named
24008 something starting with __ and the normal name is an alias. */
24009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24012 char (*f) () = $ac_func;
24021 return f != $ac_func;
24026 rm -f conftest.
$ac_objext conftest
$ac_exeext
24027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24028 (eval $ac_link) 2>conftest.er1
24030 grep -v '^ *+' conftest.er1
>conftest.err
24032 cat conftest.err
>&5
24033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24034 (exit $ac_status); } &&
24035 { ac_try
='test -z "$ac_c_werror_flag"
24036 || test ! -s conftest.err'
24037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24038 (eval $ac_try) 2>&5
24040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24041 (exit $ac_status); }; } &&
24042 { ac_try
='test -s conftest$ac_exeext'
24043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24044 (eval $ac_try) 2>&5
24046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24047 (exit $ac_status); }; }; then
24048 eval "$as_ac_var=yes"
24050 echo "$as_me: failed program was:" >&5
24051 sed 's/^/| /' conftest.
$ac_ext >&5
24053 eval "$as_ac_var=no"
24055 rm -f conftest.err conftest.
$ac_objext \
24056 conftest
$ac_exeext conftest.
$ac_ext
24058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24060 if test `eval echo '${'$as_ac_var'}'` = yes; then
24061 cat >>confdefs.h
<<_ACEOF
24062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24069 # We require memcpy.
24072 for ac_func
in memcpy
24074 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24075 echo "$as_me:$LINENO: checking for $ac_func" >&5
24076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24077 if eval "test \"\${$as_ac_var+set}\" = set"; then
24078 echo $ECHO_N "(cached) $ECHO_C" >&6
24080 if test x
$gcc_no_link = xyes
; then
24081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24083 { (exit 1); exit 1; }; }
24085 cat >conftest.
$ac_ext <<_ACEOF
24088 cat confdefs.h
>>conftest.
$ac_ext
24089 cat >>conftest.
$ac_ext <<_ACEOF
24090 /* end confdefs.h. */
24091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24093 #define $ac_func innocuous_$ac_func
24095 /* System header to define __stub macros and hopefully few prototypes,
24096 which can conflict with char $ac_func (); below.
24097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24098 <limits.h> exists even on freestanding compilers. */
24101 # include <limits.h>
24103 # include <assert.h>
24108 /* Override any gcc2 internal prototype to avoid an error. */
24113 /* We use char because int might match the return type of a gcc2
24114 builtin and then its argument prototype would still apply. */
24116 /* The GNU C library defines this for functions which it implements
24117 to always fail with ENOSYS. Some functions are actually named
24118 something starting with __ and the normal name is an alias. */
24119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24122 char (*f) () = $ac_func;
24131 return f != $ac_func;
24136 rm -f conftest.
$ac_objext conftest
$ac_exeext
24137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24138 (eval $ac_link) 2>conftest.er1
24140 grep -v '^ *+' conftest.er1
>conftest.err
24142 cat conftest.err
>&5
24143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24144 (exit $ac_status); } &&
24145 { ac_try
='test -z "$ac_c_werror_flag"
24146 || test ! -s conftest.err'
24147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24148 (eval $ac_try) 2>&5
24150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24151 (exit $ac_status); }; } &&
24152 { ac_try
='test -s conftest$ac_exeext'
24153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24154 (eval $ac_try) 2>&5
24156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24157 (exit $ac_status); }; }; then
24158 eval "$as_ac_var=yes"
24160 echo "$as_me: failed program was:" >&5
24161 sed 's/^/| /' conftest.
$ac_ext >&5
24163 eval "$as_ac_var=no"
24165 rm -f conftest.err conftest.
$ac_objext \
24166 conftest
$ac_exeext conftest.
$ac_ext
24168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24170 if test `eval echo '${'$as_ac_var'}'` = yes; then
24171 cat >>confdefs.h
<<_ACEOF
24172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24178 if test "$memcpy_found" = no
; then
24179 { { echo "$as_me:$LINENO: error: memcpy is required" >&5
24180 echo "$as_me: error: memcpy is required" >&2;}
24181 { (exit 1); exit 1; }; }
24183 # Do an additional check on dld, HP-UX for example has dlopen in libdld.sl
24184 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
24185 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
24186 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
24187 echo $ECHO_N "(cached) $ECHO_C" >&6
24189 ac_check_lib_save_LIBS
=$LIBS
24191 if test x
$gcc_no_link = xyes
; then
24192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24194 { (exit 1); exit 1; }; }
24196 cat >conftest.
$ac_ext <<_ACEOF
24199 cat confdefs.h
>>conftest.
$ac_ext
24200 cat >>conftest.
$ac_ext <<_ACEOF
24201 /* end confdefs.h. */
24203 /* Override any gcc2 internal prototype to avoid an error. */
24207 /* We use char because int might match the return type of a gcc2
24208 builtin and then its argument prototype would still apply. */
24218 rm -f conftest.
$ac_objext conftest
$ac_exeext
24219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24220 (eval $ac_link) 2>conftest.er1
24222 grep -v '^ *+' conftest.er1
>conftest.err
24224 cat conftest.err
>&5
24225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24226 (exit $ac_status); } &&
24227 { ac_try
='test -z "$ac_c_werror_flag"
24228 || test ! -s conftest.err'
24229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24230 (eval $ac_try) 2>&5
24232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24233 (exit $ac_status); }; } &&
24234 { ac_try
='test -s conftest$ac_exeext'
24235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24236 (eval $ac_try) 2>&5
24238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24239 (exit $ac_status); }; }; then
24240 ac_cv_lib_dl_dlopen
=yes
24242 echo "$as_me: failed program was:" >&5
24243 sed 's/^/| /' conftest.
$ac_ext >&5
24245 ac_cv_lib_dl_dlopen
=no
24247 rm -f conftest.err conftest.
$ac_objext \
24248 conftest
$ac_exeext conftest.
$ac_ext
24249 LIBS
=$ac_check_lib_save_LIBS
24251 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
24252 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
24253 if test $ac_cv_lib_dl_dlopen = yes; then
24256 cat >>confdefs.h
<<\_ACEOF
24257 #define HAVE_DLOPEN 1
24262 echo "$as_me:$LINENO: checking for dlopen in -ldld" >&5
24263 echo $ECHO_N "checking for dlopen in -ldld... $ECHO_C" >&6
24264 if test "${ac_cv_lib_dld_dlopen+set}" = set; then
24265 echo $ECHO_N "(cached) $ECHO_C" >&6
24267 ac_check_lib_save_LIBS
=$LIBS
24269 if test x
$gcc_no_link = xyes
; then
24270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24272 { (exit 1); exit 1; }; }
24274 cat >conftest.
$ac_ext <<_ACEOF
24277 cat confdefs.h
>>conftest.
$ac_ext
24278 cat >>conftest.
$ac_ext <<_ACEOF
24279 /* end confdefs.h. */
24281 /* Override any gcc2 internal prototype to avoid an error. */
24285 /* We use char because int might match the return type of a gcc2
24286 builtin and then its argument prototype would still apply. */
24296 rm -f conftest.
$ac_objext conftest
$ac_exeext
24297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24298 (eval $ac_link) 2>conftest.er1
24300 grep -v '^ *+' conftest.er1
>conftest.err
24302 cat conftest.err
>&5
24303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24304 (exit $ac_status); } &&
24305 { ac_try
='test -z "$ac_c_werror_flag"
24306 || test ! -s conftest.err'
24307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24308 (eval $ac_try) 2>&5
24310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24311 (exit $ac_status); }; } &&
24312 { ac_try
='test -s conftest$ac_exeext'
24313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24314 (eval $ac_try) 2>&5
24316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24317 (exit $ac_status); }; }; then
24318 ac_cv_lib_dld_dlopen
=yes
24320 echo "$as_me: failed program was:" >&5
24321 sed 's/^/| /' conftest.
$ac_ext >&5
24323 ac_cv_lib_dld_dlopen
=no
24325 rm -f conftest.err conftest.
$ac_objext \
24326 conftest
$ac_exeext conftest.
$ac_ext
24327 LIBS
=$ac_check_lib_save_LIBS
24329 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dlopen" >&5
24330 echo "${ECHO_T}$ac_cv_lib_dld_dlopen" >&6
24331 if test $ac_cv_lib_dld_dlopen = yes; then
24334 cat >>confdefs.h
<<\_ACEOF
24335 #define HAVE_DLOPEN 1
24343 # Some library-finding code we stole from Tcl.
24344 #--------------------------------------------------------------------
24345 # Check for the existence of the -lsocket and -lnsl libraries.
24346 # The order here is important, so that they end up in the right
24347 # order in the command line generated by make. Here are some
24348 # special considerations:
24349 # 1. Use "connect" and "accept" to check for -lsocket, and
24350 # "gethostbyname" to check for -lnsl.
24351 # 2. Use each function name only once: can't redo a check because
24352 # autoconf caches the results of the last check and won't redo it.
24353 # 3. Use -lnsl and -lsocket only if they supply procedures that
24354 # aren't already present in the normal libraries. This is because
24355 # IRIX 5.2 has libraries, but they aren't needed and they're
24356 # bogus: they goof up name resolution if used.
24357 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too.
24358 # To get around this problem, check for both libraries together
24359 # if -lsocket doesn't work by itself.
24360 #--------------------------------------------------------------------
24362 echo "$as_me:$LINENO: checking for socket libraries" >&5
24363 echo $ECHO_N "checking for socket libraries... $ECHO_C" >&6
24364 if test "${gcj_cv_lib_sockets+set}" = set; then
24365 echo $ECHO_N "(cached) $ECHO_C" >&6
24367 gcj_cv_lib_sockets
=
24369 unset ac_cv_func_connect
24370 echo "$as_me:$LINENO: checking for connect" >&5
24371 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24372 if test "${ac_cv_func_connect+set}" = set; then
24373 echo $ECHO_N "(cached) $ECHO_C" >&6
24375 if test x
$gcc_no_link = xyes
; then
24376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24378 { (exit 1); exit 1; }; }
24380 cat >conftest.
$ac_ext <<_ACEOF
24383 cat confdefs.h
>>conftest.
$ac_ext
24384 cat >>conftest.
$ac_ext <<_ACEOF
24385 /* end confdefs.h. */
24386 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24388 #define connect innocuous_connect
24390 /* System header to define __stub macros and hopefully few prototypes,
24391 which can conflict with char connect (); below.
24392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24393 <limits.h> exists even on freestanding compilers. */
24396 # include <limits.h>
24398 # include <assert.h>
24403 /* Override any gcc2 internal prototype to avoid an error. */
24408 /* We use char because int might match the return type of a gcc2
24409 builtin and then its argument prototype would still apply. */
24411 /* The GNU C library defines this for functions which it implements
24412 to always fail with ENOSYS. Some functions are actually named
24413 something starting with __ and the normal name is an alias. */
24414 #if defined (__stub_connect) || defined (__stub___connect)
24417 char (*f) () = connect;
24426 return f != connect;
24431 rm -f conftest.
$ac_objext conftest
$ac_exeext
24432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24433 (eval $ac_link) 2>conftest.er1
24435 grep -v '^ *+' conftest.er1
>conftest.err
24437 cat conftest.err
>&5
24438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24439 (exit $ac_status); } &&
24440 { ac_try
='test -z "$ac_c_werror_flag"
24441 || test ! -s conftest.err'
24442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24443 (eval $ac_try) 2>&5
24445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24446 (exit $ac_status); }; } &&
24447 { ac_try
='test -s conftest$ac_exeext'
24448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24449 (eval $ac_try) 2>&5
24451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24452 (exit $ac_status); }; }; then
24453 ac_cv_func_connect
=yes
24455 echo "$as_me: failed program was:" >&5
24456 sed 's/^/| /' conftest.
$ac_ext >&5
24458 ac_cv_func_connect
=no
24460 rm -f conftest.err conftest.
$ac_objext \
24461 conftest
$ac_exeext conftest.
$ac_ext
24463 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24464 echo "${ECHO_T}$ac_cv_func_connect" >&6
24465 if test $ac_cv_func_connect = yes; then
24471 if test "$gcj_checkSocket" = 1; then
24472 unset ac_cv_func_connect
24473 echo "$as_me:$LINENO: checking for main in -lsocket" >&5
24474 echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
24475 if test "${ac_cv_lib_socket_main+set}" = set; then
24476 echo $ECHO_N "(cached) $ECHO_C" >&6
24478 ac_check_lib_save_LIBS
=$LIBS
24479 LIBS
="-lsocket $LIBS"
24480 if test x
$gcc_no_link = xyes
; then
24481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24483 { (exit 1); exit 1; }; }
24485 cat >conftest.
$ac_ext <<_ACEOF
24488 cat confdefs.h
>>conftest.
$ac_ext
24489 cat >>conftest.
$ac_ext <<_ACEOF
24490 /* end confdefs.h. */
24501 rm -f conftest.
$ac_objext conftest
$ac_exeext
24502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24503 (eval $ac_link) 2>conftest.er1
24505 grep -v '^ *+' conftest.er1
>conftest.err
24507 cat conftest.err
>&5
24508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24509 (exit $ac_status); } &&
24510 { ac_try
='test -z "$ac_c_werror_flag"
24511 || test ! -s conftest.err'
24512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24513 (eval $ac_try) 2>&5
24515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24516 (exit $ac_status); }; } &&
24517 { ac_try
='test -s conftest$ac_exeext'
24518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24519 (eval $ac_try) 2>&5
24521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24522 (exit $ac_status); }; }; then
24523 ac_cv_lib_socket_main
=yes
24525 echo "$as_me: failed program was:" >&5
24526 sed 's/^/| /' conftest.
$ac_ext >&5
24528 ac_cv_lib_socket_main
=no
24530 rm -f conftest.err conftest.
$ac_objext \
24531 conftest
$ac_exeext conftest.
$ac_ext
24532 LIBS
=$ac_check_lib_save_LIBS
24534 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
24535 echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
24536 if test $ac_cv_lib_socket_main = yes; then
24537 gcj_cv_lib_sockets
="-lsocket"
24543 if test "$gcj_checkBoth" = 1; then
24545 LIBS
="$LIBS -lsocket -lnsl"
24546 unset ac_cv_func_accept
24547 echo "$as_me:$LINENO: checking for accept" >&5
24548 echo $ECHO_N "checking for accept... $ECHO_C" >&6
24549 if test "${ac_cv_func_accept+set}" = set; then
24550 echo $ECHO_N "(cached) $ECHO_C" >&6
24552 if test x
$gcc_no_link = xyes
; then
24553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24555 { (exit 1); exit 1; }; }
24557 cat >conftest.
$ac_ext <<_ACEOF
24560 cat confdefs.h
>>conftest.
$ac_ext
24561 cat >>conftest.
$ac_ext <<_ACEOF
24562 /* end confdefs.h. */
24563 /* Define accept to an innocuous variant, in case <limits.h> declares accept.
24564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24565 #define accept innocuous_accept
24567 /* System header to define __stub macros and hopefully few prototypes,
24568 which can conflict with char accept (); below.
24569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24570 <limits.h> exists even on freestanding compilers. */
24573 # include <limits.h>
24575 # include <assert.h>
24580 /* Override any gcc2 internal prototype to avoid an error. */
24585 /* We use char because int might match the return type of a gcc2
24586 builtin and then its argument prototype would still apply. */
24588 /* The GNU C library defines this for functions which it implements
24589 to always fail with ENOSYS. Some functions are actually named
24590 something starting with __ and the normal name is an alias. */
24591 #if defined (__stub_accept) || defined (__stub___accept)
24594 char (*f) () = accept;
24603 return f != accept;
24608 rm -f conftest.
$ac_objext conftest
$ac_exeext
24609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24610 (eval $ac_link) 2>conftest.er1
24612 grep -v '^ *+' conftest.er1
>conftest.err
24614 cat conftest.err
>&5
24615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24616 (exit $ac_status); } &&
24617 { ac_try
='test -z "$ac_c_werror_flag"
24618 || test ! -s conftest.err'
24619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24620 (eval $ac_try) 2>&5
24622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24623 (exit $ac_status); }; } &&
24624 { ac_try
='test -s conftest$ac_exeext'
24625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24626 (eval $ac_try) 2>&5
24628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24629 (exit $ac_status); }; }; then
24630 ac_cv_func_accept
=yes
24632 echo "$as_me: failed program was:" >&5
24633 sed 's/^/| /' conftest.
$ac_ext >&5
24635 ac_cv_func_accept
=no
24637 rm -f conftest.err conftest.
$ac_objext \
24638 conftest
$ac_exeext conftest.
$ac_ext
24640 echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5
24641 echo "${ECHO_T}$ac_cv_func_accept" >&6
24642 if test $ac_cv_func_accept = yes; then
24644 gcj_cv_lib_sockets
="-lsocket -lnsl"
24647 unset ac_cv_func_accept
24650 unset ac_cv_func_gethostbyname
24652 LIBS
="$LIBS $gcj_cv_lib_sockets"
24653 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24654 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24655 if test "${ac_cv_func_gethostbyname+set}" = set; then
24656 echo $ECHO_N "(cached) $ECHO_C" >&6
24658 if test x
$gcc_no_link = xyes
; then
24659 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24661 { (exit 1); exit 1; }; }
24663 cat >conftest.
$ac_ext <<_ACEOF
24666 cat confdefs.h
>>conftest.
$ac_ext
24667 cat >>conftest.
$ac_ext <<_ACEOF
24668 /* end confdefs.h. */
24669 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24671 #define gethostbyname innocuous_gethostbyname
24673 /* System header to define __stub macros and hopefully few prototypes,
24674 which can conflict with char gethostbyname (); below.
24675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24676 <limits.h> exists even on freestanding compilers. */
24679 # include <limits.h>
24681 # include <assert.h>
24684 #undef gethostbyname
24686 /* Override any gcc2 internal prototype to avoid an error. */
24691 /* We use char because int might match the return type of a gcc2
24692 builtin and then its argument prototype would still apply. */
24693 char gethostbyname ();
24694 /* The GNU C library defines this for functions which it implements
24695 to always fail with ENOSYS. Some functions are actually named
24696 something starting with __ and the normal name is an alias. */
24697 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24700 char (*f) () = gethostbyname;
24709 return f != gethostbyname;
24714 rm -f conftest.
$ac_objext conftest
$ac_exeext
24715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24716 (eval $ac_link) 2>conftest.er1
24718 grep -v '^ *+' conftest.er1
>conftest.err
24720 cat conftest.err
>&5
24721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24722 (exit $ac_status); } &&
24723 { ac_try
='test -z "$ac_c_werror_flag"
24724 || test ! -s conftest.err'
24725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24726 (eval $ac_try) 2>&5
24728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24729 (exit $ac_status); }; } &&
24730 { ac_try
='test -s conftest$ac_exeext'
24731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24732 (eval $ac_try) 2>&5
24734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24735 (exit $ac_status); }; }; then
24736 ac_cv_func_gethostbyname
=yes
24738 echo "$as_me: failed program was:" >&5
24739 sed 's/^/| /' conftest.
$ac_ext >&5
24741 ac_cv_func_gethostbyname
=no
24743 rm -f conftest.err conftest.
$ac_objext \
24744 conftest
$ac_exeext conftest.
$ac_ext
24746 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24747 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24748 if test $ac_cv_func_gethostbyname = yes; then
24751 echo "$as_me:$LINENO: checking for main in -lnsl" >&5
24752 echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
24753 if test "${ac_cv_lib_nsl_main+set}" = set; then
24754 echo $ECHO_N "(cached) $ECHO_C" >&6
24756 ac_check_lib_save_LIBS
=$LIBS
24758 if test x
$gcc_no_link = xyes
; then
24759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24761 { (exit 1); exit 1; }; }
24763 cat >conftest.
$ac_ext <<_ACEOF
24766 cat confdefs.h
>>conftest.
$ac_ext
24767 cat >>conftest.
$ac_ext <<_ACEOF
24768 /* end confdefs.h. */
24779 rm -f conftest.
$ac_objext conftest
$ac_exeext
24780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24781 (eval $ac_link) 2>conftest.er1
24783 grep -v '^ *+' conftest.er1
>conftest.err
24785 cat conftest.err
>&5
24786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24787 (exit $ac_status); } &&
24788 { ac_try
='test -z "$ac_c_werror_flag"
24789 || test ! -s conftest.err'
24790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24791 (eval $ac_try) 2>&5
24793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24794 (exit $ac_status); }; } &&
24795 { ac_try
='test -s conftest$ac_exeext'
24796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24797 (eval $ac_try) 2>&5
24799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24800 (exit $ac_status); }; }; then
24801 ac_cv_lib_nsl_main
=yes
24803 echo "$as_me: failed program was:" >&5
24804 sed 's/^/| /' conftest.
$ac_ext >&5
24806 ac_cv_lib_nsl_main
=no
24808 rm -f conftest.err conftest.
$ac_objext \
24809 conftest
$ac_exeext conftest.
$ac_ext
24810 LIBS
=$ac_check_lib_save_LIBS
24812 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
24813 echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
24814 if test $ac_cv_lib_nsl_main = yes; then
24815 gcj_cv_lib_sockets
="$gcj_cv_lib_sockets -lnsl"
24820 unset ac_cv_func_gethostbyname
24824 echo "$as_me:$LINENO: result: $gcj_cv_lib_sockets" >&5
24825 echo "${ECHO_T}$gcj_cv_lib_sockets" >&6
24826 SYSTEMSPEC
="$SYSTEMSPEC $gcj_cv_lib_sockets"
24828 if test "$with_system_zlib" = yes; then
24829 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24830 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24831 if test "${ac_cv_lib_z_deflate+set}" = set; then
24832 echo $ECHO_N "(cached) $ECHO_C" >&6
24834 ac_check_lib_save_LIBS
=$LIBS
24836 if test x
$gcc_no_link = xyes
; then
24837 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24839 { (exit 1); exit 1; }; }
24841 cat >conftest.
$ac_ext <<_ACEOF
24844 cat confdefs.h
>>conftest.
$ac_ext
24845 cat >>conftest.
$ac_ext <<_ACEOF
24846 /* end confdefs.h. */
24848 /* Override any gcc2 internal prototype to avoid an error. */
24852 /* We use char because int might match the return type of a gcc2
24853 builtin and then its argument prototype would still apply. */
24863 rm -f conftest.
$ac_objext conftest
$ac_exeext
24864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24865 (eval $ac_link) 2>conftest.er1
24867 grep -v '^ *+' conftest.er1
>conftest.err
24869 cat conftest.err
>&5
24870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24871 (exit $ac_status); } &&
24872 { ac_try
='test -z "$ac_c_werror_flag"
24873 || test ! -s conftest.err'
24874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24875 (eval $ac_try) 2>&5
24877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24878 (exit $ac_status); }; } &&
24879 { ac_try
='test -s conftest$ac_exeext'
24880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24881 (eval $ac_try) 2>&5
24883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24884 (exit $ac_status); }; }; then
24885 ac_cv_lib_z_deflate
=yes
24887 echo "$as_me: failed program was:" >&5
24888 sed 's/^/| /' conftest.
$ac_ext >&5
24890 ac_cv_lib_z_deflate
=no
24892 rm -f conftest.err conftest.
$ac_objext \
24893 conftest
$ac_exeext conftest.
$ac_ext
24894 LIBS
=$ac_check_lib_save_LIBS
24896 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24897 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24898 if test $ac_cv_lib_z_deflate = yes; then
24906 # Test for Gtk stuff, if asked for.
24907 if test "$use_gtk_awt" = yes; then
24911 if test -z "$PKG_CONFIG"; then
24912 # Extract the first word of "pkg-config", so it can be a program name with args.
24913 set dummy pkg-config
; ac_word
=$2
24914 echo "$as_me:$LINENO: checking for $ac_word" >&5
24915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24916 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24917 echo $ECHO_N "(cached) $ECHO_C" >&6
24919 case $PKG_CONFIG in
24921 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24925 for as_dir
in $PATH
24928 test -z "$as_dir" && as_dir
=.
24929 for ac_exec_ext
in '' $ac_executable_extensions; do
24930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24931 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24938 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24942 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24944 if test -n "$PKG_CONFIG"; then
24945 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24946 echo "${ECHO_T}$PKG_CONFIG" >&6
24948 echo "$as_me:$LINENO: result: no" >&5
24949 echo "${ECHO_T}no" >&6
24954 if test "$PKG_CONFIG" = "no" ; then
24955 echo "*** The pkg-config script could not be found. Make sure it is"
24956 echo "*** in your path, or set the PKG_CONFIG environment variable"
24957 echo "*** to the full path to pkg-config."
24958 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24960 PKG_CONFIG_MIN_VERSION
=0.9.0
24961 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24962 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4" >&5
24963 echo $ECHO_N "checking for gtk+-2.0 >= 2.4... $ECHO_C" >&6
24965 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4" ; then
24966 echo "$as_me:$LINENO: result: yes" >&5
24967 echo "${ECHO_T}yes" >&6
24970 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
24971 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
24972 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4"`
24973 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
24974 echo "${ECHO_T}$GTK_CFLAGS" >&6
24976 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
24977 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
24978 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4"`
24979 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
24980 echo "${ECHO_T}$GTK_LIBS" >&6
24984 ## If we have a custom action on failure, don't print errors, but
24985 ## do set a variable so people can do so.
24986 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4"`
24987 echo $GTK_PKG_ERRORS
24993 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24994 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24998 if test $succeeded = yes; then
25001 { { 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
25002 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;}
25003 { (exit 1); exit 1; }; }
25012 if test -z "$PKG_CONFIG"; then
25013 # Extract the first word of "pkg-config", so it can be a program name with args.
25014 set dummy pkg-config
; ac_word
=$2
25015 echo "$as_me:$LINENO: checking for $ac_word" >&5
25016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25017 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25018 echo $ECHO_N "(cached) $ECHO_C" >&6
25020 case $PKG_CONFIG in
25022 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25026 for as_dir
in $PATH
25029 test -z "$as_dir" && as_dir
=.
25030 for ac_exec_ext
in '' $ac_executable_extensions; do
25031 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25032 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25039 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25043 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25045 if test -n "$PKG_CONFIG"; then
25046 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25047 echo "${ECHO_T}$PKG_CONFIG" >&6
25049 echo "$as_me:$LINENO: result: no" >&5
25050 echo "${ECHO_T}no" >&6
25055 if test "$PKG_CONFIG" = "no" ; then
25056 echo "*** The pkg-config script could not be found. Make sure it is"
25057 echo "*** in your path, or set the PKG_CONFIG environment variable"
25058 echo "*** to the full path to pkg-config."
25059 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25061 PKG_CONFIG_MIN_VERSION
=0.9.0
25062 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25063 echo "$as_me:$LINENO: checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4" >&5
25064 echo $ECHO_N "checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... $ECHO_C" >&6
25066 if $PKG_CONFIG --exists "glib-2.0 >= 2.4 gthread-2.0 >= 2.4" ; then
25067 echo "$as_me:$LINENO: result: yes" >&5
25068 echo "${ECHO_T}yes" >&6
25071 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
25072 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
25073 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
25074 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
25075 echo "${ECHO_T}$GLIB_CFLAGS" >&6
25077 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
25078 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
25079 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
25080 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
25081 echo "${ECHO_T}$GLIB_LIBS" >&6
25085 ## If we have a custom action on failure, don't print errors, but
25086 ## do set a variable so people can do so.
25087 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
25088 echo $GLIB_PKG_ERRORS
25094 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25095 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25099 if test $succeeded = yes; then
25102 { { 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
25103 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;}
25104 { (exit 1); exit 1; }; }
25113 if test -z "$PKG_CONFIG"; then
25114 # Extract the first word of "pkg-config", so it can be a program name with args.
25115 set dummy pkg-config
; ac_word
=$2
25116 echo "$as_me:$LINENO: checking for $ac_word" >&5
25117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25118 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25119 echo $ECHO_N "(cached) $ECHO_C" >&6
25121 case $PKG_CONFIG in
25123 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25127 for as_dir
in $PATH
25130 test -z "$as_dir" && as_dir
=.
25131 for ac_exec_ext
in '' $ac_executable_extensions; do
25132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25133 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25140 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25144 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25146 if test -n "$PKG_CONFIG"; then
25147 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25148 echo "${ECHO_T}$PKG_CONFIG" >&6
25150 echo "$as_me:$LINENO: result: no" >&5
25151 echo "${ECHO_T}no" >&6
25156 if test "$PKG_CONFIG" = "no" ; then
25157 echo "*** The pkg-config script could not be found. Make sure it is"
25158 echo "*** in your path, or set the PKG_CONFIG environment variable"
25159 echo "*** to the full path to pkg-config."
25160 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25162 PKG_CONFIG_MIN_VERSION
=0.9.0
25163 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25164 echo "$as_me:$LINENO: checking for libart-2.0 >= 2.1" >&5
25165 echo $ECHO_N "checking for libart-2.0 >= 2.1... $ECHO_C" >&6
25167 if $PKG_CONFIG --exists "libart-2.0 >= 2.1" ; then
25168 echo "$as_me:$LINENO: result: yes" >&5
25169 echo "${ECHO_T}yes" >&6
25172 echo "$as_me:$LINENO: checking LIBART_CFLAGS" >&5
25173 echo $ECHO_N "checking LIBART_CFLAGS... $ECHO_C" >&6
25174 LIBART_CFLAGS
=`$PKG_CONFIG --cflags "libart-2.0 >= 2.1"`
25175 echo "$as_me:$LINENO: result: $LIBART_CFLAGS" >&5
25176 echo "${ECHO_T}$LIBART_CFLAGS" >&6
25178 echo "$as_me:$LINENO: checking LIBART_LIBS" >&5
25179 echo $ECHO_N "checking LIBART_LIBS... $ECHO_C" >&6
25180 LIBART_LIBS
=`$PKG_CONFIG --libs "libart-2.0 >= 2.1"`
25181 echo "$as_me:$LINENO: result: $LIBART_LIBS" >&5
25182 echo "${ECHO_T}$LIBART_LIBS" >&6
25186 ## If we have a custom action on failure, don't print errors, but
25187 ## do set a variable so people can do so.
25188 LIBART_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libart-2.0 >= 2.1"`
25189 echo $LIBART_PKG_ERRORS
25195 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25196 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25200 if test $succeeded = yes; then
25203 { { 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
25204 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;}
25205 { (exit 1); exit 1; }; }
25211 # We require the XTest Extension to support java.awt.Robot.
25212 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
25213 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
25214 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
25215 echo $ECHO_N "(cached) $ECHO_C" >&6
25217 ac_check_lib_save_LIBS
=$LIBS
25218 LIBS
="-lXtst ${X_LIBS} $LIBS"
25219 if test x
$gcc_no_link = xyes
; then
25220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25222 { (exit 1); exit 1; }; }
25224 cat >conftest.
$ac_ext <<_ACEOF
25227 cat confdefs.h
>>conftest.
$ac_ext
25228 cat >>conftest.
$ac_ext <<_ACEOF
25229 /* end confdefs.h. */
25231 /* Override any gcc2 internal prototype to avoid an error. */
25235 /* We use char because int might match the return type of a gcc2
25236 builtin and then its argument prototype would still apply. */
25237 char XTestQueryExtension ();
25241 XTestQueryExtension ();
25246 rm -f conftest.
$ac_objext conftest
$ac_exeext
25247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25248 (eval $ac_link) 2>conftest.er1
25250 grep -v '^ *+' conftest.er1
>conftest.err
25252 cat conftest.err
>&5
25253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25254 (exit $ac_status); } &&
25255 { ac_try
='test -z "$ac_c_werror_flag"
25256 || test ! -s conftest.err'
25257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25258 (eval $ac_try) 2>&5
25260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25261 (exit $ac_status); }; } &&
25262 { ac_try
='test -s conftest$ac_exeext'
25263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25264 (eval $ac_try) 2>&5
25266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25267 (exit $ac_status); }; }; then
25268 ac_cv_lib_Xtst_XTestQueryExtension
=yes
25270 echo "$as_me: failed program was:" >&5
25271 sed 's/^/| /' conftest.
$ac_ext >&5
25273 ac_cv_lib_Xtst_XTestQueryExtension
=no
25275 rm -f conftest.err conftest.
$ac_objext \
25276 conftest
$ac_exeext conftest.
$ac_ext
25277 LIBS
=$ac_check_lib_save_LIBS
25279 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
25280 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
25281 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
25284 { { echo "$as_me:$LINENO: error: libXtst not found, required by java.awt.Robot" >&5
25285 echo "$as_me: error: libXtst not found, required by java.awt.Robot" >&2;}
25286 { (exit 1); exit 1; }; }
25291 # On Solaris, and maybe other architectures, the Boehm collector
25293 if test "$GC" = boehm
; then
25296 # IRIX 6 lacks a N64 libdl.so, but only the N32 (default multilib)
25297 # libgcj.spec is used, so override here
25298 SYSTEMSPEC
="$SYSTEMSPEC %{!mabi=64:-ldl}"
25301 echo "$as_me:$LINENO: checking for main in -ldl" >&5
25302 echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6
25303 if test "${ac_cv_lib_dl_main+set}" = set; then
25304 echo $ECHO_N "(cached) $ECHO_C" >&6
25306 ac_check_lib_save_LIBS
=$LIBS
25308 if test x
$gcc_no_link = xyes
; then
25309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25311 { (exit 1); exit 1; }; }
25313 cat >conftest.
$ac_ext <<_ACEOF
25316 cat confdefs.h
>>conftest.
$ac_ext
25317 cat >>conftest.
$ac_ext <<_ACEOF
25318 /* end confdefs.h. */
25329 rm -f conftest.
$ac_objext conftest
$ac_exeext
25330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25331 (eval $ac_link) 2>conftest.er1
25333 grep -v '^ *+' conftest.er1
>conftest.err
25335 cat conftest.err
>&5
25336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25337 (exit $ac_status); } &&
25338 { ac_try
='test -z "$ac_c_werror_flag"
25339 || test ! -s conftest.err'
25340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25341 (eval $ac_try) 2>&5
25343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25344 (exit $ac_status); }; } &&
25345 { ac_try
='test -s conftest$ac_exeext'
25346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25347 (eval $ac_try) 2>&5
25349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25350 (exit $ac_status); }; }; then
25351 ac_cv_lib_dl_main
=yes
25353 echo "$as_me: failed program was:" >&5
25354 sed 's/^/| /' conftest.
$ac_ext >&5
25356 ac_cv_lib_dl_main
=no
25358 rm -f conftest.err conftest.
$ac_objext \
25359 conftest
$ac_exeext conftest.
$ac_ext
25360 LIBS
=$ac_check_lib_save_LIBS
25362 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_main" >&5
25363 echo "${ECHO_T}$ac_cv_lib_dl_main" >&6
25364 if test $ac_cv_lib_dl_main = yes; then
25365 SYSTEMSPEC
="$SYSTEMSPEC -ldl"
25373 # Use a semicolon as CLASSPATH separator for MinGW, otherwise a colon.
25375 *-mingw32) CLASSPATH_SEPARATOR
=';' ;;
25376 *) CLASSPATH_SEPARATOR
=':' ;;
25380 # We must search the source tree for java.lang, since we still don't
25381 # have libgcj.jar nor java/lang/*.class
25382 GCJ_SAVE_CPPFLAGS
=$CPPFLAGS
25383 CPPFLAGS
="$CPPFLAGS -I`${PWDCMD-pwd}` -I`cd $srcdir && ${PWDCMD-pwd}`"
25385 # Since some classes depend on this one, we need its source available
25386 # before we can do any GCJ compilation test :-(
25387 if test ! -f gnu
/classpath
/Configuration.java
; then
25388 test -d gnu || mkdir gnu
25389 test -d gnu
/classpath || mkdir gnu
/classpath
25390 # Note that it is not crucial that all the values here be correct.
25391 sed -e "s,@prefix@,$prefix," \
25392 -e "s,@VERSION@,$VERSION," \
25393 -e "s,@LIBDEBUG@,false," \
25394 -e "s,@INIT_LOAD_LIBRARY@,false," \
25395 -e "s,@@,$LIBGCJDEBUG," \
25396 -e "s,@default_toolkit@,$TOOLKIT," \
25397 -e "s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,false," \
25398 -e "s,@GTK_CAIRO_ENABLED@,false," \
25399 -e "s,@ECJ_JAR@,," \
25400 < $srcdir/classpath
/gnu
/classpath
/Configuration.java.
in \
25401 > gnu
/classpath
/Configuration.java
25402 # We do not want to redirect the output of the grep below to /dev/null,
25403 # but we add /dev/null to the input list so that grep will print the
25404 # filename of Configuration.java in case it finds any matches.
25405 if grep '@.*@' gnu
/classpath
/Configuration.java
/dev
/null
; then
25406 { { echo "$as_me:$LINENO: error: configure.ac is missing the substitutions above" >&5
25407 echo "$as_me: error: configure.ac is missing the substitutions above" >&2;}
25408 { (exit 1); exit 1; }; }
25415 # Extract the first word of "$ac_prog", so it can be a program name with args.
25416 set dummy
$ac_prog; ac_word
=$2
25417 echo "$as_me:$LINENO: checking for $ac_word" >&5
25418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25419 if test "${ac_cv_prog_GCJ+set}" = set; then
25420 echo $ECHO_N "(cached) $ECHO_C" >&6
25422 if test -n "$GCJ"; then
25423 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
25425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25426 for as_dir
in $PATH
25429 test -z "$as_dir" && as_dir
=.
25430 for ac_exec_ext
in '' $ac_executable_extensions; do
25431 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25432 ac_cv_prog_GCJ
="$ac_prog"
25433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25441 GCJ
=$ac_cv_prog_GCJ
25442 if test -n "$GCJ"; then
25443 echo "$as_me:$LINENO: result: $GCJ" >&5
25444 echo "${ECHO_T}$GCJ" >&6
25446 echo "$as_me:$LINENO: result: no" >&5
25447 echo "${ECHO_T}no" >&6
25450 test -n "$GCJ" && break
25452 test -n "$GCJ" || GCJ
="gcj"
25454 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
25455 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
25456 { (exit 1); exit 1; }; }
25457 if test "x${GCJFLAGS-unset}" = xunset
; then
25462 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
25464 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
25465 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
25466 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
25467 echo $ECHO_N "(cached) $ECHO_C" >&6
25469 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
25470 # We make a subdir and do the tests there. Otherwise we can end up
25471 # making bogus files that we don't know about and never remove. For
25472 # instance it was reported that on HP-UX the gcc test will end up
25473 # making a dummy file named `D' -- because `-MD' means `put the output
25476 # Copy depcomp to subdir because otherwise we won't find it if we're
25477 # using a relative directory.
25478 cp "$am_depcomp" conftest.dir
25480 # We will build objects and dependencies in a subdirectory because
25481 # it helps to detect inapplicable dependency modes. For instance
25482 # both Tru64's cc and ICC support -MD to output dependencies as a
25483 # side effect of compilation, but ICC will put the dependencies in
25484 # the current directory while Tru64 will put them in the object
25488 am_cv_GCJ_dependencies_compiler_type
=none
25489 if test "$am_compiler_list" = ""; then
25490 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
25492 for depmode
in $am_compiler_list; do
25493 # Setup a source with many dependencies, because some compilers
25494 # like to wrap large dependency lists on column 80 (with \), and
25495 # we should not choose a depcomp mode which is confused by this.
25497 # We need to recreate these files for each test, as the compiler may
25498 # overwrite some of them when testing with obscure command lines.
25499 # This happens at least with the AIX C compiler.
25501 for i
in 1 2 3 4 5 6; do
25502 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
25503 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
25504 # Solaris 8's {/usr,}/bin/sh.
25505 touch sub
/conftst
$i.h
25507 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
25511 # after this tag, mechanisms are not by side-effect, so they'll
25512 # only be used when explicitly requested
25513 if test "x$enable_dependency_tracking" = xyes
; then
25521 # We check with `-c' and `-o' for the sake of the "dashmstdout"
25522 # mode. It turns out that the SunPro C++ compiler does not properly
25523 # handle `-M -o', and we need to detect this.
25524 if depmode
=$depmode \
25525 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
25526 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
25527 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
25528 >/dev
/null
2>conftest.err
&&
25529 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
25530 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
25531 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
25532 # icc doesn't choke on unknown options, it will just issue warnings
25533 # or remarks (even with -Werror). So we grep stderr for any message
25534 # that says an option was ignored or not supported.
25535 # When given -MP, icc 7.0 and 7.1 complain thusly:
25536 # icc: Command line warning: ignoring option '-M'; no argument required
25537 # The diagnosis changed in icc 8.0:
25538 # icc: Command line remark: option '-MP' not supported
25539 if (grep 'ignoring option' conftest.err ||
25540 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
25541 am_cv_GCJ_dependencies_compiler_type
=$depmode
25548 rm -rf conftest.dir
25550 am_cv_GCJ_dependencies_compiler_type
=none
25554 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
25555 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
25556 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
25561 test "x$enable_dependency_tracking" != xno \
25562 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
25563 am__fastdepGCJ_TRUE
=
25564 am__fastdepGCJ_FALSE
='#'
25566 am__fastdepGCJ_TRUE
='#'
25567 am__fastdepGCJ_FALSE
=
25574 rm -f gnu
/classpath
/Configuration.java
25576 CPPFLAGS
=$GCJ_SAVE_CPPFLAGS
25578 echo "$as_me:$LINENO: checking for void *" >&5
25579 echo $ECHO_N "checking for void *... $ECHO_C" >&6
25580 if test "${ac_cv_type_void_p+set}" = set; then
25581 echo $ECHO_N "(cached) $ECHO_C" >&6
25583 cat >conftest.
$ac_ext <<_ACEOF
25586 cat confdefs.h
>>conftest.
$ac_ext
25587 cat >>conftest.
$ac_ext <<_ACEOF
25588 /* end confdefs.h. */
25589 $ac_includes_default
25595 if (sizeof (void *))
25601 rm -f conftest.
$ac_objext
25602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25603 (eval $ac_compile) 2>conftest.er1
25605 grep -v '^ *+' conftest.er1
>conftest.err
25607 cat conftest.err
>&5
25608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25609 (exit $ac_status); } &&
25610 { ac_try
='test -z "$ac_c_werror_flag"
25611 || test ! -s conftest.err'
25612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25613 (eval $ac_try) 2>&5
25615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25616 (exit $ac_status); }; } &&
25617 { ac_try
='test -s conftest.$ac_objext'
25618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25619 (eval $ac_try) 2>&5
25621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25622 (exit $ac_status); }; }; then
25623 ac_cv_type_void_p
=yes
25625 echo "$as_me: failed program was:" >&5
25626 sed 's/^/| /' conftest.
$ac_ext >&5
25628 ac_cv_type_void_p
=no
25630 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25632 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
25633 echo "${ECHO_T}$ac_cv_type_void_p" >&6
25635 echo "$as_me:$LINENO: checking size of void *" >&5
25636 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
25637 if test "${ac_cv_sizeof_void_p+set}" = set; then
25638 echo $ECHO_N "(cached) $ECHO_C" >&6
25640 if test "$ac_cv_type_void_p" = yes; then
25641 # The cast to unsigned long works around a bug in the HP C Compiler
25642 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25643 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25644 # This bug is HP SR number 8606223364.
25645 if test "$cross_compiling" = yes; then
25646 # Depending upon the size, compute the lo and hi bounds.
25647 cat >conftest.
$ac_ext <<_ACEOF
25650 cat confdefs.h
>>conftest.
$ac_ext
25651 cat >>conftest.
$ac_ext <<_ACEOF
25652 /* end confdefs.h. */
25653 $ac_includes_default
25657 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
25664 rm -f conftest.
$ac_objext
25665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25666 (eval $ac_compile) 2>conftest.er1
25668 grep -v '^ *+' conftest.er1
>conftest.err
25670 cat conftest.err
>&5
25671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25672 (exit $ac_status); } &&
25673 { ac_try
='test -z "$ac_c_werror_flag"
25674 || test ! -s conftest.err'
25675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25676 (eval $ac_try) 2>&5
25678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25679 (exit $ac_status); }; } &&
25680 { ac_try
='test -s conftest.$ac_objext'
25681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25682 (eval $ac_try) 2>&5
25684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25685 (exit $ac_status); }; }; then
25688 cat >conftest.
$ac_ext <<_ACEOF
25691 cat confdefs.h
>>conftest.
$ac_ext
25692 cat >>conftest.
$ac_ext <<_ACEOF
25693 /* end confdefs.h. */
25694 $ac_includes_default
25698 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
25705 rm -f conftest.
$ac_objext
25706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25707 (eval $ac_compile) 2>conftest.er1
25709 grep -v '^ *+' conftest.er1
>conftest.err
25711 cat conftest.err
>&5
25712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25713 (exit $ac_status); } &&
25714 { ac_try
='test -z "$ac_c_werror_flag"
25715 || test ! -s conftest.err'
25716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25717 (eval $ac_try) 2>&5
25719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25720 (exit $ac_status); }; } &&
25721 { ac_try
='test -s conftest.$ac_objext'
25722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25723 (eval $ac_try) 2>&5
25725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25726 (exit $ac_status); }; }; then
25727 ac_hi
=$ac_mid; break
25729 echo "$as_me: failed program was:" >&5
25730 sed 's/^/| /' conftest.
$ac_ext >&5
25732 ac_lo
=`expr $ac_mid + 1`
25733 if test $ac_lo -le $ac_mid; then
25737 ac_mid
=`expr 2 '*' $ac_mid + 1`
25739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25742 echo "$as_me: failed program was:" >&5
25743 sed 's/^/| /' conftest.
$ac_ext >&5
25745 cat >conftest.
$ac_ext <<_ACEOF
25748 cat confdefs.h
>>conftest.
$ac_ext
25749 cat >>conftest.
$ac_ext <<_ACEOF
25750 /* end confdefs.h. */
25751 $ac_includes_default
25755 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
25762 rm -f conftest.
$ac_objext
25763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25764 (eval $ac_compile) 2>conftest.er1
25766 grep -v '^ *+' conftest.er1
>conftest.err
25768 cat conftest.err
>&5
25769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25770 (exit $ac_status); } &&
25771 { ac_try
='test -z "$ac_c_werror_flag"
25772 || test ! -s conftest.err'
25773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25774 (eval $ac_try) 2>&5
25776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25777 (exit $ac_status); }; } &&
25778 { ac_try
='test -s conftest.$ac_objext'
25779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25780 (eval $ac_try) 2>&5
25782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25783 (exit $ac_status); }; }; then
25786 cat >conftest.
$ac_ext <<_ACEOF
25789 cat confdefs.h
>>conftest.
$ac_ext
25790 cat >>conftest.
$ac_ext <<_ACEOF
25791 /* end confdefs.h. */
25792 $ac_includes_default
25796 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
25803 rm -f conftest.
$ac_objext
25804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25805 (eval $ac_compile) 2>conftest.er1
25807 grep -v '^ *+' conftest.er1
>conftest.err
25809 cat conftest.err
>&5
25810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25811 (exit $ac_status); } &&
25812 { ac_try
='test -z "$ac_c_werror_flag"
25813 || test ! -s conftest.err'
25814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25815 (eval $ac_try) 2>&5
25817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25818 (exit $ac_status); }; } &&
25819 { ac_try
='test -s conftest.$ac_objext'
25820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25821 (eval $ac_try) 2>&5
25823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25824 (exit $ac_status); }; }; then
25825 ac_lo
=$ac_mid; break
25827 echo "$as_me: failed program was:" >&5
25828 sed 's/^/| /' conftest.
$ac_ext >&5
25830 ac_hi
=`expr '(' $ac_mid ')' - 1`
25831 if test $ac_mid -le $ac_hi; then
25835 ac_mid
=`expr 2 '*' $ac_mid`
25837 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25840 echo "$as_me: failed program was:" >&5
25841 sed 's/^/| /' conftest.
$ac_ext >&5
25845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25848 # Binary search between lo and hi bounds.
25849 while test "x$ac_lo" != "x$ac_hi"; do
25850 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25851 cat >conftest.
$ac_ext <<_ACEOF
25854 cat confdefs.h
>>conftest.
$ac_ext
25855 cat >>conftest.
$ac_ext <<_ACEOF
25856 /* end confdefs.h. */
25857 $ac_includes_default
25861 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
25868 rm -f conftest.
$ac_objext
25869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25870 (eval $ac_compile) 2>conftest.er1
25872 grep -v '^ *+' conftest.er1
>conftest.err
25874 cat conftest.err
>&5
25875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25876 (exit $ac_status); } &&
25877 { ac_try
='test -z "$ac_c_werror_flag"
25878 || test ! -s conftest.err'
25879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25880 (eval $ac_try) 2>&5
25882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25883 (exit $ac_status); }; } &&
25884 { ac_try
='test -s conftest.$ac_objext'
25885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25886 (eval $ac_try) 2>&5
25888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25889 (exit $ac_status); }; }; then
25892 echo "$as_me: failed program was:" >&5
25893 sed 's/^/| /' conftest.
$ac_ext >&5
25895 ac_lo
=`expr '(' $ac_mid ')' + 1`
25897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25900 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
25901 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
25902 echo "$as_me: error: in \`$ac_pwd':" >&2;}
25903 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
25904 See \`config.log' for more details." >&5
25905 echo "$as_me: error: cannot compute sizeof (void *), 77
25906 See \`config.log' for more details." >&2;}
25907 { (exit 1); exit 1; }; }; } ;;
25910 if test "$cross_compiling" = yes; then
25911 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
25912 echo "$as_me: error: in \`$ac_pwd':" >&2;}
25913 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25914 See \`config.log' for more details." >&5
25915 echo "$as_me: error: cannot run test program while cross compiling
25916 See \`config.log' for more details." >&2;}
25917 { (exit 1); exit 1; }; }; }
25919 cat >conftest.
$ac_ext <<_ACEOF
25922 cat confdefs.h
>>conftest.
$ac_ext
25923 cat >>conftest.
$ac_ext <<_ACEOF
25924 /* end confdefs.h. */
25925 $ac_includes_default
25926 long longval () { return (long) (sizeof (void *)); }
25927 unsigned long ulongval () { return (long) (sizeof (void *)); }
25929 #include <stdlib.h>
25934 FILE *f = fopen ("conftest.val", "w");
25937 if (((long) (sizeof (void *))) < 0)
25939 long i = longval ();
25940 if (i != ((long) (sizeof (void *))))
25942 fprintf (f, "%ld\n", i);
25946 unsigned long i = ulongval ();
25947 if (i != ((long) (sizeof (void *))))
25949 fprintf (f, "%lu\n", i);
25951 exit (ferror (f) || fclose (f) != 0);
25957 rm -f conftest
$ac_exeext
25958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25959 (eval $ac_link) 2>&5
25961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25962 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25964 (eval $ac_try) 2>&5
25966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25967 (exit $ac_status); }; }; then
25968 ac_cv_sizeof_void_p
=`cat conftest.val`
25970 echo "$as_me: program exited with status $ac_status" >&5
25971 echo "$as_me: failed program was:" >&5
25972 sed 's/^/| /' conftest.
$ac_ext >&5
25974 ( exit $ac_status )
25975 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
25976 echo "$as_me: error: in \`$ac_pwd':" >&2;}
25977 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
25978 See \`config.log' for more details." >&5
25979 echo "$as_me: error: cannot compute sizeof (void *), 77
25980 See \`config.log' for more details." >&2;}
25981 { (exit 1); exit 1; }; }; }
25983 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25988 ac_cv_sizeof_void_p
=0
25991 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
25992 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
25993 cat >>confdefs.h
<<_ACEOF
25994 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
25999 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26000 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
26001 if test "${ac_cv_c_bigendian+set}" = set; then
26002 echo $ECHO_N "(cached) $ECHO_C" >&6
26004 # See if sys/param.h defines the BYTE_ORDER macro.
26005 cat >conftest.
$ac_ext <<_ACEOF
26008 cat confdefs.h
>>conftest.
$ac_ext
26009 cat >>conftest.
$ac_ext <<_ACEOF
26010 /* end confdefs.h. */
26011 #include <sys/types.h>
26012 #include <sys/param.h>
26017 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26018 bogus endian macros
26025 rm -f conftest.
$ac_objext
26026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26027 (eval $ac_compile) 2>conftest.er1
26029 grep -v '^ *+' conftest.er1
>conftest.err
26031 cat conftest.err
>&5
26032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26033 (exit $ac_status); } &&
26034 { ac_try
='test -z "$ac_c_werror_flag"
26035 || test ! -s conftest.err'
26036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26037 (eval $ac_try) 2>&5
26039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26040 (exit $ac_status); }; } &&
26041 { ac_try
='test -s conftest.$ac_objext'
26042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26043 (eval $ac_try) 2>&5
26045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26046 (exit $ac_status); }; }; then
26047 # It does; now see whether it defined to BIG_ENDIAN or not.
26048 cat >conftest.
$ac_ext <<_ACEOF
26051 cat confdefs.h
>>conftest.
$ac_ext
26052 cat >>conftest.
$ac_ext <<_ACEOF
26053 /* end confdefs.h. */
26054 #include <sys/types.h>
26055 #include <sys/param.h>
26060 #if BYTE_ORDER != BIG_ENDIAN
26068 rm -f conftest.
$ac_objext
26069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26070 (eval $ac_compile) 2>conftest.er1
26072 grep -v '^ *+' conftest.er1
>conftest.err
26074 cat conftest.err
>&5
26075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26076 (exit $ac_status); } &&
26077 { ac_try
='test -z "$ac_c_werror_flag"
26078 || test ! -s conftest.err'
26079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26080 (eval $ac_try) 2>&5
26082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26083 (exit $ac_status); }; } &&
26084 { ac_try
='test -s conftest.$ac_objext'
26085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26086 (eval $ac_try) 2>&5
26088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26089 (exit $ac_status); }; }; then
26090 ac_cv_c_bigendian
=yes
26092 echo "$as_me: failed program was:" >&5
26093 sed 's/^/| /' conftest.
$ac_ext >&5
26095 ac_cv_c_bigendian
=no
26097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26099 echo "$as_me: failed program was:" >&5
26100 sed 's/^/| /' conftest.
$ac_ext >&5
26102 # It does not; compile a test program.
26103 if test "$cross_compiling" = yes; then
26104 # try to guess the endianness by grepping values into an object file
26105 ac_cv_c_bigendian
=unknown
26106 cat >conftest.
$ac_ext <<_ACEOF
26109 cat confdefs.h
>>conftest.
$ac_ext
26110 cat >>conftest.
$ac_ext <<_ACEOF
26111 /* end confdefs.h. */
26112 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
26113 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
26114 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
26115 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
26116 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
26117 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
26121 _ascii (); _ebcdic ();
26126 rm -f conftest.
$ac_objext
26127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26128 (eval $ac_compile) 2>conftest.er1
26130 grep -v '^ *+' conftest.er1
>conftest.err
26132 cat conftest.err
>&5
26133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26134 (exit $ac_status); } &&
26135 { ac_try
='test -z "$ac_c_werror_flag"
26136 || test ! -s conftest.err'
26137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26138 (eval $ac_try) 2>&5
26140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26141 (exit $ac_status); }; } &&
26142 { ac_try
='test -s conftest.$ac_objext'
26143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26144 (eval $ac_try) 2>&5
26146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26147 (exit $ac_status); }; }; then
26148 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
26149 ac_cv_c_bigendian
=yes
26151 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
26152 if test "$ac_cv_c_bigendian" = unknown
; then
26153 ac_cv_c_bigendian
=no
26155 # finding both strings is unlikely to happen, but who knows?
26156 ac_cv_c_bigendian
=unknown
26160 echo "$as_me: failed program was:" >&5
26161 sed 's/^/| /' conftest.
$ac_ext >&5
26164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26166 cat >conftest.
$ac_ext <<_ACEOF
26169 cat confdefs.h
>>conftest.
$ac_ext
26170 cat >>conftest.
$ac_ext <<_ACEOF
26171 /* end confdefs.h. */
26175 /* Are we little or big endian? From Harbison&Steele. */
26179 char c[sizeof (long)];
26182 exit (u.c[sizeof (long) - 1] == 1);
26185 rm -f conftest
$ac_exeext
26186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26187 (eval $ac_link) 2>&5
26189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26190 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26192 (eval $ac_try) 2>&5
26194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26195 (exit $ac_status); }; }; then
26196 ac_cv_c_bigendian
=no
26198 echo "$as_me: program exited with status $ac_status" >&5
26199 echo "$as_me: failed program was:" >&5
26200 sed 's/^/| /' conftest.
$ac_ext >&5
26202 ( exit $ac_status )
26203 ac_cv_c_bigendian
=yes
26205 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26210 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26211 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
26212 case $ac_cv_c_bigendian in
26215 cat >>confdefs.h
<<\_ACEOF
26216 #define WORDS_BIGENDIAN 1
26222 { { echo "$as_me:$LINENO: error: unknown endianness
26223 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
26224 echo "$as_me: error: unknown endianness
26225 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
26226 { (exit 1); exit 1; }; } ;;
26234 if test -z "$ZLIBSPEC"; then
26235 # Use zlib from the GCC tree.
26236 ZINCS
='-I$(top_srcdir)/../zlib'
26237 ZLIBS
=..
/zlib
/libzgcj_convenience.la
26240 SYS_ZLIBS
="$ZLIBSPEC"
26253 if test "$NATIVE" = yes; then
26263 if test "$enable_shared" = yes; then
26264 ENABLE_SHARED_TRUE
=
26265 ENABLE_SHARED_FALSE
='#'
26267 ENABLE_SHARED_TRUE
='#'
26268 ENABLE_SHARED_FALSE
=
26273 if test "$NEEDS_DATA_START" = yes && test "$NATIVE" = yes; then
26274 NEEDS_DATA_START_TRUE
=
26275 NEEDS_DATA_START_FALSE
='#'
26277 NEEDS_DATA_START_TRUE
='#'
26278 NEEDS_DATA_START_FALSE
=
26283 # Process the option "--enable-version-specific-runtime-libs"
26284 # Calculate toolexeclibdir
26285 case ${version_specific_libs} in
26287 # Need the gcc compiler version to know where to install libraries
26288 # and header files if --enable-version-specific-runtime-libs option
26290 includedir
='$(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/include/'
26291 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
26292 toolexecmainlibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
26293 toolexeclibdir
=$toolexecmainlibdir
26296 if test -n "$with_cross_host" &&
26297 test x
"$with_cross_host" != x
"no"; then
26298 # Install a library built with a cross compiler in tooldir, not libdir.
26299 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
26300 toolexecmainlibdir
='$(toolexecdir)/lib'
26302 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
26303 toolexecmainlibdir
='$(libdir)'
26305 multi_os_directory
=`$CC -print-multi-os-directory`
26306 case $multi_os_directory in
26307 .
) toolexeclibdir
=$toolexecmainlibdir ;; # Avoid trailing /.
26308 *) toolexeclibdir
=$toolexecmainlibdir/$multi_os_directory ;;
26316 # Determine gcj and libgcj version number.
26317 gcjversion
=`cat "$srcdir/../gcc/BASE-VER"`
26318 libgcj_soversion
=`awk -F: '/^[^#].*:/ { print $1 }' $srcdir/libtool-version`
26319 GCJVERSION
=$gcjversion
26322 cat >>confdefs.h
<<_ACEOF
26323 #define GCJVERSION "$GCJVERSION"
26327 # Determine where the standard .db file and GNU Classpath JNI
26328 # libraries are found.
26329 gcjsubdir
=gcj-
$gcjversion-$libgcj_soversion
26330 multi_os_directory
=`$CC -print-multi-os-directory`
26331 case $multi_os_directory in
26333 dbexecdir
='$(libdir)/'$gcjsubdir # Avoid /.
26336 dbexecdir
='$(libdir)/'$multi_os_directory/$gcjsubdir
26343 cat >>confdefs.h
<<\_ACEOF
26344 #define JV_VERSION "1.5.0"
26348 cat >>confdefs.h
<<\_ACEOF
26349 #define JV_API_VERSION "1.5"
26354 case "${with_gxx_include_dir}" in
26356 { { echo "$as_me:$LINENO: error: --with-gxx-include-dir=[dir] requires a directory" >&5
26357 echo "$as_me: error: --with-gxx-include-dir=[dir] requires a directory" >&2;}
26358 { (exit 1); exit 1; }; }
26361 case "${enable_version_specific_runtime_libs}" in
26362 yes) gxx_include_dir
='$(libsubdir)/include/c++' ;;
26364 libstdcxx_incdir
='c++/$(gcc_version)'
26365 gxx_include_dir
='include/$(libstdcxx_incdir)'
26366 if test -n "$with_cross_host" &&
26367 test x
"$with_cross_host" != x
"no"; then
26368 gxx_include_dir
='${prefix}/${target_alias}/'"$gxx_include_dir"
26370 gxx_include_dir
='${prefix}/'"$gxx_include_dir"
26373 *) gxx_include_dir
=${with_gxx_include_dir} ;;
26379 # We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
26380 # On that system, sys/ioctl.h will not include sys/filio.h unless
26381 # BSD_COMP is defined; just including sys/filio.h is simpler.
26382 # We avoid AC_HEADER_DIRENT since we really only care about dirent.h
26383 # for now. If you change this, you also must update natFile.cc.
26407 for ac_header
in unistd.h bstring.h sys
/time.h sys
/types.h fcntl.h \
26408 sys
/ioctl.h sys
/filio.h sys
/stat.h sys
/select.h \
26409 sys
/socket.h netinet
/in.h arpa
/inet.h netdb.h net
/if.h \
26410 pwd.h sys
/config.h stdint.h langinfo.h locale.h \
26411 dirent.h sys
/rw_lock.h magic.h ifaddrs.h
26413 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26415 echo "$as_me:$LINENO: checking for $ac_header" >&5
26416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26418 echo $ECHO_N "(cached) $ECHO_C" >&6
26420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26421 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26423 # Is the header compilable?
26424 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26425 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26426 cat >conftest.
$ac_ext <<_ACEOF
26429 cat confdefs.h
>>conftest.
$ac_ext
26430 cat >>conftest.
$ac_ext <<_ACEOF
26431 /* end confdefs.h. */
26432 $ac_includes_default
26433 #include <$ac_header>
26435 rm -f conftest.
$ac_objext
26436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26437 (eval $ac_compile) 2>conftest.er1
26439 grep -v '^ *+' conftest.er1
>conftest.err
26441 cat conftest.err
>&5
26442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26443 (exit $ac_status); } &&
26444 { ac_try
='test -z "$ac_c_werror_flag"
26445 || test ! -s conftest.err'
26446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26447 (eval $ac_try) 2>&5
26449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26450 (exit $ac_status); }; } &&
26451 { ac_try
='test -s conftest.$ac_objext'
26452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26453 (eval $ac_try) 2>&5
26455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26456 (exit $ac_status); }; }; then
26457 ac_header_compiler
=yes
26459 echo "$as_me: failed program was:" >&5
26460 sed 's/^/| /' conftest.
$ac_ext >&5
26462 ac_header_compiler
=no
26464 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26465 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26466 echo "${ECHO_T}$ac_header_compiler" >&6
26468 # Is the header present?
26469 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26470 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26471 cat >conftest.
$ac_ext <<_ACEOF
26474 cat confdefs.h
>>conftest.
$ac_ext
26475 cat >>conftest.
$ac_ext <<_ACEOF
26476 /* end confdefs.h. */
26477 #include <$ac_header>
26479 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26480 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26482 grep -v '^ *+' conftest.er1
>conftest.err
26484 cat conftest.err
>&5
26485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26486 (exit $ac_status); } >/dev
/null
; then
26487 if test -s conftest.err
; then
26488 ac_cpp_err
=$ac_c_preproc_warn_flag
26489 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26496 if test -z "$ac_cpp_err"; then
26497 ac_header_preproc
=yes
26499 echo "$as_me: failed program was:" >&5
26500 sed 's/^/| /' conftest.
$ac_ext >&5
26502 ac_header_preproc
=no
26504 rm -f conftest.err conftest.
$ac_ext
26505 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26506 echo "${ECHO_T}$ac_header_preproc" >&6
26508 # So? What about this header?
26509 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26511 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26512 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26513 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26514 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26515 ac_header_preproc
=yes
26518 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26519 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26520 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26521 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26522 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26523 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26524 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26525 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26526 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26527 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26528 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26529 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26532 ## ---------------------------------- ##
26533 ## Report this to the libjava lists. ##
26534 ## ---------------------------------- ##
26537 sed "s/^/$as_me: WARNING: /" >&2
26540 echo "$as_me:$LINENO: checking for $ac_header" >&5
26541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26543 echo $ECHO_N "(cached) $ECHO_C" >&6
26545 eval "$as_ac_Header=\$ac_header_preproc"
26547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26548 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26551 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26552 cat >>confdefs.h
<<_ACEOF
26553 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26561 for ac_header
in inttypes.h
26563 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26565 echo "$as_me:$LINENO: checking for $ac_header" >&5
26566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26568 echo $ECHO_N "(cached) $ECHO_C" >&6
26570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26571 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26573 # Is the header compilable?
26574 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26575 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26576 cat >conftest.
$ac_ext <<_ACEOF
26579 cat confdefs.h
>>conftest.
$ac_ext
26580 cat >>conftest.
$ac_ext <<_ACEOF
26581 /* end confdefs.h. */
26582 $ac_includes_default
26583 #include <$ac_header>
26585 rm -f conftest.
$ac_objext
26586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26587 (eval $ac_compile) 2>conftest.er1
26589 grep -v '^ *+' conftest.er1
>conftest.err
26591 cat conftest.err
>&5
26592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26593 (exit $ac_status); } &&
26594 { ac_try
='test -z "$ac_c_werror_flag"
26595 || test ! -s conftest.err'
26596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26597 (eval $ac_try) 2>&5
26599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26600 (exit $ac_status); }; } &&
26601 { ac_try
='test -s conftest.$ac_objext'
26602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26603 (eval $ac_try) 2>&5
26605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26606 (exit $ac_status); }; }; then
26607 ac_header_compiler
=yes
26609 echo "$as_me: failed program was:" >&5
26610 sed 's/^/| /' conftest.
$ac_ext >&5
26612 ac_header_compiler
=no
26614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26615 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26616 echo "${ECHO_T}$ac_header_compiler" >&6
26618 # Is the header present?
26619 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26620 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26621 cat >conftest.
$ac_ext <<_ACEOF
26624 cat confdefs.h
>>conftest.
$ac_ext
26625 cat >>conftest.
$ac_ext <<_ACEOF
26626 /* end confdefs.h. */
26627 #include <$ac_header>
26629 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26630 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26632 grep -v '^ *+' conftest.er1
>conftest.err
26634 cat conftest.err
>&5
26635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26636 (exit $ac_status); } >/dev
/null
; then
26637 if test -s conftest.err
; then
26638 ac_cpp_err
=$ac_c_preproc_warn_flag
26639 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26646 if test -z "$ac_cpp_err"; then
26647 ac_header_preproc
=yes
26649 echo "$as_me: failed program was:" >&5
26650 sed 's/^/| /' conftest.
$ac_ext >&5
26652 ac_header_preproc
=no
26654 rm -f conftest.err conftest.
$ac_ext
26655 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26656 echo "${ECHO_T}$ac_header_preproc" >&6
26658 # So? What about this header?
26659 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26661 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26662 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26663 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26664 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26665 ac_header_preproc
=yes
26668 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26669 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26670 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26671 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26672 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26673 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26674 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26675 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26676 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26677 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26678 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26679 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26682 ## ---------------------------------- ##
26683 ## Report this to the libjava lists. ##
26684 ## ---------------------------------- ##
26687 sed "s/^/$as_me: WARNING: /" >&2
26690 echo "$as_me:$LINENO: checking for $ac_header" >&5
26691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26693 echo $ECHO_N "(cached) $ECHO_C" >&6
26695 eval "$as_ac_Header=\$ac_header_preproc"
26697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26698 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26701 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26702 cat >>confdefs.h
<<_ACEOF
26703 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26707 cat >>confdefs.h
<<\_ACEOF
26708 #define HAVE_INTTYPES_H 1
26712 cat >>confdefs.h
<<\_ACEOF
26713 #define JV_HAVE_INTTYPES_H 1
26722 echo "$as_me:$LINENO: checking for ssize_t" >&5
26723 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
26724 if test "${ac_cv_type_ssize_t+set}" = set; then
26725 echo $ECHO_N "(cached) $ECHO_C" >&6
26727 cat >conftest.
$ac_ext <<_ACEOF
26730 cat confdefs.h
>>conftest.
$ac_ext
26731 cat >>conftest.
$ac_ext <<_ACEOF
26732 /* end confdefs.h. */
26733 $ac_includes_default
26739 if (sizeof (ssize_t))
26745 rm -f conftest.
$ac_objext
26746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26747 (eval $ac_compile) 2>conftest.er1
26749 grep -v '^ *+' conftest.er1
>conftest.err
26751 cat conftest.err
>&5
26752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26753 (exit $ac_status); } &&
26754 { ac_try
='test -z "$ac_c_werror_flag"
26755 || test ! -s conftest.err'
26756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26757 (eval $ac_try) 2>&5
26759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26760 (exit $ac_status); }; } &&
26761 { ac_try
='test -s conftest.$ac_objext'
26762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26763 (eval $ac_try) 2>&5
26765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26766 (exit $ac_status); }; }; then
26767 ac_cv_type_ssize_t
=yes
26769 echo "$as_me: failed program was:" >&5
26770 sed 's/^/| /' conftest.
$ac_ext >&5
26772 ac_cv_type_ssize_t
=no
26774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26776 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
26777 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
26778 if test $ac_cv_type_ssize_t = yes; then
26782 cat >>confdefs.h
<<_ACEOF
26783 #define ssize_t int
26788 echo "$as_me:$LINENO: checking for magic_t" >&5
26789 echo $ECHO_N "checking for magic_t... $ECHO_C" >&6
26790 if test "${ac_cv_type_magic_t+set}" = set; then
26791 echo $ECHO_N "(cached) $ECHO_C" >&6
26793 cat >conftest.
$ac_ext <<_ACEOF
26796 cat confdefs.h
>>conftest.
$ac_ext
26797 cat >>conftest.
$ac_ext <<_ACEOF
26798 /* end confdefs.h. */
26800 #ifdef HAVE_MAGIC_H
26809 if (sizeof (magic_t))
26815 rm -f conftest.
$ac_objext
26816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26817 (eval $ac_compile) 2>conftest.er1
26819 grep -v '^ *+' conftest.er1
>conftest.err
26821 cat conftest.err
>&5
26822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26823 (exit $ac_status); } &&
26824 { ac_try
='test -z "$ac_c_werror_flag"
26825 || test ! -s conftest.err'
26826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26827 (eval $ac_try) 2>&5
26829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26830 (exit $ac_status); }; } &&
26831 { ac_try
='test -s conftest.$ac_objext'
26832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26833 (eval $ac_try) 2>&5
26835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26836 (exit $ac_status); }; }; then
26837 ac_cv_type_magic_t
=yes
26839 echo "$as_me: failed program was:" >&5
26840 sed 's/^/| /' conftest.
$ac_ext >&5
26842 ac_cv_type_magic_t
=no
26844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26846 echo "$as_me:$LINENO: result: $ac_cv_type_magic_t" >&5
26847 echo "${ECHO_T}$ac_cv_type_magic_t" >&6
26848 if test $ac_cv_type_magic_t = yes; then
26851 cat >>confdefs.h
<<\_ACEOF
26852 #define HAVE_MAGIC_T 1
26858 echo "$as_me:$LINENO: checking for in_addr_t" >&5
26859 echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6
26860 cat >conftest.
$ac_ext <<_ACEOF
26863 cat confdefs.h
>>conftest.
$ac_ext
26864 cat >>conftest.
$ac_ext <<_ACEOF
26865 /* end confdefs.h. */
26866 #include <sys/types.h>
26868 #include <stdlib.h>
26869 #include <stddef.h>
26871 #if HAVE_NETINET_IN_H
26872 #include <netinet/in.h>
26882 rm -f conftest.
$ac_objext
26883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26884 (eval $ac_compile) 2>conftest.er1
26886 grep -v '^ *+' conftest.er1
>conftest.err
26888 cat conftest.err
>&5
26889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26890 (exit $ac_status); } &&
26891 { ac_try
='test -z "$ac_c_werror_flag"
26892 || test ! -s conftest.err'
26893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26894 (eval $ac_try) 2>&5
26896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26897 (exit $ac_status); }; } &&
26898 { ac_try
='test -s conftest.$ac_objext'
26899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26900 (eval $ac_try) 2>&5
26902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26903 (exit $ac_status); }; }; then
26905 cat >>confdefs.h
<<\_ACEOF
26906 #define HAVE_IN_ADDR_T 1
26909 echo "$as_me:$LINENO: result: yes" >&5
26910 echo "${ECHO_T}yes" >&6
26912 echo "$as_me: failed program was:" >&5
26913 sed 's/^/| /' conftest.
$ac_ext >&5
26915 echo "$as_me:$LINENO: result: no" >&5
26916 echo "${ECHO_T}no" >&6
26918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26920 echo "$as_me:$LINENO: checking whether struct ip_mreq is in netinet/in.h" >&5
26921 echo $ECHO_N "checking whether struct ip_mreq is in netinet/in.h... $ECHO_C" >&6
26922 cat >conftest.
$ac_ext <<_ACEOF
26925 cat confdefs.h
>>conftest.
$ac_ext
26926 cat >>conftest.
$ac_ext <<_ACEOF
26927 /* end confdefs.h. */
26928 #include <netinet/in.h>
26932 struct ip_mreq mreq;
26937 rm -f conftest.
$ac_objext
26938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26939 (eval $ac_compile) 2>conftest.er1
26941 grep -v '^ *+' conftest.er1
>conftest.err
26943 cat conftest.err
>&5
26944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26945 (exit $ac_status); } &&
26946 { ac_try
='test -z "$ac_c_werror_flag"
26947 || test ! -s conftest.err'
26948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26949 (eval $ac_try) 2>&5
26951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26952 (exit $ac_status); }; } &&
26953 { ac_try
='test -s conftest.$ac_objext'
26954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26955 (eval $ac_try) 2>&5
26957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26958 (exit $ac_status); }; }; then
26960 cat >>confdefs.h
<<\_ACEOF
26961 #define HAVE_STRUCT_IP_MREQ 1
26964 echo "$as_me:$LINENO: result: yes" >&5
26965 echo "${ECHO_T}yes" >&6
26967 echo "$as_me: failed program was:" >&5
26968 sed 's/^/| /' conftest.
$ac_ext >&5
26970 echo "$as_me:$LINENO: result: no" >&5
26971 echo "${ECHO_T}no" >&6
26973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26975 echo "$as_me:$LINENO: checking whether struct ipv6_mreq is in netinet/in.h" >&5
26976 echo $ECHO_N "checking whether struct ipv6_mreq is in netinet/in.h... $ECHO_C" >&6
26977 cat >conftest.
$ac_ext <<_ACEOF
26980 cat confdefs.h
>>conftest.
$ac_ext
26981 cat >>conftest.
$ac_ext <<_ACEOF
26982 /* end confdefs.h. */
26983 #include <netinet/in.h>
26987 struct ipv6_mreq mreq6;
26992 rm -f conftest.
$ac_objext
26993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26994 (eval $ac_compile) 2>conftest.er1
26996 grep -v '^ *+' conftest.er1
>conftest.err
26998 cat conftest.err
>&5
26999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27000 (exit $ac_status); } &&
27001 { ac_try
='test -z "$ac_c_werror_flag"
27002 || test ! -s conftest.err'
27003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27004 (eval $ac_try) 2>&5
27006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27007 (exit $ac_status); }; } &&
27008 { ac_try
='test -s conftest.$ac_objext'
27009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27010 (eval $ac_try) 2>&5
27012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27013 (exit $ac_status); }; }; then
27015 cat >>confdefs.h
<<\_ACEOF
27016 #define HAVE_STRUCT_IPV6_MREQ 1
27019 echo "$as_me:$LINENO: result: yes" >&5
27020 echo "${ECHO_T}yes" >&6
27022 echo "$as_me: failed program was:" >&5
27023 sed 's/^/| /' conftest.
$ac_ext >&5
27025 echo "$as_me:$LINENO: result: no" >&5
27026 echo "${ECHO_T}no" >&6
27028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27030 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
27031 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
27032 cat >conftest.
$ac_ext <<_ACEOF
27035 cat confdefs.h
>>conftest.
$ac_ext
27036 cat >>conftest.
$ac_ext <<_ACEOF
27037 /* end confdefs.h. */
27038 #include <netinet/in.h>
27042 struct sockaddr_in6 addr6;
27047 rm -f conftest.
$ac_objext
27048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27049 (eval $ac_compile) 2>conftest.er1
27051 grep -v '^ *+' conftest.er1
>conftest.err
27053 cat conftest.err
>&5
27054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27055 (exit $ac_status); } &&
27056 { ac_try
='test -z "$ac_c_werror_flag"
27057 || test ! -s conftest.err'
27058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27059 (eval $ac_try) 2>&5
27061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27062 (exit $ac_status); }; } &&
27063 { ac_try
='test -s conftest.$ac_objext'
27064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27065 (eval $ac_try) 2>&5
27067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27068 (exit $ac_status); }; }; then
27070 cat >>confdefs.h
<<\_ACEOF
27071 #define HAVE_INET6 1
27074 echo "$as_me:$LINENO: result: yes" >&5
27075 echo "${ECHO_T}yes" >&6
27077 echo "$as_me: failed program was:" >&5
27078 sed 's/^/| /' conftest.
$ac_ext >&5
27080 echo "$as_me:$LINENO: result: no" >&5
27081 echo "${ECHO_T}no" >&6
27083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27085 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
27086 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
27087 cat >conftest.
$ac_ext <<_ACEOF
27090 cat confdefs.h
>>conftest.
$ac_ext
27091 cat >>conftest.
$ac_ext <<_ACEOF
27092 /* end confdefs.h. */
27093 #define _POSIX_PII_SOCKET
27094 #include <sys/types.h>
27095 #include <sys/socket.h>
27104 rm -f conftest.
$ac_objext
27105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27106 (eval $ac_compile) 2>conftest.er1
27108 grep -v '^ *+' conftest.er1
>conftest.err
27110 cat conftest.err
>&5
27111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27112 (exit $ac_status); } &&
27113 { ac_try
='test -z "$ac_c_werror_flag"
27114 || test ! -s conftest.err'
27115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27116 (eval $ac_try) 2>&5
27118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27119 (exit $ac_status); }; } &&
27120 { ac_try
='test -s conftest.$ac_objext'
27121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27122 (eval $ac_try) 2>&5
27124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27125 (exit $ac_status); }; }; then
27127 cat >>confdefs.h
<<\_ACEOF
27128 #define HAVE_SOCKLEN_T 1
27131 echo "$as_me:$LINENO: result: yes" >&5
27132 echo "${ECHO_T}yes" >&6
27134 echo "$as_me: failed program was:" >&5
27135 sed 's/^/| /' conftest.
$ac_ext >&5
27137 echo "$as_me:$LINENO: result: no" >&5
27138 echo "${ECHO_T}no" >&6
27140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27142 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
27143 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
27144 cat >conftest.
$ac_ext <<_ACEOF
27147 cat confdefs.h
>>conftest.
$ac_ext
27148 cat >>conftest.
$ac_ext <<_ACEOF
27149 /* end confdefs.h. */
27154 struct tm tim; tim.tm_gmtoff = 0;
27159 rm -f conftest.
$ac_objext
27160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27161 (eval $ac_compile) 2>conftest.er1
27163 grep -v '^ *+' conftest.er1
>conftest.err
27165 cat conftest.err
>&5
27166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27167 (exit $ac_status); } &&
27168 { ac_try
='test -z "$ac_c_werror_flag"
27169 || test ! -s conftest.err'
27170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27171 (eval $ac_try) 2>&5
27173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27174 (exit $ac_status); }; } &&
27175 { ac_try
='test -s conftest.$ac_objext'
27176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27177 (eval $ac_try) 2>&5
27179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27180 (exit $ac_status); }; }; then
27182 cat >>confdefs.h
<<\_ACEOF
27183 #define STRUCT_TM_HAS_GMTOFF 1
27186 echo "$as_me:$LINENO: result: yes" >&5
27187 echo "${ECHO_T}yes" >&6
27189 echo "$as_me: failed program was:" >&5
27190 sed 's/^/| /' conftest.
$ac_ext >&5
27192 echo "$as_me:$LINENO: result: no" >&5
27193 echo "${ECHO_T}no" >&6
27194 echo "$as_me:$LINENO: checking for global timezone variable" >&5
27195 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
27196 cat >conftest.
$ac_ext <<_ACEOF
27199 cat confdefs.h
>>conftest.
$ac_ext
27200 cat >>conftest.
$ac_ext <<_ACEOF
27201 /* end confdefs.h. */
27206 void i(){long z2 = 2*timezone;}
27211 rm -f conftest.
$ac_objext
27212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27213 (eval $ac_compile) 2>conftest.er1
27215 grep -v '^ *+' conftest.er1
>conftest.err
27217 cat conftest.err
>&5
27218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27219 (exit $ac_status); } &&
27220 { ac_try
='test -z "$ac_c_werror_flag"
27221 || test ! -s conftest.err'
27222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27223 (eval $ac_try) 2>&5
27225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27226 (exit $ac_status); }; } &&
27227 { ac_try
='test -s conftest.$ac_objext'
27228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27229 (eval $ac_try) 2>&5
27231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27232 (exit $ac_status); }; }; then
27234 cat >>confdefs.h
<<\_ACEOF
27235 #define HAVE_TIMEZONE 1
27238 echo "$as_me:$LINENO: result: yes" >&5
27239 echo "${ECHO_T}yes" >&6
27241 echo "$as_me: failed program was:" >&5
27242 sed 's/^/| /' conftest.
$ac_ext >&5
27244 echo "$as_me:$LINENO: result: no" >&5
27245 echo "${ECHO_T}no" >&6
27246 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
27247 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
27248 cat >conftest.
$ac_ext <<_ACEOF
27251 cat confdefs.h
>>conftest.
$ac_ext
27252 cat >>conftest.
$ac_ext <<_ACEOF
27253 /* end confdefs.h. */
27258 long z2 = _timezone;
27263 rm -f conftest.
$ac_objext
27264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27265 (eval $ac_compile) 2>conftest.er1
27267 grep -v '^ *+' conftest.er1
>conftest.err
27269 cat conftest.err
>&5
27270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27271 (exit $ac_status); } &&
27272 { ac_try
='test -z "$ac_c_werror_flag"
27273 || test ! -s conftest.err'
27274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27275 (eval $ac_try) 2>&5
27277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27278 (exit $ac_status); }; } &&
27279 { ac_try
='test -s conftest.$ac_objext'
27280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27281 (eval $ac_try) 2>&5
27283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27284 (exit $ac_status); }; }; then
27286 cat >>confdefs.h
<<\_ACEOF
27287 #define HAVE_UNDERSCORE_TIMEZONE 1
27290 echo "$as_me:$LINENO: result: yes" >&5
27291 echo "${ECHO_T}yes" >&6
27293 echo "$as_me: failed program was:" >&5
27294 sed 's/^/| /' conftest.
$ac_ext >&5
27296 echo "$as_me:$LINENO: result: no" >&5
27297 echo "${ECHO_T}no" >&6
27299 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27303 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27305 for ac_prog
in perl
27307 # Extract the first word of "$ac_prog", so it can be a program name with args.
27308 set dummy
$ac_prog; ac_word
=$2
27309 echo "$as_me:$LINENO: checking for $ac_word" >&5
27310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27311 if test "${ac_cv_prog_PERL+set}" = set; then
27312 echo $ECHO_N "(cached) $ECHO_C" >&6
27314 if test -n "$PERL"; then
27315 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
27317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27318 for as_dir
in $PATH
27321 test -z "$as_dir" && as_dir
=.
27322 for ac_exec_ext
in '' $ac_executable_extensions; do
27323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27324 ac_cv_prog_PERL
="$ac_prog"
27325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27333 PERL
=$ac_cv_prog_PERL
27334 if test -n "$PERL"; then
27335 echo "$as_me:$LINENO: result: $PERL" >&5
27336 echo "${ECHO_T}$PERL" >&6
27338 echo "$as_me:$LINENO: result: no" >&5
27339 echo "${ECHO_T}no" >&6
27342 test -n "$PERL" && break
27344 test -n "$PERL" || PERL
="false"
27348 SIGNAL_HANDLER_AUX
=
27352 SIGNAL_HANDLER
=include
/i386-signal.h
27354 sparc
*-sun-solaris*)
27355 SIGNAL_HANDLER
=include
/sparc-signal.h
27358 # SYSDEP_SOURCES=sysdep/ia64.c
27359 # test -d sysdep || mkdir sysdep
27362 SIGNAL_HANDLER
=include
/pa-signal.h
27365 SIGNAL_HANDLER
=include
/hppa-signal.h
27368 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27371 SIGNAL_HANDLER
=include
/powerpc-signal.h
27374 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27377 SIGNAL_HANDLER
=include
/s390-signal.h
27380 SIGNAL_HANDLER
=include
/x86_64-signal.h
27381 SIGNAL_HANDLER_AUX
=include
/i386-signal.h
27384 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27387 SIGNAL_HANDLER
=include
/sh-signal.h
27390 SIGNAL_HANDLER
=include
/win32-signal.h
27393 SIGNAL_HANDLER
=include
/mips-signal.h
27396 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27398 powerpc
*-*-darwin* | i?
86-*-darwin9* | x86_64-
*-darwin9*)
27399 SIGNAL_HANDLER
=include
/darwin-signal.h
27402 SIGNAL_HANDLER
=include
/default-signal.h
27406 # If we're using sjlj exceptions, forget what we just learned.
27407 if test "$enable_sjlj_exceptions" = yes; then
27408 SIGNAL_HANDLER
=include
/default-signal.h
27409 SIGNAL_HANDLER_AUX
=
27414 if test -z "$SIGNAL_HANDLER_AUX"; then
27415 SIGNAL_HANDLER_AUX
=$SIGNAL_HANDLER
27418 ac_config_links
="$ac_config_links include/java-signal.h:$SIGNAL_HANDLER include/java-signal-aux.h:$SIGNAL_HANDLER_AUX"
27421 if test "${multilib}" = "yes"; then
27422 multilib_arg
="--enable-multilib"
27427 # See if we support thread-local storage.
27429 # Check whether --enable-tls or --disable-tls was given.
27430 if test "${enable_tls+set}" = set; then
27431 enableval
="$enable_tls"
27433 case "$enableval" in
27435 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
27436 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
27437 { (exit 1); exit 1; }; } ;;
27444 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
27445 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
27446 if test "${gcc_cv_have_tls+set}" = set; then
27447 echo $ECHO_N "(cached) $ECHO_C" >&6
27450 if test "$cross_compiling" = yes; then
27451 if test x
$gcc_no_link = xyes
; then
27452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27454 { (exit 1); exit 1; }; }
27456 cat >conftest.
$ac_ext <<_ACEOF
27457 __thread int a; int b; int main() { return a = b; }
27459 rm -f conftest.
$ac_objext conftest
$ac_exeext
27460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27461 (eval $ac_link) 2>conftest.er1
27463 grep -v '^ *+' conftest.er1
>conftest.err
27465 cat conftest.err
>&5
27466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27467 (exit $ac_status); } &&
27468 { ac_try
='test -z "$ac_c_werror_flag"
27469 || test ! -s conftest.err'
27470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27471 (eval $ac_try) 2>&5
27473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27474 (exit $ac_status); }; } &&
27475 { ac_try
='test -s conftest$ac_exeext'
27476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27477 (eval $ac_try) 2>&5
27479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27480 (exit $ac_status); }; }; then
27481 gcc_cv_have_tls
=yes
27483 echo "$as_me: failed program was:" >&5
27484 sed 's/^/| /' conftest.
$ac_ext >&5
27488 rm -f conftest.err conftest.
$ac_objext \
27489 conftest
$ac_exeext conftest.
$ac_ext
27493 cat >conftest.
$ac_ext <<_ACEOF
27494 __thread int a; int b; int main() { return a = b; }
27496 rm -f conftest
$ac_exeext
27497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27498 (eval $ac_link) 2>&5
27500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27501 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27503 (eval $ac_try) 2>&5
27505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27506 (exit $ac_status); }; }; then
27507 chktls_save_LDFLAGS
="$LDFLAGS"
27508 LDFLAGS
="-static $LDFLAGS"
27509 if test x
$gcc_no_link = xyes
; then
27510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27512 { (exit 1); exit 1; }; }
27514 cat >conftest.
$ac_ext <<_ACEOF
27515 int main() { return 0; }
27517 rm -f conftest.
$ac_objext conftest
$ac_exeext
27518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27519 (eval $ac_link) 2>conftest.er1
27521 grep -v '^ *+' conftest.er1
>conftest.err
27523 cat conftest.err
>&5
27524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27525 (exit $ac_status); } &&
27526 { ac_try
='test -z "$ac_c_werror_flag"
27527 || test ! -s conftest.err'
27528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27529 (eval $ac_try) 2>&5
27531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27532 (exit $ac_status); }; } &&
27533 { ac_try
='test -s conftest$ac_exeext'
27534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27535 (eval $ac_try) 2>&5
27537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27538 (exit $ac_status); }; }; then
27539 if test "$cross_compiling" = yes; then
27540 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27541 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27542 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27543 See \`config.log' for more details." >&5
27544 echo "$as_me: error: cannot run test program while cross compiling
27545 See \`config.log' for more details." >&2;}
27546 { (exit 1); exit 1; }; }; }
27548 cat >conftest.
$ac_ext <<_ACEOF
27549 __thread int a; int b; int main() { return a = b; }
27551 rm -f conftest
$ac_exeext
27552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27553 (eval $ac_link) 2>&5
27555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27556 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27558 (eval $ac_try) 2>&5
27560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27561 (exit $ac_status); }; }; then
27562 gcc_cv_have_tls
=yes
27564 echo "$as_me: program exited with status $ac_status" >&5
27565 echo "$as_me: failed program was:" >&5
27566 sed 's/^/| /' conftest.
$ac_ext >&5
27568 ( exit $ac_status )
27571 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27574 echo "$as_me: failed program was:" >&5
27575 sed 's/^/| /' conftest.
$ac_ext >&5
27577 gcc_cv_have_tls
=yes
27579 rm -f conftest.err conftest.
$ac_objext \
27580 conftest
$ac_exeext conftest.
$ac_ext
27581 LDFLAGS
="$chktls_save_LDFLAGS"
27582 if test $gcc_cv_have_tls = yes; then
27583 chktls_save_CFLAGS
="$CFLAGS"
27584 thread_CFLAGS
=failed
27585 for flag
in '' '-pthread' '-lpthread'; do
27586 CFLAGS
="$flag $chktls_save_CFLAGS"
27587 if test x
$gcc_no_link = xyes
; then
27588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27590 { (exit 1); exit 1; }; }
27592 cat >conftest.
$ac_ext <<_ACEOF
27595 cat confdefs.h
>>conftest.
$ac_ext
27596 cat >>conftest.
$ac_ext <<_ACEOF
27597 /* end confdefs.h. */
27598 #include <pthread.h>
27599 void *g(void *d) { return NULL; }
27603 pthread_t t; pthread_create(&t,NULL,g,NULL);
27608 rm -f conftest.
$ac_objext conftest
$ac_exeext
27609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27610 (eval $ac_link) 2>conftest.er1
27612 grep -v '^ *+' conftest.er1
>conftest.err
27614 cat conftest.err
>&5
27615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27616 (exit $ac_status); } &&
27617 { ac_try
='test -z "$ac_c_werror_flag"
27618 || test ! -s conftest.err'
27619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27620 (eval $ac_try) 2>&5
27622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27623 (exit $ac_status); }; } &&
27624 { ac_try
='test -s conftest$ac_exeext'
27625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27626 (eval $ac_try) 2>&5
27628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27629 (exit $ac_status); }; }; then
27630 thread_CFLAGS
="$flag"
27632 echo "$as_me: failed program was:" >&5
27633 sed 's/^/| /' conftest.
$ac_ext >&5
27636 rm -f conftest.err conftest.
$ac_objext \
27637 conftest
$ac_exeext conftest.
$ac_ext
27638 if test "X$thread_CFLAGS" != Xfailed
; then
27642 CFLAGS
="$chktls_save_CFLAGS"
27643 if test "X$thread_CFLAGS" != Xfailed
; then
27644 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
27645 if test "$cross_compiling" = yes; then
27646 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27647 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27648 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27649 See \`config.log' for more details." >&5
27650 echo "$as_me: error: cannot run test program while cross compiling
27651 See \`config.log' for more details." >&2;}
27652 { (exit 1); exit 1; }; }; }
27654 cat >conftest.
$ac_ext <<_ACEOF
27657 cat confdefs.h
>>conftest.
$ac_ext
27658 cat >>conftest.
$ac_ext <<_ACEOF
27659 /* end confdefs.h. */
27660 #include <pthread.h>
27662 static int *a_in_other_thread;
27664 thread_func (void *arg)
27666 a_in_other_thread = &a;
27673 void *thread_retval;
27674 int *a_in_main_thread;
27675 if (pthread_create (&thread, (pthread_attr_t *)0,
27676 thread_func, (void *)0))
27678 a_in_main_thread = &a;
27679 if (pthread_join (thread, &thread_retval))
27681 return (a_in_other_thread == a_in_main_thread);
27686 rm -f conftest
$ac_exeext
27687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27688 (eval $ac_link) 2>&5
27690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27691 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27693 (eval $ac_try) 2>&5
27695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27696 (exit $ac_status); }; }; then
27697 gcc_cv_have_tls
=yes
27699 echo "$as_me: program exited with status $ac_status" >&5
27700 echo "$as_me: failed program was:" >&5
27701 sed 's/^/| /' conftest.
$ac_ext >&5
27703 ( exit $ac_status )
27706 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27708 CFLAGS
="$chktls_save_CFLAGS"
27712 echo "$as_me: program exited with status $ac_status" >&5
27713 echo "$as_me: failed program was:" >&5
27714 sed 's/^/| /' conftest.
$ac_ext >&5
27716 ( exit $ac_status )
27719 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27722 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
27723 echo "${ECHO_T}$gcc_cv_have_tls" >&6
27724 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27726 cat >>confdefs.h
<<\_ACEOF
27732 # For _Unwind_GetIPInfo.
27737 ac_cpp
='$CXXCPP $CPPFLAGS'
27738 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27739 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27740 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27742 ac_save_CXXFLAGS
="$CXXFLAGS"
27743 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
27744 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
27745 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
27746 if test "${gcc_cv_getipinfo+set}" = set; then
27747 echo $ECHO_N "(cached) $ECHO_C" >&6
27750 if test x
$gcc_no_link = xyes
; then
27751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27753 { (exit 1); exit 1; }; }
27755 cat >conftest.
$ac_ext <<_ACEOF
27758 cat confdefs.h
>>conftest.
$ac_ext
27759 cat >>conftest.
$ac_ext <<_ACEOF
27760 /* end confdefs.h. */
27761 extern "C" { extern void _Unwind_GetIPInfo(); }
27765 _Unwind_GetIPInfo();
27770 rm -f conftest.
$ac_objext conftest
$ac_exeext
27771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27772 (eval $ac_link) 2>conftest.er1
27774 grep -v '^ *+' conftest.er1
>conftest.err
27776 cat conftest.err
>&5
27777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27778 (exit $ac_status); } &&
27779 { ac_try
='test -z "$ac_cxx_werror_flag"
27780 || test ! -s conftest.err'
27781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27782 (eval $ac_try) 2>&5
27784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27785 (exit $ac_status); }; } &&
27786 { ac_try
='test -s conftest$ac_exeext'
27787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27788 (eval $ac_try) 2>&5
27790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27791 (exit $ac_status); }; }; then
27792 gcc_cv_getipinfo
=yes
27794 echo "$as_me: failed program was:" >&5
27795 sed 's/^/| /' conftest.
$ac_ext >&5
27797 gcc_cv_getipinfo
=no
27799 rm -f conftest.err conftest.
$ac_objext \
27800 conftest
$ac_exeext conftest.
$ac_ext
27804 if test $gcc_cv_getipinfo = yes; then
27806 cat >>confdefs.h
<<\_ACEOF
27807 #define HAVE_GETIPINFO 1
27811 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
27812 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
27813 CXXFLAGS
="$ac_save_CXXFLAGS"
27815 ac_cpp
='$CPP $CPPFLAGS'
27816 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27817 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27818 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27822 # See if linker supports anonymous version scripts.
27823 echo "$as_me:$LINENO: checking whether ld supports anonymous version scripts" >&5
27824 echo $ECHO_N "checking whether ld supports anonymous version scripts... $ECHO_C" >&6
27825 if test "${libjava_cv_anon_version_script+set}" = set; then
27826 echo $ECHO_N "(cached) $ECHO_C" >&6
27828 save_CFLAGS
="$CFLAGS"; save_LDFLAGS
="$LDFLAGS"
27829 libjava_cv_anon_version_script
=no
27830 CFLAGS
="$CFLAGS -fPIC"; LDFLAGS
="$LDFLAGS -shared -Wl,--version-script,conftest.map"
27831 echo '{ global: globalsymb*; local: *; };' > conftest.map
27832 if test x
$gcc_no_link = xyes
; then
27833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27835 { (exit 1); exit 1; }; }
27837 cat >conftest.
$ac_ext <<_ACEOF
27840 cat confdefs.h
>>conftest.
$ac_ext
27841 cat >>conftest.
$ac_ext <<_ACEOF
27842 /* end confdefs.h. */
27843 void globalsymbol (void) {} void localsymbol (void) {}
27852 rm -f conftest.
$ac_objext conftest
$ac_exeext
27853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27854 (eval $ac_link) 2>conftest.er1
27856 grep -v '^ *+' conftest.er1
>conftest.err
27858 cat conftest.err
>&5
27859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27860 (exit $ac_status); } &&
27861 { ac_try
='test -z "$ac_c_werror_flag"
27862 || test ! -s conftest.err'
27863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27864 (eval $ac_try) 2>&5
27866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27867 (exit $ac_status); }; } &&
27868 { ac_try
='test -s conftest$ac_exeext'
27869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27870 (eval $ac_try) 2>&5
27872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27873 (exit $ac_status); }; }; then
27874 libjava_cv_anon_version_script
=yes
27876 echo "$as_me: failed program was:" >&5
27877 sed 's/^/| /' conftest.
$ac_ext >&5
27880 rm -f conftest.err conftest.
$ac_objext \
27881 conftest
$ac_exeext conftest.
$ac_ext
27882 CFLAGS
="$save_CFLAGS"; LDFLAGS
="$save_LDFLAGS"
27885 echo "$as_me:$LINENO: result: $libjava_cv_anon_version_script" >&5
27886 echo "${ECHO_T}$libjava_cv_anon_version_script" >&6
27889 if test "$libjava_cv_anon_version_script" = yes; then
27890 ANONVERSCRIPT_TRUE
=
27891 ANONVERSCRIPT_FALSE
='#'
27893 ANONVERSCRIPT_TRUE
='#'
27894 ANONVERSCRIPT_FALSE
=
27898 # Check if linker supports static linking on a per library basis
27899 LD_START_STATIC_SPEC
=
27900 LD_FINISH_STATIC_SPEC
=
27901 if $LD --help 2>&1 |
grep -q -e -call_shared ; then
27902 if $LD --help 2>&1 |
grep -q -e -non_shared ; then
27903 LD_START_STATIC_SPEC
='%{static-libgcj:-non_shared}'
27904 LD_FINISH_STATIC_SPEC
='%{static-libgcj:-call_shared}'
27910 here
=`${PWDCMD-pwd}`
27913 # We get this from the environment.
27917 # Check whether --with-python-dir or --without-python-dir was given.
27918 if test "${with_python_dir+set}" = set; then
27919 withval
="$with_python_dir"
27920 with_python_dir
=$withval
27925 if test "x${with_python_dir}" = "x"
27927 # Needed for installing Python modules during make install.
27928 python_mod_dir
="\${prefix}/share/python"
27929 # Needed for substituting into aot-compile*
27930 python_mod_dir_expanded
="${prefix}/share/python"
27932 python_mod_dir
="\${prefix}${with_python_dir}"
27933 python_mod_dir_expanded
="${prefix}${with_python_dir}"
27935 echo "$as_me:$LINENO: result: Python modules dir: ${python_mod_dir_expanded}" >&5
27936 echo "${ECHO_T}Python modules dir: ${python_mod_dir_expanded}" >&6;
27940 # needed for aot-compile-rpm
27944 # Check whether --enable-aot-compile-rpm or --disable-aot-compile-rpm was given.
27945 if test "${enable_aot_compile_rpm+set}" = set; then
27946 enableval
="$enable_aot_compile_rpm"
27947 case "${enableval}" in
27948 yes) AOT_RPM_ENABLED
=yes ;;
27949 no
) AOT_RPM_ENABLED
=no
;;
27950 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable aot-compile-rpm" >&5
27951 echo "$as_me: error: Unknown argument to enable/disable aot-compile-rpm" >&2;}
27952 { (exit 1); exit 1; }; } ;;
27960 if test "x${AOT_RPM_ENABLED}" == xyes
; then
27961 INSTALL_AOT_RPM_TRUE
=
27962 INSTALL_AOT_RPM_FALSE
='#'
27964 INSTALL_AOT_RPM_TRUE
='#'
27965 INSTALL_AOT_RPM_FALSE
=
27969 # Check whether --enable-java-home or --disable-java-home was given.
27970 if test "${enable_java_home+set}" = set; then
27971 enableval
="$enable_java_home"
27972 case "${enableval}" in
27973 yes) JAVA_HOME_ENABLED
=yes ;;
27974 no
) JAVA_HOME_ENABLED
=no
;;
27975 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable java-home" >&5
27976 echo "$as_me: error: Unknown argument to enable/disable java-home" >&2;}
27977 { (exit 1); exit 1; }; } ;;
27980 JAVA_HOME_ENABLED
=no
27985 if test "x${JAVA_HOME_ENABLED}" == xyes
; then
27986 CREATE_JAVA_HOME_TRUE
=
27987 CREATE_JAVA_HOME_FALSE
='#'
27989 CREATE_JAVA_HOME_TRUE
='#'
27990 CREATE_JAVA_HOME_FALSE
=
27994 # Only do these checks if java-home above is enabled.
27995 if test "x${JAVA_HOME_ENABLED}" == xyes
27999 # Check whether --with-gcc-suffix or --without-gcc-suffix was given.
28000 if test "${with_gcc_suffix+set}" = set; then
28001 withval
="$with_gcc_suffix"
28002 gcc_suffix
=$withval
28006 echo "$as_me:$LINENO: result: GCC suffix: ${gcc_suffix}" >&5
28007 echo "${ECHO_T}GCC suffix: ${gcc_suffix}" >&6
28011 # Check whether --with-arch-directory or --without-arch-directory was given.
28012 if test "${with_arch_directory+set}" = set; then
28013 withval
="$with_arch_directory"
28020 # Check whether --with-os-directory or --without-os-directory was given.
28021 if test "${with_os_directory+set}" = set; then
28022 withval
="$with_os_directory"
28029 # Check whether --with-origin-name or --without-origin-name was given.
28030 if test "${with_origin_name+set}" = set; then
28031 withval
="$with_origin_name"
28032 origin_name
=$withval
28034 origin_name
=gcj
${gcc_suffix}
28036 echo "$as_me:$LINENO: result: JPackage origin name: ${origin_name}" >&5
28037 echo "${ECHO_T}JPackage origin name: ${origin_name}" >&6
28040 # Check whether --with-arch-suffix or --without-arch-suffix was given.
28041 if test "${with_arch_suffix+set}" = set; then
28042 withval
="$with_arch_suffix"
28043 arch_suffix
=$withval
28047 echo "$as_me:$LINENO: result: arch suffix: ${arch_suffix}" >&5
28048 echo "${ECHO_T}arch suffix: ${arch_suffix}" >&6
28051 # Check whether --with-jvm-root-dir or --without-jvm-root-dir was given.
28052 if test "${with_jvm_root_dir+set}" = set; then
28053 withval
="$with_jvm_root_dir"
28054 jvm_root_dir
=$withval
28056 jvm_root_dir
="\${prefix}/lib/jvm"
28058 echo "$as_me:$LINENO: result: JVM root installation directory: ${jvm_root_dir}" >&5
28059 echo "${ECHO_T}JVM root installation directory: ${jvm_root_dir}" >&6
28062 # Check whether --with-jvm-jar-dir or --without-jvm-jar-dir was given.
28063 if test "${with_jvm_jar_dir+set}" = set; then
28064 withval
="$with_jvm_jar_dir"
28065 jvm_jar_dir
=$withval
28067 jvm_jar_dir
=\
${prefix}/lib
/jvm-exports
28069 echo "$as_me:$LINENO: result: JAR root installation directory: ${jvm_jar_dir}" >&5
28070 echo "${ECHO_T}JAR root installation directory: ${jvm_jar_dir}" >&6
28076 echo "$as_me:$LINENO: result: Java version: ${JAVA_VERSION}" >&5
28077 echo "${ECHO_T}Java version: ${JAVA_VERSION}" >&6
28079 jre_dir
=java-
${JAVA_VERSION}-${origin_name}-${JAVA_VERSION}.${BUILD_VERSION}${arch_suffix}/jre
28080 sdk_dir
=java-
${JAVA_VERSION}-${origin_name}-${JAVA_VERSION}.${BUILD_VERSION}${arch_suffix}
28081 jre_lnk
=jre-
${JAVA_VERSION}-${origin_name}
28082 sdk_lnk
=java-
${JAVA_VERSION}-${origin_name}
28084 JVM_ROOT_DIR
=${jvm_root_dir}
28086 echo "$as_me:$LINENO: result: JVM ROOT directory: ${JVM_ROOT_DIR}" >&5
28087 echo "${ECHO_T}JVM ROOT directory: ${JVM_ROOT_DIR}" >&6
28089 JVM_JAR_ROOT_DIR
=${jvm_jar_dir}
28091 echo "$as_me:$LINENO: result: JVM JAR ROOT directory: ${JVM_JAR_ROOT_DIR}" >&5
28092 echo "${ECHO_T}JVM JAR ROOT directory: ${JVM_JAR_ROOT_DIR}" >&6
28094 JVM_JAR_DIR
=${jvm_jar_dir}/${sdk_dir}
28096 echo "$as_me:$LINENO: result: JVM JAR directory: ${JVM_JAR_DIR}" >&5
28097 echo "${ECHO_T}JVM JAR directory: ${JVM_JAR_DIR}" >&6
28111 SDK_BIN_DIR
=${jvm_root_dir}/${sdk_dir}/bin
28113 echo "$as_me:$LINENO: result: SDK tools directory: ${SDK_BIN_DIR}" >&5
28114 echo "${ECHO_T}SDK tools directory: ${SDK_BIN_DIR}" >&6
28116 SDK_LIB_DIR
=${jvm_root_dir}/${sdk_dir}/lib
28118 echo "$as_me:$LINENO: result: SDK jar directory: ${SDK_LIB_DIR}" >&5
28119 echo "${ECHO_T}SDK jar directory: ${SDK_LIB_DIR}" >&6
28121 SDK_INCLUDE_DIR
=${jvm_root_dir}/${sdk_dir}/include
28123 echo "$as_me:$LINENO: result: SDK include directory: ${SDK_INCLUDE_DIR}" >&5
28124 echo "${ECHO_T}SDK include directory: ${SDK_INCLUDE_DIR}" >&6
28126 JRE_BIN_DIR
=${jvm_root_dir}/${jre_dir}/bin
28128 echo "$as_me:$LINENO: result: JRE tools directory: ${JRE_BIN_DIR}" >&5
28129 echo "${ECHO_T}JRE tools directory: ${JRE_BIN_DIR}" >&6
28131 JRE_LIB_DIR
=${jvm_root_dir}/${jre_dir}/lib
28133 echo "$as_me:$LINENO: result: JRE lib directory: ${JRE_LIB_DIR}" >&5
28134 echo "${ECHO_T}JRE lib directory: ${JRE_LIB_DIR}" >&6
28136 # Find gcj prefix using gcj found in PATH.
28137 gcj_prefix
=`which gcj${gcc_suffix} | sed "s%/bin/gcj${gcc_suffix}%%"`
28139 # Where do the gcj binaries live?
28140 # For jhbuild based builds, they all live in a sibling of bin called
28141 # gcj-bin. Check for gcj-bin first, and use bin otherwise.
28142 GCJ_BIN_DIR
=`if test -d ${gcj_prefix}/gcj-bin; then echo ${gcj_prefix}/gcj-bin; else echo ${gcj_prefix}/bin; fi`
28144 echo "$as_me:$LINENO: result: GCJ tools directory: ${GCJ_BIN_DIR}" >&5
28145 echo "${ECHO_T}GCJ tools directory: ${GCJ_BIN_DIR}" >&6
28147 echo host is
${host}
28148 if test "x${host_cpu}" = "x"
28151 *-mingw* |
*-cygwin*)
28153 i486-
* | i586-
* | i686-
*)
28156 host_cpu
=${host_cpu};;
28159 echo "$as_me:$LINENO: result: arch directory: ${host_cpu}" >&5
28160 echo "${ECHO_T}arch directory: ${host_cpu}" >&6
28164 if test "x${host_os}" = "x"
28167 *-mingw* |
*-cygwin*)
28172 host_os
=${host_os};;
28175 echo os directory
: ${host_os}
28179 # make an expanded $libdir, for substituting into
28180 # scripts (and other non-Makefile things).
28182 if test "x${exec_prefix}" = "xNONE"
28184 lib_exec_prefix
=$prefix
28186 lib_exec_prefix
=$exec_prefix
28188 LIBDIR
=`echo $libdir | sed "s:\\\${exec_prefix}:$lib_exec_prefix:g"`
28192 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"
28195 if test ${multilib} = yes; then
28196 multilib_arg
="--enable-multilib"
28201 ac_config_files
="$ac_config_files scripts/jar"
28203 cat >confcache
<<\_ACEOF
28204 # This file is a shell script that caches the results of configure
28205 # tests run on this system so they can be shared between configure
28206 # scripts and configure runs, see configure's option --config-cache.
28207 # It is not useful on other systems. If it contains results you don't
28208 # want to keep, you may remove or edit it.
28210 # config.status only pays attention to the cache file if you give it
28211 # the --recheck option to rerun configure.
28213 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28214 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28215 # following values.
28219 # The following way of writing the cache mishandles newlines in values,
28220 # but we know of no workaround that is simple, portable, and efficient.
28221 # So, don't put newlines in cache variables' values.
28222 # Ultrix sh set writes to stderr and can't be redirected directly,
28223 # and sets the high bit in the cache file unless we assign to the vars.
28226 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28228 # `set' does not quote correctly, so add quotes (double-quote
28229 # substitution turns \\\\ into \\, and sed turns \\ into \).
28232 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28235 # `set' quotes correctly as required by POSIX, so do not add quotes.
28237 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28244 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28246 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28248 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
28249 if test -w $cache_file; then
28250 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28251 cat confcache
>$cache_file
28253 echo "not updating unwritable cache $cache_file"
28258 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
28259 # Let make expand exec_prefix.
28260 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
28262 # VPATH may cause trouble with some makes, so we remove $(srcdir),
28263 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
28264 # trailing colons and then remove the whole line if VPATH becomes empty
28265 # (actually we leave an empty line to preserve line numbers).
28266 if test "x$srcdir" = x.
; then
28267 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
28268 s/:*\$(srcdir):*/:/;
28269 s/:*\${srcdir}:*/:/;
28271 s/^\([^=]*=[ ]*\):*/\1/;
28277 DEFS
=-DHAVE_CONFIG_H
28281 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
28282 # 1. Remove the extension, and $U if already installed.
28283 ac_i
=`echo "$ac_i" |
28284 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
28286 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
28287 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
28289 LIBOBJS
=$ac_libobjs
28291 LTLIBOBJS
=$ac_ltlibobjs
28294 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
28295 { { echo "$as_me:$LINENO: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
28296 Usually this means the macro was only invoked conditionally." >&5
28297 echo "$as_me: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
28298 Usually this means the macro was only invoked conditionally." >&2;}
28299 { (exit 1); exit 1; }; }
28301 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
28302 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
28303 Usually this means the macro was only invoked conditionally." >&5
28304 echo "$as_me: error: conditional \"AMDEP\" was never defined.
28305 Usually this means the macro was only invoked conditionally." >&2;}
28306 { (exit 1); exit 1; }; }
28308 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
28309 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
28310 Usually this means the macro was only invoked conditionally." >&5
28311 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
28312 Usually this means the macro was only invoked conditionally." >&2;}
28313 { (exit 1); exit 1; }; }
28315 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
28316 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
28317 Usually this means the macro was only invoked conditionally." >&5
28318 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
28319 Usually this means the macro was only invoked conditionally." >&2;}
28320 { (exit 1); exit 1; }; }
28322 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
28323 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
28324 Usually this means the macro was only invoked conditionally." >&5
28325 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
28326 Usually this means the macro was only invoked conditionally." >&2;}
28327 { (exit 1); exit 1; }; }
28329 if test -z "${XLIB_AWT_TRUE}" && test -z "${XLIB_AWT_FALSE}"; then
28330 { { echo "$as_me:$LINENO: error: conditional \"XLIB_AWT\" was never defined.
28331 Usually this means the macro was only invoked conditionally." >&5
28332 echo "$as_me: error: conditional \"XLIB_AWT\" was never defined.
28333 Usually this means the macro was only invoked conditionally." >&2;}
28334 { (exit 1); exit 1; }; }
28336 if test -z "${X_AWT_TRUE}" && test -z "${X_AWT_FALSE}"; then
28337 { { echo "$as_me:$LINENO: error: conditional \"X_AWT\" was never defined.
28338 Usually this means the macro was only invoked conditionally." >&5
28339 echo "$as_me: error: conditional \"X_AWT\" was never defined.
28340 Usually this means the macro was only invoked conditionally." >&2;}
28341 { (exit 1); exit 1; }; }
28343 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
28344 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
28345 Usually this means the macro was only invoked conditionally." >&5
28346 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
28347 Usually this means the macro was only invoked conditionally." >&2;}
28348 { (exit 1); exit 1; }; }
28350 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
28351 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
28352 Usually this means the macro was only invoked conditionally." >&5
28353 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
28354 Usually this means the macro was only invoked conditionally." >&2;}
28355 { (exit 1); exit 1; }; }
28357 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
28358 { { echo "$as_me:$LINENO: error: conditional \"TESTSUBDIR\" was never defined.
28359 Usually this means the macro was only invoked conditionally." >&5
28360 echo "$as_me: error: conditional \"TESTSUBDIR\" was never defined.
28361 Usually this means the macro was only invoked conditionally." >&2;}
28362 { (exit 1); exit 1; }; }
28364 if test -z "${BUILD_ECJ1_TRUE}" && test -z "${BUILD_ECJ1_FALSE}"; then
28365 { { echo "$as_me:$LINENO: error: conditional \"BUILD_ECJ1\" was never defined.
28366 Usually this means the macro was only invoked conditionally." >&5
28367 echo "$as_me: error: conditional \"BUILD_ECJ1\" was never defined.
28368 Usually this means the macro was only invoked conditionally." >&2;}
28369 { (exit 1); exit 1; }; }
28371 if test -z "${INSTALL_ECJ_JAR_TRUE}" && test -z "${INSTALL_ECJ_JAR_FALSE}"; then
28372 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_ECJ_JAR\" was never defined.
28373 Usually this means the macro was only invoked conditionally." >&5
28374 echo "$as_me: error: conditional \"INSTALL_ECJ_JAR\" was never defined.
28375 Usually this means the macro was only invoked conditionally." >&2;}
28376 { (exit 1); exit 1; }; }
28378 if test -z "${JAVA_HOME_SET_TRUE}" && test -z "${JAVA_HOME_SET_FALSE}"; then
28379 { { echo "$as_me:$LINENO: error: conditional \"JAVA_HOME_SET\" was never defined.
28380 Usually this means the macro was only invoked conditionally." >&5
28381 echo "$as_me: error: conditional \"JAVA_HOME_SET\" was never defined.
28382 Usually this means the macro was only invoked conditionally." >&2;}
28383 { (exit 1); exit 1; }; }
28385 if test -z "${SUPPRESS_LIBGCJ_BC_TRUE}" && test -z "${SUPPRESS_LIBGCJ_BC_FALSE}"; then
28386 { { echo "$as_me:$LINENO: error: conditional \"SUPPRESS_LIBGCJ_BC\" was never defined.
28387 Usually this means the macro was only invoked conditionally." >&5
28388 echo "$as_me: error: conditional \"SUPPRESS_LIBGCJ_BC\" was never defined.
28389 Usually this means the macro was only invoked conditionally." >&2;}
28390 { (exit 1); exit 1; }; }
28392 if test -z "${BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE}" && test -z "${BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE}"; then
28393 { { echo "$as_me:$LINENO: error: conditional \"BUILD_LIBGCJ_REDUCED_REFLECTION\" was never defined.
28394 Usually this means the macro was only invoked conditionally." >&5
28395 echo "$as_me: error: conditional \"BUILD_LIBGCJ_REDUCED_REFLECTION\" was never defined.
28396 Usually this means the macro was only invoked conditionally." >&2;}
28397 { (exit 1); exit 1; }; }
28399 if test -z "${INTERPRETER_TRUE}" && test -z "${INTERPRETER_FALSE}"; then
28400 { { echo "$as_me:$LINENO: error: conditional \"INTERPRETER\" was never defined.
28401 Usually this means the macro was only invoked conditionally." >&5
28402 echo "$as_me: error: conditional \"INTERPRETER\" was never defined.
28403 Usually this means the macro was only invoked conditionally." >&2;}
28404 { (exit 1); exit 1; }; }
28406 if test -z "${USING_WIN32_PLATFORM_TRUE}" && test -z "${USING_WIN32_PLATFORM_FALSE}"; then
28407 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
28408 Usually this means the macro was only invoked conditionally." >&5
28409 echo "$as_me: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
28410 Usually this means the macro was only invoked conditionally." >&2;}
28411 { (exit 1); exit 1; }; }
28413 if test -z "${USING_POSIX_PLATFORM_TRUE}" && test -z "${USING_POSIX_PLATFORM_FALSE}"; then
28414 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
28415 Usually this means the macro was only invoked conditionally." >&5
28416 echo "$as_me: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
28417 Usually this means the macro was only invoked conditionally." >&2;}
28418 { (exit 1); exit 1; }; }
28420 if test -z "${USING_DARWIN_CRT_TRUE}" && test -z "${USING_DARWIN_CRT_FALSE}"; then
28421 { { echo "$as_me:$LINENO: error: conditional \"USING_DARWIN_CRT\" was never defined.
28422 Usually this means the macro was only invoked conditionally." >&5
28423 echo "$as_me: error: conditional \"USING_DARWIN_CRT\" was never defined.
28424 Usually this means the macro was only invoked conditionally." >&2;}
28425 { (exit 1); exit 1; }; }
28427 if test -z "${USING_BOEHMGC_TRUE}" && test -z "${USING_BOEHMGC_FALSE}"; then
28428 { { echo "$as_me:$LINENO: error: conditional \"USING_BOEHMGC\" was never defined.
28429 Usually this means the macro was only invoked conditionally." >&5
28430 echo "$as_me: error: conditional \"USING_BOEHMGC\" was never defined.
28431 Usually this means the macro was only invoked conditionally." >&2;}
28432 { (exit 1); exit 1; }; }
28434 if test -z "${USING_NOGC_TRUE}" && test -z "${USING_NOGC_FALSE}"; then
28435 { { echo "$as_me:$LINENO: error: conditional \"USING_NOGC\" was never defined.
28436 Usually this means the macro was only invoked conditionally." >&5
28437 echo "$as_me: error: conditional \"USING_NOGC\" was never defined.
28438 Usually this means the macro was only invoked conditionally." >&2;}
28439 { (exit 1); exit 1; }; }
28441 if test -z "${USING_POSIX_THREADS_TRUE}" && test -z "${USING_POSIX_THREADS_FALSE}"; then
28442 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_THREADS\" was never defined.
28443 Usually this means the macro was only invoked conditionally." >&5
28444 echo "$as_me: error: conditional \"USING_POSIX_THREADS\" was never defined.
28445 Usually this means the macro was only invoked conditionally." >&2;}
28446 { (exit 1); exit 1; }; }
28448 if test -z "${USING_WIN32_THREADS_TRUE}" && test -z "${USING_WIN32_THREADS_FALSE}"; then
28449 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_THREADS\" was never defined.
28450 Usually this means the macro was only invoked conditionally." >&5
28451 echo "$as_me: error: conditional \"USING_WIN32_THREADS\" was never defined.
28452 Usually this means the macro was only invoked conditionally." >&2;}
28453 { (exit 1); exit 1; }; }
28455 if test -z "${USING_NO_THREADS_TRUE}" && test -z "${USING_NO_THREADS_FALSE}"; then
28456 { { echo "$as_me:$LINENO: error: conditional \"USING_NO_THREADS\" was never defined.
28457 Usually this means the macro was only invoked conditionally." >&5
28458 echo "$as_me: error: conditional \"USING_NO_THREADS\" was never defined.
28459 Usually this means the macro was only invoked conditionally." >&2;}
28460 { (exit 1); exit 1; }; }
28462 if test -z "${USE_LIBGCJ_BC_TRUE}" && test -z "${USE_LIBGCJ_BC_FALSE}"; then
28463 { { echo "$as_me:$LINENO: error: conditional \"USE_LIBGCJ_BC\" was never defined.
28464 Usually this means the macro was only invoked conditionally." >&5
28465 echo "$as_me: error: conditional \"USE_LIBGCJ_BC\" was never defined.
28466 Usually this means the macro was only invoked conditionally." >&2;}
28467 { (exit 1); exit 1; }; }
28469 if test -z "${USING_GCC_TRUE}" && test -z "${USING_GCC_FALSE}"; then
28470 { { echo "$as_me:$LINENO: error: conditional \"USING_GCC\" was never defined.
28471 Usually this means the macro was only invoked conditionally." >&5
28472 echo "$as_me: error: conditional \"USING_GCC\" was never defined.
28473 Usually this means the macro was only invoked conditionally." >&2;}
28474 { (exit 1); exit 1; }; }
28476 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
28477 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
28478 Usually this means the macro was only invoked conditionally." >&5
28479 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
28480 Usually this means the macro was only invoked conditionally." >&2;}
28481 { (exit 1); exit 1; }; }
28483 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
28484 { { echo "$as_me:$LINENO: error: conditional \"NATIVE\" was never defined.
28485 Usually this means the macro was only invoked conditionally." >&5
28486 echo "$as_me: error: conditional \"NATIVE\" was never defined.
28487 Usually this means the macro was only invoked conditionally." >&2;}
28488 { (exit 1); exit 1; }; }
28490 if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
28491 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SHARED\" was never defined.
28492 Usually this means the macro was only invoked conditionally." >&5
28493 echo "$as_me: error: conditional \"ENABLE_SHARED\" was never defined.
28494 Usually this means the macro was only invoked conditionally." >&2;}
28495 { (exit 1); exit 1; }; }
28497 if test -z "${NEEDS_DATA_START_TRUE}" && test -z "${NEEDS_DATA_START_FALSE}"; then
28498 { { echo "$as_me:$LINENO: error: conditional \"NEEDS_DATA_START\" was never defined.
28499 Usually this means the macro was only invoked conditionally." >&5
28500 echo "$as_me: error: conditional \"NEEDS_DATA_START\" was never defined.
28501 Usually this means the macro was only invoked conditionally." >&2;}
28502 { (exit 1); exit 1; }; }
28504 if test -z "${ANONVERSCRIPT_TRUE}" && test -z "${ANONVERSCRIPT_FALSE}"; then
28505 { { echo "$as_me:$LINENO: error: conditional \"ANONVERSCRIPT\" was never defined.
28506 Usually this means the macro was only invoked conditionally." >&5
28507 echo "$as_me: error: conditional \"ANONVERSCRIPT\" was never defined.
28508 Usually this means the macro was only invoked conditionally." >&2;}
28509 { (exit 1); exit 1; }; }
28511 if test -z "${INSTALL_AOT_RPM_TRUE}" && test -z "${INSTALL_AOT_RPM_FALSE}"; then
28512 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_AOT_RPM\" was never defined.
28513 Usually this means the macro was only invoked conditionally." >&5
28514 echo "$as_me: error: conditional \"INSTALL_AOT_RPM\" was never defined.
28515 Usually this means the macro was only invoked conditionally." >&2;}
28516 { (exit 1); exit 1; }; }
28518 if test -z "${CREATE_JAVA_HOME_TRUE}" && test -z "${CREATE_JAVA_HOME_FALSE}"; then
28519 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JAVA_HOME\" was never defined.
28520 Usually this means the macro was only invoked conditionally." >&5
28521 echo "$as_me: error: conditional \"CREATE_JAVA_HOME\" was never defined.
28522 Usually this means the macro was only invoked conditionally." >&2;}
28523 { (exit 1); exit 1; }; }
28526 : ${CONFIG_STATUS=./config.status}
28527 ac_clean_files_save
=$ac_clean_files
28528 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
28529 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
28530 echo "$as_me: creating $CONFIG_STATUS" >&6;}
28531 cat >$CONFIG_STATUS <<_ACEOF
28533 # Generated by $as_me.
28534 # Run this file to recreate the current configuration.
28535 # Compiler output produced by configure, useful for debugging
28536 # configure, is in config.log if it exists.
28539 ac_cs_recheck=false
28541 SHELL=\${CONFIG_SHELL-$SHELL}
28544 cat >>$CONFIG_STATUS <<\_ACEOF
28545 ## --------------------- ##
28546 ## M4sh Initialization. ##
28547 ## --------------------- ##
28549 # Be Bourne compatible
28550 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
28553 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
28554 # is contrary to our usage. Disable this feature.
28555 alias -g '${1+"$@"}'='"$@"'
28556 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
28559 DUALCASE
=1; export DUALCASE
# for MKS sh
28561 # Support unset when possible.
28562 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
28569 # Work around bugs in pre-3.0 UWIN ksh.
28570 $as_unset ENV MAIL MAILPATH
28577 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
28578 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
28579 LC_TELEPHONE LC_TIME
28581 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
28582 eval $as_var=C
; export $as_var
28588 # Required to use basename.
28589 if expr a
: '\(a\)' >/dev
/null
2>&1; then
28595 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
28596 as_basename
=basename
28602 # Name of the executable.
28603 as_me
=`$as_basename "$0" ||
28604 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
28605 X"$0" : 'X\(//\)$' \| \
28606 X"$0" : 'X\(/\)$' \| \
28607 . : '\(.\)' 2>/dev/null ||
28609 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
28610 /^X\/\(\/\/\)$/{ s//\1/; q; }
28611 /^X\/\(\/\).*/{ s//\1/; q; }
28615 # PATH needs CR, and LINENO needs CR and PATH.
28616 # Avoid depending upon Character Ranges.
28617 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
28618 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
28619 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
28620 as_cr_digits
='0123456789'
28621 as_cr_alnum
=$as_cr_Letters$as_cr_digits
28623 # The user is always right.
28624 if test "${PATH_SEPARATOR+set}" != set; then
28625 echo "#! /bin/sh" >conf$$.sh
28626 echo "exit 0" >>conf$$.sh
28628 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
28637 as_lineno_1
=$LINENO
28638 as_lineno_2
=$LINENO
28639 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
28640 test "x$as_lineno_1" != "x$as_lineno_2" &&
28641 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
28642 # Find who we are. Look in the path if we contain no path at all
28645 *[\\/]* ) as_myself
=$0 ;;
28646 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28647 for as_dir
in $PATH
28650 test -z "$as_dir" && as_dir
=.
28651 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
28656 # We did not find ourselves, most probably we were run as `sh COMMAND'
28657 # in which case we are not to be found in the path.
28658 if test "x$as_myself" = x
; then
28661 if test ! -f "$as_myself"; then
28662 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
28663 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
28664 { (exit 1); exit 1; }; }
28666 case $CONFIG_SHELL in
28668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28669 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
28672 test -z "$as_dir" && as_dir
=.
28673 for as_base
in sh bash ksh sh5
; do
28676 if ("$as_dir/$as_base" -c '
28677 as_lineno_1=$LINENO
28678 as_lineno_2=$LINENO
28679 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
28680 test "x$as_lineno_1" != "x$as_lineno_2" &&
28681 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
28682 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
28683 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
28684 CONFIG_SHELL
=$as_dir/$as_base
28685 export CONFIG_SHELL
28686 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
28694 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
28695 # uniformly replaced by the line number. The first 'sed' inserts a
28696 # line-number line before each line; the second 'sed' does the real
28697 # work. The second script uses 'N' to pair each line-number line
28698 # with the numbered line, and appends trailing '-' during
28699 # substitution so that $LINENO is not a special case at line end.
28700 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
28701 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
28702 sed '=' <$as_myself |
28707 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
28710 s,^['$as_cr_digits']*\n,,
28711 ' >$as_me.lineno
&&
28712 chmod +x
$as_me.lineno ||
28713 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
28714 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
28715 { (exit 1); exit 1; }; }
28717 # Don't try to exec as it changes $[0], causing all sort of problems
28718 # (the dirname of $[0] is not the place where we might find the
28719 # original and so on. Autoconf is especially sensible to this).
28721 # Exit status is that of the last command.
28726 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
28727 *c
*,-n*) ECHO_N
= ECHO_C
='
28729 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
28730 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
28733 if expr a
: '\(a\)' >/dev
/null
2>&1; then
28739 rm -f conf$$ conf$$.exe conf$$.
file
28741 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
28742 # We could just check for DJGPP; but this test a) works b) is more generic
28743 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
28744 if test -f conf$$.exe
; then
28745 # Don't use ln at all; we don't have any links
28750 elif ln conf$$.
file conf$$
2>/dev
/null
; then
28755 rm -f conf$$ conf$$.exe conf$$.
file
28757 if mkdir
-p .
2>/dev
/null
; then
28760 test -d .
/-p && rmdir .
/-p
28764 as_executable_p
="test -f"
28766 # Sed expression to map a string onto a valid CPP name.
28767 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
28769 # Sed expression to map a string onto a valid variable name.
28770 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
28774 # We need space, tab and new line, in precisely that order.
28784 # Open the log real soon, to keep \$[0] and so on meaningful, and to
28785 # report actual input values of CONFIG_FILES etc. instead of their
28786 # values after options handling. Logging --version etc. is OK.
28790 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
28791 ## Running $as_me. ##
28796 This file was extended by libjava $as_me version-unused, which was
28797 generated by GNU Autoconf 2.59. Invocation command line was
28799 CONFIG_FILES = $CONFIG_FILES
28800 CONFIG_HEADERS = $CONFIG_HEADERS
28801 CONFIG_LINKS = $CONFIG_LINKS
28802 CONFIG_COMMANDS = $CONFIG_COMMANDS
28806 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
28810 # Files that config.status was made for.
28811 if test -n "$ac_config_files"; then
28812 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
28815 if test -n "$ac_config_headers"; then
28816 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
28819 if test -n "$ac_config_links"; then
28820 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
28823 if test -n "$ac_config_commands"; then
28824 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
28827 cat >>$CONFIG_STATUS <<\_ACEOF
28830 \`$as_me' instantiates files from templates according to the
28831 current configuration.
28833 Usage: $0 [OPTIONS] [FILE]...
28835 -h, --help print this help, then exit
28836 -V, --version print version number, then exit
28837 -q, --quiet do not print progress messages
28838 -d, --debug don't remove temporary files
28839 --recheck update $as_me by reconfiguring in the same conditions
28840 --file=FILE[:TEMPLATE]
28841 instantiate the configuration file FILE
28842 --header=FILE[:TEMPLATE]
28843 instantiate the configuration header FILE
28845 Configuration files:
28848 Configuration headers:
28851 Configuration links:
28854 Configuration commands:
28857 Report bugs to <bug-autoconf@gnu.org>."
28860 cat >>$CONFIG_STATUS <<_ACEOF
28862 libjava config.status version-unused
28863 configured by $0, generated by GNU Autoconf 2.59,
28864 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
28866 Copyright (C) 2003 Free Software Foundation, Inc.
28867 This config.status script is free software; the Free Software Foundation
28868 gives unlimited permission to copy, distribute and modify it."
28873 cat >>$CONFIG_STATUS <<\_ACEOF
28874 # If no file are specified by the user, then we need to provide default
28875 # value. By we need to know if files were specified by the user.
28881 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
28882 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
28890 *) # This is not an option, so the user has probably given explicit
28893 ac_need_defaults
=false
;;
28897 # Handling of the options.
28899 cat >>$CONFIG_STATUS <<\_ACEOF
28900 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
28902 --version |
--vers* |
-V )
28903 echo "$ac_cs_version"; exit 0 ;;
28905 # Conflict between --help and --header
28906 { { echo "$as_me:$LINENO: error: ambiguous option: $1
28907 Try \`$0 --help' for more information." >&5
28908 echo "$as_me: error: ambiguous option: $1
28909 Try \`$0 --help' for more information." >&2;}
28910 { (exit 1); exit 1; }; };;
28911 --help |
--hel |
-h )
28912 echo "$ac_cs_usage"; exit 0 ;;
28913 --debug |
--d* |
-d )
28915 --file |
--fil |
--fi |
--f )
28917 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
28918 ac_need_defaults
=false
;;
28919 --header |
--heade |
--head |
--hea )
28921 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
28922 ac_need_defaults
=false
;;
28923 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
28924 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
28927 # This is an error.
28928 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
28929 Try \`$0 --help' for more information." >&5
28930 echo "$as_me: error: unrecognized option: $1
28931 Try \`$0 --help' for more information." >&2;}
28932 { (exit 1); exit 1; }; } ;;
28934 *) ac_config_targets
="$ac_config_targets $1" ;;
28940 ac_configure_extra_args
=
28942 if $ac_cs_silent; then
28944 ac_configure_extra_args
="$ac_configure_extra_args --silent"
28948 cat >>$CONFIG_STATUS <<_ACEOF
28949 if \$ac_cs_recheck; then
28950 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
28951 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
28956 cat >>$CONFIG_STATUS <<_ACEOF
28958 # INIT-COMMANDS section.
28965 with_multisubdir="$with_multisubdir"
28966 with_multisrctop="$with_multisrctop"
28967 with_target_subdir="$with_target_subdir"
28968 ac_configure_args="${multilib_arg} ${ac_configure_args}"
28969 multi_basedir="$multi_basedir"
28970 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
28972 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
28975 # The HP-UX ksh and POSIX shell print the target directory to stdout
28976 # if CDPATH is set.
28977 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
28979 sed_quote_subst='$sed_quote_subst'
28980 double_quote_subst='$double_quote_subst'
28981 delay_variable_subst='$delay_variable_subst'
28982 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
28983 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
28984 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
28985 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
28986 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
28987 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
28988 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
28989 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
28990 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
28991 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
28992 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
28993 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
28994 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
28995 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
28996 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
28997 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
28998 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
28999 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
29000 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
29001 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
29002 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
29003 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
29004 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
29005 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
29006 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
29007 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
29008 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
29009 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29010 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
29011 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
29012 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
29013 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
29014 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
29015 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
29016 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29017 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29018 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29019 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
29020 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
29021 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
29022 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
29023 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
29024 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
29025 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"`'
29026 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
29027 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
29028 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
29029 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
29030 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
29031 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
29032 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
29033 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
29034 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
29035 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
29036 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
29037 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29038 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29039 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
29040 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
29041 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
29042 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
29043 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
29044 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29045 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29046 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29047 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29048 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29049 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29050 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
29051 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
29052 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
29053 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
29054 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
29055 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
29056 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
29057 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
29058 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
29059 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
29060 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
29061 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
29062 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
29063 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
29064 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
29065 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29066 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
29067 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
29068 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29069 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
29070 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
29071 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
29072 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
29073 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
29074 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
29075 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
29076 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
29077 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
29078 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
29079 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
29080 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29081 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29082 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29083 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
29084 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
29085 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
29086 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
29087 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
29088 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
29089 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
29090 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
29091 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
29092 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
29093 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
29094 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
29095 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
29096 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
29097 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
29098 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29099 LD_GCJ='`$ECHO "X$LD_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29100 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29101 old_archive_cmds_GCJ='`$ECHO "X$old_archive_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29102 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29103 compiler_GCJ='`$ECHO "X$compiler_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29104 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29105 GCC_GCJ='`$ECHO "X$GCC_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29106 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29107 lt_prog_compiler_no_builtin_flag_GCJ='`$ECHO "X$lt_prog_compiler_no_builtin_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29108 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29109 lt_prog_compiler_wl_GCJ='`$ECHO "X$lt_prog_compiler_wl_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29110 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29111 lt_prog_compiler_pic_GCJ='`$ECHO "X$lt_prog_compiler_pic_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29112 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29113 lt_prog_compiler_static_GCJ='`$ECHO "X$lt_prog_compiler_static_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29114 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29115 lt_cv_prog_compiler_c_o_GCJ='`$ECHO "X$lt_cv_prog_compiler_c_o_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29116 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29117 archive_cmds_need_lc_GCJ='`$ECHO "X$archive_cmds_need_lc_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29118 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29119 enable_shared_with_static_runtimes_GCJ='`$ECHO "X$enable_shared_with_static_runtimes_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29120 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29121 export_dynamic_flag_spec_GCJ='`$ECHO "X$export_dynamic_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29122 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29123 whole_archive_flag_spec_GCJ='`$ECHO "X$whole_archive_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29124 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29125 compiler_needs_object_GCJ='`$ECHO "X$compiler_needs_object_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29126 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29127 old_archive_from_new_cmds_GCJ='`$ECHO "X$old_archive_from_new_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29128 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29129 old_archive_from_expsyms_cmds_GCJ='`$ECHO "X$old_archive_from_expsyms_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29130 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29131 archive_cmds_GCJ='`$ECHO "X$archive_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29132 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29133 archive_expsym_cmds_GCJ='`$ECHO "X$archive_expsym_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29134 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29135 module_cmds_GCJ='`$ECHO "X$module_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29136 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29137 module_expsym_cmds_GCJ='`$ECHO "X$module_expsym_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29138 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29139 with_gnu_ld_GCJ='`$ECHO "X$with_gnu_ld_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29140 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29141 allow_undefined_flag_GCJ='`$ECHO "X$allow_undefined_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29142 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29143 no_undefined_flag_GCJ='`$ECHO "X$no_undefined_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29144 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29145 hardcode_libdir_flag_spec_GCJ='`$ECHO "X$hardcode_libdir_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29146 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29147 hardcode_libdir_flag_spec_ld_GCJ='`$ECHO "X$hardcode_libdir_flag_spec_ld_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29148 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29149 hardcode_libdir_separator_GCJ='`$ECHO "X$hardcode_libdir_separator_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29150 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29151 hardcode_direct_GCJ='`$ECHO "X$hardcode_direct_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29152 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29153 hardcode_direct_absolute_GCJ='`$ECHO "X$hardcode_direct_absolute_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29154 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29155 hardcode_minus_L_GCJ='`$ECHO "X$hardcode_minus_L_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29156 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29157 hardcode_shlibpath_var_GCJ='`$ECHO "X$hardcode_shlibpath_var_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29158 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29159 hardcode_automatic_GCJ='`$ECHO "X$hardcode_automatic_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29160 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29161 inherit_rpath_GCJ='`$ECHO "X$inherit_rpath_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29162 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29163 link_all_deplibs_GCJ='`$ECHO "X$link_all_deplibs_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29164 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29165 fix_srcfile_path_GCJ='`$ECHO "X$fix_srcfile_path_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29166 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29167 always_export_symbols_GCJ='`$ECHO "X$always_export_symbols_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29168 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29169 export_symbols_cmds_GCJ='`$ECHO "X$export_symbols_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29170 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29171 exclude_expsyms_GCJ='`$ECHO "X$exclude_expsyms_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29172 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29173 include_expsyms_GCJ='`$ECHO "X$include_expsyms_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29174 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29175 prelink_cmds_GCJ='`$ECHO "X$prelink_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29176 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29177 file_list_spec_GCJ='`$ECHO "X$file_list_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29178 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29179 hardcode_action_GCJ='`$ECHO "X$hardcode_action_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29180 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29181 predep_objects_GCJ='`$ECHO "X$predep_objects_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29182 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29183 postdep_objects_GCJ='`$ECHO "X$postdep_objects_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29184 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29185 predeps_GCJ='`$ECHO "X$predeps_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29186 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29187 postdeps_GCJ='`$ECHO "X$postdeps_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29188 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29189 compiler_lib_search_path_GCJ='`$ECHO "X$compiler_lib_search_path_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29192 LTCFLAGS='$LTCFLAGS'
29193 compiler='$compiler_DEFAULT'
29195 # Quote evaled strings.
29206 deplibs_check_method \
29215 lt_cv_sys_global_symbol_pipe \
29216 lt_cv_sys_global_symbol_to_cdecl \
29217 lt_cv_sys_global_symbol_to_c_name_address \
29220 lt_prog_compiler_no_builtin_flag \
29221 lt_prog_compiler_wl \
29222 lt_prog_compiler_pic \
29223 lt_prog_compiler_static \
29224 lt_cv_prog_compiler_c_o \
29227 export_dynamic_flag_spec \
29228 whole_archive_flag_spec \
29229 compiler_needs_object \
29231 allow_undefined_flag \
29232 no_undefined_flag \
29233 hardcode_libdir_flag_spec \
29234 hardcode_libdir_flag_spec_ld \
29235 hardcode_libdir_separator \
29240 variables_saved_for_relink \
29242 library_names_spec \
29251 compiler_lib_search_path \
29256 lt_prog_compiler_no_builtin_flag_CXX \
29257 lt_prog_compiler_no_builtin_flag_GCJ \
29258 lt_prog_compiler_wl_CXX \
29259 lt_prog_compiler_wl_GCJ \
29260 lt_prog_compiler_pic_CXX \
29261 lt_prog_compiler_pic_GCJ \
29262 lt_prog_compiler_static_CXX \
29263 lt_prog_compiler_static_GCJ \
29264 lt_cv_prog_compiler_c_o_CXX \
29265 lt_cv_prog_compiler_c_o_GCJ \
29266 export_dynamic_flag_spec_CXX \
29267 export_dynamic_flag_spec_GCJ \
29268 whole_archive_flag_spec_CXX \
29269 whole_archive_flag_spec_GCJ \
29270 compiler_needs_object_CXX \
29271 compiler_needs_object_GCJ \
29274 allow_undefined_flag_CXX \
29275 allow_undefined_flag_GCJ \
29276 no_undefined_flag_CXX \
29277 no_undefined_flag_GCJ \
29278 hardcode_libdir_flag_spec_CXX \
29279 hardcode_libdir_flag_spec_GCJ \
29280 hardcode_libdir_flag_spec_ld_CXX \
29281 hardcode_libdir_flag_spec_ld_GCJ \
29282 hardcode_libdir_separator_CXX \
29283 hardcode_libdir_separator_GCJ \
29284 fix_srcfile_path_CXX \
29285 fix_srcfile_path_GCJ \
29286 exclude_expsyms_CXX \
29287 exclude_expsyms_GCJ \
29288 include_expsyms_CXX \
29289 include_expsyms_GCJ \
29290 file_list_spec_CXX \
29291 file_list_spec_GCJ \
29292 predep_objects_CXX \
29293 predep_objects_GCJ \
29294 postdep_objects_CXX \
29295 postdep_objects_GCJ \
29300 compiler_lib_search_path_CXX \
29301 compiler_lib_search_path_GCJ; do
29302 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
29303 *[\\\\\\\`\\"\\\$]*)
29304 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
29307 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
29312 # Double-quote double-evaled strings.
29313 for var in reload_cmds \
29314 old_postinstall_cmds \
29315 old_postuninstall_cmds \
29317 extract_expsyms_cmds \
29318 old_archive_from_new_cmds \
29319 old_archive_from_expsyms_cmds \
29321 archive_expsym_cmds \
29323 module_expsym_cmds \
29324 export_symbols_cmds \
29327 postuninstall_cmds \
29329 sys_lib_search_path_spec \
29330 sys_lib_dlsearch_path_spec \
29331 old_archive_cmds_CXX \
29332 old_archive_cmds_GCJ \
29333 old_archive_from_new_cmds_CXX \
29334 old_archive_from_new_cmds_GCJ \
29335 old_archive_from_expsyms_cmds_CXX \
29336 old_archive_from_expsyms_cmds_GCJ \
29339 archive_expsym_cmds_CXX \
29340 archive_expsym_cmds_GCJ \
29343 module_expsym_cmds_CXX \
29344 module_expsym_cmds_GCJ \
29345 export_symbols_cmds_CXX \
29346 export_symbols_cmds_GCJ \
29348 prelink_cmds_GCJ; do
29349 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
29350 *[\\\\\\\`\\"\\\$]*)
29351 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
29354 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
29359 # Fix-up fallback echo if it was mangled by the above quoting rules.
29361 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
29365 ac_aux_dir='$ac_aux_dir'
29366 xsi_shell='$xsi_shell'
29367 lt_shell_append='$lt_shell_append'
29369 # See if we are running on zsh, and set the options which allow our
29370 # commands through without removal of \ escapes INIT.
29371 if test -n "\${ZSH_VERSION+set}" ; then
29372 setopt NO_GLOB_SUBST
29378 TIMESTAMP='$TIMESTAMP'
29393 cat >>$CONFIG_STATUS <<\_ACEOF
29394 for ac_config_target
in $ac_config_targets
29396 case "$ac_config_target" in
29397 # Handling of arguments.
29398 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
29399 "libgcj.pc" ) CONFIG_FILES
="$CONFIG_FILES libgcj.pc" ;;
29400 "libgcj.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj.spec" ;;
29401 "libgcj-test.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj-test.spec" ;;
29402 "gcj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gcj/Makefile" ;;
29403 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
29404 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
29405 "contrib/aotcompile.py" ) CONFIG_FILES
="$CONFIG_FILES contrib/aotcompile.py" ;;
29406 "contrib/aot-compile" ) CONFIG_FILES
="$CONFIG_FILES contrib/aot-compile" ;;
29407 "contrib/aot-compile-rpm" ) CONFIG_FILES
="$CONFIG_FILES contrib/aot-compile-rpm" ;;
29408 "contrib/rebuild-gcj-db" ) CONFIG_FILES
="$CONFIG_FILES contrib/rebuild-gcj-db" ;;
29409 "scripts/jar" ) CONFIG_FILES
="$CONFIG_FILES scripts/jar" ;;
29410 "include/platform.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/platform.h:include/$PLATFORMH" ;;
29411 "java/io/natFile.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc" ;;
29412 "java/lang/natConcreteProcess.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc" ;;
29413 "java/net/natVMInetAddress.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc" ;;
29414 "java/net/natVMNetworkInterface.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc" ;;
29415 "gnu/java/net/natPlainSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc" ;;
29416 "gnu/java/net/natPlainDatagramSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc" ;;
29417 "gnu/java/nio/natVMPipe.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc" ;;
29418 "gnu/java/nio/natVMSelector.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc" ;;
29419 "gnu/java/nio/channels/natFileChannelImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc" ;;
29420 "include/java-gc.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-gc.h:include/$GCHDR" ;;
29421 "include/java-threads.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-threads.h:include/$THREADH" ;;
29422 "sysdep/locks.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/locks.h:sysdep/$sysdeps_dir/locks.h" ;;
29423 "sysdep/backtrace.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/backtrace.h:$fallback_backtrace_h" ;;
29424 "sysdep/descriptor.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/descriptor.h:$descriptor_h" ;;
29425 "include/java-signal.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal.h:$SIGNAL_HANDLER" ;;
29426 "include/java-signal-aux.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal-aux.h:$SIGNAL_HANDLER_AUX" ;;
29427 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
29428 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
29429 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
29430 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
29431 "gcj/libgcj-config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS gcj/libgcj-config.h" ;;
29432 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
29433 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
29434 { (exit 1); exit 1; }; };;
29438 # If the user did not use the arguments to specify the items to instantiate,
29439 # then the envvar interface is used. Set only those that are not.
29440 # We use the long form for the default assignment because of an extremely
29441 # bizarre bug on SunOS 4.1.3.
29442 if $ac_need_defaults; then
29443 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
29444 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
29445 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
29446 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
29449 # Have a temporary directory for convenience. Make it in the build tree
29450 # simply because there is no reason to put it here, and in addition,
29451 # creating and moving files from /tmp can sometimes cause problems.
29452 # Create a temporary directory, and hook for its removal unless debugging.
29455 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
29456 trap '{ (exit 1); exit 1; }' 1 2 13 15
29459 # Create a (secure) tmp directory for tmp files.
29462 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
29463 test -n "$tmp" && test -d "$tmp"
29466 tmp
=.
/confstat$$
-$RANDOM
29467 (umask 077 && mkdir
$tmp)
29470 echo "$me: cannot create a temporary directory in ." >&2
29471 { (exit 1); exit 1; }
29476 cat >>$CONFIG_STATUS <<_ACEOF
29479 # CONFIG_FILES section.
29482 # No need to generate the scripts if there are no CONFIG_FILES.
29483 # This happens for instance when ./config.status config.h
29484 if test -n "\$CONFIG_FILES"; then
29485 # Protect against being on the right side of a sed subst in config.status.
29486 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
29487 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
29488 s,@SHELL@,$SHELL,;t t
29489 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
29490 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
29491 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
29492 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
29493 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
29494 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
29495 s,@exec_prefix@,$exec_prefix,;t t
29496 s,@prefix@,$prefix,;t t
29497 s,@program_transform_name@,$program_transform_name,;t t
29498 s,@bindir@,$bindir,;t t
29499 s,@sbindir@,$sbindir,;t t
29500 s,@libexecdir@,$libexecdir,;t t
29501 s,@datadir@,$datadir,;t t
29502 s,@sysconfdir@,$sysconfdir,;t t
29503 s,@sharedstatedir@,$sharedstatedir,;t t
29504 s,@localstatedir@,$localstatedir,;t t
29505 s,@libdir@,$libdir,;t t
29506 s,@includedir@,$includedir,;t t
29507 s,@oldincludedir@,$oldincludedir,;t t
29508 s,@infodir@,$infodir,;t t
29509 s,@mandir@,$mandir,;t t
29510 s,@build_alias@,$build_alias,;t t
29511 s,@host_alias@,$host_alias,;t t
29512 s,@target_alias@,$target_alias,;t t
29513 s,@DEFS@,$DEFS,;t t
29514 s,@ECHO_C@,$ECHO_C,;t t
29515 s,@ECHO_N@,$ECHO_N,;t t
29516 s,@ECHO_T@,$ECHO_T,;t t
29517 s,@LIBS@,$LIBS,;t t
29518 s,@build@,$build,;t t
29519 s,@build_cpu@,$build_cpu,;t t
29520 s,@build_vendor@,$build_vendor,;t t
29521 s,@build_os@,$build_os,;t t
29522 s,@build_libsubdir@,$build_libsubdir,;t t
29523 s,@build_subdir@,$build_subdir,;t t
29524 s,@host_subdir@,$host_subdir,;t t
29525 s,@target_subdir@,$target_subdir,;t t
29526 s,@multi_basedir@,$multi_basedir,;t t
29527 s,@host@,$host,;t t
29528 s,@host_cpu@,$host_cpu,;t t
29529 s,@host_vendor@,$host_vendor,;t t
29530 s,@host_os@,$host_os,;t t
29531 s,@target@,$target,;t t
29532 s,@target_cpu@,$target_cpu,;t t
29533 s,@target_vendor@,$target_vendor,;t t
29534 s,@target_os@,$target_os,;t t
29535 s,@target_noncanonical@,$target_noncanonical,;t t
29536 s,@LN_S@,$LN_S,;t t
29537 s,@mkinstalldirs@,$mkinstalldirs,;t t
29538 s,@JAVA_MAINTAINER_MODE_TRUE@,$JAVA_MAINTAINER_MODE_TRUE,;t t
29539 s,@JAVA_MAINTAINER_MODE_FALSE@,$JAVA_MAINTAINER_MODE_FALSE,;t t
29541 s,@ac_ct_CC@,$ac_ct_CC,;t t
29542 s,@EXEEXT@,$EXEEXT,;t t
29543 s,@OBJEXT@,$OBJEXT,;t t
29545 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
29546 s,@CFLAGS@,$CFLAGS,;t t
29547 s,@CXXFLAGS@,$CXXFLAGS,;t t
29548 s,@LDFLAGS@,$LDFLAGS,;t t
29549 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
29550 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
29551 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
29552 s,@CYGPATH_W@,$CYGPATH_W,;t t
29553 s,@PACKAGE@,$PACKAGE,;t t
29554 s,@VERSION@,$VERSION,;t t
29555 s,@ACLOCAL@,$ACLOCAL,;t t
29556 s,@AUTOCONF@,$AUTOCONF,;t t
29557 s,@AUTOMAKE@,$AUTOMAKE,;t t
29558 s,@AUTOHEADER@,$AUTOHEADER,;t t
29559 s,@MAKEINFO@,$MAKEINFO,;t t
29560 s,@install_sh@,$install_sh,;t t
29561 s,@STRIP@,$STRIP,;t t
29562 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
29563 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
29564 s,@mkdir_p@,$mkdir_p,;t t
29566 s,@SET_MAKE@,$SET_MAKE,;t t
29567 s,@am__leading_dot@,$am__leading_dot,;t t
29568 s,@AMTAR@,$AMTAR,;t t
29569 s,@am__tar@,$am__tar,;t t
29570 s,@am__untar@,$am__untar,;t t
29571 s,@DEPDIR@,$DEPDIR,;t t
29572 s,@am__include@,$am__include,;t t
29573 s,@am__quote@,$am__quote,;t t
29574 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
29575 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
29576 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
29577 s,@CCDEPMODE@,$CCDEPMODE,;t t
29578 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
29579 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
29580 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
29581 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
29582 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
29584 s,@ac_ct_AS@,$ac_ct_AS,;t t
29586 s,@ac_ct_LD@,$ac_ct_LD,;t t
29588 s,@ac_ct_AR@,$ac_ct_AR,;t t
29589 s,@RANLIB@,$RANLIB,;t t
29590 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
29593 s,@UNZIP@,$UNZIP,;t t
29594 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
29595 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
29596 s,@MAINT@,$MAINT,;t t
29597 s,@LIBGCJ_CFLAGS@,$LIBGCJ_CFLAGS,;t t
29598 s,@LIBGCJ_CXXFLAGS@,$LIBGCJ_CXXFLAGS,;t t
29599 s,@LIBGCJ_JAVAFLAGS@,$LIBGCJ_JAVAFLAGS,;t t
29600 s,@LIBGCJ_LD_SYMBOLIC@,$LIBGCJ_LD_SYMBOLIC,;t t
29601 s,@LIBGCJ_LD_SYMBOLIC_FUNCTIONS@,$LIBGCJ_LD_SYMBOLIC_FUNCTIONS,;t t
29602 s,@LIBGCJDEBUG@,$LIBGCJDEBUG,;t t
29603 s,@TOOLKIT@,$TOOLKIT,;t t
29604 s,@XLIB_AWT_TRUE@,$XLIB_AWT_TRUE,;t t
29605 s,@XLIB_AWT_FALSE@,$XLIB_AWT_FALSE,;t t
29606 s,@X_AWT_TRUE@,$X_AWT_TRUE,;t t
29607 s,@X_AWT_FALSE@,$X_AWT_FALSE,;t t
29608 s,@GCJ_FOR_ECJX@,$GCJ_FOR_ECJX,;t t
29609 s,@GCJH@,$GCJH,;t t
29610 s,@host_exeext@,$host_exeext,;t t
29611 s,@INCLTDL@,$INCLTDL,;t t
29612 s,@LIBLTDL@,$LIBLTDL,;t t
29613 s,@DIRLTDL@,$DIRLTDL,;t t
29614 s,@LIBTOOL@,$LIBTOOL,;t t
29616 s,@EGREP@,$EGREP,;t t
29617 s,@FGREP@,$FGREP,;t t
29618 s,@GREP@,$GREP,;t t
29619 s,@DUMPBIN@,$DUMPBIN,;t t
29620 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
29622 s,@lt_ECHO@,$lt_ECHO,;t t
29624 s,@CPPFLAGS@,$CPPFLAGS,;t t
29625 s,@CXXCPP@,$CXXCPP,;t t
29627 s,@GCJFLAGS@,$GCJFLAGS,;t t
29628 s,@GCJDEPMODE@,$GCJDEPMODE,;t t
29629 s,@am__fastdepGCJ_TRUE@,$am__fastdepGCJ_TRUE,;t t
29630 s,@am__fastdepGCJ_FALSE@,$am__fastdepGCJ_FALSE,;t t
29631 s,@subdirs@,$subdirs,;t t
29632 s,@TESTSUBDIR_TRUE@,$TESTSUBDIR_TRUE,;t t
29633 s,@TESTSUBDIR_FALSE@,$TESTSUBDIR_FALSE,;t t
29634 s,@ECJ_BUILD_JAR@,$ECJ_BUILD_JAR,;t t
29635 s,@ECJ_JAR@,$ECJ_JAR,;t t
29636 s,@BUILD_ECJ1_TRUE@,$BUILD_ECJ1_TRUE,;t t
29637 s,@BUILD_ECJ1_FALSE@,$BUILD_ECJ1_FALSE,;t t
29638 s,@INSTALL_ECJ_JAR_TRUE@,$INSTALL_ECJ_JAR_TRUE,;t t
29639 s,@INSTALL_ECJ_JAR_FALSE@,$INSTALL_ECJ_JAR_FALSE,;t t
29640 s,@JAVA_HOME_SET_TRUE@,$JAVA_HOME_SET_TRUE,;t t
29641 s,@JAVA_HOME_SET_FALSE@,$JAVA_HOME_SET_FALSE,;t t
29642 s,@JAVA_HOME@,$JAVA_HOME,;t t
29643 s,@SUPPRESS_LIBGCJ_BC_TRUE@,$SUPPRESS_LIBGCJ_BC_TRUE,;t t
29644 s,@SUPPRESS_LIBGCJ_BC_FALSE@,$SUPPRESS_LIBGCJ_BC_FALSE,;t t
29645 s,@BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE@,$BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE,;t t
29646 s,@BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE@,$BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE,;t t
29647 s,@INTERPRETER@,$INTERPRETER,;t t
29648 s,@INTERPRETER_TRUE@,$INTERPRETER_TRUE,;t t
29649 s,@INTERPRETER_FALSE@,$INTERPRETER_FALSE,;t t
29650 s,@LIBFFI@,$LIBFFI,;t t
29651 s,@LIBFFIINCS@,$LIBFFIINCS,;t t
29652 s,@PLATFORM@,$PLATFORM,;t t
29653 s,@USING_WIN32_PLATFORM_TRUE@,$USING_WIN32_PLATFORM_TRUE,;t t
29654 s,@USING_WIN32_PLATFORM_FALSE@,$USING_WIN32_PLATFORM_FALSE,;t t
29655 s,@USING_POSIX_PLATFORM_TRUE@,$USING_POSIX_PLATFORM_TRUE,;t t
29656 s,@USING_POSIX_PLATFORM_FALSE@,$USING_POSIX_PLATFORM_FALSE,;t t
29657 s,@USING_DARWIN_CRT_TRUE@,$USING_DARWIN_CRT_TRUE,;t t
29658 s,@USING_DARWIN_CRT_FALSE@,$USING_DARWIN_CRT_FALSE,;t t
29659 s,@SYSTEMSPEC@,$SYSTEMSPEC,;t t
29660 s,@ZLIBSPEC@,$ZLIBSPEC,;t t
29661 s,@ZLIBTESTSPEC@,$ZLIBTESTSPEC,;t t
29662 s,@X_CFLAGS@,$X_CFLAGS,;t t
29663 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
29664 s,@X_LIBS@,$X_LIBS,;t t
29665 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
29666 s,@extra_ldflags_libjava@,$extra_ldflags_libjava,;t t
29667 s,@extra_gij_ldflags@,$extra_gij_ldflags,;t t
29668 s,@extra_ldflags@,$extra_ldflags,;t t
29669 s,@LIBSTDCXXSPEC@,$LIBSTDCXXSPEC,;t t
29670 s,@LIBGCJTESTSPEC@,$LIBGCJTESTSPEC,;t t
29671 s,@GCLIBS@,$GCLIBS,;t t
29672 s,@GCINCS@,$GCINCS,;t t
29673 s,@GCDEPS@,$GCDEPS,;t t
29674 s,@GCSPEC@,$GCSPEC,;t t
29675 s,@JC1GCSPEC@,$JC1GCSPEC,;t t
29676 s,@GCTESTSPEC@,$GCTESTSPEC,;t t
29677 s,@USING_BOEHMGC_TRUE@,$USING_BOEHMGC_TRUE,;t t
29678 s,@USING_BOEHMGC_FALSE@,$USING_BOEHMGC_FALSE,;t t
29679 s,@USING_NOGC_TRUE@,$USING_NOGC_TRUE,;t t
29680 s,@USING_NOGC_FALSE@,$USING_NOGC_FALSE,;t t
29681 s,@THREADLIBS@,$THREADLIBS,;t t
29682 s,@THREADINCS@,$THREADINCS,;t t
29683 s,@THREADDEPS@,$THREADDEPS,;t t
29684 s,@THREADSPEC@,$THREADSPEC,;t t
29685 s,@THREADSTARTFILESPEC@,$THREADSTARTFILESPEC,;t t
29686 s,@THREADLDFLAGS@,$THREADLDFLAGS,;t t
29687 s,@THREADCXXFLAGS@,$THREADCXXFLAGS,;t t
29688 s,@USING_POSIX_THREADS_TRUE@,$USING_POSIX_THREADS_TRUE,;t t
29689 s,@USING_POSIX_THREADS_FALSE@,$USING_POSIX_THREADS_FALSE,;t t
29690 s,@USING_WIN32_THREADS_TRUE@,$USING_WIN32_THREADS_TRUE,;t t
29691 s,@USING_WIN32_THREADS_FALSE@,$USING_WIN32_THREADS_FALSE,;t t
29692 s,@USING_NO_THREADS_TRUE@,$USING_NO_THREADS_TRUE,;t t
29693 s,@USING_NO_THREADS_FALSE@,$USING_NO_THREADS_FALSE,;t t
29694 s,@USE_LIBGCJ_BC_TRUE@,$USE_LIBGCJ_BC_TRUE,;t t
29695 s,@USE_LIBGCJ_BC_FALSE@,$USE_LIBGCJ_BC_FALSE,;t t
29696 s,@LIBGCJ_SPEC@,$LIBGCJ_SPEC,;t t
29697 s,@HASH_SYNC_SPEC@,$HASH_SYNC_SPEC,;t t
29698 s,@USING_GCC_TRUE@,$USING_GCC_TRUE,;t t
29699 s,@USING_GCC_FALSE@,$USING_GCC_FALSE,;t t
29700 s,@LIBICONV@,$LIBICONV,;t t
29701 s,@LTLIBICONV@,$LTLIBICONV,;t t
29702 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
29703 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
29704 s,@GTK_LIBS@,$GTK_LIBS,;t t
29705 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
29706 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
29707 s,@LIBART_CFLAGS@,$LIBART_CFLAGS,;t t
29708 s,@LIBART_LIBS@,$LIBART_LIBS,;t t
29709 s,@CLASSPATH_SEPARATOR@,$CLASSPATH_SEPARATOR,;t t
29710 s,@ZLIBS@,$ZLIBS,;t t
29711 s,@SYS_ZLIBS@,$SYS_ZLIBS,;t t
29712 s,@ZINCS@,$ZINCS,;t t
29713 s,@DIVIDESPEC@,$DIVIDESPEC,;t t
29714 s,@CHECKREFSPEC@,$CHECKREFSPEC,;t t
29715 s,@EXCEPTIONSPEC@,$EXCEPTIONSPEC,;t t
29716 s,@BACKTRACESPEC@,$BACKTRACESPEC,;t t
29717 s,@IEEESPEC@,$IEEESPEC,;t t
29718 s,@NATIVE_TRUE@,$NATIVE_TRUE,;t t
29719 s,@NATIVE_FALSE@,$NATIVE_FALSE,;t t
29720 s,@ENABLE_SHARED_TRUE@,$ENABLE_SHARED_TRUE,;t t
29721 s,@ENABLE_SHARED_FALSE@,$ENABLE_SHARED_FALSE,;t t
29722 s,@NEEDS_DATA_START_TRUE@,$NEEDS_DATA_START_TRUE,;t t
29723 s,@NEEDS_DATA_START_FALSE@,$NEEDS_DATA_START_FALSE,;t t
29724 s,@GCC_UNWIND_INCLUDE@,$GCC_UNWIND_INCLUDE,;t t
29725 s,@toolexecdir@,$toolexecdir,;t t
29726 s,@toolexecmainlibdir@,$toolexecmainlibdir,;t t
29727 s,@toolexeclibdir@,$toolexeclibdir,;t t
29728 s,@GCJVERSION@,$GCJVERSION,;t t
29729 s,@dbexecdir@,$dbexecdir,;t t
29730 s,@gcjsubdir@,$gcjsubdir,;t t
29731 s,@gxx_include_dir@,$gxx_include_dir,;t t
29732 s,@libstdcxx_incdir@,$libstdcxx_incdir,;t t
29733 s,@PERL@,$PERL,;t t
29734 s,@SYSDEP_SOURCES@,$SYSDEP_SOURCES,;t t
29735 s,@ANONVERSCRIPT_TRUE@,$ANONVERSCRIPT_TRUE,;t t
29736 s,@ANONVERSCRIPT_FALSE@,$ANONVERSCRIPT_FALSE,;t t
29737 s,@LD_START_STATIC_SPEC@,$LD_START_STATIC_SPEC,;t t
29738 s,@LD_FINISH_STATIC_SPEC@,$LD_FINISH_STATIC_SPEC,;t t
29739 s,@here@,$here,;t t
29740 s,@python_mod_dir@,$python_mod_dir,;t t
29741 s,@python_mod_dir_expanded@,$python_mod_dir_expanded,;t t
29742 s,@MAKE@,$MAKE,;t t
29743 s,@INSTALL_AOT_RPM_TRUE@,$INSTALL_AOT_RPM_TRUE,;t t
29744 s,@INSTALL_AOT_RPM_FALSE@,$INSTALL_AOT_RPM_FALSE,;t t
29745 s,@CREATE_JAVA_HOME_TRUE@,$CREATE_JAVA_HOME_TRUE,;t t
29746 s,@CREATE_JAVA_HOME_FALSE@,$CREATE_JAVA_HOME_FALSE,;t t
29747 s,@gcc_suffix@,$gcc_suffix,;t t
29748 s,@JAVA_VERSION@,$JAVA_VERSION,;t t
29749 s,@BUILD_VERSION@,$BUILD_VERSION,;t t
29750 s,@JVM_ROOT_DIR@,$JVM_ROOT_DIR,;t t
29751 s,@JVM_JAR_ROOT_DIR@,$JVM_JAR_ROOT_DIR,;t t
29752 s,@JVM_JAR_DIR@,$JVM_JAR_DIR,;t t
29753 s,@JRE_DIR@,$JRE_DIR,;t t
29754 s,@SDK_DIR@,$SDK_DIR,;t t
29755 s,@JRE_LNK@,$JRE_LNK,;t t
29756 s,@SDK_LNK@,$SDK_LNK,;t t
29757 s,@SDK_BIN_DIR@,$SDK_BIN_DIR,;t t
29758 s,@SDK_LIB_DIR@,$SDK_LIB_DIR,;t t
29759 s,@SDK_INCLUDE_DIR@,$SDK_INCLUDE_DIR,;t t
29760 s,@JRE_BIN_DIR@,$JRE_BIN_DIR,;t t
29761 s,@JRE_LIB_DIR@,$JRE_LIB_DIR,;t t
29762 s,@GCJ_BIN_DIR@,$GCJ_BIN_DIR,;t t
29765 s,@LIBDIR@,$LIBDIR,;t t
29766 s,@LIBOBJS@,$LIBOBJS,;t t
29767 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
29772 cat >>$CONFIG_STATUS <<\_ACEOF
29773 # Split the substitutions into bite-sized pieces for seds with
29774 # small command number limits, like on Digital OSF/1 and HP-UX.
29775 ac_max_sed_lines
=48
29776 ac_sed_frag
=1 # Number of current file.
29777 ac_beg
=1 # First line for current file.
29778 ac_end
=$ac_max_sed_lines # Line after last line for current file.
29781 while $ac_more_lines; do
29782 if test $ac_beg -gt 1; then
29783 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
29785 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
29787 if test ! -s $tmp/subs.frag
; then
29788 ac_more_lines
=false
29790 # The purpose of the label and of the branching condition is to
29791 # speed up the sed processing (if there are no `@' at all, there
29792 # is no need to browse any of the substitutions).
29793 # These are the two extra sed commands mentioned above.
29795 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
29796 if test -z "$ac_sed_cmds"; then
29797 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
29799 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
29801 ac_sed_frag
=`expr $ac_sed_frag + 1`
29803 ac_end
=`expr $ac_end + $ac_max_sed_lines`
29806 if test -z "$ac_sed_cmds"; then
29809 fi # test -n "$CONFIG_FILES"
29812 cat >>$CONFIG_STATUS <<\_ACEOF
29813 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
29814 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
29816 - |
*:- |
*:-:* ) # input from stdin
29818 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29819 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29820 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29821 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29822 * ) ac_file_in
=$ac_file.
in ;;
29825 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
29826 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
29827 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29828 X"$ac_file" : 'X\(//\)[^/]' \| \
29829 X"$ac_file" : 'X\(//\)$' \| \
29830 X"$ac_file" : 'X\(/\)' \| \
29831 . : '\(.\)' 2>/dev/null ||
29833 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29834 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29835 /^X\(\/\/\)$/{ s//\1/; q; }
29836 /^X\(\/\).*/{ s//\1/; q; }
29838 { if $as_mkdir_p; then
29843 while test ! -d "$as_dir"; do
29844 as_dirs
="$as_dir $as_dirs"
29845 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
29846 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29847 X"$as_dir" : 'X\(//\)[^/]' \| \
29848 X"$as_dir" : 'X\(//\)$' \| \
29849 X"$as_dir" : 'X\(/\)' \| \
29850 . : '\(.\)' 2>/dev/null ||
29852 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29853 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29854 /^X\(\/\/\)$/{ s//\1/; q; }
29855 /^X\(\/\).*/{ s//\1/; q; }
29858 test ! -n "$as_dirs" || mkdir
$as_dirs
29859 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29860 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29861 { (exit 1); exit 1; }; }; }
29865 if test "$ac_dir" != .
; then
29866 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
29867 # A "../" for each directory in $ac_dir_suffix.
29868 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
29870 ac_dir_suffix
= ac_top_builddir
=
29874 .
) # No --srcdir option. We are building in place.
29876 if test -z "$ac_top_builddir"; then
29879 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
29881 [\\/]* | ?
:[\\/]* ) # Absolute path.
29882 ac_srcdir
=$srcdir$ac_dir_suffix;
29883 ac_top_srcdir
=$srcdir ;;
29884 *) # Relative path.
29885 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
29886 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
29889 # Do not use `cd foo && pwd` to compute absolute paths, because
29890 # the directories may not exist.
29892 .
) ac_abs_builddir
="$ac_dir";;
29895 .
) ac_abs_builddir
=`pwd`;;
29896 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
29897 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
29900 case $ac_abs_builddir in
29901 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29903 case ${ac_top_builddir}.
in
29904 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
29905 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29906 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
29909 case $ac_abs_builddir in
29910 .
) ac_abs_srcdir
=$ac_srcdir;;
29913 .
) ac_abs_srcdir
=$ac_abs_builddir;;
29914 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
29915 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
29918 case $ac_abs_builddir in
29919 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
29921 case $ac_top_srcdir in
29922 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
29923 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
29924 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
29930 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
29931 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
29934 if test x
"$ac_file" != x-
; then
29935 { echo "$as_me:$LINENO: creating $ac_file" >&5
29936 echo "$as_me: creating $ac_file" >&6;}
29939 # Let's still pretend it is `configure' which instantiates (i.e., don't
29940 # use $as_me), people would be surprised to read:
29941 # /* config.h. Generated by config.status. */
29942 if test x
"$ac_file" = x-
; then
29945 configure_input
="$ac_file. "
29947 configure_input
=$configure_input"Generated from `echo $ac_file_in |
29948 sed 's,.*/,,'` by configure."
29950 # First look for the input files in the build tree, otherwise in the
29952 ac_file_inputs
=`IFS=:
29953 for f in $ac_file_in; do
29955 -) echo $tmp/stdin ;;
29957 # Absolute (can't be DOS-style, as IFS=:)
29958 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29959 echo "$as_me: error: cannot find input file: $f" >&2;}
29960 { (exit 1); exit 1; }; }
29963 if test -f "$f"; then
29966 elif test -f "$srcdir/$f"; then
29971 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29972 echo "$as_me: error: cannot find input file: $f" >&2;}
29973 { (exit 1); exit 1; }; }
29976 done` ||
{ (exit 1); exit 1; }
29978 cat >>$CONFIG_STATUS <<_ACEOF
29982 cat >>$CONFIG_STATUS <<\_ACEOF
29984 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
29985 s
,@configure_input@
,$configure_input,;t t
29986 s
,@srcdir@
,$ac_srcdir,;t t
29987 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
29988 s
,@top_srcdir@
,$ac_top_srcdir,;t t
29989 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
29990 s
,@builddir@
,$ac_builddir,;t t
29991 s
,@abs_builddir@
,$ac_abs_builddir,;t t
29992 s
,@top_builddir@
,$ac_top_builddir,;t t
29993 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
29994 s
,@INSTALL@
,$ac_INSTALL,;t t
29995 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
29997 if test x"$ac_file" != x-; then
29998 mv $tmp/out $ac_file
30004 # Run the commands associated with the file.
30006 scripts/jar ) chmod +x scripts/jar ;;
30010 cat >>$CONFIG_STATUS <<\_ACEOF
30013 # CONFIG_HEADER section.
30016 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
30017 # NAME is the cpp macro being defined and VALUE is the value it is being given.
30019 # ac_d sets the value in "#define NAME VALUE" lines.
30020 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
30021 ac_dB
='[ ].*$,\1#\2'
30024 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
30025 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
30026 ac_uB
='$,\1#\2define\3'
30030 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
30031 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
30033 - |
*:- |
*:-:* ) # input from stdin
30035 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30036 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
30037 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30038 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
30039 * ) ac_file_in
=$ac_file.
in ;;
30042 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
30043 echo "$as_me: creating $ac_file" >&6;}
30045 # First look for the input files in the build tree, otherwise in the
30047 ac_file_inputs
=`IFS=:
30048 for f in $ac_file_in; do
30050 -) echo $tmp/stdin ;;
30052 # Absolute (can't be DOS-style, as IFS=:)
30053 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30054 echo "$as_me: error: cannot find input file: $f" >&2;}
30055 { (exit 1); exit 1; }; }
30056 # Do quote $f, to prevent DOS paths from being IFS'd.
30059 if test -f "$f"; then
30062 elif test -f "$srcdir/$f"; then
30067 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30068 echo "$as_me: error: cannot find input file: $f" >&2;}
30069 { (exit 1); exit 1; }; }
30072 done` ||
{ (exit 1); exit 1; }
30073 # Remove the trailing spaces.
30074 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
30078 # Transform confdefs.h into two sed scripts, `conftest.defines' and
30079 # `conftest.undefs', that substitutes the proper values into
30080 # config.h.in to produce config.h. The first handles `#define'
30081 # templates, and the second `#undef' templates.
30082 # And first: Protect against being on the right side of a sed subst in
30083 # config.status. Protect against being in an unquoted here document
30084 # in config.status.
30085 rm -f conftest.defines conftest.undefs
30086 # Using a here document instead of a string reduces the quoting nightmare.
30087 # Putting comments in sed scripts is not portable.
30089 # `end' is used to avoid that the second main sed command (meant for
30090 # 0-ary CPP macros) applies to n-ary macro definitions.
30091 # See the Autoconf documentation for `clear'.
30092 cat >confdef2sed.
sed <<\_ACEOF
30097 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
30099 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
30102 # If some macros were called several times there might be several times
30103 # the same #defines, which is useless. Nevertheless, we may not want to
30104 # sort them, since we want the *last* AC-DEFINE to be honored.
30105 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
30106 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
30107 rm -f confdef2sed.sed
30109 # This sed command replaces #undef with comments. This is necessary, for
30110 # example, in the case of _POSIX_SOURCE, which is predefined and required
30111 # on some systems where configure will not decide to define it.
30112 cat >>conftest.undefs <<\_ACEOF
30113 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
30116 # Break up conftest.defines because some shells have a limit on the size
30117 # of here documents, and old seds have small limits too (100 cmds).
30118 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
30119 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
30120 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
30121 echo ' :' >>$CONFIG_STATUS
30122 rm -f conftest.tail
30123 while grep . conftest.defines >/dev/null
30125 # Write a limited-size here document to $tmp/defines.sed.
30126 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
30127 # Speed up: don't consider the non `#define' lines.
30128 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
30129 # Work around the forget-to-reset-the-flag bug.
30130 echo 't clr' >>$CONFIG_STATUS
30131 echo ': clr' >>$CONFIG_STATUS
30132 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
30134 sed -f $tmp/defines.sed $tmp/in >$tmp/out
30136 mv $tmp/out $tmp/in
30138 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
30139 rm -f conftest.defines
30140 mv conftest.
tail conftest.defines
30142 rm -f conftest.defines
30143 echo ' fi # grep' >>$CONFIG_STATUS
30144 echo >>$CONFIG_STATUS
30146 # Break up conftest.undefs because some shells have a limit on the size
30147 # of here documents, and old seds have small limits too (100 cmds).
30148 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
30149 rm -f conftest.
tail
30150 while grep . conftest.undefs
>/dev
/null
30152 # Write a limited-size here document to $tmp/undefs.sed.
30153 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
30154 # Speed up: don't consider the non
`#undef'
30155 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
30156 # Work around the forget-to-reset-the-flag bug.
30157 echo 't clr' >>$CONFIG_STATUS
30158 echo ': clr' >>$CONFIG_STATUS
30159 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
30161 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
30163 mv $tmp/out $tmp/in
30165 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
30166 rm -f conftest.undefs
30167 mv conftest.tail conftest.undefs
30169 rm -f conftest.undefs
30171 cat >>$CONFIG_STATUS <<\_ACEOF
30172 # Let's still pretend it is `configure
' which instantiates (i.e., don't
30173 # use $as_me), people would be surprised to read:
30174 # /* config.h. Generated by config.status. */
30175 if test x
"$ac_file" = x-
; then
30176 echo "/* Generated by configure. */" >$tmp/config.h
30178 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
30180 cat $tmp/in >>$tmp/config.h
30182 if test x
"$ac_file" != x-
; then
30183 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
30184 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
30185 echo "$as_me: $ac_file is unchanged" >&6;}
30187 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
30188 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30189 X"$ac_file" : 'X\(//\)[^/]' \| \
30190 X"$ac_file" : 'X\(//\)$' \| \
30191 X"$ac_file" : 'X\(/\)' \| \
30192 . : '\(.\)' 2>/dev/null ||
30194 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30195 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30196 /^X\(\/\/\)$/{ s//\1/; q; }
30197 /^X\(\/\).*/{ s//\1/; q; }
30199 { if $as_mkdir_p; then
30204 while test ! -d "$as_dir"; do
30205 as_dirs
="$as_dir $as_dirs"
30206 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30207 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30208 X"$as_dir" : 'X\(//\)[^/]' \| \
30209 X"$as_dir" : 'X\(//\)$' \| \
30210 X"$as_dir" : 'X\(/\)' \| \
30211 . : '\(.\)' 2>/dev/null ||
30213 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30214 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30215 /^X\(\/\/\)$/{ s//\1/; q; }
30216 /^X\(\/\).*/{ s//\1/; q; }
30219 test ! -n "$as_dirs" || mkdir
$as_dirs
30220 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30221 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30222 { (exit 1); exit 1; }; }; }
30225 mv $tmp/config.h
$ac_file
30229 rm -f $tmp/config.h
30231 # Compute $ac_file's index in $config_headers.
30233 for _am_header
in $config_headers :; do
30234 case $_am_header in
30235 $ac_file |
$ac_file:* )
30238 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
30241 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
30242 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30243 X$ac_file : 'X\(//\)[^/]' \| \
30244 X$ac_file : 'X\(//\)$' \| \
30245 X$ac_file : 'X\(/\)' \| \
30246 . : '\(.\)' 2>/dev/null ||
30248 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30249 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30250 /^X\(\/\/\)$/{ s//\1/; q; }
30251 /^X\(\/\).*/{ s//\1/; q; }
30252 s/.*/./; q'`/stamp-h
$_am_stamp_count
30255 cat >>$CONFIG_STATUS <<\_ACEOF
30258 # CONFIG_LINKS section.
30261 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
30262 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
30263 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30265 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
30266 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
30268 if test ! -r $srcdir/$ac_source; then
30269 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
30270 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
30271 { (exit 1); exit 1; }; }
30275 # Make relative symlinks.
30276 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
30277 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30278 X"$ac_dest" : 'X\(//\)[^/]' \| \
30279 X"$ac_dest" : 'X\(//\)$' \| \
30280 X"$ac_dest" : 'X\(/\)' \| \
30281 . : '\(.\)' 2>/dev/null ||
30283 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30284 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30285 /^X\(\/\/\)$/{ s//\1/; q; }
30286 /^X\(\/\).*/{ s//\1/; q; }
30288 { if $as_mkdir_p; then
30289 mkdir
-p "$ac_dest_dir"
30291 as_dir
="$ac_dest_dir"
30293 while test ! -d "$as_dir"; do
30294 as_dirs
="$as_dir $as_dirs"
30295 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30296 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30297 X"$as_dir" : 'X\(//\)[^/]' \| \
30298 X"$as_dir" : 'X\(//\)$' \| \
30299 X"$as_dir" : 'X\(/\)' \| \
30300 . : '\(.\)' 2>/dev/null ||
30302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30303 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30304 /^X\(\/\/\)$/{ s//\1/; q; }
30305 /^X\(\/\).*/{ s//\1/; q; }
30308 test ! -n "$as_dirs" || mkdir
$as_dirs
30309 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
30310 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
30311 { (exit 1); exit 1; }; }; }
30315 if test "$ac_dest_dir" != .
; then
30316 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
30317 # A "../" for each directory in $ac_dir_suffix.
30318 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30320 ac_dir_suffix
= ac_top_builddir
=
30324 .
) # No --srcdir option. We are building in place.
30326 if test -z "$ac_top_builddir"; then
30329 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
30331 [\\/]* | ?
:[\\/]* ) # Absolute path.
30332 ac_srcdir
=$srcdir$ac_dir_suffix;
30333 ac_top_srcdir
=$srcdir ;;
30334 *) # Relative path.
30335 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
30336 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
30339 # Do not use `cd foo && pwd` to compute absolute paths, because
30340 # the directories may not exist.
30342 .
) ac_abs_builddir
="$ac_dest_dir";;
30344 case "$ac_dest_dir" in
30345 .
) ac_abs_builddir
=`pwd`;;
30346 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
30347 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
30350 case $ac_abs_builddir in
30351 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30353 case ${ac_top_builddir}.
in
30354 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
30355 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30356 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
30359 case $ac_abs_builddir in
30360 .
) ac_abs_srcdir
=$ac_srcdir;;
30363 .
) ac_abs_srcdir
=$ac_abs_builddir;;
30364 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
30365 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
30368 case $ac_abs_builddir in
30369 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
30371 case $ac_top_srcdir in
30372 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
30373 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
30374 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
30380 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
30381 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
30384 # Try a symlink, then a hard link, then a copy.
30385 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
30386 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
30387 cp -p $srcdir/$ac_source $ac_dest ||
30388 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
30389 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
30390 { (exit 1); exit 1; }; }
30393 cat >>$CONFIG_STATUS <<\_ACEOF
30396 # CONFIG_COMMANDS section.
30398 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
30399 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
30400 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30401 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
30402 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30403 X"$ac_dest" : 'X\(//\)[^/]' \| \
30404 X"$ac_dest" : 'X\(//\)$' \| \
30405 X"$ac_dest" : 'X\(/\)' \| \
30406 . : '\(.\)' 2>/dev/null ||
30408 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30409 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30410 /^X\(\/\/\)$/{ s//\1/; q; }
30411 /^X\(\/\).*/{ s//\1/; q; }
30413 { if $as_mkdir_p; then
30418 while test ! -d "$as_dir"; do
30419 as_dirs
="$as_dir $as_dirs"
30420 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30421 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30422 X"$as_dir" : 'X\(//\)[^/]' \| \
30423 X"$as_dir" : 'X\(//\)$' \| \
30424 X"$as_dir" : 'X\(/\)' \| \
30425 . : '\(.\)' 2>/dev/null ||
30427 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30428 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30429 /^X\(\/\/\)$/{ s//\1/; q; }
30430 /^X\(\/\).*/{ s//\1/; q; }
30433 test ! -n "$as_dirs" || mkdir
$as_dirs
30434 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30435 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30436 { (exit 1); exit 1; }; }; }
30440 if test "$ac_dir" != .
; then
30441 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30442 # A "../" for each directory in $ac_dir_suffix.
30443 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30445 ac_dir_suffix
= ac_top_builddir
=
30449 .
) # No --srcdir option. We are building in place.
30451 if test -z "$ac_top_builddir"; then
30454 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
30456 [\\/]* | ?
:[\\/]* ) # Absolute path.
30457 ac_srcdir
=$srcdir$ac_dir_suffix;
30458 ac_top_srcdir
=$srcdir ;;
30459 *) # Relative path.
30460 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
30461 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
30464 # Do not use `cd foo && pwd` to compute absolute paths, because
30465 # the directories may not exist.
30467 .
) ac_abs_builddir
="$ac_dir";;
30470 .
) ac_abs_builddir
=`pwd`;;
30471 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
30472 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
30475 case $ac_abs_builddir in
30476 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30478 case ${ac_top_builddir}.
in
30479 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
30480 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30481 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
30484 case $ac_abs_builddir in
30485 .
) ac_abs_srcdir
=$ac_srcdir;;
30488 .
) ac_abs_srcdir
=$ac_abs_builddir;;
30489 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
30490 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
30493 case $ac_abs_builddir in
30494 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
30496 case $ac_top_srcdir in
30497 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
30498 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
30499 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
30504 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
30505 echo "$as_me: executing $ac_dest commands" >&6;}
30508 # Only add multilib support code if we just rebuilt the top-level
30510 case " $CONFIG_FILES " in
30512 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
30515 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
30516 # Strip MF so we end up with the name of the file.
30517 mf
=`echo "$mf" | sed -e 's/:.*$//'`
30518 # Check whether this is an Automake generated Makefile or not.
30519 # We used to match only the files named `Makefile.in', but
30520 # some people rename them; so instead we look at the file content.
30521 # Grep'ing the first line is not enough: some people post-process
30522 # each Makefile.in and add a new line on top of each file to say so.
30523 # So let's grep whole file.
30524 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
30525 dirpart
=`(dirname "$mf") 2>/dev/null ||
30526 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30527 X"$mf" : 'X\(//\)[^/]' \| \
30528 X"$mf" : 'X\(//\)$' \| \
30529 X"$mf" : 'X\(/\)' \| \
30530 . : '\(.\)' 2>/dev/null ||
30532 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30533 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30534 /^X\(\/\/\)$/{ s//\1/; q; }
30535 /^X\(\/\).*/{ s//\1/; q; }
30540 # Extract the definition of DEPDIR, am__include, and am__quote
30541 # from the Makefile without running `make'.
30542 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
30543 test -z "$DEPDIR" && continue
30544 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
30545 test -z "am__include" && continue
30546 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
30547 # When using ansi2knr, U may be empty or an underscore; expand it
30548 U
=`sed -n 's/^U = //p' < "$mf"`
30549 # Find all dependency output files, they are included files with
30550 # $(DEPDIR) in their names. We invoke sed twice because it is the
30551 # simplest approach to changing $(DEPDIR) to its actual value in the
30553 for file in `sed -n "
30554 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
30555 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
30556 # Make sure the directory exists.
30557 test -f "$dirpart/$file" && continue
30558 fdir
=`(dirname "$file") 2>/dev/null ||
30559 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30560 X"$file" : 'X\(//\)[^/]' \| \
30561 X"$file" : 'X\(//\)$' \| \
30562 X"$file" : 'X\(/\)' \| \
30563 . : '\(.\)' 2>/dev/null ||
30565 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30566 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30567 /^X\(\/\/\)$/{ s//\1/; q; }
30568 /^X\(\/\).*/{ s//\1/; q; }
30570 { if $as_mkdir_p; then
30571 mkdir
-p $dirpart/$fdir
30573 as_dir
=$dirpart/$fdir
30575 while test ! -d "$as_dir"; do
30576 as_dirs
="$as_dir $as_dirs"
30577 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30578 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30579 X"$as_dir" : 'X\(//\)[^/]' \| \
30580 X"$as_dir" : 'X\(//\)$' \| \
30581 X"$as_dir" : 'X\(/\)' \| \
30582 . : '\(.\)' 2>/dev/null ||
30584 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30585 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30586 /^X\(\/\/\)$/{ s//\1/; q; }
30587 /^X\(\/\).*/{ s//\1/; q; }
30590 test ! -n "$as_dirs" || mkdir
$as_dirs
30591 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
30592 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
30593 { (exit 1); exit 1; }; }; }
30595 # echo "creating $dirpart/$file"
30596 echo '# dummy' > "$dirpart/$file"
30602 # See if we are running on zsh, and set the options which allow our
30603 # commands through without removal of \ escapes.
30604 if test -n "${ZSH_VERSION+set}" ; then
30605 setopt NO_GLOB_SUBST
30608 cfgfile
="${ofile}T"
30609 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
30612 cat <<_LT_EOF >> "$cfgfile"
30615 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
30616 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
30617 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
30618 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
30620 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
30621 # 2006, 2007 Free Software Foundation, Inc.
30623 # This file is part of GNU Libtool:
30624 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
30626 # This program is free software; you can redistribute it and/or modify
30627 # it under the terms of the GNU General Public License as published by
30628 # the Free Software Foundation; either version 2 of the License, or
30629 # (at your option) any later version.
30631 # This program is distributed in the hope that it will be useful, but
30632 # WITHOUT ANY WARRANTY; without even the implied warranty of
30633 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
30634 # General Public License for more details.
30636 # You should have received a copy of the GNU General Public License
30637 # along with this program; if not, a copy can be downloaded from
30638 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
30639 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
30640 # MA 02110-1301, USA.
30642 # As a special exception to the GNU General Public License, if you
30643 # distribute this file as part of a program that contains a
30644 # configuration script generated by Autoconf, you may include it under
30645 # the same distribution terms that you use for the rest of that program.
30648 # The names of the tagged configurations supported by this script.
30649 available_tags="CXX GCJ "
30651 # ### BEGIN LIBTOOL CONFIG
30653 # Which release of libtool.m4 was used?
30654 macro_version=$macro_version
30655 macro_revision=$macro_revision
30657 # Whether or not to build shared libraries.
30658 build_libtool_libs=$enable_shared
30660 # Whether or not to build static libraries.
30661 build_old_libs=$enable_static
30663 # What type of objects to build.
30666 # Whether or not to optimize for fast installation.
30667 fast_install=$enable_fast_install
30670 host_alias=$host_alias
30674 # The build system.
30675 build_alias=$build_alias
30679 # A sed program that does not truncate output.
30682 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
30683 Xsed="\$SED -e 1s/^X//"
30685 # A grep program that handles long lines.
30691 # A literal string matcher.
30694 # A BSD- or MS-compatible name lister.
30697 # Whether we need soft or hard links.
30700 # What is the maximum length of a command?
30701 max_cmd_len=$max_cmd_len
30703 # Object file suffix (normally "o").
30706 # Executable file suffix (normally "").
30709 # whether the shell understands "unset".
30712 # turn spaces into newlines.
30715 # turn newlines into spaces.
30718 # How to create reloadable object files.
30719 reload_flag=$lt_reload_flag
30720 reload_cmds=$lt_reload_cmds
30722 # Method to check whether dependent libraries are shared objects.
30723 deplibs_check_method=$lt_deplibs_check_method
30725 # Command to use when deplibs_check_method == "file_magic".
30726 file_magic_cmd=$lt_file_magic_cmd
30730 AR_FLAGS=$lt_AR_FLAGS
30732 # A symbol stripping program.
30735 # Commands used to install an old-style archive.
30737 old_postinstall_cmds=$lt_old_postinstall_cmds
30738 old_postuninstall_cmds=$lt_old_postuninstall_cmds
30743 # LTCC compiler flags.
30744 LTCFLAGS=$lt_CFLAGS
30746 # Take the output of nm and produce a listing of raw symbols and C names.
30747 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
30749 # Transform the output of nm in a proper C declaration.
30750 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
30752 # Transform the output of nm in a C name address pair.
30753 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
30755 # The name of the directory that contains temporary libtool files.
30758 # Shell to use when invoking shell scripts.
30761 # An echo program that does not interpret backslashes.
30764 # Used to examine libraries when file_magic_cmd begins with "file".
30765 MAGIC_CMD=$MAGIC_CMD
30767 # Must we lock files when doing compilation?
30768 need_locks=$lt_need_locks
30770 # Old archive suffix (normally "a").
30773 # Shared library suffix (normally ".so").
30774 shrext_cmds=$lt_shrext_cmds
30776 # The commands to extract the exported symbol list from a shared archive.
30777 extract_expsyms_cmds=$lt_extract_expsyms_cmds
30779 # Variables whose values should be saved in libtool wrapper scripts and
30780 # restored at link time.
30781 variables_saved_for_relink=$lt_variables_saved_for_relink
30783 # Do we need the "lib" prefix for modules?
30784 need_lib_prefix=$need_lib_prefix
30786 # Do we need a version for libraries?
30787 need_version=$need_version
30789 # Library versioning type.
30790 version_type=$version_type
30792 # Shared library runtime path variable.
30793 runpath_var=$runpath_var
30795 # Shared library path variable.
30796 shlibpath_var=$shlibpath_var
30798 # Is shlibpath searched before the hard-coded library search path?
30799 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
30801 # Format of library name prefix.
30802 libname_spec=$lt_libname_spec
30804 # List of archive names. First name is the real one, the rest are links.
30805 # The last name is the one that the linker finds with -lNAME
30806 library_names_spec=$lt_library_names_spec
30808 # The coded name of the library, if different from the real name.
30809 soname_spec=$lt_soname_spec
30811 # Command to use after installation of a shared archive.
30812 postinstall_cmds=$lt_postinstall_cmds
30814 # Command to use after uninstallation of a shared archive.
30815 postuninstall_cmds=$lt_postuninstall_cmds
30817 # Commands used to finish a libtool library installation in a directory.
30818 finish_cmds=$lt_finish_cmds
30820 # As "finish_cmds", except a single script fragment to be evaled but
30822 finish_eval=$lt_finish_eval
30824 # Whether we should hardcode library paths into libraries.
30825 hardcode_into_libs=$hardcode_into_libs
30827 # Compile-time system search path for libraries.
30828 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
30830 # Run-time system search path for libraries.
30831 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
30833 # Whether dlopen is supported.
30834 dlopen_support=$enable_dlopen
30836 # Whether dlopen of programs is supported.
30837 dlopen_self=$enable_dlopen_self
30839 # Whether dlopen of statically linked programs is supported.
30840 dlopen_self_static=$enable_dlopen_self_static
30842 # Commands to strip libraries.
30843 old_striplib=$lt_old_striplib
30844 striplib=$lt_striplib
30847 # The linker used to build libraries.
30850 # Commands used to build an old-style archive.
30851 old_archive_cmds=$lt_old_archive_cmds
30853 # A language specific compiler.
30856 # Is the compiler the GNU compiler?
30859 # Compiler flag to turn off builtin functions.
30860 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
30862 # How to pass a linker flag through the compiler.
30863 wl=$lt_lt_prog_compiler_wl
30865 # Additional compiler flags for building library objects.
30866 pic_flag=$lt_lt_prog_compiler_pic
30868 # Compiler flag to prevent dynamic linking.
30869 link_static_flag=$lt_lt_prog_compiler_static
30871 # Does compiler simultaneously support -c and -o options?
30872 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
30874 # Whether or not to add -lc for building shared libraries.
30875 build_libtool_need_lc=$archive_cmds_need_lc
30877 # Whether or not to disallow shared libs when runtime libs are static.
30878 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
30880 # Compiler flag to allow reflexive dlopens.
30881 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
30883 # Compiler flag to generate shared objects directly from archives.
30884 whole_archive_flag_spec=$lt_whole_archive_flag_spec
30886 # Whether the compiler copes with passing no objects directly.
30887 compiler_needs_object=$lt_compiler_needs_object
30889 # Create an old-style archive from a shared archive.
30890 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
30892 # Create a temporary old-style archive to link instead of a shared archive.
30893 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
30895 # Commands used to build a shared archive.
30896 archive_cmds=$lt_archive_cmds
30897 archive_expsym_cmds=$lt_archive_expsym_cmds
30899 # Commands used to build a loadable module if different from building
30900 # a shared archive.
30901 module_cmds=$lt_module_cmds
30902 module_expsym_cmds=$lt_module_expsym_cmds
30904 # Whether we are building with GNU ld or not.
30905 with_gnu_ld=$lt_with_gnu_ld
30907 # Flag that allows shared libraries with undefined symbols to be built.
30908 allow_undefined_flag=$lt_allow_undefined_flag
30910 # Flag that enforces no undefined symbols.
30911 no_undefined_flag=$lt_no_undefined_flag
30913 # Flag to hardcode \$libdir into a binary during linking.
30914 # This must work even if \$libdir does not exist
30915 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
30917 # If ld is used when linking, flag to hardcode \$libdir into a binary
30918 # during linking. This must work even if \$libdir does not exist.
30919 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
30921 # Whether we need a single "-rpath" flag with a separated argument.
30922 hardcode_libdir_separator=$lt_hardcode_libdir_separator
30924 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30925 # DIR into the resulting binary.
30926 hardcode_direct=$hardcode_direct
30928 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30929 # DIR into the resulting binary and the resulting library dependency is
30930 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
30931 # library is relocated.
30932 hardcode_direct_absolute=$hardcode_direct_absolute
30934 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30935 # into the resulting binary.
30936 hardcode_minus_L=$hardcode_minus_L
30938 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
30939 # into the resulting binary.
30940 hardcode_shlibpath_var=$hardcode_shlibpath_var
30942 # Set to "yes" if building a shared library automatically hardcodes DIR
30943 # into the library and all subsequent libraries and executables linked
30945 hardcode_automatic=$hardcode_automatic
30947 # Set to yes if linker adds runtime paths of dependent libraries
30948 # to runtime path list.
30949 inherit_rpath=$inherit_rpath
30951 # Whether libtool must link a program against all its dependency libraries.
30952 link_all_deplibs=$link_all_deplibs
30954 # Fix the shell variable \$srcfile for the compiler.
30955 fix_srcfile_path=$lt_fix_srcfile_path
30957 # Set to "yes" if exported symbols are required.
30958 always_export_symbols=$always_export_symbols
30960 # The commands to list exported symbols.
30961 export_symbols_cmds=$lt_export_symbols_cmds
30963 # Symbols that should not be listed in the preloaded symbols.
30964 exclude_expsyms=$lt_exclude_expsyms
30966 # Symbols that must always be exported.
30967 include_expsyms=$lt_include_expsyms
30969 # Commands necessary for linking programs (against libraries) with templates.
30970 prelink_cmds=$lt_prelink_cmds
30972 # Specify filename containing input files.
30973 file_list_spec=$lt_file_list_spec
30975 # How to hardcode a shared library path into an executable.
30976 hardcode_action=$hardcode_action
30978 # Dependencies to place before and after the objects being linked to
30979 # create a shared library.
30980 predep_objects=$lt_predep_objects
30981 postdep_objects=$lt_postdep_objects
30982 predeps=$lt_predeps
30983 postdeps=$lt_postdeps
30985 # The library search path used internally by the compiler when linking
30986 # a shared library.
30987 compiler_lib_search_path=$lt_compiler_lib_search_path
30989 # ### END LIBTOOL CONFIG
30995 cat <<\_LT_EOF
>> "$cfgfile"
30996 # AIX sometimes has problems with the GCC collect2 program. For some
30997 # reason, if we set the COLLECT_NAMES environment variable, the problems
30998 # vanish in a puff of smoke.
30999 if test "X${COLLECT_NAMES+set}" != Xset
; then
31001 export COLLECT_NAMES
31008 ltmain
="$ac_aux_dir/ltmain.sh"
31011 # We use sed instead of cat because bash on DJGPP gets confused if
31012 # if finds mixed CR/LF and LF-only lines. Since sed operates in
31013 # text mode, it properly converts lines to CR/LF. This bash problem
31014 # is reportedly fixed, but why not run on old versions too?
31015 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
31016 ||
(rm -f "$cfgfile"; exit 1)
31020 cat << \_LT_EOF
>> "$cfgfile"
31021 # func_dirname file append nondir_replacement
31022 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
31023 # otherwise set result to NONDIR_REPLACEMENT.
31027 */*) func_dirname_result
="${1%/*}${2}" ;;
31028 * ) func_dirname_result
="${3}" ;;
31032 # func_basename file
31035 func_basename_result
="${1##*/}"
31038 # func_stripname prefix suffix name
31039 # strip PREFIX and SUFFIX off of NAME.
31040 # PREFIX and SUFFIX must not contain globbing or regex special
31041 # characters, hashes, percent signs, but SUFFIX may contain a leading
31042 # dot (in which case that matches only a dot).
31045 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
31046 # positional parameters, so assign one to ordinary parameter first.
31047 func_stripname_result
=${3}
31048 func_stripname_result
=${func_stripname_result#"${1}"}
31049 func_stripname_result
=${func_stripname_result%"${2}"}
31055 func_opt_split_opt
=${1%%=*}
31056 func_opt_split_arg
=${1#*=}
31063 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
31064 *) func_lo2o_result
=${1} ;;
31069 *) # Bourne compatible functions.
31070 cat << \_LT_EOF
>> "$cfgfile"
31071 # func_dirname file append nondir_replacement
31072 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
31073 # otherwise set result to NONDIR_REPLACEMENT.
31076 # Extract subdirectory from the argument.
31077 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
31078 if test "X$func_dirname_result" = "X${1}"; then
31079 func_dirname_result
="${3}"
31081 func_dirname_result
="$func_dirname_result${2}"
31085 # func_basename file
31088 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
31091 # func_stripname prefix suffix name
31092 # strip PREFIX and SUFFIX off of NAME.
31093 # PREFIX and SUFFIX must not contain globbing or regex special
31094 # characters, hashes, percent signs, but SUFFIX may contain a leading
31095 # dot (in which case that matches only a dot).
31096 # func_strip_suffix prefix name
31100 .
*) func_stripname_result
=`$ECHO "X${3}" \
31101 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
31102 *) func_stripname_result
=`$ECHO "X${3}" \
31103 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
31108 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
31109 my_sed_long_arg
='1s/^-[^=]*=//'
31114 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
31115 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
31121 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
31126 case $lt_shell_append in
31128 cat << \_LT_EOF
>> "$cfgfile"
31130 # func_append var value
31131 # Append VALUE to the end of shell variable VAR.
31139 cat << \_LT_EOF
>> "$cfgfile"
31141 # func_append var value
31142 # Append VALUE to the end of shell variable VAR.
31152 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
31153 ||
(rm -f "$cfgfile"; exit 1)
31155 mv -f "$cfgfile" "$ofile" ||
31156 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
31160 cat <<_LT_EOF >> "$ofile"
31162 # ### BEGIN LIBTOOL TAG CONFIG: CXX
31164 # The linker used to build libraries.
31167 # Commands used to build an old-style archive.
31168 old_archive_cmds=$lt_old_archive_cmds_CXX
31170 # A language specific compiler.
31171 CC=$lt_compiler_CXX
31173 # Is the compiler the GNU compiler?
31176 # Compiler flag to turn off builtin functions.
31177 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
31179 # How to pass a linker flag through the compiler.
31180 wl=$lt_lt_prog_compiler_wl_CXX
31182 # Additional compiler flags for building library objects.
31183 pic_flag=$lt_lt_prog_compiler_pic_CXX
31185 # Compiler flag to prevent dynamic linking.
31186 link_static_flag=$lt_lt_prog_compiler_static_CXX
31188 # Does compiler simultaneously support -c and -o options?
31189 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
31191 # Whether or not to add -lc for building shared libraries.
31192 build_libtool_need_lc=$archive_cmds_need_lc_CXX
31194 # Whether or not to disallow shared libs when runtime libs are static.
31195 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
31197 # Compiler flag to allow reflexive dlopens.
31198 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
31200 # Compiler flag to generate shared objects directly from archives.
31201 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
31203 # Whether the compiler copes with passing no objects directly.
31204 compiler_needs_object=$lt_compiler_needs_object_CXX
31206 # Create an old-style archive from a shared archive.
31207 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
31209 # Create a temporary old-style archive to link instead of a shared archive.
31210 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
31212 # Commands used to build a shared archive.
31213 archive_cmds=$lt_archive_cmds_CXX
31214 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
31216 # Commands used to build a loadable module if different from building
31217 # a shared archive.
31218 module_cmds=$lt_module_cmds_CXX
31219 module_expsym_cmds=$lt_module_expsym_cmds_CXX
31221 # Whether we are building with GNU ld or not.
31222 with_gnu_ld=$lt_with_gnu_ld_CXX
31224 # Flag that allows shared libraries with undefined symbols to be built.
31225 allow_undefined_flag=$lt_allow_undefined_flag_CXX
31227 # Flag that enforces no undefined symbols.
31228 no_undefined_flag=$lt_no_undefined_flag_CXX
31230 # Flag to hardcode \$libdir into a binary during linking.
31231 # This must work even if \$libdir does not exist
31232 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
31234 # If ld is used when linking, flag to hardcode \$libdir into a binary
31235 # during linking. This must work even if \$libdir does not exist.
31236 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
31238 # Whether we need a single "-rpath" flag with a separated argument.
31239 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
31241 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
31242 # DIR into the resulting binary.
31243 hardcode_direct=$hardcode_direct_CXX
31245 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
31246 # DIR into the resulting binary and the resulting library dependency is
31247 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
31248 # library is relocated.
31249 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
31251 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
31252 # into the resulting binary.
31253 hardcode_minus_L=$hardcode_minus_L_CXX
31255 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
31256 # into the resulting binary.
31257 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
31259 # Set to "yes" if building a shared library automatically hardcodes DIR
31260 # into the library and all subsequent libraries and executables linked
31262 hardcode_automatic=$hardcode_automatic_CXX
31264 # Set to yes if linker adds runtime paths of dependent libraries
31265 # to runtime path list.
31266 inherit_rpath=$inherit_rpath_CXX
31268 # Whether libtool must link a program against all its dependency libraries.
31269 link_all_deplibs=$link_all_deplibs_CXX
31271 # Fix the shell variable \$srcfile for the compiler.
31272 fix_srcfile_path=$lt_fix_srcfile_path_CXX
31274 # Set to "yes" if exported symbols are required.
31275 always_export_symbols=$always_export_symbols_CXX
31277 # The commands to list exported symbols.
31278 export_symbols_cmds=$lt_export_symbols_cmds_CXX
31280 # Symbols that should not be listed in the preloaded symbols.
31281 exclude_expsyms=$lt_exclude_expsyms_CXX
31283 # Symbols that must always be exported.
31284 include_expsyms=$lt_include_expsyms_CXX
31286 # Commands necessary for linking programs (against libraries) with templates.
31287 prelink_cmds=$lt_prelink_cmds_CXX
31289 # Specify filename containing input files.
31290 file_list_spec=$lt_file_list_spec_CXX
31292 # How to hardcode a shared library path into an executable.
31293 hardcode_action=$hardcode_action_CXX
31295 # Dependencies to place before and after the objects being linked to
31296 # create a shared library.
31297 predep_objects=$lt_predep_objects_CXX
31298 postdep_objects=$lt_postdep_objects_CXX
31299 predeps=$lt_predeps_CXX
31300 postdeps=$lt_postdeps_CXX
31302 # The library search path used internally by the compiler when linking
31303 # a shared library.
31304 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
31306 # ### END LIBTOOL TAG CONFIG: CXX
31310 cat <<_LT_EOF >> "$ofile"
31312 # ### BEGIN LIBTOOL TAG CONFIG: GCJ
31314 # The linker used to build libraries.
31317 # Commands used to build an old-style archive.
31318 old_archive_cmds=$lt_old_archive_cmds_GCJ
31320 # A language specific compiler.
31321 CC=$lt_compiler_GCJ
31323 # Is the compiler the GNU compiler?
31326 # Compiler flag to turn off builtin functions.
31327 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
31329 # How to pass a linker flag through the compiler.
31330 wl=$lt_lt_prog_compiler_wl_GCJ
31332 # Additional compiler flags for building library objects.
31333 pic_flag=$lt_lt_prog_compiler_pic_GCJ
31335 # Compiler flag to prevent dynamic linking.
31336 link_static_flag=$lt_lt_prog_compiler_static_GCJ
31338 # Does compiler simultaneously support -c and -o options?
31339 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
31341 # Whether or not to add -lc for building shared libraries.
31342 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
31344 # Whether or not to disallow shared libs when runtime libs are static.
31345 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
31347 # Compiler flag to allow reflexive dlopens.
31348 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
31350 # Compiler flag to generate shared objects directly from archives.
31351 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
31353 # Whether the compiler copes with passing no objects directly.
31354 compiler_needs_object=$lt_compiler_needs_object_GCJ
31356 # Create an old-style archive from a shared archive.
31357 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
31359 # Create a temporary old-style archive to link instead of a shared archive.
31360 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
31362 # Commands used to build a shared archive.
31363 archive_cmds=$lt_archive_cmds_GCJ
31364 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
31366 # Commands used to build a loadable module if different from building
31367 # a shared archive.
31368 module_cmds=$lt_module_cmds_GCJ
31369 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
31371 # Whether we are building with GNU ld or not.
31372 with_gnu_ld=$lt_with_gnu_ld_GCJ
31374 # Flag that allows shared libraries with undefined symbols to be built.
31375 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
31377 # Flag that enforces no undefined symbols.
31378 no_undefined_flag=$lt_no_undefined_flag_GCJ
31380 # Flag to hardcode \$libdir into a binary during linking.
31381 # This must work even if \$libdir does not exist
31382 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
31384 # If ld is used when linking, flag to hardcode \$libdir into a binary
31385 # during linking. This must work even if \$libdir does not exist.
31386 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
31388 # Whether we need a single "-rpath" flag with a separated argument.
31389 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
31391 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
31392 # DIR into the resulting binary.
31393 hardcode_direct=$hardcode_direct_GCJ
31395 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
31396 # DIR into the resulting binary and the resulting library dependency is
31397 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
31398 # library is relocated.
31399 hardcode_direct_absolute=$hardcode_direct_absolute_GCJ
31401 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
31402 # into the resulting binary.
31403 hardcode_minus_L=$hardcode_minus_L_GCJ
31405 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
31406 # into the resulting binary.
31407 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
31409 # Set to "yes" if building a shared library automatically hardcodes DIR
31410 # into the library and all subsequent libraries and executables linked
31412 hardcode_automatic=$hardcode_automatic_GCJ
31414 # Set to yes if linker adds runtime paths of dependent libraries
31415 # to runtime path list.
31416 inherit_rpath=$inherit_rpath_GCJ
31418 # Whether libtool must link a program against all its dependency libraries.
31419 link_all_deplibs=$link_all_deplibs_GCJ
31421 # Fix the shell variable \$srcfile for the compiler.
31422 fix_srcfile_path=$lt_fix_srcfile_path_GCJ
31424 # Set to "yes" if exported symbols are required.
31425 always_export_symbols=$always_export_symbols_GCJ
31427 # The commands to list exported symbols.
31428 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
31430 # Symbols that should not be listed in the preloaded symbols.
31431 exclude_expsyms=$lt_exclude_expsyms_GCJ
31433 # Symbols that must always be exported.
31434 include_expsyms=$lt_include_expsyms_GCJ
31436 # Commands necessary for linking programs (against libraries) with templates.
31437 prelink_cmds=$lt_prelink_cmds_GCJ
31439 # Specify filename containing input files.
31440 file_list_spec=$lt_file_list_spec_GCJ
31442 # How to hardcode a shared library path into an executable.
31443 hardcode_action=$hardcode_action_GCJ
31445 # Dependencies to place before and after the objects being linked to
31446 # create a shared library.
31447 predep_objects=$lt_predep_objects_GCJ
31448 postdep_objects=$lt_postdep_objects_GCJ
31449 predeps=$lt_predeps_GCJ
31450 postdeps=$lt_postdeps_GCJ
31452 # The library search path used internally by the compiler when linking
31453 # a shared library.
31454 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
31456 # ### END LIBTOOL TAG CONFIG: GCJ
31464 cat >>$CONFIG_STATUS <<\_ACEOF
31466 { (exit 0); exit 0; }
31468 chmod +x
$CONFIG_STATUS
31469 ac_clean_files
=$ac_clean_files_save
31472 # configure is writing to config.log, and then calls config.status.
31473 # config.status does its own redirection, appending to config.log.
31474 # Unfortunately, on DOS this fails, as config.log is still kept open
31475 # by configure, so config.status won't be able to write to it; its
31476 # output is simply discarded. So we exec the FD to /dev/null,
31477 # effectively closing config.log, so it can be properly (re)opened and
31478 # appended to by config.status. When coming back to configure, we
31479 # need to make the FD available again.
31480 if test "$no_create" != yes; then
31482 ac_config_status_args
=
31483 test "$silent" = yes &&
31484 ac_config_status_args
="$ac_config_status_args --quiet"
31486 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
31488 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
31489 # would make configure fail if this is the last instruction.
31490 $ac_cs_success ||
{ (exit 1); exit 1; }
31494 # CONFIG_SUBDIRS section, as fixed in confsubdir.m4.
31496 if test "$no_recursion" != yes; then
31498 # Remove --cache-file and --srcdir arguments so they do not pile up.
31499 ac_sub_configure_args
=
31501 eval "set x $ac_configure_args"
31505 if test -n "$ac_prev"; then
31510 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
31511 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
31512 ac_prev
=cache_file
;;
31513 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
31514 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
31517 --config-cache |
-C)
31519 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
31521 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
31523 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
31525 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
31529 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
31531 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
31535 # Always prepend --prefix to ensure using the same prefix
31536 # in subdir configurations.
31537 ac_arg
="--prefix=$prefix"
31539 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
31541 ac_sub_configure_args
="$ac_arg $ac_sub_configure_args"
31544 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
31546 # Do not complain, so a configure script can configure whichever
31547 # parts of a large source tree are present.
31548 test -d "$srcdir/$ac_dir" ||
continue
31550 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
31551 echo "$as_me: configuring in $ac_dir" >&6;}
31552 { if $as_mkdir_p; then
31557 while test ! -d "$as_dir"; do
31558 as_dirs
="$as_dir $as_dirs"
31559 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31560 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31561 X"$as_dir" : 'X\(//\)[^/]' \| \
31562 X"$as_dir" : 'X\(//\)$' \| \
31563 X"$as_dir" : 'X\(/\)' \| \
31564 . : '\(.\)' 2>/dev/null ||
31566 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31567 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31568 /^X\(\/\/\)$/{ s//\1/; q; }
31569 /^X\(\/\).*/{ s//\1/; q; }
31572 test ! -n "$as_dirs" || mkdir
$as_dirs
31573 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31574 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31575 { (exit 1); exit 1; }; }; }
31579 if test "$ac_dir" != .
; then
31580 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31581 # A "../" for each directory in $ac_dir_suffix.
31582 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31584 ac_dir_suffix
= ac_top_builddir
=
31588 .
) # No --srcdir option. We are building in place.
31590 if test -z "$ac_top_builddir"; then
31593 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
31595 [\\/]* | ?
:[\\/]* ) # Absolute path.
31596 ac_srcdir
=$srcdir$ac_dir_suffix;
31597 ac_top_srcdir
=$srcdir ;;
31598 *) # Relative path.
31599 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
31600 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
31603 # Do not use `cd foo && pwd` to compute absolute paths, because
31604 # the directories may not exist.
31606 .
) ac_abs_builddir
="$ac_dir";;
31609 .
) ac_abs_builddir
=`pwd`;;
31610 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
31611 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
31614 case $ac_abs_builddir in
31615 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31617 case ${ac_top_builddir}.
in
31618 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
31619 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31620 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
31623 case $ac_abs_builddir in
31624 .
) ac_abs_srcdir
=$ac_srcdir;;
31627 .
) ac_abs_srcdir
=$ac_abs_builddir;;
31628 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
31629 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
31632 case $ac_abs_builddir in
31633 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
31635 case $ac_top_srcdir in
31636 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
31637 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
31638 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
31645 # Check for guested configure; otherwise get Cygnus style configure.
31646 if test -f "$ac_srcdir/configure.gnu"; then
31647 ac_sub_configure
=$ac_srcdir/configure.gnu
31648 elif test -f "$ac_srcdir/configure"; then
31649 ac_sub_configure
=$ac_srcdir/configure
31650 elif test -f "$ac_srcdir/configure.in"; then
31651 # This should be Cygnus configure.
31652 ac_sub_configure
=$ac_aux_dir/configure
31654 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
31655 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
31659 # The recursion is here.
31660 if test -n "$ac_sub_configure"; then
31661 # Make the cache file name correct relative to the subdirectory.
31662 case $cache_file in
31663 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
31664 *) # Relative path.
31665 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
31668 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
31669 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
31670 # The eval makes quoting arguments work.
31671 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
31672 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
31673 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
31674 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
31675 { (exit 1); exit 1; }; }