2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for libjava version-unused.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # Check that we are running under the correct shell.
246 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Remove one level of quotation (which was required for Make).
251 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
256 if test "X$1" = X--no-reexec
; then
257 # Discard the --no-reexec flag, and continue.
259 elif test "X$1" = X--fallback-echo
; then
260 # Avoid inline document here, it may be left over
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo
; then
271 # used as fallback echo
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
281 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
283 if test -z "$lt_ECHO"; then
284 if test "X${echo_test_string+set}" != Xset
; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
289 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
305 # So, first we look for a working echo in the user's PATH.
307 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
308 for dir
in $PATH /usr
/ucb
; do
310 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
320 if test "X$ECHO" = Xecho
; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
327 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL
=/bin
/ksh
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
343 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
349 SHELL
="$CONFIG_SHELL"
351 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
358 # maybe with a smaller string...
361 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string
=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
374 # Oops. We lost completely, so just stick with echo.
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
403 ac_default_prefix
=/usr
/local
404 ac_config_libobj_dir
=.
409 SHELL
=${CONFIG_SHELL-/bin/sh}
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
416 # Identity of this package.
417 PACKAGE_NAME
='libjava'
418 PACKAGE_TARNAME
='libjava'
419 PACKAGE_VERSION
='version-unused'
420 PACKAGE_STRING
='libjava version-unused'
423 ac_unique_file
="java/lang/System.java"
424 # Factoring default headers for most tests.
425 ac_includes_default
="\
428 # include <sys/types.h>
431 # include <sys/stat.h>
442 # if !STDC_HEADERS && HAVE_MEMORY_H
448 # include <strings.h>
451 # include <inttypes.h>
461 ac_subdirs_all
="$ac_subdirs_all classpath libltdl"
462 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os build_libsubdir build_subdir host_subdir target_subdir multi_basedir host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical LN_S mkinstalldirs JAVA_MAINTAINER_MODE_TRUE JAVA_MAINTAINER_MODE_FALSE CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LDFLAGS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE AS ac_ct_AS LD ac_ct_LD AR ac_ct_AR RANLIB ac_ct_RANLIB JAR ZIP UNZIP MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBGCJ_CFLAGS LIBGCJ_CXXFLAGS LIBGCJ_JAVAFLAGS LIBGCJ_LD_SYMBOLIC LIBGCJ_LD_SYMBOLIC_FUNCTIONS LIBGCJDEBUG TOOLKIT XLIB_AWT_TRUE XLIB_AWT_FALSE X_AWT_TRUE X_AWT_FALSE GCJ_FOR_ECJX GCJH host_exeext INCLTDL LIBLTDL DIRLTDL LIBTOOL SED EGREP FGREP GREP DUMPBIN ac_ct_DUMPBIN NM lt_ECHO CPP CPPFLAGS CXXCPP GCJ GCJFLAGS GCJDEPMODE am__fastdepGCJ_TRUE am__fastdepGCJ_FALSE subdirs TESTSUBDIR_TRUE TESTSUBDIR_FALSE ECJ_BUILD_JAR ECJ_JAR BUILD_ECJ1_TRUE BUILD_ECJ1_FALSE INSTALL_ECJ_JAR_TRUE INSTALL_ECJ_JAR_FALSE JAVA_HOME_SET_TRUE JAVA_HOME_SET_FALSE JAVA_HOME SUPPRESS_LIBGCJ_BC_TRUE SUPPRESS_LIBGCJ_BC_FALSE INTERPRETER INTERPRETER_TRUE INTERPRETER_FALSE LIBFFI LIBFFIINCS PLATFORM USING_WIN32_PLATFORM_TRUE USING_WIN32_PLATFORM_FALSE USING_POSIX_PLATFORM_TRUE USING_POSIX_PLATFORM_FALSE USING_DARWIN_CRT_TRUE USING_DARWIN_CRT_FALSE SYSTEMSPEC ZLIBSPEC ZLIBTESTSPEC X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS extra_ldflags_libjava extra_gij_ldflags extra_ldflags LIBSTDCXXSPEC LIBGCJTESTSPEC GCLIBS GCINCS GCDEPS GCSPEC JC1GCSPEC GCTESTSPEC USING_BOEHMGC_TRUE USING_BOEHMGC_FALSE USING_NOGC_TRUE USING_NOGC_FALSE THREADLIBS THREADINCS THREADDEPS THREADSPEC THREADSTARTFILESPEC THREADLDFLAGS THREADCXXFLAGS USING_POSIX_THREADS_TRUE USING_POSIX_THREADS_FALSE USING_WIN32_THREADS_TRUE USING_WIN32_THREADS_FALSE USING_NO_THREADS_TRUE USING_NO_THREADS_FALSE USE_LIBGCJ_BC_TRUE USE_LIBGCJ_BC_FALSE LIBGCJ_SPEC HASH_SYNC_SPEC USING_GCC_TRUE USING_GCC_FALSE LIBICONV LTLIBICONV PKG_CONFIG GTK_CFLAGS GTK_LIBS GLIB_CFLAGS GLIB_LIBS LIBART_CFLAGS LIBART_LIBS CLASSPATH_SEPARATOR ZLIBS SYS_ZLIBS ZINCS DIVIDESPEC CHECKREFSPEC EXCEPTIONSPEC BACKTRACESPEC IEEESPEC NATIVE_TRUE NATIVE_FALSE ENABLE_SHARED_TRUE ENABLE_SHARED_FALSE NEEDS_DATA_START_TRUE NEEDS_DATA_START_FALSE GCC_UNWIND_INCLUDE toolexecdir toolexecmainlibdir toolexeclibdir GCJVERSION dbexecdir gxx_include_dir libstdcxx_incdir PERL SYSDEP_SOURCES ANONVERSCRIPT_TRUE ANONVERSCRIPT_FALSE LD_START_STATIC_SPEC LD_FINISH_STATIC_SPEC here LIBOBJS LTLIBOBJS'
466 # Initialize some variables set by options.
468 ac_init_version
=false
469 # The variables have the same names as the options, with
470 # dashes changed to underlines.
478 program_transform_name
=s
,x
,x
,
486 # Installation directory options.
487 # These are left unexpanded so users can "make install exec_prefix=/foo"
488 # and all the variables that are supposed to be based on exec_prefix
489 # by default will actually change.
490 # Use braces instead of parens because sh, perl, etc. also accept them.
491 bindir
='${exec_prefix}/bin'
492 sbindir
='${exec_prefix}/sbin'
493 libexecdir
='${exec_prefix}/libexec'
494 datadir
='${prefix}/share'
495 sysconfdir
='${prefix}/etc'
496 sharedstatedir
='${prefix}/com'
497 localstatedir
='${prefix}/var'
498 libdir
='${exec_prefix}/lib'
499 includedir
='${prefix}/include'
500 oldincludedir
='/usr/include'
501 infodir
='${prefix}/info'
502 mandir
='${prefix}/man'
507 # If the previous option needs an argument, assign it.
508 if test -n "$ac_prev"; then
509 eval "$ac_prev=\$ac_option"
514 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
516 # Accept the important Cygnus configure options, so we can diagnose typos.
520 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
522 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
525 -build |
--build |
--buil |
--bui |
--bu)
526 ac_prev
=build_alias
;;
527 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
528 build_alias
=$ac_optarg ;;
530 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
531 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
532 ac_prev
=cache_file
;;
533 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
534 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
535 cache_file
=$ac_optarg ;;
538 cache_file
=config.cache
;;
540 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
542 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
544 datadir
=$ac_optarg ;;
546 -disable-* |
--disable-*)
547 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
548 # Reject names that are not valid shell variable names.
549 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
550 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
551 { (exit 1); exit 1; }; }
552 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
553 eval "enable_$ac_feature=no" ;;
555 -enable-* |
--enable-*)
556 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
557 # Reject names that are not valid shell variable names.
558 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
559 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
560 { (exit 1); exit 1; }; }
561 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
563 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
566 eval "enable_$ac_feature='$ac_optarg'" ;;
568 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
569 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
570 |
--exec |
--exe |
--ex)
571 ac_prev
=exec_prefix
;;
572 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
573 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
574 |
--exec=* |
--exe=* |
--ex=*)
575 exec_prefix
=$ac_optarg ;;
577 -gas |
--gas |
--ga |
--g)
578 # Obsolete; use --with-gas.
581 -help |
--help |
--hel |
--he |
-h)
583 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
584 ac_init_help
=recursive
;;
585 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
586 ac_init_help
=short
;;
588 -host |
--host |
--hos |
--ho)
589 ac_prev
=host_alias
;;
590 -host=* |
--host=* |
--hos=* |
--ho=*)
591 host_alias
=$ac_optarg ;;
593 -includedir |
--includedir |
--includedi |
--included |
--include \
594 |
--includ |
--inclu |
--incl |
--inc)
595 ac_prev
=includedir
;;
596 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
597 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
598 includedir
=$ac_optarg ;;
600 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
602 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
603 infodir
=$ac_optarg ;;
605 -libdir |
--libdir |
--libdi |
--libd)
607 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
610 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
611 |
--libexe |
--libex |
--libe)
612 ac_prev
=libexecdir
;;
613 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
614 |
--libexe=* |
--libex=* |
--libe=*)
615 libexecdir
=$ac_optarg ;;
617 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
618 |
--localstate |
--localstat |
--localsta |
--localst \
619 |
--locals |
--local |
--loca |
--loc |
--lo)
620 ac_prev
=localstatedir
;;
621 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
622 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
623 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
624 localstatedir
=$ac_optarg ;;
626 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
628 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
632 # Obsolete; use --without-fp.
635 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
636 |
--no-cr |
--no-c |
-n)
639 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
640 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
643 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
644 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
645 |
--oldin |
--oldi |
--old |
--ol |
--o)
646 ac_prev
=oldincludedir
;;
647 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
648 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
649 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
650 oldincludedir
=$ac_optarg ;;
652 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
654 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
657 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
658 |
--program-pre |
--program-pr |
--program-p)
659 ac_prev
=program_prefix
;;
660 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
661 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
662 program_prefix
=$ac_optarg ;;
664 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
665 |
--program-suf |
--program-su |
--program-s)
666 ac_prev
=program_suffix
;;
667 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
668 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
669 program_suffix
=$ac_optarg ;;
671 -program-transform-name |
--program-transform-name \
672 |
--program-transform-nam |
--program-transform-na \
673 |
--program-transform-n |
--program-transform- \
674 |
--program-transform |
--program-transfor \
675 |
--program-transfo |
--program-transf \
676 |
--program-trans |
--program-tran \
677 |
--progr-tra |
--program-tr |
--program-t)
678 ac_prev
=program_transform_name
;;
679 -program-transform-name=* |
--program-transform-name=* \
680 |
--program-transform-nam=* |
--program-transform-na=* \
681 |
--program-transform-n=* |
--program-transform-=* \
682 |
--program-transform=* |
--program-transfor=* \
683 |
--program-transfo=* |
--program-transf=* \
684 |
--program-trans=* |
--program-tran=* \
685 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
686 program_transform_name
=$ac_optarg ;;
688 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
689 |
-silent |
--silent |
--silen |
--sile |
--sil)
692 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
694 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
696 sbindir
=$ac_optarg ;;
698 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
699 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
700 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
702 ac_prev
=sharedstatedir
;;
703 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
704 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
705 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
707 sharedstatedir
=$ac_optarg ;;
709 -site |
--site |
--sit)
711 -site=* |
--site=* |
--sit=*)
714 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
716 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
719 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
720 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
721 ac_prev
=sysconfdir
;;
722 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
723 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
724 sysconfdir
=$ac_optarg ;;
726 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
727 ac_prev
=target_alias
;;
728 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
729 target_alias
=$ac_optarg ;;
731 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
734 -version |
--version |
--versio |
--versi |
--vers |
-V)
738 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
739 # Reject names that are not valid shell variable names.
740 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
741 { echo "$as_me: error: invalid package name: $ac_package" >&2
742 { (exit 1); exit 1; }; }
743 ac_package
=`echo $ac_package| sed 's/-/_/g'`
745 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
748 eval "with_$ac_package='$ac_optarg'" ;;
750 -without-* |
--without-*)
751 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
752 # Reject names that are not valid shell variable names.
753 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
754 { echo "$as_me: error: invalid package name: $ac_package" >&2
755 { (exit 1); exit 1; }; }
756 ac_package
=`echo $ac_package | sed 's/-/_/g'`
757 eval "with_$ac_package=no" ;;
760 # Obsolete; use --with-x.
763 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
764 |
--x-incl |
--x-inc |
--x-in |
--x-i)
765 ac_prev
=x_includes
;;
766 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
767 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
768 x_includes
=$ac_optarg ;;
770 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
771 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
772 ac_prev
=x_libraries
;;
773 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
774 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
775 x_libraries
=$ac_optarg ;;
777 -*) { echo "$as_me: error: unrecognized option: $ac_option
778 Try \`$0 --help' for more information." >&2
779 { (exit 1); exit 1; }; }
783 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
784 # Reject names that are not valid shell variable names.
785 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
786 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
787 { (exit 1); exit 1; }; }
788 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
789 eval "$ac_envvar='$ac_optarg'"
793 # FIXME: should be removed in autoconf 3.0.
794 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
795 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
796 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
797 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
803 if test -n "$ac_prev"; then
804 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
805 { echo "$as_me: error: missing argument to $ac_option" >&2
806 { (exit 1); exit 1; }; }
809 # Be sure to have absolute paths.
810 for ac_var
in exec_prefix prefix
812 eval ac_val
=$
`echo $ac_var`
814 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
815 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
816 { (exit 1); exit 1; }; };;
820 # Be sure to have absolute paths.
821 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
822 localstatedir libdir includedir oldincludedir infodir mandir
824 eval ac_val
=$
`echo $ac_var`
826 [\\/$
]* | ?
:[\\/]* ) ;;
827 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
828 { (exit 1); exit 1; }; };;
832 # There might be people who depend on the old broken behavior: `$host'
833 # used to hold the argument of --host etc.
834 # FIXME: To remove some day.
839 # FIXME: To remove some day.
840 if test "x$host_alias" != x
; then
841 if test "x$build_alias" = x
; then
842 cross_compiling
=maybe
843 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
844 If a cross compiler is detected then cross compile mode will be used." >&2
845 elif test "x$build_alias" != "x$host_alias"; then
851 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
853 test "$silent" = yes && exec 6>/dev
/null
856 # Find the source files, if location was not specified.
857 if test -z "$srcdir"; then
858 ac_srcdir_defaulted
=yes
859 # Try the directory containing this script, then its parent.
860 ac_confdir
=`(dirname "$0") 2>/dev/null ||
861 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
862 X"$0" : 'X\(//\)[^/]' \| \
863 X"$0" : 'X\(//\)$' \| \
864 X"$0" : 'X\(/\)' \| \
865 . : '\(.\)' 2>/dev/null ||
867 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
868 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
869 /^X\(\/\/\)$/{ s//\1/; q; }
870 /^X\(\/\).*/{ s//\1/; q; }
873 if test ! -r $srcdir/$ac_unique_file; then
877 ac_srcdir_defaulted
=no
879 if test ! -r $srcdir/$ac_unique_file; then
880 if test "$ac_srcdir_defaulted" = yes; then
881 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
882 { (exit 1); exit 1; }; }
884 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
885 { (exit 1); exit 1; }; }
888 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
889 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
890 { (exit 1); exit 1; }; }
891 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
892 ac_env_build_alias_set
=${build_alias+set}
893 ac_env_build_alias_value
=$build_alias
894 ac_cv_env_build_alias_set
=${build_alias+set}
895 ac_cv_env_build_alias_value
=$build_alias
896 ac_env_host_alias_set
=${host_alias+set}
897 ac_env_host_alias_value
=$host_alias
898 ac_cv_env_host_alias_set
=${host_alias+set}
899 ac_cv_env_host_alias_value
=$host_alias
900 ac_env_target_alias_set
=${target_alias+set}
901 ac_env_target_alias_value
=$target_alias
902 ac_cv_env_target_alias_set
=${target_alias+set}
903 ac_cv_env_target_alias_value
=$target_alias
904 ac_env_CPP_set
=${CPP+set}
905 ac_env_CPP_value
=$CPP
906 ac_cv_env_CPP_set
=${CPP+set}
907 ac_cv_env_CPP_value
=$CPP
908 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
909 ac_env_CPPFLAGS_value
=$CPPFLAGS
910 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
911 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
912 ac_env_CXX_set
=${CXX+set}
913 ac_env_CXX_value
=$CXX
914 ac_cv_env_CXX_set
=${CXX+set}
915 ac_cv_env_CXX_value
=$CXX
916 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
917 ac_env_CXXFLAGS_value
=$CXXFLAGS
918 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
919 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
920 ac_env_LDFLAGS_set
=${LDFLAGS+set}
921 ac_env_LDFLAGS_value
=$LDFLAGS
922 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
923 ac_cv_env_LDFLAGS_value
=$LDFLAGS
924 ac_env_CXXCPP_set
=${CXXCPP+set}
925 ac_env_CXXCPP_value
=$CXXCPP
926 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
927 ac_cv_env_CXXCPP_value
=$CXXCPP
930 # Report the --help message.
932 if test "$ac_init_help" = "long"; then
933 # Omit some internal or obsolete options to make the list less imposing.
934 # This message is too long to be a string in the A/UX 3.1 sh.
936 \`configure' configures libjava version-unused to adapt to many kinds of systems.
938 Usage: $0 [OPTION]... [VAR=VALUE]...
940 To assign environment variables (e.g., CC, CFLAGS...), specify them as
941 VAR=VALUE. See below for descriptions of some of the useful variables.
943 Defaults for the options are specified in brackets.
946 -h, --help display this help and exit
947 --help=short display options specific to this package
948 --help=recursive display the short help of all the included packages
949 -V, --version display version information and exit
950 -q, --quiet, --silent do not print \`checking...' messages
951 --cache-file=FILE cache test results in FILE [disabled]
952 -C, --config-cache alias for \`--cache-file=config.cache'
953 -n, --no-create do not create output files
954 --srcdir=DIR find the sources in DIR [configure dir or \`..']
959 Installation directories:
960 --prefix=PREFIX install architecture-independent files in PREFIX
962 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
965 By default, \`make install' will install all the files in
966 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
967 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
968 for instance \`--prefix=\$HOME'.
970 For better control, use the options below.
972 Fine tuning of the installation directories:
973 --bindir=DIR user executables [EPREFIX/bin]
974 --sbindir=DIR system admin executables [EPREFIX/sbin]
975 --libexecdir=DIR program executables [EPREFIX/libexec]
976 --datadir=DIR read-only architecture-independent data [PREFIX/share]
977 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
978 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
979 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
980 --libdir=DIR object code libraries [EPREFIX/lib]
981 --includedir=DIR C header files [PREFIX/include]
982 --oldincludedir=DIR C header files for non-gcc [/usr/include]
983 --infodir=DIR info documentation [PREFIX/info]
984 --mandir=DIR man documentation [PREFIX/man]
990 --program-prefix=PREFIX prepend PREFIX to installed program names
991 --program-suffix=SUFFIX append SUFFIX to installed program names
992 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
995 --x-includes=DIR X include files are
in DIR
996 --x-libraries=DIR X library files are
in DIR
999 --build=BUILD configure
for building on BUILD
[guessed
]
1000 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1001 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1005 if test -n "$ac_init_help"; then
1006 case $ac_init_help in
1007 short | recursive
) echo "Configuration of libjava version-unused:";;
1012 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1013 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1014 --enable-multilib build many library versions
(default
)
1015 --enable-version-specific-runtime-libs
1016 specify that runtime libraries should be installed
1017 in a compiler-specific directory
1018 --enable-plugin build gcjwebplugin web browser plugin
1019 --enable-gconf-peer compile GConf native peers
for util.preferences
1020 --enable-java-maintainer-mode
1021 allow rebuilding of .class and .h files
1022 --disable-dependency-tracking speeds up one-time build
1023 --enable-dependency-tracking do not reject slow dependency extractors
1024 --enable-maintainer-mode enable make rules and dependencies not useful
1025 (and sometimes confusing
) to the casual installer
1026 --enable-libgcj-debug enable runtime debugging code
1027 --enable-java-awt list of AWT peer implementations to be built
1028 --enable-shared[=PKGS
]
1029 build shared libraries
[default
=yes]
1030 --enable-static[=PKGS
]
1031 build static libraries
[default
=yes]
1032 --enable-fast-install[=PKGS
]
1033 optimize
for fast installation
[default
=yes]
1034 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1035 --disable-getenv-properties
1036 don
't set system properties from GCJ_PROPERTIES
1037 --enable-hash-synchronization
1038 use global hash table for monitor locks
1039 --enable-libgcj-bc enable(default) or disable BC ABI for portions of
1041 --enable-gc-debug include full support for pointer backtracing etc.
1042 --enable-interpreter enable interpreter
1043 --enable-sjlj-exceptions
1044 force use of builtin_setjmp for exceptions
1045 --disable-java-net disable java.net
1046 --disable-jvmpi disable JVMPI support
1047 --enable-java-gc=TYPE choose garbage collector (default is boehm)
1048 --disable-rpath do not hardcode runtime library paths
1049 --enable-tls Use thread-local storage [default=yes]
1052 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1053 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1054 --with-build-libsubdir=DIR Directory where to find libraries for build system
1055 --with-target-subdir=SUBDIR
1056 configure in a subdirectory
1057 --with-cross-host=HOST configure with a cross compiler from HOST
1058 --with-newlib configure with newlib
1059 --with-escher=ABS.PATH specify path to escher dir or JAR for X peers
1060 --with-pic try to use only PIC/non-PIC objects [default=use
1062 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1063 --with-ecj-jar=FILE use preinstalled ecj jar
1064 --with-java-home=DIRECTORY
1065 value of java.home system property
1066 --with-win32-nlsapi=ansi or unicows or unicode
1067 native MinGW libgcj Win32 OS API (default is ansi)
1068 --without-libffi don't use libffi
1069 --with-ecos enable runtime eCos target support
1070 --with-system-zlib use installed libz
1071 --with-x use the X Window System
1072 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1073 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1074 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1076 Some influential environment variables:
1077 CC C compiler command
1078 CFLAGS C compiler flags
1079 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1080 nonstandard directory <lib dir>
1081 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1082 headers in a nonstandard directory <include dir>
1083 CXX C++ compiler command
1084 CXXFLAGS C++ compiler flags
1086 CXXCPP C++ preprocessor
1088 Use these variables to override the choices made by `configure' or to
help
1089 it to
find libraries and programs with nonstandard names
/locations.
1094 if test "$ac_init_help" = "recursive"; then
1095 # If there are subdirs, report their specific --help.
1097 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1098 test -d $ac_dir ||
continue
1101 if test "$ac_dir" != .
; then
1102 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1103 # A "../" for each directory in $ac_dir_suffix.
1104 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1106 ac_dir_suffix
= ac_top_builddir
=
1110 .
) # No --srcdir option. We are building in place.
1112 if test -z "$ac_top_builddir"; then
1115 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1117 [\\/]* | ?
:[\\/]* ) # Absolute path.
1118 ac_srcdir
=$srcdir$ac_dir_suffix;
1119 ac_top_srcdir
=$srcdir ;;
1121 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1122 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1125 # Do not use `cd foo && pwd` to compute absolute paths, because
1126 # the directories may not exist.
1128 .
) ac_abs_builddir
="$ac_dir";;
1131 .
) ac_abs_builddir
=`pwd`;;
1132 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1133 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1136 case $ac_abs_builddir in
1137 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1139 case ${ac_top_builddir}.
in
1140 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1141 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1142 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1145 case $ac_abs_builddir in
1146 .
) ac_abs_srcdir
=$ac_srcdir;;
1149 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1150 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1151 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1154 case $ac_abs_builddir in
1155 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1157 case $ac_top_srcdir in
1158 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1159 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1160 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1165 # Check for guested configure; otherwise get Cygnus style configure.
1166 if test -f $ac_srcdir/configure.gnu
; then
1168 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1169 elif test -f $ac_srcdir/configure
; then
1171 $SHELL $ac_srcdir/configure
--help=recursive
1172 elif test -f $ac_srcdir/configure.ac ||
1173 test -f $ac_srcdir/configure.
in; then
1175 $ac_configure --help
1177 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1183 test -n "$ac_init_help" && exit 0
1184 if $ac_init_version; then
1186 libjava configure version-unused
1187 generated by GNU Autoconf
2.59
1189 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1190 This configure
script is free software
; the Free Software Foundation
1191 gives unlimited permission to copy
, distribute and modify it.
1197 This file contains any messages produced by compilers while
1198 running configure, to aid debugging if configure makes a mistake.
1200 It was created by libjava $as_me version-unused, which was
1201 generated by GNU Autoconf 2.59. Invocation command line was
1212 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1213 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1214 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1215 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1216 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1218 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1219 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1221 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1222 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1223 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1224 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1225 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1226 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1227 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1235 test -z "$as_dir" && as_dir
=.
1236 echo "PATH: $as_dir"
1251 # Keep a trace of the command line.
1252 # Strip out --no-create and --no-recursion so they do not pile up.
1253 # Strip out --silent because we don't want to record it for future runs.
1254 # Also quote any args containing shell meta-characters.
1255 # Make two passes to allow for proper duplicate-argument suppression.
1260 ac_must_keep_next
=false
1266 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1267 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1268 |
-silent |
--silent |
--silen |
--sile |
--sil)
1270 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1271 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1274 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1276 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1277 if test $ac_must_keep_next = true
; then
1278 ac_must_keep_next
=false
# Got value, back to normal.
1281 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1282 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1283 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1284 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1285 case "$ac_configure_args0 " in
1286 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1289 -* ) ac_must_keep_next
=true
;;
1292 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1293 # Get rid of the leading space.
1299 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1300 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1302 # When interrupted or exit'd, cleanup temporary files, and complete
1303 # config.log. We remove comments because anyway the quotes in there
1304 # would cause problems or look ugly.
1305 # WARNING: Be sure not to use single quotes in there, as some shells,
1306 # such as our DU 5.0 friend, will then `close' the trap.
1307 trap 'exit_status=$?
1308 # Save into config.log some information that might help in debugging.
1313 ## ---------------- ##
1314 ## Cache variables. ##
1315 ## ---------------- ##
1318 # The following way of writing the cache mishandles newlines in values,
1321 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1324 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1325 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1329 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1336 ## ----------------- ##
1337 ## Output variables. ##
1338 ## ----------------- ##
1341 for ac_var in $ac_subst_vars
1343 eval ac_val=$`echo $ac_var`
1344 echo "$ac_var='"'"'$ac_val'"'"'"
1348 if test -n "$ac_subst_files"; then
1355 for ac_var in $ac_subst_files
1357 eval ac_val=$`echo $ac_var`
1358 echo "$ac_var='"'"'$ac_val'"'"'"
1363 if test -s confdefs.h; then
1370 sed "/^$/d" confdefs.h | sort
1373 test "$ac_signal" != 0 &&
1374 echo "$as_me: caught signal $ac_signal"
1375 echo "$as_me: exit $exit_status"
1377 rm -f core *.core &&
1378 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1381 for ac_signal
in 1 2 13 15; do
1382 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1386 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1387 rm -rf conftest
* confdefs.h
1388 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1391 # Predefined preprocessor variables.
1393 cat >>confdefs.h
<<_ACEOF
1394 #define PACKAGE_NAME "$PACKAGE_NAME"
1398 cat >>confdefs.h
<<_ACEOF
1399 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1403 cat >>confdefs.h
<<_ACEOF
1404 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1408 cat >>confdefs.h
<<_ACEOF
1409 #define PACKAGE_STRING "$PACKAGE_STRING"
1413 cat >>confdefs.h
<<_ACEOF
1414 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1418 # Let the site file select an alternate cache file if it wants to.
1419 # Prefer explicitly selected file to automatically selected ones.
1420 if test -z "$CONFIG_SITE"; then
1421 if test "x$prefix" != xNONE
; then
1422 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1424 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1427 for ac_site_file
in $CONFIG_SITE; do
1428 if test -r "$ac_site_file"; then
1429 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1430 echo "$as_me: loading site script $ac_site_file" >&6;}
1431 sed 's/^/| /' "$ac_site_file" >&5
1436 if test -r "$cache_file"; then
1437 # Some versions of bash will fail to source /dev/null (special
1438 # files actually), so we avoid doing that.
1439 if test -f "$cache_file"; then
1440 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1441 echo "$as_me: loading cache $cache_file" >&6;}
1443 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1444 *) . .
/$cache_file;;
1448 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1449 echo "$as_me: creating cache $cache_file" >&6;}
1453 # Check that the precious variables saved in the cache have kept the same
1455 ac_cache_corrupted
=false
1456 for ac_var
in `(set) 2>&1 |
1457 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1458 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1459 eval ac_new_set
=\
$ac_env_${ac_var}_set
1460 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1461 eval ac_new_val
="\$ac_env_${ac_var}_value"
1462 case $ac_old_set,$ac_new_set in
1464 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1465 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1466 ac_cache_corrupted
=: ;;
1468 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1469 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1470 ac_cache_corrupted
=: ;;
1473 if test "x$ac_old_val" != "x$ac_new_val"; then
1474 # differences in whitespace do not lead to failure.
1475 ac_old_val_w
=`echo x $ac_old_val`
1476 ac_new_val_w
=`echo x $ac_new_val`
1477 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1478 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1479 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1480 ac_cache_corrupted
=:
1482 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1483 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1484 eval $ac_var=\
$ac_old_val
1486 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1487 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1488 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1489 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1492 # Pass precious variables to config.status.
1493 if test "$ac_new_set" = set; then
1495 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1496 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1497 *) ac_arg
=$ac_var=$ac_new_val ;;
1499 case " $ac_configure_args " in
1500 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1501 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1505 if $ac_cache_corrupted; then
1506 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1507 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1508 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1509 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1510 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1511 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1512 { (exit 1); exit 1; }; }
1516 ac_cpp
='$CPP $CPPFLAGS'
1517 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1518 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1519 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1554 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1555 if test -f $ac_dir/install-sh
; then
1557 ac_install_sh
="$ac_aux_dir/install-sh -c"
1559 elif test -f $ac_dir/install.sh
; then
1561 ac_install_sh
="$ac_aux_dir/install.sh -c"
1563 elif test -f $ac_dir/shtool
; then
1565 ac_install_sh
="$ac_aux_dir/shtool install -c"
1569 if test -z "$ac_aux_dir"; then
1570 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1571 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1572 { (exit 1); exit 1; }; }
1574 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1575 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1576 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1578 # Make sure we can run config.sub.
1579 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1580 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1581 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1582 { (exit 1); exit 1; }; }
1584 echo "$as_me:$LINENO: checking build system type" >&5
1585 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1586 if test "${ac_cv_build+set}" = set; then
1587 echo $ECHO_N "(cached) $ECHO_C" >&6
1589 ac_cv_build_alias
=$build_alias
1590 test -z "$ac_cv_build_alias" &&
1591 ac_cv_build_alias
=`$ac_config_guess`
1592 test -z "$ac_cv_build_alias" &&
1593 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1594 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1595 { (exit 1); exit 1; }; }
1596 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1597 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1598 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1599 { (exit 1); exit 1; }; }
1602 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1603 echo "${ECHO_T}$ac_cv_build" >&6
1605 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1606 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1607 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1610 case ${build_alias} in
1611 "") build_noncanonical
=${build} ;;
1612 *) build_noncanonical
=${build_alias} ;;
1615 case ${host_alias} in
1616 "") host_noncanonical
=${build_noncanonical} ;;
1617 *) host_noncanonical
=${host_alias} ;;
1620 case ${target_alias} in
1621 "") target_noncanonical
=${host_noncanonical} ;;
1622 *) target_noncanonical
=${target_alias} ;;
1626 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1627 # have matching libraries, they should use host libraries: Makefile.tpl
1628 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1629 # However, they still use the build modules, because the corresponding
1630 # host modules (e.g. bison) are only built for the host when bootstrap
1632 # - build_subdir is where we find build modules, and never changes.
1633 # - build_libsubdir is where we find build libraries, and can be overridden.
1635 # Prefix 'build-' so this never conflicts with target_subdir.
1636 build_subdir
="build-${build_noncanonical}"
1638 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1639 if test "${with_build_libsubdir+set}" = set; then
1640 withval
="$with_build_libsubdir"
1641 build_libsubdir
="$withval"
1643 build_libsubdir
="$build_subdir"
1645 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1646 if ( test $srcdir = .
&& test -d gcc
) \
1647 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1648 host_subdir
="host-${host_noncanonical}"
1653 target_subdir
=${target_noncanonical}
1656 # We use these options to decide which functions to include.
1658 # Check whether --with-target-subdir or --without-target-subdir was given.
1659 if test "${with_target_subdir+set}" = set; then
1660 withval
="$with_target_subdir"
1664 # We may get other options which we don't document:
1665 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1667 # Find the rest of the source tree framework.
1668 # Default to --enable-multilib
1669 # Check whether --enable-multilib or --disable-multilib was given.
1670 if test "${enable_multilib+set}" = set; then
1671 enableval
="$enable_multilib"
1672 case "$enableval" in
1673 yes) multilib
=yes ;;
1675 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1676 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1677 { (exit 1); exit 1; }; } ;;
1683 # We may get other options which we leave undocumented:
1684 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1685 # See config-ml.in if you want the gory details.
1687 if test "$srcdir" = "."; then
1688 if test "$with_target_subdir" != "."; then
1689 multi_basedir
="$srcdir/$with_multisrctop../.."
1691 multi_basedir
="$srcdir/$with_multisrctop.."
1694 multi_basedir
="$srcdir/.."
1698 # Even if the default multilib is not a cross compilation,
1699 # it may be that some of the other multilibs are.
1700 if test $cross_compiling = no
&& test $multilib = yes \
1701 && test "x${with_multisubdir}" != x
; then
1702 cross_compiling
=maybe
1705 ac_config_commands
="$ac_config_commands default-1"
1708 echo "$as_me:$LINENO: checking host system type" >&5
1709 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1710 if test "${ac_cv_host+set}" = set; then
1711 echo $ECHO_N "(cached) $ECHO_C" >&6
1713 ac_cv_host_alias
=$host_alias
1714 test -z "$ac_cv_host_alias" &&
1715 ac_cv_host_alias
=$ac_cv_build_alias
1716 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1717 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1718 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1719 { (exit 1); exit 1; }; }
1722 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1723 echo "${ECHO_T}$ac_cv_host" >&6
1725 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1726 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1727 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1730 echo "$as_me:$LINENO: checking target system type" >&5
1731 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1732 if test "${ac_cv_target+set}" = set; then
1733 echo $ECHO_N "(cached) $ECHO_C" >&6
1735 ac_cv_target_alias
=$target_alias
1736 test "x$ac_cv_target_alias" = "x" &&
1737 ac_cv_target_alias
=$ac_cv_host_alias
1738 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1739 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1740 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1741 { (exit 1); exit 1; }; }
1744 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1745 echo "${ECHO_T}$ac_cv_target" >&6
1746 target
=$ac_cv_target
1747 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1748 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1749 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1752 # The aliases save the names the user supplied, while $host etc.
1753 # will get canonicalized.
1754 test -n "$target_alias" &&
1755 test "$program_prefix$program_suffix$program_transform_name" = \
1757 program_prefix
=${target_alias}-
1758 case ${build_alias} in
1759 "") build_noncanonical
=${build} ;;
1760 *) build_noncanonical
=${build_alias} ;;
1763 case ${target_alias} in
1764 "") target_noncanonical
=${host_noncanonical} ;;
1765 *) target_noncanonical
=${target_alias} ;;
1771 # This works around the fact that libtool configuration may change LD
1772 # for this particular configuration, but some shells, instead of
1773 # keeping the changes in LD private, export them just because LD is
1775 ORIGINAL_LD_FOR_MULTILIBS
=$LD
1777 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1778 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1780 if test "$LN_S" = "ln -s"; then
1781 echo "$as_me:$LINENO: result: yes" >&5
1782 echo "${ECHO_T}yes" >&6
1784 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1785 echo "${ECHO_T}no, using $LN_S" >&6
1789 # This works around an automake problem.
1790 mkinstalldirs
="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
1794 # Check whether --with-cross-host or --without-cross-host was given.
1795 if test "${with_cross_host+set}" = set; then
1796 withval
="$with_cross_host"
1801 # Check whether --with-newlib or --without-newlib was given.
1802 if test "${with_newlib+set}" = set; then
1803 withval
="$with_newlib"
1807 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1808 if test "${enable_version_specific_runtime_libs+set}" = set; then
1809 enableval
="$enable_version_specific_runtime_libs"
1810 case "$enableval" in
1811 yes) version_specific_libs
=yes ;;
1812 no
) version_specific_libs
=no
;;
1813 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1814 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1815 { (exit 1); exit 1; }; };;
1818 version_specific_libs
=no
1822 # Check whether --enable-plugin or --disable-plugin was given.
1823 if test "${enable_plugin+set}" = set; then
1824 enableval
="$enable_plugin"
1825 case "$enableval" in
1826 yes) plugin_enabled
=yes ;;
1827 no
) plugin_enabled
=no
;;
1828 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable plugin" >&5
1829 echo "$as_me: error: Unknown argument to enable/disable plugin" >&2;}
1830 { (exit 1); exit 1; }; };;
1837 # Check whether --enable-gconf-peer or --disable-gconf-peer was given.
1838 if test "${enable_gconf_peer+set}" = set; then
1839 enableval
="$enable_gconf_peer"
1840 case "$enableval" in
1841 yes) gconf_enabled
=yes ;;
1842 no
) gconf_enabled
=no
;;
1843 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable gconf-peer" >&5
1844 echo "$as_me: error: Unknown argument to enable/disable gconf-peer" >&2;}
1845 { (exit 1); exit 1; }; };;
1852 # Check whether --enable-java-maintainer-mode or --disable-java-maintainer-mode was given.
1853 if test "${enable_java_maintainer_mode+set}" = set; then
1854 enableval
="$enable_java_maintainer_mode"
1859 if test "$enable_java_maintainer_mode" = yes; then
1860 JAVA_MAINTAINER_MODE_TRUE
=
1861 JAVA_MAINTAINER_MODE_FALSE
='#'
1863 JAVA_MAINTAINER_MODE_TRUE
='#'
1864 JAVA_MAINTAINER_MODE_FALSE
=
1868 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
1871 # (1) We use an abnormal CXX (without library references), so we
1872 # must cache it under a different name.
1873 # (2) CC, CFLAGS, CXX, CXXFLAGS, LDFLAGS must not be 'precious', or
1874 # the non-multilib-adjusted value will be used in multilibs.
1875 # (3) As a side effect, we must SUBST CXXFLAGS, CFLAGS, and LDFLAGS ourselves.
1876 # (4) As another side effect, automake doesn't automatically include them
1878 # (5) For libstdc++-v3, -fno-builtin must be present here so that a
1879 # non-conflicting form of std::exit can be guessed by AC_PROG_CXX, and
1880 # used in later tests. This may not be necessary in libjava; I don't know.
1883 save_CXXFLAGS
="$CXXFLAGS"
1884 CXXFLAGS
="$CXXFLAGS -fno-builtin"
1886 ac_cpp
='$CPP $CPPFLAGS'
1887 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1888 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1889 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1890 if test -n "$ac_tool_prefix"; then
1891 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1892 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1893 echo "$as_me:$LINENO: checking for $ac_word" >&5
1894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1895 if test "${ac_cv_prog_CC+set}" = set; then
1896 echo $ECHO_N "(cached) $ECHO_C" >&6
1898 if test -n "$CC"; then
1899 ac_cv_prog_CC
="$CC" # Let the user override the test.
1901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1905 test -z "$as_dir" && as_dir
=.
1906 for ac_exec_ext
in '' $ac_executable_extensions; do
1907 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1908 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1918 if test -n "$CC"; then
1919 echo "$as_me:$LINENO: result: $CC" >&5
1920 echo "${ECHO_T}$CC" >&6
1922 echo "$as_me:$LINENO: result: no" >&5
1923 echo "${ECHO_T}no" >&6
1927 if test -z "$ac_cv_prog_CC"; then
1929 # Extract the first word of "gcc", so it can be a program name with args.
1930 set dummy gcc
; ac_word
=$2
1931 echo "$as_me:$LINENO: checking for $ac_word" >&5
1932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1933 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1934 echo $ECHO_N "(cached) $ECHO_C" >&6
1936 if test -n "$ac_ct_CC"; then
1937 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1943 test -z "$as_dir" && as_dir
=.
1944 for ac_exec_ext
in '' $ac_executable_extensions; do
1945 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1946 ac_cv_prog_ac_ct_CC
="gcc"
1947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1955 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1956 if test -n "$ac_ct_CC"; then
1957 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1958 echo "${ECHO_T}$ac_ct_CC" >&6
1960 echo "$as_me:$LINENO: result: no" >&5
1961 echo "${ECHO_T}no" >&6
1969 if test -z "$CC"; then
1970 if test -n "$ac_tool_prefix"; then
1971 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1972 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1973 echo "$as_me:$LINENO: checking for $ac_word" >&5
1974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1975 if test "${ac_cv_prog_CC+set}" = set; then
1976 echo $ECHO_N "(cached) $ECHO_C" >&6
1978 if test -n "$CC"; then
1979 ac_cv_prog_CC
="$CC" # Let the user override the test.
1981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1985 test -z "$as_dir" && as_dir
=.
1986 for ac_exec_ext
in '' $ac_executable_extensions; do
1987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1988 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1998 if test -n "$CC"; then
1999 echo "$as_me:$LINENO: result: $CC" >&5
2000 echo "${ECHO_T}$CC" >&6
2002 echo "$as_me:$LINENO: result: no" >&5
2003 echo "${ECHO_T}no" >&6
2007 if test -z "$ac_cv_prog_CC"; then
2009 # Extract the first word of "cc", so it can be a program name with args.
2010 set dummy cc
; ac_word
=$2
2011 echo "$as_me:$LINENO: checking for $ac_word" >&5
2012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2013 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2014 echo $ECHO_N "(cached) $ECHO_C" >&6
2016 if test -n "$ac_ct_CC"; then
2017 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2023 test -z "$as_dir" && as_dir
=.
2024 for ac_exec_ext
in '' $ac_executable_extensions; do
2025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2026 ac_cv_prog_ac_ct_CC
="cc"
2027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2035 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2036 if test -n "$ac_ct_CC"; then
2037 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2038 echo "${ECHO_T}$ac_ct_CC" >&6
2040 echo "$as_me:$LINENO: result: no" >&5
2041 echo "${ECHO_T}no" >&6
2050 if test -z "$CC"; then
2051 # Extract the first word of "cc", so it can be a program name with args.
2052 set dummy cc
; ac_word
=$2
2053 echo "$as_me:$LINENO: checking for $ac_word" >&5
2054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2055 if test "${ac_cv_prog_CC+set}" = set; then
2056 echo $ECHO_N "(cached) $ECHO_C" >&6
2058 if test -n "$CC"; then
2059 ac_cv_prog_CC
="$CC" # Let the user override the test.
2062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2066 test -z "$as_dir" && as_dir
=.
2067 for ac_exec_ext
in '' $ac_executable_extensions; do
2068 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2069 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2070 ac_prog_rejected
=yes
2074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2080 if test $ac_prog_rejected = yes; then
2081 # We found a bogon in the path, so make sure we never use it.
2082 set dummy
$ac_cv_prog_CC
2084 if test $# != 0; then
2085 # We chose a different compiler from the bogus one.
2086 # However, it has the same basename, so the bogon will be chosen
2087 # first if we set CC to just the basename; use the full file name.
2089 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2095 if test -n "$CC"; then
2096 echo "$as_me:$LINENO: result: $CC" >&5
2097 echo "${ECHO_T}$CC" >&6
2099 echo "$as_me:$LINENO: result: no" >&5
2100 echo "${ECHO_T}no" >&6
2104 if test -z "$CC"; then
2105 if test -n "$ac_tool_prefix"; then
2108 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2109 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2110 echo "$as_me:$LINENO: checking for $ac_word" >&5
2111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2112 if test "${ac_cv_prog_CC+set}" = set; then
2113 echo $ECHO_N "(cached) $ECHO_C" >&6
2115 if test -n "$CC"; then
2116 ac_cv_prog_CC
="$CC" # Let the user override the test.
2118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2122 test -z "$as_dir" && as_dir
=.
2123 for ac_exec_ext
in '' $ac_executable_extensions; do
2124 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2125 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2135 if test -n "$CC"; then
2136 echo "$as_me:$LINENO: result: $CC" >&5
2137 echo "${ECHO_T}$CC" >&6
2139 echo "$as_me:$LINENO: result: no" >&5
2140 echo "${ECHO_T}no" >&6
2143 test -n "$CC" && break
2146 if test -z "$CC"; then
2150 # Extract the first word of "$ac_prog", so it can be a program name with args.
2151 set dummy
$ac_prog; ac_word
=$2
2152 echo "$as_me:$LINENO: checking for $ac_word" >&5
2153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2154 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2155 echo $ECHO_N "(cached) $ECHO_C" >&6
2157 if test -n "$ac_ct_CC"; then
2158 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2164 test -z "$as_dir" && as_dir
=.
2165 for ac_exec_ext
in '' $ac_executable_extensions; do
2166 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2167 ac_cv_prog_ac_ct_CC
="$ac_prog"
2168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2176 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2177 if test -n "$ac_ct_CC"; then
2178 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2179 echo "${ECHO_T}$ac_ct_CC" >&6
2181 echo "$as_me:$LINENO: result: no" >&5
2182 echo "${ECHO_T}no" >&6
2185 test -n "$ac_ct_CC" && break
2194 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2195 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2196 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2197 See \`config.log' for more details." >&5
2198 echo "$as_me: error: no acceptable C compiler found in \$PATH
2199 See \`config.log' for more details." >&2;}
2200 { (exit 1); exit 1; }; }; }
2202 # Provide some information about the compiler.
2203 echo "$as_me:$LINENO:" \
2204 "checking for C compiler version" >&5
2205 ac_compiler
=`set X $ac_compile; echo $2`
2206 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2207 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2210 (exit $ac_status); }
2211 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2212 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2215 (exit $ac_status); }
2216 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2217 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2220 (exit $ac_status); }
2222 cat >conftest.
$ac_ext <<_ACEOF
2225 cat confdefs.h
>>conftest.
$ac_ext
2226 cat >>conftest.
$ac_ext <<_ACEOF
2227 /* end confdefs.h. */
2238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2239 (eval $ac_link) 2>&5
2241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2242 (exit $ac_status); }; then
2248 if test x
$gcc_no_link = xyes
; then
2249 # Setting cross_compile will disable run tests; it will
2250 # also disable AC_CHECK_FILE but that's generally
2251 # correct if we can't link.
2255 cat >conftest.
$ac_ext <<_ACEOF
2258 cat confdefs.h
>>conftest.
$ac_ext
2259 cat >>conftest.
$ac_ext <<_ACEOF
2260 /* end confdefs.h. */
2270 ac_clean_files_save
=$ac_clean_files
2271 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2272 # Try to create an executable without -o first, disregard a.out.
2273 # It will help us diagnose broken compilers, and finding out an intuition
2275 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2276 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2277 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2278 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2279 (eval $ac_link_default) 2>&5
2281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2282 (exit $ac_status); }; then
2283 # Find the output, starting from the most likely. This scheme is
2284 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2287 # Be careful to initialize this variable, since it used to be cached.
2288 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2290 # b.out is created by i960 compilers.
2291 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2293 test -f "$ac_file" ||
continue
2295 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2298 # This is the source file.
2301 # We found the default executable, but exeext='' is most
2305 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2306 # FIXME: I believe we export ac_cv_exeext for Libtool,
2307 # but it would be cool to find out if it's true. Does anybody
2308 # maintain Libtool? --akim.
2316 echo "$as_me: failed program was:" >&5
2317 sed 's/^/| /' conftest.
$ac_ext >&5
2319 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2320 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2321 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2322 See \`config.log' for more details." >&5
2323 echo "$as_me: error: C compiler cannot create executables
2324 See \`config.log' for more details." >&2;}
2325 { (exit 77); exit 77; }; }; }
2328 ac_exeext
=$ac_cv_exeext
2329 echo "$as_me:$LINENO: result: $ac_file" >&5
2330 echo "${ECHO_T}$ac_file" >&6
2332 # Check the compiler produces executables we can run. If not, either
2333 # the compiler is broken, or we cross compile.
2334 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2335 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2336 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2337 # If not cross compiling, check that we can run a simple program.
2338 if test "$cross_compiling" != yes; then
2339 if { ac_try
='./$ac_file'
2340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2344 (exit $ac_status); }; }; then
2347 if test "$cross_compiling" = maybe
; then
2350 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2351 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2352 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2353 If you meant to cross compile, use \`--host'.
2354 See \`config.log' for more details." >&5
2355 echo "$as_me: error: cannot run C compiled programs.
2356 If you meant to cross compile, use \`--host'.
2357 See \`config.log' for more details." >&2;}
2358 { (exit 1); exit 1; }; }; }
2362 echo "$as_me:$LINENO: result: yes" >&5
2363 echo "${ECHO_T}yes" >&6
2365 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2366 ac_clean_files
=$ac_clean_files_save
2367 # Check the compiler produces executables we can run. If not, either
2368 # the compiler is broken, or we cross compile.
2369 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2370 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2371 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2372 echo "${ECHO_T}$cross_compiling" >&6
2374 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2375 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2377 (eval $ac_link) 2>&5
2379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2380 (exit $ac_status); }; then
2381 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2382 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2383 # work properly (i.e., refer to `conftest.exe'), while it won't with
2385 for ac_file
in conftest.exe conftest conftest.
*; do
2386 test -f "$ac_file" ||
continue
2388 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2389 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2396 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2397 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2398 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2399 See \`config.log' for more details." >&5
2400 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2401 See \`config.log' for more details." >&2;}
2402 { (exit 1); exit 1; }; }; }
2405 rm -f conftest
$ac_cv_exeext
2406 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2407 echo "${ECHO_T}$ac_cv_exeext" >&6
2409 rm -f conftest.
$ac_ext
2410 EXEEXT
=$ac_cv_exeext
2413 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2414 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2415 if test "${ac_cv_objext+set}" = set; then
2416 echo $ECHO_N "(cached) $ECHO_C" >&6
2418 cat >conftest.
$ac_ext <<_ACEOF
2421 cat confdefs.h
>>conftest.
$ac_ext
2422 cat >>conftest.
$ac_ext <<_ACEOF
2423 /* end confdefs.h. */
2433 rm -f conftest.o conftest.obj
2434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2435 (eval $ac_compile) 2>&5
2437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2438 (exit $ac_status); }; then
2439 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2441 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2442 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2447 echo "$as_me: failed program was:" >&5
2448 sed 's/^/| /' conftest.
$ac_ext >&5
2450 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2451 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2452 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2453 See \`config.log' for more details." >&5
2454 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2455 See \`config.log' for more details." >&2;}
2456 { (exit 1); exit 1; }; }; }
2459 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2461 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2462 echo "${ECHO_T}$ac_cv_objext" >&6
2463 OBJEXT
=$ac_cv_objext
2465 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2466 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2467 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2468 echo $ECHO_N "(cached) $ECHO_C" >&6
2470 cat >conftest.
$ac_ext <<_ACEOF
2473 cat confdefs.h
>>conftest.
$ac_ext
2474 cat >>conftest.
$ac_ext <<_ACEOF
2475 /* end confdefs.h. */
2488 rm -f conftest.
$ac_objext
2489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2490 (eval $ac_compile) 2>conftest.er1
2492 grep -v '^ *+' conftest.er1
>conftest.err
2494 cat conftest.err
>&5
2495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2496 (exit $ac_status); } &&
2497 { ac_try
='test -z "$ac_c_werror_flag"
2498 || test ! -s conftest.err'
2499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503 (exit $ac_status); }; } &&
2504 { ac_try
='test -s conftest.$ac_objext'
2505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509 (exit $ac_status); }; }; then
2512 echo "$as_me: failed program was:" >&5
2513 sed 's/^/| /' conftest.
$ac_ext >&5
2517 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2518 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2521 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2522 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2523 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2524 ac_test_CFLAGS
=${CFLAGS+set}
2525 ac_save_CFLAGS
=$CFLAGS
2527 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2528 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2529 if test "${ac_cv_prog_cc_g+set}" = set; then
2530 echo $ECHO_N "(cached) $ECHO_C" >&6
2532 cat >conftest.
$ac_ext <<_ACEOF
2535 cat confdefs.h
>>conftest.
$ac_ext
2536 cat >>conftest.
$ac_ext <<_ACEOF
2537 /* end confdefs.h. */
2547 rm -f conftest.
$ac_objext
2548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2549 (eval $ac_compile) 2>conftest.er1
2551 grep -v '^ *+' conftest.er1
>conftest.err
2553 cat conftest.err
>&5
2554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2555 (exit $ac_status); } &&
2556 { ac_try
='test -z "$ac_c_werror_flag"
2557 || test ! -s conftest.err'
2558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562 (exit $ac_status); }; } &&
2563 { ac_try
='test -s conftest.$ac_objext'
2564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568 (exit $ac_status); }; }; then
2571 echo "$as_me: failed program was:" >&5
2572 sed 's/^/| /' conftest.
$ac_ext >&5
2576 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2578 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2579 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2580 if test "$ac_test_CFLAGS" = set; then
2581 CFLAGS
=$ac_save_CFLAGS
2582 elif test $ac_cv_prog_cc_g = yes; then
2583 if test "$GCC" = yes; then
2589 if test "$GCC" = yes; then
2595 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2596 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2597 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2598 echo $ECHO_N "(cached) $ECHO_C" >&6
2600 ac_cv_prog_cc_stdc
=no
2602 cat >conftest.
$ac_ext <<_ACEOF
2605 cat confdefs.h
>>conftest.
$ac_ext
2606 cat >>conftest.
$ac_ext <<_ACEOF
2607 /* end confdefs.h. */
2610 #include <sys/types.h>
2611 #include <sys/stat.h>
2612 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2613 struct buf { int x; };
2614 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2615 static char *e (p, i)
2621 static char *f (char * (*g) (char **, int), char **p, ...)
2626 s = g (p, va_arg (v,int));
2631 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2632 function prototypes and stuff, but not '\xHH' hex character constants.
2633 These don't provoke an error unfortunately, instead are silently treated
2634 as 'x'. The following induces an error, until -std1 is added to get
2635 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2636 array size at least. It's necessary to write '\x00'==0 to get something
2637 that's true only with -std1. */
2638 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2640 int test (int i, double x);
2641 struct s1 {int (*f) (int a);};
2642 struct s2 {int (*f) (double a);};
2643 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2649 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2654 # Don't try gcc -ansi; that turns off useful extensions and
2655 # breaks some systems' header files.
2656 # AIX -qlanglvl=ansi
2657 # Ultrix and OSF/1 -std1
2658 # HP-UX 10.20 and later -Ae
2659 # HP-UX older versions -Aa -D_HPUX_SOURCE
2660 # SVR4 -Xc -D__EXTENSIONS__
2661 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2663 CC
="$ac_save_CC $ac_arg"
2664 rm -f conftest.
$ac_objext
2665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2666 (eval $ac_compile) 2>conftest.er1
2668 grep -v '^ *+' conftest.er1
>conftest.err
2670 cat conftest.err
>&5
2671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2672 (exit $ac_status); } &&
2673 { ac_try
='test -z "$ac_c_werror_flag"
2674 || test ! -s conftest.err'
2675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2679 (exit $ac_status); }; } &&
2680 { ac_try
='test -s conftest.$ac_objext'
2681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); }; }; then
2686 ac_cv_prog_cc_stdc
=$ac_arg
2689 echo "$as_me: failed program was:" >&5
2690 sed 's/^/| /' conftest.
$ac_ext >&5
2693 rm -f conftest.err conftest.
$ac_objext
2695 rm -f conftest.
$ac_ext conftest.
$ac_objext
2700 case "x$ac_cv_prog_cc_stdc" in
2702 echo "$as_me:$LINENO: result: none needed" >&5
2703 echo "${ECHO_T}none needed" >&6 ;;
2705 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2706 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2707 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2710 # Some people use a C++ compiler to compile C. Since we use `exit',
2711 # in C++ we need to declare it. In case someone uses the same compiler
2712 # for both compiling C and C++ we need to have the C++ compiler decide
2713 # the declaration of exit, since it's the most demanding environment.
2714 cat >conftest.
$ac_ext <<_ACEOF
2719 rm -f conftest.
$ac_objext
2720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2721 (eval $ac_compile) 2>conftest.er1
2723 grep -v '^ *+' conftest.er1
>conftest.err
2725 cat conftest.err
>&5
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); } &&
2728 { ac_try
='test -z "$ac_c_werror_flag"
2729 || test ! -s conftest.err'
2730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2734 (exit $ac_status); }; } &&
2735 { ac_try
='test -s conftest.$ac_objext'
2736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2740 (exit $ac_status); }; }; then
2741 for ac_declaration
in \
2743 'extern "C" void std::exit (int) throw (); using std::exit;' \
2744 'extern "C" void std::exit (int); using std::exit;' \
2745 'extern "C" void exit (int) throw ();' \
2746 'extern "C" void exit (int);' \
2749 cat >conftest.
$ac_ext <<_ACEOF
2752 cat confdefs.h
>>conftest.
$ac_ext
2753 cat >>conftest.
$ac_ext <<_ACEOF
2754 /* end confdefs.h. */
2765 rm -f conftest.
$ac_objext
2766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2767 (eval $ac_compile) 2>conftest.er1
2769 grep -v '^ *+' conftest.er1
>conftest.err
2771 cat conftest.err
>&5
2772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773 (exit $ac_status); } &&
2774 { ac_try
='test -z "$ac_c_werror_flag"
2775 || test ! -s conftest.err'
2776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780 (exit $ac_status); }; } &&
2781 { ac_try
='test -s conftest.$ac_objext'
2782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); }; }; then
2789 echo "$as_me: failed program was:" >&5
2790 sed 's/^/| /' conftest.
$ac_ext >&5
2794 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2795 cat >conftest.
$ac_ext <<_ACEOF
2798 cat confdefs.h
>>conftest.
$ac_ext
2799 cat >>conftest.
$ac_ext <<_ACEOF
2800 /* end confdefs.h. */
2810 rm -f conftest.
$ac_objext
2811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2812 (eval $ac_compile) 2>conftest.er1
2814 grep -v '^ *+' conftest.er1
>conftest.err
2816 cat conftest.err
>&5
2817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818 (exit $ac_status); } &&
2819 { ac_try
='test -z "$ac_c_werror_flag"
2820 || test ! -s conftest.err'
2821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2825 (exit $ac_status); }; } &&
2826 { ac_try
='test -s conftest.$ac_objext'
2827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2831 (exit $ac_status); }; }; then
2834 echo "$as_me: failed program was:" >&5
2835 sed 's/^/| /' conftest.
$ac_ext >&5
2838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2841 if test -n "$ac_declaration"; then
2842 echo '#ifdef __cplusplus' >>confdefs.h
2843 echo $ac_declaration >>confdefs.h
2844 echo '#endif' >>confdefs.h
2848 echo "$as_me: failed program was:" >&5
2849 sed 's/^/| /' conftest.
$ac_ext >&5
2852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2854 ac_cpp
='$CPP $CPPFLAGS'
2855 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2856 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2857 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2860 ac_cpp
='$CXXCPP $CPPFLAGS'
2861 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2862 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2863 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2864 if test -n "$ac_tool_prefix"; then
2865 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2867 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2868 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2869 echo "$as_me:$LINENO: checking for $ac_word" >&5
2870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2871 if test "${ac_cv_prog_CXX+set}" = set; then
2872 echo $ECHO_N "(cached) $ECHO_C" >&6
2874 if test -n "$CXX"; then
2875 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2881 test -z "$as_dir" && as_dir
=.
2882 for ac_exec_ext
in '' $ac_executable_extensions; do
2883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2884 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2894 if test -n "$CXX"; then
2895 echo "$as_me:$LINENO: result: $CXX" >&5
2896 echo "${ECHO_T}$CXX" >&6
2898 echo "$as_me:$LINENO: result: no" >&5
2899 echo "${ECHO_T}no" >&6
2902 test -n "$CXX" && break
2905 if test -z "$CXX"; then
2907 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2909 # Extract the first word of "$ac_prog", so it can be a program name with args.
2910 set dummy
$ac_prog; ac_word
=$2
2911 echo "$as_me:$LINENO: checking for $ac_word" >&5
2912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2913 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2914 echo $ECHO_N "(cached) $ECHO_C" >&6
2916 if test -n "$ac_ct_CXX"; then
2917 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2923 test -z "$as_dir" && as_dir
=.
2924 for ac_exec_ext
in '' $ac_executable_extensions; do
2925 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2926 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2935 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2936 if test -n "$ac_ct_CXX"; then
2937 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2938 echo "${ECHO_T}$ac_ct_CXX" >&6
2940 echo "$as_me:$LINENO: result: no" >&5
2941 echo "${ECHO_T}no" >&6
2944 test -n "$ac_ct_CXX" && break
2946 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2952 # Provide some information about the compiler.
2953 echo "$as_me:$LINENO:" \
2954 "checking for C++ compiler version" >&5
2955 ac_compiler
=`set X $ac_compile; echo $2`
2956 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2957 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960 (exit $ac_status); }
2961 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2962 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); }
2966 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2967 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970 (exit $ac_status); }
2972 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2973 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2974 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2975 echo $ECHO_N "(cached) $ECHO_C" >&6
2977 cat >conftest.
$ac_ext <<_ACEOF
2980 cat confdefs.h
>>conftest.
$ac_ext
2981 cat >>conftest.
$ac_ext <<_ACEOF
2982 /* end confdefs.h. */
2995 rm -f conftest.
$ac_objext
2996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2997 (eval $ac_compile) 2>conftest.er1
2999 grep -v '^ *+' conftest.er1
>conftest.err
3001 cat conftest.err
>&5
3002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3003 (exit $ac_status); } &&
3004 { ac_try
='test -z "$ac_cxx_werror_flag"
3005 || test ! -s conftest.err'
3006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010 (exit $ac_status); }; } &&
3011 { ac_try
='test -s conftest.$ac_objext'
3012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016 (exit $ac_status); }; }; then
3019 echo "$as_me: failed program was:" >&5
3020 sed 's/^/| /' conftest.
$ac_ext >&5
3024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3025 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3028 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3029 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3030 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3031 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3032 ac_save_CXXFLAGS
=$CXXFLAGS
3034 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3035 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3036 if test "${ac_cv_prog_cxx_g+set}" = set; then
3037 echo $ECHO_N "(cached) $ECHO_C" >&6
3039 cat >conftest.
$ac_ext <<_ACEOF
3042 cat confdefs.h
>>conftest.
$ac_ext
3043 cat >>conftest.
$ac_ext <<_ACEOF
3044 /* end confdefs.h. */
3054 rm -f conftest.
$ac_objext
3055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3056 (eval $ac_compile) 2>conftest.er1
3058 grep -v '^ *+' conftest.er1
>conftest.err
3060 cat conftest.err
>&5
3061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3062 (exit $ac_status); } &&
3063 { ac_try
='test -z "$ac_cxx_werror_flag"
3064 || test ! -s conftest.err'
3065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3069 (exit $ac_status); }; } &&
3070 { ac_try
='test -s conftest.$ac_objext'
3071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075 (exit $ac_status); }; }; then
3076 ac_cv_prog_cxx_g
=yes
3078 echo "$as_me: failed program was:" >&5
3079 sed 's/^/| /' conftest.
$ac_ext >&5
3083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3085 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3086 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3087 if test "$ac_test_CXXFLAGS" = set; then
3088 CXXFLAGS
=$ac_save_CXXFLAGS
3089 elif test $ac_cv_prog_cxx_g = yes; then
3090 if test "$GXX" = yes; then
3096 if test "$GXX" = yes; then
3102 for ac_declaration
in \
3104 'extern "C" void std::exit (int) throw (); using std::exit;' \
3105 'extern "C" void std::exit (int); using std::exit;' \
3106 'extern "C" void exit (int) throw ();' \
3107 'extern "C" void exit (int);' \
3110 cat >conftest.
$ac_ext <<_ACEOF
3113 cat confdefs.h
>>conftest.
$ac_ext
3114 cat >>conftest.
$ac_ext <<_ACEOF
3115 /* end confdefs.h. */
3126 rm -f conftest.
$ac_objext
3127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3128 (eval $ac_compile) 2>conftest.er1
3130 grep -v '^ *+' conftest.er1
>conftest.err
3132 cat conftest.err
>&5
3133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134 (exit $ac_status); } &&
3135 { ac_try
='test -z "$ac_cxx_werror_flag"
3136 || test ! -s conftest.err'
3137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3141 (exit $ac_status); }; } &&
3142 { ac_try
='test -s conftest.$ac_objext'
3143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147 (exit $ac_status); }; }; then
3150 echo "$as_me: failed program was:" >&5
3151 sed 's/^/| /' conftest.
$ac_ext >&5
3155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3156 cat >conftest.
$ac_ext <<_ACEOF
3159 cat confdefs.h
>>conftest.
$ac_ext
3160 cat >>conftest.
$ac_ext <<_ACEOF
3161 /* end confdefs.h. */
3171 rm -f conftest.
$ac_objext
3172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3173 (eval $ac_compile) 2>conftest.er1
3175 grep -v '^ *+' conftest.er1
>conftest.err
3177 cat conftest.err
>&5
3178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3179 (exit $ac_status); } &&
3180 { ac_try
='test -z "$ac_cxx_werror_flag"
3181 || test ! -s conftest.err'
3182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186 (exit $ac_status); }; } &&
3187 { ac_try
='test -s conftest.$ac_objext'
3188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3192 (exit $ac_status); }; }; then
3195 echo "$as_me: failed program was:" >&5
3196 sed 's/^/| /' conftest.
$ac_ext >&5
3199 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3202 if test -n "$ac_declaration"; then
3203 echo '#ifdef __cplusplus' >>confdefs.h
3204 echo $ac_declaration >>confdefs.h
3205 echo '#endif' >>confdefs.h
3209 ac_cpp
='$CPP $CPPFLAGS'
3210 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3211 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3212 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3214 CXXFLAGS
="$save_CXXFLAGS"
3220 am__api_version
="1.9"
3221 # Find a good install program. We prefer a C program (faster),
3222 # so one script is as good as another. But avoid the broken or
3223 # incompatible versions:
3224 # SysV /etc/install, /usr/sbin/install
3225 # SunOS /usr/etc/install
3226 # IRIX /sbin/install
3228 # AmigaOS /C/install, which installs bootblocks on floppy discs
3229 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3230 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3231 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3232 # OS/2's system install, which has a completely different semantic
3233 # ./install, which can be erroneously created by make from ./install.sh.
3234 # Reject install programs that cannot install multiple files.
3235 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3236 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3237 if test -z "$INSTALL"; then
3238 if test "${ac_cv_path_install+set}" = set; then
3239 echo $ECHO_N "(cached) $ECHO_C" >&6
3241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3245 test -z "$as_dir" && as_dir
=.
3246 # Account for people who put trailing slashes in PATH elements.
3248 .
/ | .
// |
/cC
/* | \
3249 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3250 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3253 # OSF1 and SCO ODT 3.0 have their own names for install.
3254 # Don't use installbsd from OSF since it installs stuff as root
3256 for ac_prog
in ginstall scoinst
install; do
3257 for ac_exec_ext
in '' $ac_executable_extensions; do
3258 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3259 if test $ac_prog = install &&
3260 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3261 # AIX install. It has an incompatible calling convention.
3263 elif test $ac_prog = install &&
3264 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3265 # program-specific install script used by HP pwplus--don't use.
3268 rm -rf conftest.one conftest.two conftest.dir
3269 echo one
> conftest.one
3270 echo two
> conftest.two
3272 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3273 test -s conftest.one
&& test -s conftest.two
&&
3274 test -s conftest.dir
/conftest.one
&&
3275 test -s conftest.dir
/conftest.two
3277 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3288 rm -rf conftest.one conftest.two conftest.dir
3291 if test "${ac_cv_path_install+set}" = set; then
3292 INSTALL
=$ac_cv_path_install
3294 # As a last resort, use the slow shell script. Don't cache a
3295 # value for INSTALL within a source directory, because that will
3296 # break other packages using the cache if that directory is
3297 # removed, or if the value is a relative name.
3298 INSTALL
=$ac_install_sh
3301 echo "$as_me:$LINENO: result: $INSTALL" >&5
3302 echo "${ECHO_T}$INSTALL" >&6
3304 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3305 # It thinks the first close brace ends the variable substitution.
3306 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3308 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3310 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3312 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3313 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
3316 echo timestamp
> conftest.
file
3317 # Do `set' in a subshell so we don't clobber the current shell's
3318 # arguments. Must try -L first in case configure is actually a
3319 # symlink; some systems play weird games with the mod time of symlinks
3320 # (eg FreeBSD returns the mod time of the symlink's containing
3323 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
3324 if test "$*" = "X"; then
3326 set X
`ls -t $srcdir/configure conftest.file`
3329 if test "$*" != "X $srcdir/configure conftest.file" \
3330 && test "$*" != "X conftest.file $srcdir/configure"; then
3332 # If neither matched, then we have a broken ls. This can happen
3333 # if, for instance, CONFIG_SHELL is bash and it inherits a
3334 # broken ls alias from the environment. This has actually
3335 # happened. Such a system could not be considered "sane".
3336 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
3337 alias in your environment" >&5
3338 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
3339 alias in your environment" >&2;}
3340 { (exit 1); exit 1; }; }
3343 test "$2" = conftest.
file
3349 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
3350 Check your system clock" >&5
3351 echo "$as_me: error: newly created file is older than distributed files!
3352 Check your system clock" >&2;}
3353 { (exit 1); exit 1; }; }
3355 echo "$as_me:$LINENO: result: yes" >&5
3356 echo "${ECHO_T}yes" >&6
3357 test "$program_prefix" != NONE
&&
3358 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
3359 # Use a double $ so make ignores it.
3360 test "$program_suffix" != NONE
&&
3361 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
3362 # Double any \ or $. echo might interpret backslashes.
3363 # By default was `s,x,x', remove it if useless.
3364 cat <<\_ACEOF
>conftest.
sed
3365 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
3367 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
3370 # expand $ac_aux_dir to an absolute path
3371 am_aux_dir
=`cd $ac_aux_dir && pwd`
3373 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
3374 # Use eval to expand $SHELL
3375 if eval "$MISSING --run true"; then
3376 am_missing_run
="$MISSING --run "
3379 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
3380 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3383 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
3384 # We used to keeping the `.' as first argument, in order to
3385 # allow $(mkdir_p) to be used without argument. As in
3386 # $(mkdir_p) $(somedir)
3387 # where $(somedir) is conditionally defined. However this is wrong
3389 # 1. if the package is installed by a user who cannot write `.'
3390 # make install will fail,
3391 # 2. the above comment should most certainly read
3392 # $(mkdir_p) $(DESTDIR)$(somedir)
3393 # so it does not work when $(somedir) is undefined and
3394 # $(DESTDIR) is not.
3395 # To support the latter case, we have to write
3396 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
3397 # so the `.' trick is pointless.
3398 mkdir_p
='mkdir -p --'
3400 # On NextStep and OpenStep, the `mkdir' command does not
3401 # recognize any option. It will interpret all options as
3402 # directories to create, and then abort because `.' already
3404 for d
in .
/-p .
/--version;
3406 test -d $d && rmdir $d
3408 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
3409 if test -f "$ac_aux_dir/mkinstalldirs"; then
3410 mkdir_p
='$(mkinstalldirs)'
3412 mkdir_p
='$(install_sh) -d'
3416 for ac_prog
in gawk mawk nawk
awk
3418 # Extract the first word of "$ac_prog", so it can be a program name with args.
3419 set dummy
$ac_prog; ac_word
=$2
3420 echo "$as_me:$LINENO: checking for $ac_word" >&5
3421 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3422 if test "${ac_cv_prog_AWK+set}" = set; then
3423 echo $ECHO_N "(cached) $ECHO_C" >&6
3425 if test -n "$AWK"; then
3426 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3432 test -z "$as_dir" && as_dir
=.
3433 for ac_exec_ext
in '' $ac_executable_extensions; do
3434 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3435 ac_cv_prog_AWK
="$ac_prog"
3436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3445 if test -n "$AWK"; then
3446 echo "$as_me:$LINENO: result: $AWK" >&5
3447 echo "${ECHO_T}$AWK" >&6
3449 echo "$as_me:$LINENO: result: no" >&5
3450 echo "${ECHO_T}no" >&6
3453 test -n "$AWK" && break
3456 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3457 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3458 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3459 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3460 echo $ECHO_N "(cached) $ECHO_C" >&6
3462 cat >conftest.
make <<\_ACEOF
3464 @
echo 'ac_maketemp="$(MAKE)"'
3466 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3467 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3468 if test -n "$ac_maketemp"; then
3469 eval ac_cv_prog_make_
${ac_make}_set
=yes
3471 eval ac_cv_prog_make_
${ac_make}_set
=no
3475 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3476 echo "$as_me:$LINENO: result: yes" >&5
3477 echo "${ECHO_T}yes" >&6
3480 echo "$as_me:$LINENO: result: no" >&5
3481 echo "${ECHO_T}no" >&6
3482 SET_MAKE
="MAKE=${MAKE-make}"
3485 rm -rf .tst
2>/dev
/null
3486 mkdir .tst
2>/dev
/null
3487 if test -d .tst
; then
3492 rmdir .tst
2>/dev
/null
3494 DEPDIR
="${am__leading_dot}deps"
3496 ac_config_commands
="$ac_config_commands depfiles"
3499 am_make
=${MAKE-make}
3500 cat > confinc
<< 'END'
3505 # If we don't find an include directive, just comment out the code.
3506 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3507 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3511 # First try GNU make style include.
3512 echo "include confinc" > confmf
3513 # We grep out `Entering directory' and `Leaving directory'
3514 # messages which can occur if `w' ends up in MAKEFLAGS.
3515 # In particular we don't look at `^make:' because GNU make might
3516 # be invoked under some other name (usually "gmake"), in which
3517 # case it prints its new name instead of `make'.
3518 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3523 # Now try BSD make style include.
3524 if test "$am__include" = "#"; then
3525 echo '.include "confinc"' > confmf
3526 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3527 am__include
=.include
3534 echo "$as_me:$LINENO: result: $_am_result" >&5
3535 echo "${ECHO_T}$_am_result" >&6
3536 rm -f confinc confmf
3538 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3539 if test "${enable_dependency_tracking+set}" = set; then
3540 enableval
="$enable_dependency_tracking"
3543 if test "x$enable_dependency_tracking" != xno
; then
3544 am_depcomp
="$ac_aux_dir/depcomp"
3549 if test "x$enable_dependency_tracking" != xno; then
3559 # test to see if srcdir already configured
3560 if test "`cd $srcdir && pwd`" != "`pwd`" &&
3561 test -f $srcdir/config.status
; then
3562 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3563 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3564 { (exit 1); exit 1; }; }
3567 # test whether we have cygpath
3568 if test -z "$CYGPATH_W"; then
3569 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3570 CYGPATH_W
='cygpath -w'
3577 # Define the identity of the package.
3579 VERSION
='version-unused'
3582 cat >>confdefs.h
<<_ACEOF
3583 #define PACKAGE "$PACKAGE"
3587 cat >>confdefs.h
<<_ACEOF
3588 #define VERSION "$VERSION"
3591 # Some tools Automake needs.
3593 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3596 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3599 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3602 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3605 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3607 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3609 # Installed binaries are usually stripped using `strip' when the user
3610 # run `make install-strip'. However `strip' might not be the right
3611 # tool to use in cross-compilation environments, therefore Automake
3612 # will honor the `STRIP' environment variable to overrule this program.
3613 if test "$cross_compiling" != no
; then
3614 if test -n "$ac_tool_prefix"; then
3615 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3616 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3617 echo "$as_me:$LINENO: checking for $ac_word" >&5
3618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3619 if test "${ac_cv_prog_STRIP+set}" = set; then
3620 echo $ECHO_N "(cached) $ECHO_C" >&6
3622 if test -n "$STRIP"; then
3623 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3629 test -z "$as_dir" && as_dir
=.
3630 for ac_exec_ext
in '' $ac_executable_extensions; do
3631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3632 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3641 STRIP
=$ac_cv_prog_STRIP
3642 if test -n "$STRIP"; then
3643 echo "$as_me:$LINENO: result: $STRIP" >&5
3644 echo "${ECHO_T}$STRIP" >&6
3646 echo "$as_me:$LINENO: result: no" >&5
3647 echo "${ECHO_T}no" >&6
3651 if test -z "$ac_cv_prog_STRIP"; then
3653 # Extract the first word of "strip", so it can be a program name with args.
3654 set dummy strip
; ac_word
=$2
3655 echo "$as_me:$LINENO: checking for $ac_word" >&5
3656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3657 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3658 echo $ECHO_N "(cached) $ECHO_C" >&6
3660 if test -n "$ac_ct_STRIP"; then
3661 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3667 test -z "$as_dir" && as_dir
=.
3668 for ac_exec_ext
in '' $ac_executable_extensions; do
3669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3670 ac_cv_prog_ac_ct_STRIP
="strip"
3671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3677 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3680 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3681 if test -n "$ac_ct_STRIP"; then
3682 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3683 echo "${ECHO_T}$ac_ct_STRIP" >&6
3685 echo "$as_me:$LINENO: result: no" >&5
3686 echo "${ECHO_T}no" >&6
3691 STRIP
="$ac_cv_prog_STRIP"
3695 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3697 # We need awk for the "check" target. The system "awk" is bad on
3699 # Always define AMTAR for backward compatibility.
3701 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3703 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3708 depcc
="$CC" am_compiler_list
=
3710 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3711 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3712 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3713 echo $ECHO_N "(cached) $ECHO_C" >&6
3715 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3716 # We make a subdir and do the tests there. Otherwise we can end up
3717 # making bogus files that we don't know about and never remove. For
3718 # instance it was reported that on HP-UX the gcc test will end up
3719 # making a dummy file named `D' -- because `-MD' means `put the output
3722 # Copy depcomp to subdir because otherwise we won't find it if we're
3723 # using a relative directory.
3724 cp "$am_depcomp" conftest.dir
3726 # We will build objects and dependencies in a subdirectory because
3727 # it helps to detect inapplicable dependency modes. For instance
3728 # both Tru64's cc and ICC support -MD to output dependencies as a
3729 # side effect of compilation, but ICC will put the dependencies in
3730 # the current directory while Tru64 will put them in the object
3734 am_cv_CC_dependencies_compiler_type
=none
3735 if test "$am_compiler_list" = ""; then
3736 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3738 for depmode
in $am_compiler_list; do
3739 # Setup a source with many dependencies, because some compilers
3740 # like to wrap large dependency lists on column 80 (with \), and
3741 # we should not choose a depcomp mode which is confused by this.
3743 # We need to recreate these files for each test, as the compiler may
3744 # overwrite some of them when testing with obscure command lines.
3745 # This happens at least with the AIX C compiler.
3747 for i
in 1 2 3 4 5 6; do
3748 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3749 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3750 # Solaris 8's {/usr,}/bin/sh.
3751 touch sub
/conftst
$i.h
3753 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3757 # after this tag, mechanisms are not by side-effect, so they'll
3758 # only be used when explicitly requested
3759 if test "x$enable_dependency_tracking" = xyes
; then
3767 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3768 # mode. It turns out that the SunPro C++ compiler does not properly
3769 # handle `-M -o', and we need to detect this.
3770 if depmode
=$depmode \
3771 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3772 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3773 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3774 >/dev
/null
2>conftest.err
&&
3775 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3776 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3777 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3778 # icc doesn't choke on unknown options, it will just issue warnings
3779 # or remarks (even with -Werror). So we grep stderr for any message
3780 # that says an option was ignored or not supported.
3781 # When given -MP, icc 7.0 and 7.1 complain thusly:
3782 # icc: Command line warning: ignoring option '-M'; no argument required
3783 # The diagnosis changed in icc 8.0:
3784 # icc: Command line remark: option '-MP' not supported
3785 if (grep 'ignoring option' conftest.err ||
3786 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3787 am_cv_CC_dependencies_compiler_type
=$depmode
3796 am_cv_CC_dependencies_compiler_type
=none
3800 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3801 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3802 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3807 test "x$enable_dependency_tracking" != xno \
3808 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3810 am__fastdepCC_FALSE
='#'
3812 am__fastdepCC_TRUE
='#'
3813 am__fastdepCC_FALSE
=
3817 depcc
="$CXX" am_compiler_list
=
3819 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3820 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3821 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3822 echo $ECHO_N "(cached) $ECHO_C" >&6
3824 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3825 # We make a subdir and do the tests there. Otherwise we can end up
3826 # making bogus files that we don't know about and never remove. For
3827 # instance it was reported that on HP-UX the gcc test will end up
3828 # making a dummy file named `D' -- because `-MD' means `put the output
3831 # Copy depcomp to subdir because otherwise we won't find it if we're
3832 # using a relative directory.
3833 cp "$am_depcomp" conftest.dir
3835 # We will build objects and dependencies in a subdirectory because
3836 # it helps to detect inapplicable dependency modes. For instance
3837 # both Tru64's cc and ICC support -MD to output dependencies as a
3838 # side effect of compilation, but ICC will put the dependencies in
3839 # the current directory while Tru64 will put them in the object
3843 am_cv_CXX_dependencies_compiler_type
=none
3844 if test "$am_compiler_list" = ""; then
3845 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3847 for depmode
in $am_compiler_list; do
3848 # Setup a source with many dependencies, because some compilers
3849 # like to wrap large dependency lists on column 80 (with \), and
3850 # we should not choose a depcomp mode which is confused by this.
3852 # We need to recreate these files for each test, as the compiler may
3853 # overwrite some of them when testing with obscure command lines.
3854 # This happens at least with the AIX C compiler.
3856 for i
in 1 2 3 4 5 6; do
3857 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3858 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3859 # Solaris 8's {/usr,}/bin/sh.
3860 touch sub
/conftst
$i.h
3862 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3866 # after this tag, mechanisms are not by side-effect, so they'll
3867 # only be used when explicitly requested
3868 if test "x$enable_dependency_tracking" = xyes
; then
3876 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3877 # mode. It turns out that the SunPro C++ compiler does not properly
3878 # handle `-M -o', and we need to detect this.
3879 if depmode
=$depmode \
3880 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3881 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3882 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3883 >/dev
/null
2>conftest.err
&&
3884 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3885 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3886 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3887 # icc doesn't choke on unknown options, it will just issue warnings
3888 # or remarks (even with -Werror). So we grep stderr for any message
3889 # that says an option was ignored or not supported.
3890 # When given -MP, icc 7.0 and 7.1 complain thusly:
3891 # icc: Command line warning: ignoring option '-M'; no argument required
3892 # The diagnosis changed in icc 8.0:
3893 # icc: Command line remark: option '-MP' not supported
3894 if (grep 'ignoring option' conftest.err ||
3895 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3896 am_cv_CXX_dependencies_compiler_type
=$depmode
3905 am_cv_CXX_dependencies_compiler_type
=none
3909 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3910 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3911 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3916 test "x$enable_dependency_tracking" != xno \
3917 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3918 am__fastdepCXX_TRUE
=
3919 am__fastdepCXX_FALSE
='#'
3921 am__fastdepCXX_TRUE
='#'
3922 am__fastdepCXX_FALSE
=
3928 if test -n "$ac_tool_prefix"; then
3929 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3930 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3931 echo "$as_me:$LINENO: checking for $ac_word" >&5
3932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3933 if test "${ac_cv_prog_AS+set}" = set; then
3934 echo $ECHO_N "(cached) $ECHO_C" >&6
3936 if test -n "$AS"; then
3937 ac_cv_prog_AS
="$AS" # Let the user override the test.
3939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3943 test -z "$as_dir" && as_dir
=.
3944 for ac_exec_ext
in '' $ac_executable_extensions; do
3945 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3946 ac_cv_prog_AS
="${ac_tool_prefix}as"
3947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3956 if test -n "$AS"; then
3957 echo "$as_me:$LINENO: result: $AS" >&5
3958 echo "${ECHO_T}$AS" >&6
3960 echo "$as_me:$LINENO: result: no" >&5
3961 echo "${ECHO_T}no" >&6
3965 if test -z "$ac_cv_prog_AS"; then
3967 # Extract the first word of "as", so it can be a program name with args.
3968 set dummy as
; ac_word
=$2
3969 echo "$as_me:$LINENO: checking for $ac_word" >&5
3970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3971 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3972 echo $ECHO_N "(cached) $ECHO_C" >&6
3974 if test -n "$ac_ct_AS"; then
3975 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3981 test -z "$as_dir" && as_dir
=.
3982 for ac_exec_ext
in '' $ac_executable_extensions; do
3983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3984 ac_cv_prog_ac_ct_AS
="as"
3985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3993 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3994 if test -n "$ac_ct_AS"; then
3995 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3996 echo "${ECHO_T}$ac_ct_AS" >&6
3998 echo "$as_me:$LINENO: result: no" >&5
3999 echo "${ECHO_T}no" >&6
4007 if test -n "$ac_tool_prefix"; then
4008 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4009 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4010 echo "$as_me:$LINENO: checking for $ac_word" >&5
4011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4012 if test "${ac_cv_prog_LD+set}" = set; then
4013 echo $ECHO_N "(cached) $ECHO_C" >&6
4015 if test -n "$LD"; then
4016 ac_cv_prog_LD
="$LD" # Let the user override the test.
4018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4022 test -z "$as_dir" && as_dir
=.
4023 for ac_exec_ext
in '' $ac_executable_extensions; do
4024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4025 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4035 if test -n "$LD"; then
4036 echo "$as_me:$LINENO: result: $LD" >&5
4037 echo "${ECHO_T}$LD" >&6
4039 echo "$as_me:$LINENO: result: no" >&5
4040 echo "${ECHO_T}no" >&6
4044 if test -z "$ac_cv_prog_LD"; then
4046 # Extract the first word of "ld", so it can be a program name with args.
4047 set dummy ld
; ac_word
=$2
4048 echo "$as_me:$LINENO: checking for $ac_word" >&5
4049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4050 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4051 echo $ECHO_N "(cached) $ECHO_C" >&6
4053 if test -n "$ac_ct_LD"; then
4054 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4060 test -z "$as_dir" && as_dir
=.
4061 for ac_exec_ext
in '' $ac_executable_extensions; do
4062 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4063 ac_cv_prog_ac_ct_LD
="ld"
4064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4072 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4073 if test -n "$ac_ct_LD"; then
4074 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4075 echo "${ECHO_T}$ac_ct_LD" >&6
4077 echo "$as_me:$LINENO: result: no" >&5
4078 echo "${ECHO_T}no" >&6
4086 if test -n "$ac_tool_prefix"; then
4087 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4088 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4089 echo "$as_me:$LINENO: checking for $ac_word" >&5
4090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4091 if test "${ac_cv_prog_AR+set}" = set; then
4092 echo $ECHO_N "(cached) $ECHO_C" >&6
4094 if test -n "$AR"; then
4095 ac_cv_prog_AR
="$AR" # Let the user override the test.
4097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4101 test -z "$as_dir" && as_dir
=.
4102 for ac_exec_ext
in '' $ac_executable_extensions; do
4103 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4104 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4114 if test -n "$AR"; then
4115 echo "$as_me:$LINENO: result: $AR" >&5
4116 echo "${ECHO_T}$AR" >&6
4118 echo "$as_me:$LINENO: result: no" >&5
4119 echo "${ECHO_T}no" >&6
4123 if test -z "$ac_cv_prog_AR"; then
4125 # Extract the first word of "ar", so it can be a program name with args.
4126 set dummy
ar; ac_word
=$2
4127 echo "$as_me:$LINENO: checking for $ac_word" >&5
4128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4129 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4130 echo $ECHO_N "(cached) $ECHO_C" >&6
4132 if test -n "$ac_ct_AR"; then
4133 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4139 test -z "$as_dir" && as_dir
=.
4140 for ac_exec_ext
in '' $ac_executable_extensions; do
4141 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4142 ac_cv_prog_ac_ct_AR
="ar"
4143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4151 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4152 if test -n "$ac_ct_AR"; then
4153 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4154 echo "${ECHO_T}$ac_ct_AR" >&6
4156 echo "$as_me:$LINENO: result: no" >&5
4157 echo "${ECHO_T}no" >&6
4165 if test -n "$ac_tool_prefix"; then
4166 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4167 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4168 echo "$as_me:$LINENO: checking for $ac_word" >&5
4169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4170 if test "${ac_cv_prog_RANLIB+set}" = set; then
4171 echo $ECHO_N "(cached) $ECHO_C" >&6
4173 if test -n "$RANLIB"; then
4174 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4180 test -z "$as_dir" && as_dir
=.
4181 for ac_exec_ext
in '' $ac_executable_extensions; do
4182 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4183 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4192 RANLIB
=$ac_cv_prog_RANLIB
4193 if test -n "$RANLIB"; then
4194 echo "$as_me:$LINENO: result: $RANLIB" >&5
4195 echo "${ECHO_T}$RANLIB" >&6
4197 echo "$as_me:$LINENO: result: no" >&5
4198 echo "${ECHO_T}no" >&6
4202 if test -z "$ac_cv_prog_RANLIB"; then
4203 ac_ct_RANLIB
=$RANLIB
4204 # Extract the first word of "ranlib", so it can be a program name with args.
4205 set dummy ranlib
; ac_word
=$2
4206 echo "$as_me:$LINENO: checking for $ac_word" >&5
4207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4208 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4209 echo $ECHO_N "(cached) $ECHO_C" >&6
4211 if test -n "$ac_ct_RANLIB"; then
4212 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4218 test -z "$as_dir" && as_dir
=.
4219 for ac_exec_ext
in '' $ac_executable_extensions; do
4220 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4221 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4228 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4231 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4232 if test -n "$ac_ct_RANLIB"; then
4233 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4234 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4236 echo "$as_me:$LINENO: result: no" >&5
4237 echo "${ECHO_T}no" >&6
4240 RANLIB
=$ac_ct_RANLIB
4242 RANLIB
="$ac_cv_prog_RANLIB"
4245 for ac_prog
in gawk mawk nawk
awk
4247 # Extract the first word of "$ac_prog", so it can be a program name with args.
4248 set dummy
$ac_prog; ac_word
=$2
4249 echo "$as_me:$LINENO: checking for $ac_word" >&5
4250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4251 if test "${ac_cv_prog_AWK+set}" = set; then
4252 echo $ECHO_N "(cached) $ECHO_C" >&6
4254 if test -n "$AWK"; then
4255 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4261 test -z "$as_dir" && as_dir
=.
4262 for ac_exec_ext
in '' $ac_executable_extensions; do
4263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4264 ac_cv_prog_AWK
="$ac_prog"
4265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4274 if test -n "$AWK"; then
4275 echo "$as_me:$LINENO: result: $AWK" >&5
4276 echo "${ECHO_T}$AWK" >&6
4278 echo "$as_me:$LINENO: result: no" >&5
4279 echo "${ECHO_T}no" >&6
4282 test -n "$AWK" && break
4285 for ac_prog
in jar fastjar gjar
4287 # Extract the first word of "$ac_prog", so it can be a program name with args.
4288 set dummy
$ac_prog; ac_word
=$2
4289 echo "$as_me:$LINENO: checking for $ac_word" >&5
4290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4291 if test "${ac_cv_prog_JAR+set}" = set; then
4292 echo $ECHO_N "(cached) $ECHO_C" >&6
4294 if test -n "$JAR"; then
4295 ac_cv_prog_JAR
="$JAR" # Let the user override the test.
4297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4301 test -z "$as_dir" && as_dir
=.
4302 for ac_exec_ext
in '' $ac_executable_extensions; do
4303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4304 ac_cv_prog_JAR
="$ac_prog"
4305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4314 if test -n "$JAR"; then
4315 echo "$as_me:$LINENO: result: $JAR" >&5
4316 echo "${ECHO_T}$JAR" >&6
4318 echo "$as_me:$LINENO: result: no" >&5
4319 echo "${ECHO_T}no" >&6
4322 test -n "$JAR" && break
4324 test -n "$JAR" || JAR
="no"
4326 # Extract the first word of "zip", so it can be a program name with args.
4327 set dummy
zip; ac_word
=$2
4328 echo "$as_me:$LINENO: checking for $ac_word" >&5
4329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4330 if test "${ac_cv_path_ZIP+set}" = set; then
4331 echo $ECHO_N "(cached) $ECHO_C" >&6
4335 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
4338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4342 test -z "$as_dir" && as_dir
=.
4343 for ac_exec_ext
in '' $ac_executable_extensions; do
4344 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4345 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
4346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4352 test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP
="no"
4358 if test -n "$ZIP"; then
4359 echo "$as_me:$LINENO: result: $ZIP" >&5
4360 echo "${ECHO_T}$ZIP" >&6
4362 echo "$as_me:$LINENO: result: no" >&5
4363 echo "${ECHO_T}no" >&6
4366 # Extract the first word of "unzip", so it can be a program name with args.
4367 set dummy
unzip; ac_word
=$2
4368 echo "$as_me:$LINENO: checking for $ac_word" >&5
4369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4370 if test "${ac_cv_path_UNZIP+set}" = set; then
4371 echo $ECHO_N "(cached) $ECHO_C" >&6
4375 ac_cv_path_UNZIP
="$UNZIP" # Let the user override the test with a path.
4378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4382 test -z "$as_dir" && as_dir
=.
4383 for ac_exec_ext
in '' $ac_executable_extensions; do
4384 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4385 ac_cv_path_UNZIP
="$as_dir/$ac_word$ac_exec_ext"
4386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4392 test -z "$ac_cv_path_UNZIP" && ac_cv_path_UNZIP
="unzip"
4396 UNZIP
=$ac_cv_path_UNZIP
4398 if test -n "$UNZIP"; then
4399 echo "$as_me:$LINENO: result: $UNZIP" >&5
4400 echo "${ECHO_T}$UNZIP" >&6
4402 echo "$as_me:$LINENO: result: no" >&5
4403 echo "${ECHO_T}no" >&6
4407 # We need a jar that supports -@. This is a GNU extension.
4408 if test "$JAR" != no
; then
4409 rm -f config-test.jar
4410 echo $srcdir/configure.ac |
$JAR -cf@ config-test.jar
4411 if test -f config-test.jar
; then
4412 rm -f config-test.jar
4418 # Prefer the jar we found, but fall back to our jar script.
4419 if test "$JAR" = no
; then
4420 if test "$ZIP" = no
; then
4421 { { echo "$as_me:$LINENO: error: cannot find neither zip nor jar, cannot continue" >&5
4422 echo "$as_me: error: cannot find neither zip nor jar, cannot continue" >&2;}
4423 { (exit 1); exit 1; }; }
4425 # InfoZIP available, use the 'guaranteed' Bourne-shell JAR to build libjava
4426 JAR
=`pwd`/scripts
/jar
4430 # Find a good install program. We prefer a C program (faster),
4431 # so one script is as good as another. But avoid the broken or
4432 # incompatible versions:
4433 # SysV /etc/install, /usr/sbin/install
4434 # SunOS /usr/etc/install
4435 # IRIX /sbin/install
4437 # AmigaOS /C/install, which installs bootblocks on floppy discs
4438 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4439 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4440 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4441 # OS/2's system install, which has a completely different semantic
4442 # ./install, which can be erroneously created by make from ./install.sh.
4443 # Reject install programs that cannot install multiple files.
4444 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4445 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4446 if test -z "$INSTALL"; then
4447 if test "${ac_cv_path_install+set}" = set; then
4448 echo $ECHO_N "(cached) $ECHO_C" >&6
4450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4454 test -z "$as_dir" && as_dir
=.
4455 # Account for people who put trailing slashes in PATH elements.
4457 .
/ | .
// |
/cC
/* | \
4458 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4459 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4462 # OSF1 and SCO ODT 3.0 have their own names for install.
4463 # Don't use installbsd from OSF since it installs stuff as root
4465 for ac_prog
in ginstall scoinst
install; do
4466 for ac_exec_ext
in '' $ac_executable_extensions; do
4467 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4468 if test $ac_prog = install &&
4469 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4470 # AIX install. It has an incompatible calling convention.
4472 elif test $ac_prog = install &&
4473 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4474 # program-specific install script used by HP pwplus--don't use.
4477 rm -rf conftest.one conftest.two conftest.dir
4478 echo one
> conftest.one
4479 echo two
> conftest.two
4481 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4482 test -s conftest.one
&& test -s conftest.two
&&
4483 test -s conftest.dir
/conftest.one
&&
4484 test -s conftest.dir
/conftest.two
4486 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4497 rm -rf conftest.one conftest.two conftest.dir
4500 if test "${ac_cv_path_install+set}" = set; then
4501 INSTALL
=$ac_cv_path_install
4503 # As a last resort, use the slow shell script. Don't cache a
4504 # value for INSTALL within a source directory, because that will
4505 # break other packages using the cache if that directory is
4506 # removed, or if the value is a relative name.
4507 INSTALL
=$ac_install_sh
4510 echo "$as_me:$LINENO: result: $INSTALL" >&5
4511 echo "${ECHO_T}$INSTALL" >&6
4513 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4514 # It thinks the first close brace ends the variable substitution.
4515 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4517 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4519 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4522 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4523 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4524 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4525 if test "${enable_maintainer_mode+set}" = set; then
4526 enableval
="$enable_maintainer_mode"
4527 USE_MAINTAINER_MODE
=$enableval
4529 USE_MAINTAINER_MODE
=no
4531 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4532 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4535 if test $USE_MAINTAINER_MODE = yes; then
4536 MAINTAINER_MODE_TRUE
=
4537 MAINTAINER_MODE_FALSE
='#'
4539 MAINTAINER_MODE_TRUE
='#'
4540 MAINTAINER_MODE_FALSE
=
4543 MAINT
=$MAINTAINER_MODE_TRUE
4549 # configure.host sets the following important variables
4550 # libgcj_cflags - host specific C compiler flags
4551 # libgcj_cxxflags - host specific C++ compiler flags
4552 # libgcj_javaflags - host specific Java compiler flags
4558 .
${srcdir}/configure.
host
4560 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4561 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4562 if test "${acl_cv_prog_gnu_ld+set}" = set; then
4563 echo $ECHO_N "(cached) $ECHO_C" >&6
4565 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4566 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4567 acl_cv_prog_gnu_ld
=yes
4569 acl_cv_prog_gnu_ld
=no
4572 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
4573 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
4574 with_gnu_ld
=$acl_cv_prog_gnu_ld
4576 echo "$as_me:$LINENO: checking if the GNU linker ($LD) supports -Bsymbolic-functions" >&5
4577 echo $ECHO_N "checking if the GNU linker ($LD) supports -Bsymbolic-functions... $ECHO_C" >&6
4578 if test "${acl_cv_prog_gnu_ld_symbolic+set}" = set; then
4579 echo $ECHO_N "(cached) $ECHO_C" >&6
4582 acl_cv_prog_gnu_ld_symbolic
=no
4584 if test x
"$with_gnu_ld" = x
"yes"; then
4585 if $LD --help 2>&1 </dev
/null |
grep Bsymbolic-functions
1>&5; then
4586 acl_cv_prog_gnu_ld_symbolic
=yes
4590 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld_symbolic" >&5
4591 echo "${ECHO_T}$acl_cv_prog_gnu_ld_symbolic" >&6
4592 if test x
"$acl_cv_prog_gnu_ld_symbolic" = x
"yes"; then
4593 SYMBOLIC_LDFLAGS
="-Wl,-Bsymbolic-functions"
4598 libgcj_ld_symbolic_functions
=$SYMBOLIC_LDFLAGS
4599 if test -z "$libgcj_ld_symbolic"; then
4600 libgcj_ld_symbolic
=$SYMBOLIC_LDFLAGS
4603 LIBGCJ_CFLAGS
="${libgcj_cflags}"
4604 LIBGCJ_CXXFLAGS
="${libgcj_cxxflags}"
4605 LIBGCJ_JAVAFLAGS
="${libgcj_javaflags}"
4606 LIBGCJ_LD_SYMBOLIC
="${libgcj_ld_symbolic}"
4607 LIBGCJ_LD_SYMBOLIC_FUNCTIONS
="${libgcj_ld_symbolic_functions}"
4614 # Only use libltdl for non-newlib builds.
4615 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
4616 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
4617 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
4619 libname_spec
='lib$name'
4627 shlibpath_overrides_runpath
=unknown
4629 dynamic_linker
="$host_os ld.so"
4630 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
4631 if test "$GCC" = yes; then
4632 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
4633 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
4634 # if the path contains ";" then we assume it to be the separator
4635 # otherwise default to the standard path separator (i.e. ":") - it is
4636 # assumed that no part of a normal pathname contains ";" but that should
4637 # okay in the real world where ";" in dirpaths is itself problematic.
4638 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
4640 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
4643 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
4645 need_lib_prefix
=unknown
4646 hardcode_into_libs
=no
4648 # when you set need_version to no, make sure it does not cause -set_version
4649 # flags to be left without arguments
4650 need_version
=unknown
4655 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
4656 shlibpath_var
=LIBPATH
4658 # AIX 3 has no versioning support, so we append a major version to the name.
4659 soname_spec
='${libname}${release}${shared_ext}$major'
4666 hardcode_into_libs
=yes
4667 if test "$host_cpu" = ia64
; then
4668 # AIX 5 supports IA64
4669 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
4670 shlibpath_var
=LD_LIBRARY_PATH
4672 # With GCC up to 2.95.x, collect2 would create an import file
4673 # for dependence libraries. The import file would start with
4674 # the line `#! .'. This would cause the generated library to
4675 # depend on `.', always an invalid library. This was fixed in
4676 # development snapshots of GCC prior to 3.0.
4678 aix4 | aix4.
[01] | aix4.
[01].
*)
4679 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
4681 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
4688 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
4689 # soname into executable. Probably we can add versioning support to
4690 # collect2, so additional links can be useful in future.
4691 if test "$aix_use_runtimelinking" = yes; then
4692 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
4693 # instead of lib<name>.a to let people know that these are not
4694 # typical AIX shared libraries.
4695 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4697 # We preserve .a as extension for shared libraries through AIX4.2
4698 # and later when we are not doing run time linking.
4699 library_names_spec
='${libname}${release}.a $libname.a'
4700 soname_spec
='${libname}${release}${shared_ext}$major'
4702 shlibpath_var
=LIBPATH
4707 library_names_spec
='$libname.ixlibrary $libname.a'
4708 # Create ${libname}_ixlibrary.a entries in /sys/libs.
4709 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'
4713 library_names_spec
='${libname}${shared_ext}'
4714 dynamic_linker
="$host_os ld.so"
4715 shlibpath_var
=LIBRARY_PATH
4721 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4722 soname_spec
='${libname}${release}${shared_ext}$major'
4723 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
4724 shlibpath_var
=LD_LIBRARY_PATH
4725 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
4726 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
4727 # the default ld.so.conf also contains /usr/contrib/lib and
4728 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
4729 # libtool to hard-code these into programs
4732 cygwin
* | mingw
* | pw32
*)
4733 version_type
=windows
4738 case $GCC,$host_os in
4739 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
4740 library_names_spec
='$libname.dll.a'
4741 # DLL is installed to $(libdir)/../bin by postinstall_cmds
4742 postinstall_cmds
='base_file=`basename \${file}`~
4743 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
4744 dldir=$destdir/`dirname \$dlpath`~
4745 test -d \$dldir || mkdir -p \$dldir~
4746 $install_prog $dir/$dlname \$dldir/$dlname'
4747 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
4748 dlpath=$dir/\$dldll~
4750 shlibpath_overrides_runpath
=yes
4754 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
4755 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
4756 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
4759 # MinGW DLLs use traditional 'lib' prefix
4760 soname_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
4761 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
4762 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
4763 # It is most probably a Windows format PATH printed by
4764 # mingw gcc, but we are running on Cygwin. Gcc prints its search
4765 # path with ; separators, and with drive letters. We can handle the
4766 # drive letters (cygwin fileutils understands them), so leave them,
4767 # especially as we might pass files found there to a mingw objdump,
4768 # which wouldn't understand a cygwinified path. Ahh.
4769 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
4771 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
4775 # pw32 DLLs use 'pw' prefix rather than 'lib'
4776 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}${shared_ext}'
4782 library_names_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
4785 dynamic_linker
='Win32 ld.exe'
4786 # FIXME: first we should search . and the directory the executable is in
4790 darwin
* | rhapsody
*)
4791 dynamic_linker
="$host_os dyld"
4795 # FIXME: Relying on posixy $() will cause problems for
4796 # cross-compilation, but unfortunately the echo tests do not
4797 # yet detect zsh echo's removal of \ escapes.
4798 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
4799 soname_spec
='${libname}${release}${major}$shared_ext'
4800 shlibpath_overrides_runpath
=yes
4801 shlibpath_var
=DYLD_LIBRARY_PATH
4802 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
4803 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
4804 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
4805 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"`
4807 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
4814 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
4815 soname_spec
='${libname}${release}${shared_ext}$major'
4816 shlibpath_var
=LD_LIBRARY_PATH
4824 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
4825 version_type
=freebsd-
$objformat
4826 case $version_type in
4828 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
4833 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
4837 shlibpath_var
=LD_LIBRARY_PATH
4840 shlibpath_overrides_runpath
=yes
4842 freebsd3.01
* | freebsdelf3.01
*)
4843 shlibpath_overrides_runpath
=yes
4844 hardcode_into_libs
=yes
4847 shlibpath_overrides_runpath
=no
4848 hardcode_into_libs
=yes
4857 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
4858 soname_spec
='${libname}${release}${shared_ext}$major'
4859 shlibpath_var
=LD_LIBRARY_PATH
4860 hardcode_into_libs
=yes
4863 hpux9
* | hpux10
* | hpux11
*)
4864 # Give a soname corresponding to the major version so that dld.sl refuses to
4865 # link against other versions.
4872 hardcode_into_libs
=yes
4873 dynamic_linker
="$host_os dld.so"
4874 shlibpath_var
=LD_LIBRARY_PATH
4875 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
4876 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4877 soname_spec
='${libname}${release}${shared_ext}$major'
4878 if test "X$HPUX_IA64_MODE" = X32
; then
4879 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
4881 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
4883 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
4887 hardcode_into_libs
=yes
4888 dynamic_linker
="$host_os dld.sl"
4889 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
4890 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
4891 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4892 soname_spec
='${libname}${release}${shared_ext}$major'
4893 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
4894 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
4898 dynamic_linker
="$host_os dld.sl"
4899 shlibpath_var
=SHLIB_PATH
4900 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
4901 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4902 soname_spec
='${libname}${release}${shared_ext}$major'
4905 # HP-UX runs *really* slowly unless shared libraries are mode 555.
4906 postinstall_cmds
='chmod 555 $lib'
4909 irix5
* | irix6
* | nonstopux
*)
4911 nonstopux
*) version_type
=nonstopux
;;
4913 if test "$lt_cv_prog_gnu_ld" = yes; then
4921 soname_spec
='${libname}${release}${shared_ext}$major'
4922 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
4924 irix5
* | nonstopux
*)
4928 case $LD in # libtool.m4 will add one of these switches to LD
4929 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
4930 libsuff
= shlibsuff
= libmagic
=32-bit;;
4931 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
4932 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
4933 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
4934 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
4935 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
4939 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
4940 shlibpath_overrides_runpath
=no
4941 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
4942 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
4943 hardcode_into_libs
=yes
4946 # No shared lib support for Linux oldld, aout, or coff.
4947 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
4951 # This must be Linux ELF.
4956 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4957 soname_spec
='${libname}${release}${shared_ext}$major'
4958 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
4959 shlibpath_var
=LD_LIBRARY_PATH
4960 shlibpath_overrides_runpath
=no
4961 # This implies no fast_install, which is unacceptable.
4962 # Some rework will be needed to allow for fast_install
4963 # before this can be enabled.
4964 hardcode_into_libs
=yes
4966 # We used to test for /lib/ld.so.1 and disable shared libraries on
4967 # powerpc, because MkLinux only supported shared libraries with the
4968 # GNU dynamic linker. Since this was broken with cross compilers,
4969 # most powerpc-linux boxes support dynamic linking these days and
4970 # people can always --disable-shared, the test was removed, and we
4971 # assume the GNU/Linux dynamic linker is in use.
4972 dynamic_linker
='GNU/Linux ld.so'
4979 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
4980 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4981 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4982 dynamic_linker
='NetBSD (a.out) ld.so'
4984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
4985 soname_spec
='${libname}${release}${shared_ext}$major'
4986 dynamic_linker
='NetBSD ld.elf_so'
4988 shlibpath_var
=LD_LIBRARY_PATH
4989 shlibpath_overrides_runpath
=yes
4990 hardcode_into_libs
=yes
4995 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4996 shlibpath_var
=LD_LIBRARY_PATH
4997 shlibpath_overrides_runpath
=yes
5004 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5005 soname_spec
='${libname}${release}${shared_ext}$major'
5006 shlibpath_var
=LD_LIBRARY_PATH
5007 shlibpath_overrides_runpath
=yes
5014 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5015 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
5016 shlibpath_var
=LD_LIBRARY_PATH
5017 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5019 openbsd2.
[89] | openbsd2.
[89].
*)
5020 shlibpath_overrides_runpath
=no
5023 shlibpath_overrides_runpath
=yes
5027 shlibpath_overrides_runpath
=yes
5032 libname_spec
='$name'
5035 library_names_spec
='$libname${shared_ext} $libname.a'
5036 dynamic_linker
='OS/2 ld.exe'
5037 shlibpath_var
=LIBPATH
5040 osf3
* | osf4
* | osf5
*)
5044 soname_spec
='${libname}${release}${shared_ext}$major'
5045 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5046 shlibpath_var
=LD_LIBRARY_PATH
5047 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
5048 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
5053 soname_spec
='${libname}${release}${shared_ext}$major'
5054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5055 shlibpath_var
=LD_LIBRARY_PATH
5062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5063 soname_spec
='${libname}${release}${shared_ext}$major'
5064 shlibpath_var
=LD_LIBRARY_PATH
5065 shlibpath_overrides_runpath
=yes
5066 hardcode_into_libs
=yes
5067 # ldd complains unless libraries are executable
5068 postinstall_cmds
='chmod +x $lib'
5073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5074 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
5075 shlibpath_var
=LD_LIBRARY_PATH
5076 shlibpath_overrides_runpath
=yes
5077 if test "$with_gnu_ld" = yes; then
5083 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
5085 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5086 soname_spec
='${libname}${release}${shared_ext}$major'
5087 shlibpath_var
=LD_LIBRARY_PATH
5088 case $host_vendor in
5090 shlibpath_overrides_runpath
=no
5092 export_dynamic_flag_spec
='${wl}-Blargedynsym'
5093 runpath_var
=LD_RUN_PATH
5101 shlibpath_overrides_runpath
=no
5102 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
5108 if test -d /usr
/nec
;then
5110 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
5111 soname_spec
='$libname${shared_ext}.$major'
5112 shlibpath_var
=LD_LIBRARY_PATH
5118 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5119 soname_spec
='${libname}${release}${shared_ext}$major'
5120 shlibpath_var
=LD_LIBRARY_PATH
5127 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
5128 echo "${ECHO_T}$dynamic_linker" >&6
5129 test "$dynamic_linker" = no
&& can_build_shared
=no
5132 echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
5133 echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6
5134 if test "${libltdl_cv_shlibpath_var+set}" = set; then
5135 echo $ECHO_N "(cached) $ECHO_C" >&6
5137 libltdl_cv_shlibpath_var
="$shlibpath_var"
5139 echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
5140 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6
5141 if test -n "$libltdl_cv_shlibpath_var"; then
5143 cat >>confdefs.h
<<_ACEOF
5144 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
5151 ac_config_headers
="$ac_config_headers include/config.h gcj/libgcj-config.h"
5154 # See if the user has requested runtime debugging.
5155 LIBGCJDEBUG
="disable"
5157 # Check whether --enable-libgcj-debug or --disable-libgcj-debug was given.
5158 if test "${enable_libgcj_debug+set}" = set; then
5159 enableval
="$enable_libgcj_debug"
5160 if test "$enable_libgcj_debug" = yes; then
5162 cat >>confdefs.h
<<\_ACEOF
5166 LIBGCJDEBUG
="enable"
5171 # Check whether --with-escher or --without-escher was given.
5172 if test "${with_escher+set}" = set; then
5173 withval
="$with_escher"
5176 case "$with_escher" in
5184 { { echo "$as_me:$LINENO: error: Please supply an absolute path to Escher library" >&5
5185 echo "$as_me: error: Please supply an absolute path to Escher library" >&2;}
5186 { (exit 1); exit 1; }; }
5193 # Determine which AWT peer libraries to build
5194 # Check whether --enable-java-awt or --disable-java-awt was given.
5195 if test "${enable_java_awt+set}" = set; then
5196 enableval
="$enable_java_awt"
5200 peerlibs
="`echo ${enable_java_awt} | tr ',' ' '`"
5205 # The default toolkit to use is the first one specified.
5209 for peer
in $peerlibs ; do
5212 if test "$no_x" = yes; then
5213 echo "*** xlib peers requested but no X library available" 1>&2
5217 if test -z "$TOOLKIT"; then
5218 TOOLKIT
=gnu.awt.xlib.XToolkit
5223 if test "$no_x" = yes; then
5224 echo "*** gtk peers requested but no X library available" 1>&2
5228 if test -z "$TOOLKIT"; then
5229 TOOLKIT
=gnu.java.awt.peer.gtk.GtkToolkit
5234 if test "$no_x" = yes; then
5235 # Perhaps we should admit the possibility of embedded Qt.
5236 echo "*** Qt peers requested but no X library available" 1>&2
5240 if test -z "$TOOLKIT"; then
5241 TOOLKIT
=gnu.java.awt.peer.qt.QtToolkit
5247 if test -z "$TOOLKIT"; then
5248 TOOLKIT
=gnu.java.awt.peer.x.XToolkit
5259 echo "*** unrecognised argument \"${peer}\" for --enable-java-awt" 1>&2
5266 if test "$use_xlib_awt" = yes; then
5276 if test "$use_x_awt" = yes; then
5286 cat >>confdefs.h
<<_ACEOF
5287 #define AWT_TOOLKIT "$TOOLKIT"
5292 cat >>confdefs.h
<<_ACEOF
5293 #define LIBGCJ_PREFIX "$prefix"
5297 # Create standard.omit based on decisions we just made.
5298 cp $srcdir/standard.omit.
in standard.omit
5299 if test "$use_xlib_awt" != yes; then
5300 echo gnu
/awt
/xlib
>> standard.omit
5301 echo gnu
/gcj
/xlib
>> standard.omit
5303 if test "$use_x_awt" != yes; then
5304 echo gnu
/java
/awt
/peer
/x
>> standard.omit
5307 # Tools that need to be compiled against classpath's tools classes
5308 : > vm-tools-packages
5309 for package
in gnu
/gcj
/tools
/gc_analyze
; do
5310 echo $package >> standard.omit
5311 echo $package >> vm-tools-packages
5314 if test -z "${with_multisubdir}"; then
5317 builddotdot
=`echo ${with_multisubdir} | sed -e 's:[^/][^/]*:..:g'`
5322 # Which gcj and host gcj (for ecjx) do we use?
5324 host_exeext
=${ac_exeext}
5326 built_gcc_dir
="`cd ${builddotdot}/../../${host_subdir}/gcc && ${PWDCMD-pwd}`"
5327 if test -n "${with_cross_host}"; then
5328 # We are being configured with a cross compiler. We can't
5329 # use ac_exeext, because that is for the target platform.
5332 GCJ_FOR_ECJX
="${with_cross_host}-gcj"
5333 case "${with_cross_host}" in
5335 cross_host_exeext
=.exe
5338 host_exeext
=${cross_host_exeext}
5339 if test -x "${built_gcc_dir}/gcj${cross_host_exeext}"; then
5340 if test x
"$build_noncanonical" = x
"$with_cross_host"; then
5341 # Ordinary cross (host!=target and host=build)
5344 # Canadian cross (host!=target and host!=build)
5351 # We are being configured with a native or crossed-native compiler
5352 if test -x "${built_gcc_dir}/gcj${ac_exeext}"; then
5353 if test x
"$build" = x
"$host"; then
5354 # True native build (host=target and host=build)
5357 # Crossed-native build (host=target and host!=build)
5364 case "${which_gcj}" in
5366 GCJ
="$built_gcc_dir/gcj -B`${PWDCMD-pwd}`/ -B$built_gcc_dir/"
5367 GCJH
='$(top_builddir)/$(MULTIBUILDTOP)../../$(host_subdir)/gcc/gcjh'
5370 if test "x${with_newlib}" = "xyes"; then
5371 # FIXME (comment): Why is this needed?
5373 GCJ
="${target_noncanonical}-gcj"
5375 GCJ
="${target_noncanonical}-gcj -B`${PWDCMD-pwd}`/"
5377 GCJH
='$(target_noncanonical)-gcjh'
5380 GCJ
="gcj -B`${PWDCMD-pwd}`/"
5389 # Create it, so that compile/link tests don't fail
5390 test -f libgcj.spec ||
touch libgcj.spec
5394 # Set up to configure Classpath.
5395 # FIXME: no supported way to pass args in autoconf.
5396 ac_configure_args
="$ac_configure_args --with-fastjar=$JAR"
5397 # Disable tool wrappers to avoid ltdl.h configure check.
5398 ac_configure_args
="$ac_configure_args --disable-tool-wrappers"
5399 ac_configure_args
="$ac_configure_args --disable-load-library"
5400 ac_configure_args
="$ac_configure_args --${LIBGCJDEBUG}-debug"
5401 ac_configure_args
="$ac_configure_args --enable-default-toolkit=$TOOLKIT"
5402 dir1
=`cd $srcdir && pwd`
5404 ac_configure_args
="$ac_configure_args --with-vm-classes=$dir1:$dir2"
5405 ac_configure_args
="$ac_configure_args --disable-core-jni"
5406 ac_configure_args
="$ac_configure_args --disable-examples"
5407 ac_configure_args
="$ac_configure_args --with-glibj=build"
5408 if test "$plugin_enabled" != yes; then
5409 ac_configure_args
="$ac_configure_args --disable-plugin"
5411 if test "$gconf_enabled" != yes; then
5412 ac_configure_args
="$ac_configure_args --disable-gconf-peer"
5413 ac_configure_args
="$ac_configure_args --enable-default-preferences-peer=gnu.java.util.prefs.FileBasedFactory"
5415 if test "$use_gtk_awt" != yes; then
5416 ac_configure_args
="$ac_configure_args --disable-gtk-peer --disable-plugin"
5418 if test "$use_qt_awt" != yes; then
5419 ac_configure_args
="$ac_configure_args --disable-qt-peer"
5421 # We need this as qt is disabled by default in classpath.
5422 ac_configure_args
="$ac_configure_args --enable-qt-peer"
5424 if test "$use_x_awt" != yes; then
5425 ac_configure_args
="$ac_configure_args --without-escher"
5427 # We need this as escher is disabled by default in classpath.
5428 if test "$use_escher" != true
; then
5429 { { echo "$as_me:$LINENO: error: Please supply an absolute path to the Escher library" >&5
5430 echo "$as_me: error: Please supply an absolute path to the Escher library" >&2;}
5431 { (exit 1); exit 1; }; }
5433 ac_configure_args
="$ac_configure_args --with-escher=$with_escher"
5436 # -Werror causes unavoidable problems in code using alsa.
5437 ac_configure_args
="$ac_configure_args --disable-Werror"
5439 # Only use libltdl for non-newlib builds.
5440 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
5441 case $enable_ltdl_convenience in
5442 no
) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
5443 echo "$as_me: error: this package needs a convenience libltdl" >&2;}
5444 { (exit 1); exit 1; }; } ;;
5445 "") enable_ltdl_convenience
=yes
5446 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
5448 LIBLTDL
='${top_builddir}/''libltdl'/libltdlc.la
5449 LTDLINCL
='-I${top_srcdir}/''libltdl'
5450 # For backwards non-gettext consistent compatibility...
5459 cat >>confdefs.h
<<\_ACEOF
5463 # Sigh. Libtool's macro doesn't do the right thing.
5464 INCLTDL
="-I\$(top_srcdir)/libltdl $INCLTDL"
5465 # FIXME: this is a hack.
5466 sub_auxdir
="`cd $ac_aux_dir && ${PWDCMD-pwd}`"
5467 ac_configure_args
="$ac_configure_args --with-auxdir=$sub_auxdir"
5474 macro_version
='2.1a'
5475 macro_revision
='1.2435'
5488 ltmain
="$ac_aux_dir/ltmain.sh"
5496 # Check whether --enable-shared or --disable-shared was given.
5497 if test "${enable_shared+set}" = set; then
5498 enableval
="$enable_shared"
5499 p
=${PACKAGE-default}
5501 yes) enable_shared
=yes ;;
5502 no
) enable_shared
=no
;;
5505 # Look at the argument we got. We use all the common list separators.
5506 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5507 for pkg
in $enableval; do
5509 if test "X$pkg" = "X$p"; then
5527 # Check whether --enable-static or --disable-static was given.
5528 if test "${enable_static+set}" = set; then
5529 enableval
="$enable_static"
5530 p
=${PACKAGE-default}
5532 yes) enable_static
=yes ;;
5533 no
) enable_static
=no
;;
5536 # Look at the argument we got. We use all the common list separators.
5537 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5538 for pkg
in $enableval; do
5540 if test "X$pkg" = "X$p"; then
5559 # Check whether --with-pic or --without-pic was given.
5560 if test "${with_pic+set}" = set; then
5567 test -z "$pic_mode" && pic_mode
=default
5575 # Check whether --enable-fast-install or --disable-fast-install was given.
5576 if test "${enable_fast_install+set}" = set; then
5577 enableval
="$enable_fast_install"
5578 p
=${PACKAGE-default}
5580 yes) enable_fast_install
=yes ;;
5581 no
) enable_fast_install
=no
;;
5583 enable_fast_install
=no
5584 # Look at the argument we got. We use all the common list separators.
5585 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5586 for pkg
in $enableval; do
5588 if test "X$pkg" = "X$p"; then
5589 enable_fast_install
=yes
5596 enable_fast_install
=yes
5606 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5607 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
5608 if test "${lt_cv_path_SED+set}" = set; then
5609 echo $ECHO_N "(cached) $ECHO_C" >&6
5611 # Loop through the user's path and test for sed and gsed.
5612 # Then use that list of sed's as ones to test for truncation.
5613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5617 test -z "$as_dir" && as_dir
=.
5618 for lt_ac_prog
in sed gsed
; do
5619 for ac_exec_ext
in '' $ac_executable_extensions; do
5620 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5621 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5629 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5630 # along with /bin/sed that truncates output.
5631 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
5632 test ! -f $lt_ac_sed && continue
5633 cat /dev
/null
> conftest.
in
5635 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
5636 # Check for GNU sed and select it if it is found.
5637 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
5638 lt_cv_path_SED
=$lt_ac_sed
5642 cat conftest.
in conftest.
in >conftest.tmp
5643 mv conftest.tmp conftest.
in
5644 cp conftest.
in conftest.
nl
5646 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
5647 cmp -s conftest.out conftest.
nl ||
break
5648 # 10000 chars as input seems more than enough
5649 test $lt_ac_count -gt 10 && break
5650 lt_ac_count
=`expr $lt_ac_count + 1`
5651 if test $lt_ac_count -gt $lt_ac_max; then
5652 lt_ac_max
=$lt_ac_count
5653 lt_cv_path_SED
=$lt_ac_sed
5662 echo "$as_me:$LINENO: result: $SED" >&5
5663 echo "${ECHO_T}$SED" >&6
5665 test -z "$SED" && SED
=sed
5666 Xsed
="$SED -e 1s/^X//"
5678 echo "$as_me:$LINENO: checking for egrep" >&5
5679 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5680 if test "${ac_cv_prog_egrep+set}" = set; then
5681 echo $ECHO_N "(cached) $ECHO_C" >&6
5683 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5684 then ac_cv_prog_egrep
='grep -E'
5685 else ac_cv_prog_egrep
='egrep'
5688 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5689 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5690 EGREP
=$ac_cv_prog_egrep
5693 echo "$as_me:$LINENO: checking for fgrep" >&5
5694 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
5695 if test "${ac_cv_prog_fgrep+set}" = set; then
5696 echo $ECHO_N "(cached) $ECHO_C" >&6
5698 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
5699 then ac_cv_prog_fgrep
='grep -F'
5700 else ac_cv_prog_fgrep
='fgrep'
5703 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
5704 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
5705 FGREP
=$ac_cv_prog_fgrep
5708 test -z "$GREP" && GREP
=grep
5728 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5729 if test "${with_gnu_ld+set}" = set; then
5730 withval
="$with_gnu_ld"
5731 test "$withval" = no || with_gnu_ld
=yes
5736 if test "$GCC" = yes; then
5737 # Check if gcc -print-prog-name=ld gives a path.
5738 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5739 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5742 # gcc leaves a trailing carriage return which upsets mingw
5743 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5745 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5748 # Accept absolute paths.
5750 re_direlt
='/[^/][^/]*/\.\./'
5751 # Canonicalize the pathname of ld
5752 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5753 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5754 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5756 test -z "$LD" && LD
="$ac_prog"
5759 # If it fails, then pretend we aren't using GCC.
5763 # If it is relative, then search for the first ld in PATH.
5767 elif test "$with_gnu_ld" = yes; then
5768 echo "$as_me:$LINENO: checking for GNU ld" >&5
5769 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5771 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5772 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5774 if test "${lt_cv_path_LD+set}" = set; then
5775 echo $ECHO_N "(cached) $ECHO_C" >&6
5777 if test -z "$LD"; then
5778 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5779 for ac_dir
in $PATH; do
5781 test -z "$ac_dir" && ac_dir
=.
5782 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5783 lt_cv_path_LD
="$ac_dir/$ac_prog"
5784 # Check to see if the program is GNU ld. I'd rather use --version,
5785 # but apparently some variants of GNU ld only accept -v.
5786 # Break only if it was the GNU/non-GNU ld that we prefer.
5787 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5788 *GNU
* |
*'with BFD'*)
5789 test "$with_gnu_ld" != no
&& break
5792 test "$with_gnu_ld" != yes && break
5799 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5804 if test -n "$LD"; then
5805 echo "$as_me:$LINENO: result: $LD" >&5
5806 echo "${ECHO_T}$LD" >&6
5808 echo "$as_me:$LINENO: result: no" >&5
5809 echo "${ECHO_T}no" >&6
5811 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5812 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5813 { (exit 1); exit 1; }; }
5814 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5815 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5816 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5817 echo $ECHO_N "(cached) $ECHO_C" >&6
5819 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5820 case `$LD -v 2>&1 </dev/null` in
5821 *GNU
* |
*'with BFD'*)
5822 lt_cv_prog_gnu_ld
=yes
5825 lt_cv_prog_gnu_ld
=no
5829 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5830 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5831 with_gnu_ld
=$lt_cv_prog_gnu_ld
5842 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5843 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
5844 if test "${lt_cv_path_NM+set}" = set; then
5845 echo $ECHO_N "(cached) $ECHO_C" >&6
5847 if test -n "$NM"; then
5848 # Let the user override the test.
5851 lt_nm_to_check
="${ac_tool_prefix}nm"
5852 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5853 lt_nm_to_check
="$lt_nm_to_check nm"
5855 for lt_tmp_nm
in $lt_nm_to_check; do
5856 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5857 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5859 test -z "$ac_dir" && ac_dir
=.
5860 tmp_nm
="$ac_dir/$lt_tmp_nm"
5861 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5862 # Check to see if the nm accepts a BSD-compat flag.
5863 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5864 # nm: unknown option "B" ignored
5865 # Tru64's nm complains that /dev/null is an invalid object file
5866 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5867 */dev
/null
* |
*'Invalid file or object type'*)
5868 lt_cv_path_NM
="$tmp_nm -B"
5872 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5874 lt_cv_path_NM
="$tmp_nm -p"
5878 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5879 continue # so that we can try to find one that supports BSD flags
5888 : ${lt_cv_path_NM=no}
5891 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5892 echo "${ECHO_T}$lt_cv_path_NM" >&6
5893 if test "$lt_cv_path_NM" != "no"; then
5896 # Didn't find any BSD compatible name lister, look for dumpbin.
5897 if test -n "$ac_tool_prefix"; then
5898 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5900 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5901 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5902 echo "$as_me:$LINENO: checking for $ac_word" >&5
5903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5904 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5905 echo $ECHO_N "(cached) $ECHO_C" >&6
5907 if test -n "$DUMPBIN"; then
5908 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5914 test -z "$as_dir" && as_dir
=.
5915 for ac_exec_ext
in '' $ac_executable_extensions; do
5916 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5917 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5926 DUMPBIN
=$ac_cv_prog_DUMPBIN
5927 if test -n "$DUMPBIN"; then
5928 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5929 echo "${ECHO_T}$DUMPBIN" >&6
5931 echo "$as_me:$LINENO: result: no" >&5
5932 echo "${ECHO_T}no" >&6
5935 test -n "$DUMPBIN" && break
5938 if test -z "$DUMPBIN"; then
5939 ac_ct_DUMPBIN
=$DUMPBIN
5940 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5942 # Extract the first word of "$ac_prog", so it can be a program name with args.
5943 set dummy
$ac_prog; ac_word
=$2
5944 echo "$as_me:$LINENO: checking for $ac_word" >&5
5945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5946 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5947 echo $ECHO_N "(cached) $ECHO_C" >&6
5949 if test -n "$ac_ct_DUMPBIN"; then
5950 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5956 test -z "$as_dir" && as_dir
=.
5957 for ac_exec_ext
in '' $ac_executable_extensions; do
5958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5959 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5968 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5969 if test -n "$ac_ct_DUMPBIN"; then
5970 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5971 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
5973 echo "$as_me:$LINENO: result: no" >&5
5974 echo "${ECHO_T}no" >&6
5977 test -n "$ac_ct_DUMPBIN" && break
5979 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
5981 DUMPBIN
=$ac_ct_DUMPBIN
5985 if test "$DUMPBIN" != ":"; then
5989 test -z "$NM" && NM
=nm
5996 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5997 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
5998 if test "${lt_cv_nm_interface+set}" = set; then
5999 echo $ECHO_N "(cached) $ECHO_C" >&6
6001 lt_cv_nm_interface
="BSD nm"
6002 echo "int some_variable = 0;" > conftest.
$ac_ext
6003 (eval echo "\"\$as_me:6003: $ac_compile\"" >&5)
6004 (eval "$ac_compile" 2>conftest.err
)
6005 cat conftest.err
>&5
6006 (eval echo "\"\$as_me:6006: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6007 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6008 cat conftest.err
>&5
6009 (eval echo "\"\$as_me:6009: output\"" >&5)
6010 cat conftest.out
>&5
6011 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6012 lt_cv_nm_interface
="MS dumpbin"
6016 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
6017 echo "${ECHO_T}$lt_cv_nm_interface" >&6
6019 # find the maximum length of command line arguments
6020 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6021 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
6022 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6023 echo $ECHO_N "(cached) $ECHO_C" >&6
6030 # On DJGPP, this test can blow up pretty badly due to problems in libc
6031 # (any single argument exceeding 2000 bytes causes a buffer overrun
6032 # during glob expansion). Even if it were fixed, the result of this
6033 # check would be larger than it should be.
6034 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6038 # Under GNU Hurd, this test is not required because there is
6039 # no limit to the length of command line arguments.
6040 # Libtool will interpret -1 as no limit whatsoever
6041 lt_cv_sys_max_cmd_len
=-1;
6045 # On Win9x/ME, this test blows up -- it succeeds, but takes
6046 # about 5 minutes as the teststring grows exponentially.
6047 # Worse, since 9x/ME are not pre-emptively multitasking,
6048 # you end up with a "frozen" computer, even though with patience
6049 # the test eventually succeeds (with a max line length of 256k).
6050 # Instead, let's just punt: use the minimum linelength reported by
6051 # all of the supported platforms: 8192 (on NT/2K/XP).
6052 lt_cv_sys_max_cmd_len
=8192;
6056 # On AmigaOS with pdksh, this test takes hours, literally.
6057 # So we just punt and use a minimum line length of 8192.
6058 lt_cv_sys_max_cmd_len
=8192;
6061 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6062 # This has been around since 386BSD, at least. Likely further.
6063 if test -x /sbin
/sysctl
; then
6064 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6065 elif test -x /usr
/sbin
/sysctl
; then
6066 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6068 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6070 # And add a safety zone
6071 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6072 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6076 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6077 lt_cv_sys_max_cmd_len
=196608
6081 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6082 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6083 # nice to cause kernel panics so lets avoid the loop below.
6084 # First set a reasonable default.
6085 lt_cv_sys_max_cmd_len
=16384
6087 if test -x /sbin
/sysconfig
; then
6088 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6089 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6094 lt_cv_sys_max_cmd_len
=102400
6096 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6097 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6098 if test -n "$kargmax"; then
6099 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6101 lt_cv_sys_max_cmd_len
=32768
6105 lt_cv_sys_max_cmd_len
=`getconf ARG_MAX 2> /dev/null`
6106 if test -n $lt_cv_sys_max_cmd_len; then
6107 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6108 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6110 # Make teststring a little bigger before we do anything with it.
6111 # a 1K string should be a reasonable start.
6112 for i
in 1 2 3 4 5 6 7 8 ; do
6113 teststring
=$teststring$teststring
6115 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6116 # If test is not a shell built-in, we'll probably end up computing a
6117 # maximum length that is only half of the actual maximum length, but
6119 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6120 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
6121 test $i != 17 # 1/2 MB should be enough
6124 teststring
=$teststring$teststring
6126 # Only check the string length outside the loop.
6127 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6129 # Add a significant safety factor because C++ compilers can tack on
6130 # massive amounts of additional arguments before passing them to the
6131 # linker. It appears as though 1/2 is a usable value.
6132 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6139 if test -n $lt_cv_sys_max_cmd_len ; then
6140 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6141 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
6143 echo "$as_me:$LINENO: result: none" >&5
6144 echo "${ECHO_T}none" >&6
6146 max_cmd_len
=$lt_cv_sys_max_cmd_len
6157 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6158 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
6159 # Try some XSI features
6162 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6163 = c,a/b,, ) >/dev/null 2>&1 \
6165 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
6166 echo "${ECHO_T}$xsi_shell" >&6
6169 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
6170 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
6172 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6174 && lt_shell_append=yes
6175 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
6176 echo "${ECHO_T}$lt_shell_append" >&6
6179 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6189 # test EBCDIC or ASCII
6190 case `echo X|tr X '\101'` in
6191 A) # ASCII based system
6192 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6193 lt_SP2NL='tr \040 \012'
6194 lt_NL2SP='tr \015\012 \040\040'
6196 *) # EBCDIC based system
6197 lt_SP2NL='tr \100 \n'
6198 lt_NL2SP='tr \r\n \100\100'
6210 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
6211 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
6212 if test "${lt_cv_ld_reload_flag+set}" = set; then
6213 echo $ECHO_N "(cached
) $ECHO_C" >&6
6215 lt_cv_ld_reload_flag='-r'
6217 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
6218 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
6219 reload_flag=$lt_cv_ld_reload_flag
6220 case $reload_flag in
6222 *) reload_flag=" $reload_flag" ;;
6224 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6227 if test "$GCC" = yes; then
6228 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6230 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6244 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
6245 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
6246 if test "${lt_cv_deplibs_check_method+set}" = set; then
6247 echo $ECHO_N "(cached
) $ECHO_C" >&6
6249 lt_cv_file_magic_cmd='$MAGIC_CMD'
6250 lt_cv_file_magic_test_file=
6251 lt_cv_deplibs_check_method='unknown'
6252 # Need to set the preceding variable on all platforms that support
6253 # interlibrary dependencies.
6254 # 'none' -- dependencies not supported.
6255 # `unknown' -- same as none, but documents that we really don't know.
6256 # 'pass_all' -- all dependencies passed with no checks.
6257 # 'test_compile' -- check by making test program.
6258 # 'file_magic [[regex]]' -- check by looking for files in library path
6259 # which responds to the $file_magic_cmd with a given extended regex.
6260 # If you have `file' or equivalent on your system and you're not sure
6261 # whether `pass_all' will *always* work, you probably want this one.
6265 lt_cv_deplibs_check_method=pass_all
6269 lt_cv_deplibs_check_method=pass_all
6273 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6274 lt_cv_file_magic_cmd='/usr/bin/file -L'
6275 lt_cv_file_magic_test_file=/shlib/libc.so
6279 # func_win32_libid is a shell function defined in ltmain.sh
6280 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6281 lt_cv_file_magic_cmd='func_win32_libid'
6285 # Base MSYS/MinGW do not provide the 'file' command needed by
6286 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6287 # unless we find 'file', for example because we are cross-compiling.
6288 if ( file / ) >/dev/null 2>&1; then
6289 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6290 lt_cv_file_magic_cmd='func_win32_libid'
6292 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6293 lt_cv_file_magic_cmd='$OBJDUMP -f'
6297 darwin* | rhapsody*)
6298 lt_cv_deplibs_check_method=pass_all
6301 freebsd* | dragonfly*)
6302 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6305 # Not sure whether the presence of OpenBSD here was a mistake.
6306 # Let's accept both of them until this is cleared up.
6307 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6308 lt_cv_file_magic_cmd=/usr/bin/file
6309 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6313 lt_cv_deplibs_check_method=pass_all
6318 lt_cv_deplibs_check_method=pass_all
6321 hpux10.20* | hpux11*)
6322 lt_cv_file_magic_cmd=/usr/bin/file
6325 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6326 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6329 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]'
6330 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6333 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6334 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6340 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6341 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6344 irix5* | irix6* | nonstopux*)
6346 *-32|*"-32 ") libmagic=32-bit;;
6347 *-n32|*"-n32 ") libmagic=N32;;
6348 *-64|*"-64 ") libmagic=64-bit;;
6349 *) libmagic=never-match;;
6351 lt_cv_deplibs_check_method=pass_all
6354 # This must be Linux ELF.
6355 linux* | k*bsd*-gnu)
6356 lt_cv_deplibs_check_method=pass_all
6360 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6361 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6363 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6368 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6369 lt_cv_file_magic_cmd=/usr/bin/file
6370 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6374 lt_cv_deplibs_check_method=pass_all
6378 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6379 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6381 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6385 osf3* | osf4* | osf5*)
6386 lt_cv_deplibs_check_method=pass_all
6390 lt_cv_deplibs_check_method=pass_all
6394 lt_cv_deplibs_check_method=pass_all
6397 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6398 lt_cv_deplibs_check_method=pass_all
6402 case $host_vendor in
6404 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]'
6405 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6408 lt_cv_deplibs_check_method=pass_all
6411 lt_cv_file_magic_cmd='/bin/file'
6412 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6415 lt_cv_file_magic_cmd='/bin/file'
6416 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6417 lt_cv_file_magic_test_file=/lib/libc.so
6420 lt_cv_deplibs_check_method=pass_all
6423 lt_cv_deplibs_check_method=pass_all
6429 lt_cv_deplibs_check_method=pass_all
6434 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
6435 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
6436 file_magic_cmd=$lt_cv_file_magic_cmd
6437 deplibs_check_method=$lt_cv_deplibs_check_method
6438 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6451 if test -n "$ac_tool_prefix"; then
6452 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6453 set dummy ${ac_tool_prefix}ar; ac_word=$2
6454 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6455 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6456 if test "${ac_cv_prog_AR+set}" = set; then
6457 echo $ECHO_N "(cached
) $ECHO_C" >&6
6459 if test -n "$AR"; then
6460 ac_cv_prog_AR="$AR" # Let the user override the test.
6462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6466 test -z "$as_dir" && as_dir=.
6467 for ac_exec_ext in '' $ac_executable_extensions; do
6468 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6469 ac_cv_prog_AR="${ac_tool_prefix}ar"
6470 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6479 if test -n "$AR"; then
6480 echo "$as_me:$LINENO: result
: $AR" >&5
6481 echo "${ECHO_T}$AR" >&6
6483 echo "$as_me:$LINENO: result
: no
" >&5
6484 echo "${ECHO_T}no
" >&6
6488 if test -z "$ac_cv_prog_AR"; then
6490 # Extract the first word of "ar", so it can be a program name with args.
6491 set dummy ar; ac_word=$2
6492 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6493 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6494 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6495 echo $ECHO_N "(cached
) $ECHO_C" >&6
6497 if test -n "$ac_ct_AR"; then
6498 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6504 test -z "$as_dir" && as_dir=.
6505 for ac_exec_ext in '' $ac_executable_extensions; do
6506 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6507 ac_cv_prog_ac_ct_AR="ar"
6508 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6514 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
6517 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6518 if test -n "$ac_ct_AR"; then
6519 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
6520 echo "${ECHO_T}$ac_ct_AR" >&6
6522 echo "$as_me:$LINENO: result
: no
" >&5
6523 echo "${ECHO_T}no
" >&6
6531 test -z "$AR" && AR=ar
6532 test -z "$AR_FLAGS" && AR_FLAGS=cru
6544 if test -n "$ac_tool_prefix"; then
6545 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6546 set dummy ${ac_tool_prefix}strip; ac_word=$2
6547 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6548 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6549 if test "${ac_cv_prog_STRIP+set}" = set; then
6550 echo $ECHO_N "(cached
) $ECHO_C" >&6
6552 if test -n "$STRIP"; then
6553 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6559 test -z "$as_dir" && as_dir=.
6560 for ac_exec_ext in '' $ac_executable_extensions; do
6561 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6562 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6563 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6571 STRIP=$ac_cv_prog_STRIP
6572 if test -n "$STRIP"; then
6573 echo "$as_me:$LINENO: result
: $STRIP" >&5
6574 echo "${ECHO_T}$STRIP" >&6
6576 echo "$as_me:$LINENO: result
: no
" >&5
6577 echo "${ECHO_T}no
" >&6
6581 if test -z "$ac_cv_prog_STRIP"; then
6583 # Extract the first word of "strip
", so it can be a program name with args.
6584 set dummy strip; ac_word=$2
6585 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6586 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6587 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6588 echo $ECHO_N "(cached
) $ECHO_C" >&6
6590 if test -n "$ac_ct_STRIP"; then
6591 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6597 test -z "$as_dir" && as_dir=.
6598 for ac_exec_ext in '' $ac_executable_extensions; do
6599 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6600 ac_cv_prog_ac_ct_STRIP="strip
"
6601 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6607 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6610 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6611 if test -n "$ac_ct_STRIP"; then
6612 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
6613 echo "${ECHO_T}$ac_ct_STRIP" >&6
6615 echo "$as_me:$LINENO: result
: no
" >&5
6616 echo "${ECHO_T}no
" >&6
6621 STRIP="$ac_cv_prog_STRIP"
6624 test -z "$STRIP" && STRIP=:
6631 if test -n "$ac_tool_prefix"; then
6632 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6633 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6634 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6635 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6636 if test "${ac_cv_prog_RANLIB+set}" = set; then
6637 echo $ECHO_N "(cached
) $ECHO_C" >&6
6639 if test -n "$RANLIB"; then
6640 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6646 test -z "$as_dir" && as_dir=.
6647 for ac_exec_ext in '' $ac_executable_extensions; do
6648 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6649 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6650 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6658 RANLIB=$ac_cv_prog_RANLIB
6659 if test -n "$RANLIB"; then
6660 echo "$as_me:$LINENO: result
: $RANLIB" >&5
6661 echo "${ECHO_T}$RANLIB" >&6
6663 echo "$as_me:$LINENO: result
: no
" >&5
6664 echo "${ECHO_T}no
" >&6
6668 if test -z "$ac_cv_prog_RANLIB"; then
6669 ac_ct_RANLIB=$RANLIB
6670 # Extract the first word of "ranlib
", so it can be a program name with args.
6671 set dummy ranlib; ac_word=$2
6672 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6673 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6674 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6675 echo $ECHO_N "(cached
) $ECHO_C" >&6
6677 if test -n "$ac_ct_RANLIB"; then
6678 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6684 test -z "$as_dir" && as_dir=.
6685 for ac_exec_ext in '' $ac_executable_extensions; do
6686 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6687 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6688 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6694 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6697 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6698 if test -n "$ac_ct_RANLIB"; then
6699 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
6700 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6702 echo "$as_me:$LINENO: result
: no
" >&5
6703 echo "${ECHO_T}no
" >&6
6706 RANLIB=$ac_ct_RANLIB
6708 RANLIB="$ac_cv_prog_RANLIB"
6711 test -z "$RANLIB" && RANLIB=:
6718 # Determine commands to create old-style static archives.
6719 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6720 old_postinstall_cmds='chmod 644 $oldlib'
6721 old_postuninstall_cmds=
6723 if test -n "$RANLIB"; then
6726 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6729 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6732 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6768 # If no C compiler was specified, use CC.
6771 # If no C compiler flags were specified, use CFLAGS.
6772 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6774 # Allow CC to be a program name with arguments.
6778 # Check for command to grab the raw symbol name followed by C symbol from nm.
6779 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
6780 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
6781 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6782 echo $ECHO_N "(cached
) $ECHO_C" >&6
6785 # These are sane defaults that work on at least a few old systems.
6786 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6788 # Character class describing NM global symbol codes.
6789 symcode='[BCDEGRST]'
6791 # Regexp to match symbols that can be accessed directly from C.
6792 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6794 # Define system-specific variables.
6799 cygwin* | mingw* | pw32*)
6800 symcode='[ABCDGISTW]'
6803 if test "$host_cpu" = ia64; then
6804 symcode='[ABCDEGRST]'
6808 symcode='[BCDEGRST]'
6811 symcode='[BCDEGQRST]'
6822 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6830 # If we're using GNU nm, then use its standard symbol codes.
6831 case `$NM -V 2>&1` in
6832 *GNU* | *'with BFD'*)
6833 symcode='[ABCDGIRSTW]' ;;
6836 # Transform an extracted symbol line into a proper C declaration.
6837 # Some systems (esp. on ia64) link data and code symbols differently,
6838 # so use this general approach.
6839 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6841 # Transform an extracted symbol line into symbol name and symbol address
6842 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6844 # Handle CRLF in mingw tool chain
6848 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6852 # Try without a prefix underscore, then with it.
6853 for ac_symprfx in "" "_
"; do
6855 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6856 symxfrm="\\1 $ac_symprfx\\2 \\2"
6858 # Write the raw and C identifiers.
6859 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6860 # Fake it for dumpbin and say T for any non-static function
6861 # and D for any global variable.
6862 # Also find C++ and __fastcall symbols from MSVC++,
6863 # which start with @ or ?.
6864 lt_cv_sys_global_symbol_pipe="$AWK '"\
6865 " {last_section=section; section=\$ 3};"\
6866 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6867 " \$ 0!~/External *\|/{next};"\
6868 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6869 " {if(hide[section]) next};"\
6870 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6871 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6872 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6873 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6874 " ' prfx
=^
$ac_symprfx"
6876 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6879 # Check to see that the pipe works correctly.
6883 cat > conftest.$ac_ext <<_LT_EOF
6888 void nm_test_func(void);
6889 void nm_test_func(void){}
6893 int main(){nm_test_var='a';nm_test_func();return(0);}
6896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6897 (eval $ac_compile) 2>&5
6899 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6900 (exit $ac_status); }; then
6901 # Now try to grab the symbols.
6903 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
6904 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6906 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6907 (exit $ac_status); } && test -s "$nlist"; then
6908 # Try sorting and uniquifying the output.
6909 if sort "$nlist" | uniq > "$nlist"T; then
6910 mv -f "$nlist"T "$nlist"
6915 # Make sure that we snagged all the symbols we need.
6916 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6917 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6918 cat <<_LT_EOF > conftest.$ac_ext
6924 # Now generate the symbol file.
6925 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6927 cat <<_LT_EOF >> conftest.$ac_ext
6929 /* The mapping between symbol names and symbols. */
6934 lt__PROGRAM__LTX_preloaded_symbols[] =
6936 { "@PROGRAM@
", (void *) 0 },
6938 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6939 cat <<\_LT_EOF >> conftest.$ac_ext
6943 /* This works around a problem in FreeBSD linker */
6944 #ifdef FREEBSD_WORKAROUND
6945 static const void *lt_preloaded_setup() {
6946 return lt__PROGRAM__LTX_preloaded_symbols;
6954 # Now try linking the two files.
6955 mv conftest.$ac_objext conftstm.$ac_objext
6956 lt_save_LIBS="$LIBS"
6957 lt_save_CFLAGS="$CFLAGS"
6958 LIBS="conftstm.
$ac_objext"
6959 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6961 (eval $ac_link) 2>&5
6963 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6964 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6967 LIBS="$lt_save_LIBS"
6968 CFLAGS="$lt_save_CFLAGS"
6970 echo "cannot
find nm_test_func
in $nlist" >&5
6973 echo "cannot
find nm_test_var
in $nlist" >&5
6976 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6979 echo "$progname: failed program was
:" >&5
6980 cat conftest.$ac_ext >&5
6982 rm -f conftest* conftst*
6984 # Do not use the global_symbol_pipe unless it works.
6985 if test "$pipe_works" = yes; then
6988 lt_cv_sys_global_symbol_pipe=
6994 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6995 lt_cv_sys_global_symbol_to_cdecl=
6997 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6998 echo "$as_me:$LINENO: result
: failed
" >&5
6999 echo "${ECHO_T}failed
" >&6
7001 echo "$as_me:$LINENO: result
: ok
" >&5
7002 echo "${ECHO_T}ok
" >&6
7022 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
7023 if test "${enable_libtool_lock+set}" = set; then
7024 enableval="$enable_libtool_lock"
7027 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7029 # Some flags need to be propagated to the compiler or linker for good
7033 # Find out which ABI we are using.
7034 echo 'int i;' > conftest.$ac_ext
7035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7036 (eval $ac_compile) 2>&5
7038 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7039 (exit $ac_status); }; then
7040 case `/usr/bin/file conftest.$ac_objext` in
7052 # Find out which ABI we are using.
7053 echo '#line 7053 "configure
"' > conftest.$ac_ext
7054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7055 (eval $ac_compile) 2>&5
7057 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7058 (exit $ac_status); }; then
7059 if test "$lt_cv_prog_gnu_ld" = yes; then
7060 case `/usr/bin/file conftest.$ac_objext` in
7062 LD="${LD-ld} -melf32bsmip"
7065 LD="${LD-ld} -melf32bmipn32"
7068 LD="${LD-ld} -melf64bmip"
7072 case `/usr/bin/file conftest.$ac_objext` in
7088 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7089 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7090 # Find out which ABI we are using.
7091 echo 'int i;' > conftest.$ac_ext
7092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7093 (eval $ac_compile) 2>&5
7095 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7096 (exit $ac_status); }; then
7097 case `/usr/bin/file conftest.o` in
7100 x86_64-*kfreebsd*-gnu)
7101 LD="${LD-ld} -m elf_i386_fbsd
"
7104 LD="${LD-ld} -m elf_i386
"
7106 ppc64-*linux*|powerpc64-*linux*)
7107 LD="${LD-ld} -m elf32ppclinux
"
7110 LD="${LD-ld} -m elf_s390
"
7113 LD="${LD-ld} -m elf32_sparc
"
7119 x86_64-*kfreebsd*-gnu)
7120 LD="${LD-ld} -m elf_x86_64_fbsd
"
7123 LD="${LD-ld} -m elf_x86_64
"
7125 ppc*-*linux*|powerpc*-*linux*)
7126 LD="${LD-ld} -m elf64ppc
"
7128 s390*-*linux*|s390*-*tpf*)
7129 LD="${LD-ld} -m elf64_s390
"
7132 LD="${LD-ld} -m elf64_sparc
"
7142 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7143 SAVE_CFLAGS="$CFLAGS"
7144 CFLAGS="$CFLAGS -belf"
7145 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
7146 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
7147 if test "${lt_cv_cc_needs_belf+set}" = set; then
7148 echo $ECHO_N "(cached
) $ECHO_C" >&6
7151 ac_cpp='$CPP $CPPFLAGS'
7152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7156 if test x$gcc_no_link = xyes; then
7157 { { echo "$as_me:$LINENO: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&5
7158 echo "$as_me: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&2;}
7159 { (exit 1); exit 1; }; }
7161 cat >conftest.$ac_ext <<_ACEOF
7164 cat confdefs.h >>conftest.$ac_ext
7165 cat >>conftest.$ac_ext <<_ACEOF
7166 /* end confdefs.h. */
7176 rm -f conftest.$ac_objext conftest$ac_exeext
7177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7178 (eval $ac_link) 2>conftest.er1
7180 grep -v '^ *+' conftest.er1 >conftest.err
7182 cat conftest.err >&5
7183 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7184 (exit $ac_status); } &&
7185 { ac_try='test -z "$ac_c_werror_flag"
7186 || test ! -s conftest.err'
7187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7190 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7191 (exit $ac_status); }; } &&
7192 { ac_try='test -s conftest$ac_exeext'
7193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7196 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7197 (exit $ac_status); }; }; then
7198 lt_cv_cc_needs_belf=yes
7200 echo "$as_me: failed program was
:" >&5
7201 sed 's/^/| /' conftest.$ac_ext >&5
7203 lt_cv_cc_needs_belf=no
7205 rm -f conftest.err conftest.$ac_objext \
7206 conftest$ac_exeext conftest.$ac_ext
7208 ac_cpp='$CPP $CPPFLAGS'
7209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7214 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
7215 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
7216 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7217 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7218 CFLAGS="$SAVE_CFLAGS"
7222 # Find out which ABI we are using.
7223 echo 'int i;' > conftest.$ac_ext
7224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7225 (eval $ac_compile) 2>&5
7227 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7228 (exit $ac_status); }; then
7229 case `/usr/bin/file conftest.o` in
7231 case $lt_cv_prog_gnu_ld in
7232 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7233 *) LD="${LD-ld} -64" ;;
7242 need_locks="$enable_libtool_lock"
7245 ac_cpp='$CPP $CPPFLAGS'
7246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7249 echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
7250 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6
7251 # On Suns, sometimes $CPP names a directory.
7252 if test -n "$CPP" && test -d "$CPP"; then
7255 if test -z "$CPP"; then
7256 if test "${ac_cv_prog_CPP+set}" = set; then
7257 echo $ECHO_N "(cached
) $ECHO_C" >&6
7259 # Double quotes because CPP needs to be expanded
7260 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7263 for ac_c_preproc_warn_flag in '' yes
7265 # Use a header file that comes with gcc, so configuring glibc
7266 # with a fresh cross-compiler works.
7267 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7268 # <limits.h> exists even on freestanding compilers.
7269 # On the NeXT, cc -E runs the code through the compiler's parser,
7270 # not just through cpp. "Syntax error
" is here to catch this case.
7271 cat >conftest.$ac_ext <<_ACEOF
7274 cat confdefs.h >>conftest.$ac_ext
7275 cat >>conftest.$ac_ext <<_ACEOF
7276 /* end confdefs.h. */
7278 # include <limits.h>
7280 # include <assert.h>
7284 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7285 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7287 grep -v '^ *+' conftest.er1 >conftest.err
7289 cat conftest.err >&5
7290 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7291 (exit $ac_status); } >/dev/null; then
7292 if test -s conftest.err; then
7293 ac_cpp_err=$ac_c_preproc_warn_flag
7294 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7301 if test -z "$ac_cpp_err"; then
7304 echo "$as_me: failed program was
:" >&5
7305 sed 's/^/| /' conftest.$ac_ext >&5
7307 # Broken: fails on valid input.
7310 rm -f conftest.err conftest.$ac_ext
7312 # OK, works on sane cases. Now check whether non-existent headers
7313 # can be detected and how.
7314 cat >conftest.$ac_ext <<_ACEOF
7317 cat confdefs.h >>conftest.$ac_ext
7318 cat >>conftest.$ac_ext <<_ACEOF
7319 /* end confdefs.h. */
7320 #include <ac_nonexistent.h>
7322 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7323 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7325 grep -v '^ *+' conftest.er1 >conftest.err
7327 cat conftest.err >&5
7328 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7329 (exit $ac_status); } >/dev/null; then
7330 if test -s conftest.err; then
7331 ac_cpp_err=$ac_c_preproc_warn_flag
7332 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7339 if test -z "$ac_cpp_err"; then
7340 # Broken: success on invalid input.
7343 echo "$as_me: failed program was
:" >&5
7344 sed 's/^/| /' conftest.$ac_ext >&5
7346 # Passes both tests.
7350 rm -f conftest.err conftest.$ac_ext
7353 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7354 rm -f conftest.err conftest.$ac_ext
7355 if $ac_preproc_ok; then
7367 echo "$as_me:$LINENO: result
: $CPP" >&5
7368 echo "${ECHO_T}$CPP" >&6
7370 for ac_c_preproc_warn_flag in '' yes
7372 # Use a header file that comes with gcc, so configuring glibc
7373 # with a fresh cross-compiler works.
7374 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7375 # <limits.h> exists even on freestanding compilers.
7376 # On the NeXT, cc -E runs the code through the compiler's parser,
7377 # not just through cpp. "Syntax error
" is here to catch this case.
7378 cat >conftest.$ac_ext <<_ACEOF
7381 cat confdefs.h >>conftest.$ac_ext
7382 cat >>conftest.$ac_ext <<_ACEOF
7383 /* end confdefs.h. */
7385 # include <limits.h>
7387 # include <assert.h>
7391 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7392 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7394 grep -v '^ *+' conftest.er1 >conftest.err
7396 cat conftest.err >&5
7397 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7398 (exit $ac_status); } >/dev/null; then
7399 if test -s conftest.err; then
7400 ac_cpp_err=$ac_c_preproc_warn_flag
7401 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7408 if test -z "$ac_cpp_err"; then
7411 echo "$as_me: failed program was
:" >&5
7412 sed 's/^/| /' conftest.$ac_ext >&5
7414 # Broken: fails on valid input.
7417 rm -f conftest.err conftest.$ac_ext
7419 # OK, works on sane cases. Now check whether non-existent headers
7420 # can be detected and how.
7421 cat >conftest.$ac_ext <<_ACEOF
7424 cat confdefs.h >>conftest.$ac_ext
7425 cat >>conftest.$ac_ext <<_ACEOF
7426 /* end confdefs.h. */
7427 #include <ac_nonexistent.h>
7429 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7430 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7432 grep -v '^ *+' conftest.er1 >conftest.err
7434 cat conftest.err >&5
7435 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7436 (exit $ac_status); } >/dev/null; then
7437 if test -s conftest.err; then
7438 ac_cpp_err=$ac_c_preproc_warn_flag
7439 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7446 if test -z "$ac_cpp_err"; then
7447 # Broken: success on invalid input.
7450 echo "$as_me: failed program was
:" >&5
7451 sed 's/^/| /' conftest.$ac_ext >&5
7453 # Passes both tests.
7457 rm -f conftest.err conftest.$ac_ext
7460 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7461 rm -f conftest.err conftest.$ac_ext
7462 if $ac_preproc_ok; then
7465 { { echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
7466 echo "$as_me: error: in \`$ac_pwd':" >&2;}
7467 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7468 See \`config.log' for more details.
" >&5
7469 echo "$as_me: error
: C preprocessor
\"$CPP\" fails sanity check
7470 See \
`config.log' for more details." >&2;}
7471 { (exit 1); exit 1; }; }; }
7475 ac_cpp='$CPP $CPPFLAGS'
7476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7481 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7482 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7483 if test "${ac_cv_header_stdc+set}" = set; then
7484 echo $ECHO_N "(cached) $ECHO_C" >&6
7486 cat >conftest.$ac_ext <<_ACEOF
7489 cat confdefs.h >>conftest.$ac_ext
7490 cat >>conftest.$ac_ext <<_ACEOF
7491 /* end confdefs.h. */
7505 rm -f conftest.$ac_objext
7506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7507 (eval $ac_compile) 2>conftest.er1
7509 grep -v '^ *+' conftest.er1 >conftest.err
7511 cat conftest.err >&5
7512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7513 (exit $ac_status); } &&
7514 { ac_try='test -z "$ac_c_werror_flag"
7515 || test ! -s conftest.err'
7516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7520 (exit $ac_status); }; } &&
7521 { ac_try='test -s conftest.$ac_objext'
7522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7526 (exit $ac_status); }; }; then
7527 ac_cv_header_stdc=yes
7529 echo "$as_me: failed program was:" >&5
7530 sed 's/^/| /' conftest.$ac_ext >&5
7532 ac_cv_header_stdc=no
7534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7536 if test $ac_cv_header_stdc = yes; then
7537 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7538 cat >conftest.$ac_ext <<_ACEOF
7541 cat confdefs.h >>conftest.$ac_ext
7542 cat >>conftest.$ac_ext <<_ACEOF
7543 /* end confdefs.h. */
7547 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7548 $EGREP "memchr" >/dev/null 2>&1; then
7551 ac_cv_header_stdc=no
7557 if test $ac_cv_header_stdc = yes; then
7558 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7559 cat >conftest.$ac_ext <<_ACEOF
7562 cat confdefs.h >>conftest.$ac_ext
7563 cat >>conftest.$ac_ext <<_ACEOF
7564 /* end confdefs.h. */
7568 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7569 $EGREP "free" >/dev/null 2>&1; then
7572 ac_cv_header_stdc=no
7578 if test $ac_cv_header_stdc = yes; then
7579 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7580 if test "$cross_compiling" = yes; then
7583 cat >conftest.$ac_ext <<_ACEOF
7586 cat confdefs.h >>conftest.$ac_ext
7587 cat >>conftest.$ac_ext <<_ACEOF
7588 /* end confdefs.h. */
7590 #if ((' ' & 0x0FF) == 0x020)
7591 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7592 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7594 # define ISLOWER(c) \
7595 (('a' <= (c) && (c) <= 'i') \
7596 || ('j' <= (c) && (c) <= 'r') \
7597 || ('s' <= (c) && (c) <= 'z'))
7598 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7601 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7606 for (i = 0; i < 256; i++)
7607 if (XOR (islower (i), ISLOWER (i))
7608 || toupper (i) != TOUPPER (i))
7613 rm -f conftest$ac_exeext
7614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7615 (eval $ac_link) 2>&5
7617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7618 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7623 (exit $ac_status); }; }; then
7626 echo "$as_me: program exited with status $ac_status" >&5
7627 echo "$as_me: failed program was:" >&5
7628 sed 's/^/| /' conftest.$ac_ext >&5
7631 ac_cv_header_stdc=no
7633 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7637 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7638 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7639 if test $ac_cv_header_stdc = yes; then
7641 cat >>confdefs.h <<\_ACEOF
7642 #define STDC_HEADERS 1
7647 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7657 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7658 inttypes.h stdint.h unistd.h
7660 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7661 echo "$as_me:$LINENO: checking for $ac_header" >&5
7662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7663 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7664 echo $ECHO_N "(cached) $ECHO_C" >&6
7666 cat >conftest.$ac_ext <<_ACEOF
7669 cat confdefs.h >>conftest.$ac_ext
7670 cat >>conftest.$ac_ext <<_ACEOF
7671 /* end confdefs.h. */
7672 $ac_includes_default
7674 #include <$ac_header>
7676 rm -f conftest.$ac_objext
7677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7678 (eval $ac_compile) 2>conftest.er1
7680 grep -v '^ *+' conftest.er1 >conftest.err
7682 cat conftest.err >&5
7683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7684 (exit $ac_status); } &&
7685 { ac_try='test -z "$ac_c_werror_flag"
7686 || test ! -s conftest.err'
7687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7691 (exit $ac_status); }; } &&
7692 { ac_try='test -s conftest.$ac_objext'
7693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7697 (exit $ac_status); }; }; then
7698 eval "$as_ac_Header=yes"
7700 echo "$as_me: failed program was:" >&5
7701 sed 's/^/| /' conftest.$ac_ext >&5
7703 eval "$as_ac_Header=no"
7705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7708 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7709 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7710 cat >>confdefs.h <<_ACEOF
7711 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7720 for ac_header in dlfcn.h
7722 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7723 echo "$as_me:$LINENO: checking for $ac_header" >&5
7724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7726 echo $ECHO_N "(cached) $ECHO_C" >&6
7728 cat >conftest.$ac_ext <<_ACEOF
7731 cat confdefs.h >>conftest.$ac_ext
7732 cat >>conftest.$ac_ext <<_ACEOF
7733 /* end confdefs.h. */
7734 $ac_includes_default
7736 #include <$ac_header>
7738 rm -f conftest.$ac_objext
7739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7740 (eval $ac_compile) 2>conftest.er1
7742 grep -v '^ *+' conftest.er1 >conftest.err
7744 cat conftest.err >&5
7745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7746 (exit $ac_status); } &&
7747 { ac_try='test -z "$ac_c_werror_flag"
7748 || test ! -s conftest.err'
7749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7753 (exit $ac_status); }; } &&
7754 { ac_try='test -s conftest.$ac_objext'
7755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7759 (exit $ac_status); }; }; then
7760 eval "$as_ac_Header=yes"
7762 echo "$as_me: failed program was:" >&5
7763 sed 's/^/| /' conftest.$ac_ext >&5
7765 eval "$as_ac_Header=no"
7767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7770 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7771 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7772 cat >>confdefs.h <<_ACEOF
7773 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7783 ac_cpp='$CXXCPP $CPPFLAGS'
7784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7787 if test -n "$ac_tool_prefix"; then
7788 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7790 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7791 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7792 echo "$as_me:$LINENO: checking for $ac_word" >&5
7793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7794 if test "${ac_cv_prog_CXX+set}" = set; then
7795 echo $ECHO_N "(cached) $ECHO_C" >&6
7797 if test -n "$CXX"; then
7798 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7804 test -z "$as_dir" && as_dir=.
7805 for ac_exec_ext in '' $ac_executable_extensions; do
7806 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7807 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7817 if test -n "$CXX"; then
7818 echo "$as_me:$LINENO: result: $CXX" >&5
7819 echo "${ECHO_T}$CXX" >&6
7821 echo "$as_me:$LINENO: result: no" >&5
7822 echo "${ECHO_T}no" >&6
7825 test -n "$CXX" && break
7828 if test -z "$CXX"; then
7830 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7832 # Extract the first word of "$ac_prog", so it can be a program name with args.
7833 set dummy $ac_prog; ac_word=$2
7834 echo "$as_me:$LINENO: checking for $ac_word" >&5
7835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7836 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7837 echo $ECHO_N "(cached) $ECHO_C" >&6
7839 if test -n "$ac_ct_CXX"; then
7840 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7846 test -z "$as_dir" && as_dir=.
7847 for ac_exec_ext in '' $ac_executable_extensions; do
7848 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7849 ac_cv_prog_ac_ct_CXX="$ac_prog"
7850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7858 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7859 if test -n "$ac_ct_CXX"; then
7860 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7861 echo "${ECHO_T}$ac_ct_CXX" >&6
7863 echo "$as_me:$LINENO: result: no" >&5
7864 echo "${ECHO_T}no" >&6
7867 test -n "$ac_ct_CXX" && break
7869 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
7875 # Provide some information about the compiler.
7876 echo "$as_me:$LINENO:" \
7877 "checking for C++ compiler version" >&5
7878 ac_compiler=`set X
$ac_compile; echo $2`
7879 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7880 (eval $ac_compiler --version </dev/null >&5) 2>&5
7882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7883 (exit $ac_status); }
7884 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7885 (eval $ac_compiler -v </dev/null >&5) 2>&5
7887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7888 (exit $ac_status); }
7889 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7890 (eval $ac_compiler -V </dev/null >&5) 2>&5
7892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7893 (exit $ac_status); }
7895 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7896 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
7897 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7898 echo $ECHO_N "(cached) $ECHO_C" >&6
7900 cat >conftest.$ac_ext <<_ACEOF
7903 cat confdefs.h >>conftest.$ac_ext
7904 cat >>conftest.$ac_ext <<_ACEOF
7905 /* end confdefs.h. */
7918 rm -f conftest.$ac_objext
7919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7920 (eval $ac_compile) 2>conftest.er1
7922 grep -v '^ *+' conftest.er1 >conftest.err
7924 cat conftest.err >&5
7925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7926 (exit $ac_status); } &&
7927 { ac_try='test -z "$ac_cxx_werror_flag"
7928 || test ! -s conftest.err'
7929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7933 (exit $ac_status); }; } &&
7934 { ac_try='test -s conftest.$ac_objext'
7935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7939 (exit $ac_status); }; }; then
7942 echo "$as_me: failed program was:" >&5
7943 sed 's/^/| /' conftest.$ac_ext >&5
7947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7948 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7951 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7952 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
7953 GXX=`test $ac_compiler_gnu = yes && echo yes`
7954 ac_test_CXXFLAGS=${CXXFLAGS+set}
7955 ac_save_CXXFLAGS=$CXXFLAGS
7957 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7958 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
7959 if test "${ac_cv_prog_cxx_g+set}" = set; then
7960 echo $ECHO_N "(cached) $ECHO_C" >&6
7962 cat >conftest.$ac_ext <<_ACEOF
7965 cat confdefs.h >>conftest.$ac_ext
7966 cat >>conftest.$ac_ext <<_ACEOF
7967 /* end confdefs.h. */
7977 rm -f conftest.$ac_objext
7978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7979 (eval $ac_compile) 2>conftest.er1
7981 grep -v '^ *+' conftest.er1 >conftest.err
7983 cat conftest.err >&5
7984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7985 (exit $ac_status); } &&
7986 { ac_try='test -z "$ac_cxx_werror_flag"
7987 || test ! -s conftest.err'
7988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7992 (exit $ac_status); }; } &&
7993 { ac_try='test -s conftest.$ac_objext'
7994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7998 (exit $ac_status); }; }; then
7999 ac_cv_prog_cxx_g=yes
8001 echo "$as_me: failed program was:" >&5
8002 sed 's/^/| /' conftest.$ac_ext >&5
8006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8008 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
8009 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
8010 if test "$ac_test_CXXFLAGS" = set; then
8011 CXXFLAGS=$ac_save_CXXFLAGS
8012 elif test $ac_cv_prog_cxx_g = yes; then
8013 if test "$GXX" = yes; then
8019 if test "$GXX" = yes; then
8025 for ac_declaration in \
8027 'extern "C" void std::exit (int) throw (); using std::exit;' \
8028 'extern "C" void std::exit (int); using std::exit;' \
8029 'extern "C" void exit (int) throw ();' \
8030 'extern "C" void exit (int);' \
8033 cat >conftest.$ac_ext <<_ACEOF
8036 cat confdefs.h >>conftest.$ac_ext
8037 cat >>conftest.$ac_ext <<_ACEOF
8038 /* end confdefs.h. */
8049 rm -f conftest.$ac_objext
8050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8051 (eval $ac_compile) 2>conftest.er1
8053 grep -v '^ *+' conftest.er1 >conftest.err
8055 cat conftest.err >&5
8056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8057 (exit $ac_status); } &&
8058 { ac_try='test -z "$ac_cxx_werror_flag"
8059 || test ! -s conftest.err'
8060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8064 (exit $ac_status); }; } &&
8065 { ac_try='test -s conftest.$ac_objext'
8066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8070 (exit $ac_status); }; }; then
8073 echo "$as_me: failed program was:" >&5
8074 sed 's/^/| /' conftest.$ac_ext >&5
8078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8079 cat >conftest.$ac_ext <<_ACEOF
8082 cat confdefs.h >>conftest.$ac_ext
8083 cat >>conftest.$ac_ext <<_ACEOF
8084 /* end confdefs.h. */
8094 rm -f conftest.$ac_objext
8095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8096 (eval $ac_compile) 2>conftest.er1
8098 grep -v '^ *+' conftest.er1 >conftest.err
8100 cat conftest.err >&5
8101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8102 (exit $ac_status); } &&
8103 { ac_try='test -z "$ac_cxx_werror_flag"
8104 || test ! -s conftest.err'
8105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8109 (exit $ac_status); }; } &&
8110 { ac_try='test -s conftest.$ac_objext'
8111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8115 (exit $ac_status); }; }; then
8118 echo "$as_me: failed program was:" >&5
8119 sed 's/^/| /' conftest.$ac_ext >&5
8122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8125 if test -n "$ac_declaration"; then
8126 echo '#ifdef __cplusplus' >>confdefs.h
8127 echo $ac_declaration >>confdefs.h
8128 echo '#endif' >>confdefs.h
8132 ac_cpp='$CPP $CPPFLAGS'
8133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8137 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8138 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
8139 (test "X$CXX" != "Xg++"))) ; then
8141 ac_cpp='$CXXCPP $CPPFLAGS'
8142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8145 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
8146 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
8147 if test -z "$CXXCPP"; then
8148 if test "${ac_cv_prog_CXXCPP+set}" = set; then
8149 echo $ECHO_N "(cached) $ECHO_C" >&6
8151 # Double quotes because CXXCPP needs to be expanded
8152 for CXXCPP in "$CXX -E" "/lib/cpp"
8155 for ac_cxx_preproc_warn_flag in '' yes
8157 # Use a header file that comes with gcc, so configuring glibc
8158 # with a fresh cross-compiler works.
8159 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8160 # <limits.h> exists even on freestanding compilers.
8161 # On the NeXT, cc -E runs the code through the compiler's parser,
8162 # not just through cpp. "Syntax error" is here to catch this case.
8163 cat >conftest.$ac_ext <<_ACEOF
8166 cat confdefs.h >>conftest.$ac_ext
8167 cat >>conftest.$ac_ext <<_ACEOF
8168 /* end confdefs.h. */
8170 # include <limits.h>
8172 # include <assert.h>
8176 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8177 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8179 grep -v '^ *+' conftest.er1 >conftest.err
8181 cat conftest.err >&5
8182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8183 (exit $ac_status); } >/dev/null; then
8184 if test -s conftest.err; then
8185 ac_cpp_err=$ac_cxx_preproc_warn_flag
8186 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8193 if test -z "$ac_cpp_err"; then
8196 echo "$as_me: failed program was:" >&5
8197 sed 's/^/| /' conftest.$ac_ext >&5
8199 # Broken: fails on valid input.
8202 rm -f conftest.err conftest.$ac_ext
8204 # OK, works on sane cases. Now check whether non-existent headers
8205 # can be detected and how.
8206 cat >conftest.$ac_ext <<_ACEOF
8209 cat confdefs.h >>conftest.$ac_ext
8210 cat >>conftest.$ac_ext <<_ACEOF
8211 /* end confdefs.h. */
8212 #include <ac_nonexistent.h>
8214 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8215 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8217 grep -v '^ *+' conftest.er1 >conftest.err
8219 cat conftest.err >&5
8220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8221 (exit $ac_status); } >/dev/null; then
8222 if test -s conftest.err; then
8223 ac_cpp_err=$ac_cxx_preproc_warn_flag
8224 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8231 if test -z "$ac_cpp_err"; then
8232 # Broken: success on invalid input.
8235 echo "$as_me: failed program was:" >&5
8236 sed 's/^/| /' conftest.$ac_ext >&5
8238 # Passes both tests.
8242 rm -f conftest.err conftest.$ac_ext
8245 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8246 rm -f conftest.err conftest.
$ac_ext
8247 if $ac_preproc_ok; then
8252 ac_cv_prog_CXXCPP
=$CXXCPP
8255 CXXCPP
=$ac_cv_prog_CXXCPP
8257 ac_cv_prog_CXXCPP
=$CXXCPP
8259 echo "$as_me:$LINENO: result: $CXXCPP" >&5
8260 echo "${ECHO_T}$CXXCPP" >&6
8262 for ac_cxx_preproc_warn_flag
in '' yes
8264 # Use a header file that comes with gcc, so configuring glibc
8265 # with a fresh cross-compiler works.
8266 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8267 # <limits.h> exists even on freestanding compilers.
8268 # On the NeXT, cc -E runs the code through the compiler's parser,
8269 # not just through cpp. "Syntax error" is here to catch this case.
8270 cat >conftest.
$ac_ext <<_ACEOF
8273 cat confdefs.h
>>conftest.
$ac_ext
8274 cat >>conftest.
$ac_ext <<_ACEOF
8275 /* end confdefs.h. */
8277 # include <limits.h>
8279 # include <assert.h>
8283 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8284 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8286 grep -v '^ *+' conftest.er1
>conftest.err
8288 cat conftest.err
>&5
8289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8290 (exit $ac_status); } >/dev
/null
; then
8291 if test -s conftest.err
; then
8292 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8293 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8300 if test -z "$ac_cpp_err"; then
8303 echo "$as_me: failed program was:" >&5
8304 sed 's/^/| /' conftest.
$ac_ext >&5
8306 # Broken: fails on valid input.
8309 rm -f conftest.err conftest.
$ac_ext
8311 # OK, works on sane cases. Now check whether non-existent headers
8312 # can be detected and how.
8313 cat >conftest.
$ac_ext <<_ACEOF
8316 cat confdefs.h
>>conftest.
$ac_ext
8317 cat >>conftest.
$ac_ext <<_ACEOF
8318 /* end confdefs.h. */
8319 #include <ac_nonexistent.h>
8321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8322 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8324 grep -v '^ *+' conftest.er1
>conftest.err
8326 cat conftest.err
>&5
8327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8328 (exit $ac_status); } >/dev
/null
; then
8329 if test -s conftest.err
; then
8330 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8331 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8338 if test -z "$ac_cpp_err"; then
8339 # Broken: success on invalid input.
8342 echo "$as_me: failed program was:" >&5
8343 sed 's/^/| /' conftest.
$ac_ext >&5
8345 # Passes both tests.
8349 rm -f conftest.err conftest.
$ac_ext
8352 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8353 rm -f conftest.err conftest.
$ac_ext
8354 if $ac_preproc_ok; then
8357 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8358 echo "$as_me: error: in \`$ac_pwd':" >&2;}
8359 _lt_caught_CXX_error
=yes; }
8363 ac_cpp
='$CPP $CPPFLAGS'
8364 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8365 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8366 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8369 _lt_caught_CXX_error
=yes
8376 # This can be used to rebuild libtool when needed
8377 LIBTOOL_DEPS
="$ltmain"
8379 # Always use our own libtool.
8380 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8406 test -z "$LN_S" && LN_S
="ln -s"
8421 if test -n "${ZSH_VERSION+set}" ; then
8422 setopt NO_GLOB_SUBST
8425 echo "$as_me:$LINENO: checking for objdir" >&5
8426 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
8427 if test "${lt_cv_objdir+set}" = set; then
8428 echo $ECHO_N "(cached) $ECHO_C" >&6
8430 rm -f .libs
2>/dev
/null
8431 mkdir .libs
2>/dev
/null
8432 if test -d .libs
; then
8435 # MS-DOS does not allow filenames that begin with a dot.
8438 rmdir .libs
2>/dev
/null
8440 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8441 echo "${ECHO_T}$lt_cv_objdir" >&6
8442 objdir
=$lt_cv_objdir
8448 cat >>confdefs.h
<<_ACEOF
8449 #define LT_OBJDIR "$lt_cv_objdir/"
8470 # AIX sometimes has problems with the GCC collect2 program. For some
8471 # reason, if we set the COLLECT_NAMES environment variable, the problems
8472 # vanish in a puff of smoke.
8473 if test "X${COLLECT_NAMES+set}" != Xset
; then
8475 export COLLECT_NAMES
8480 # Sed substitution that helps us do robust quoting. It backslashifies
8481 # metacharacters that are still active within double-quoted strings.
8482 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
8484 # Same as above, but do not quote variable references.
8485 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
8487 # Sed substitution to delay expansion of an escaped shell variable in a
8488 # double_quote_subst'ed string.
8489 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8491 # Sed substitution to delay expansion of an escaped single quote.
8492 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
8494 # Sed substitution to avoid accidental globbing in evaled expressions
8495 no_glob_subst
='s/\*/\\\*/g'
8499 can_build_shared
=yes
8501 # All known linkers require a `.a' archive for static linking (except MSVC,
8502 # which needs '.lib').
8505 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8508 old_CFLAGS
="$CFLAGS"
8510 # Set sane defaults for various variables
8511 test -z "$CC" && CC
=cc
8512 test -z "$LTCC" && LTCC
=$CC
8513 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8514 test -z "$LD" && LD
=ld
8515 test -z "$ac_objext" && ac_objext
=o
8517 for cc_temp
in $compiler""; do
8519 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8520 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8525 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8528 # Only perform the check for file, if the check method requires it
8529 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8530 case $deplibs_check_method in
8532 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8533 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8534 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
8535 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8536 echo $ECHO_N "(cached) $ECHO_C" >&6
8540 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8543 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8544 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8545 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8546 for ac_dir
in $ac_dummy; do
8548 test -z "$ac_dir" && ac_dir
=.
8549 if test -f $ac_dir/${ac_tool_prefix}file; then
8550 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8551 if test -n "$file_magic_test_file"; then
8552 case $deplibs_check_method in
8554 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8555 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8556 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8557 $EGREP "$file_magic_regex" > /dev
/null
; then
8562 *** Warning: the command libtool uses to detect shared libraries,
8563 *** $file_magic_cmd, produces output that libtool cannot recognize.
8564 *** The result is that libtool may fail to recognize shared libraries
8565 *** as such. This will affect the creation of libtool libraries that
8566 *** depend on shared libraries, but programs linked with such libtool
8567 *** libraries will work regardless of this problem. Nevertheless, you
8568 *** may want to report the problem to your system manager and/or to
8569 *** bug-libtool@gnu.org
8579 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8584 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8585 if test -n "$MAGIC_CMD"; then
8586 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8587 echo "${ECHO_T}$MAGIC_CMD" >&6
8589 echo "$as_me:$LINENO: result: no" >&5
8590 echo "${ECHO_T}no" >&6
8597 if test -z "$lt_cv_path_MAGIC_CMD"; then
8598 if test -n "$ac_tool_prefix"; then
8599 echo "$as_me:$LINENO: checking for file" >&5
8600 echo $ECHO_N "checking for file... $ECHO_C" >&6
8601 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8602 echo $ECHO_N "(cached) $ECHO_C" >&6
8606 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8609 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8610 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8611 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8612 for ac_dir
in $ac_dummy; do
8614 test -z "$ac_dir" && ac_dir
=.
8615 if test -f $ac_dir/file; then
8616 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8617 if test -n "$file_magic_test_file"; then
8618 case $deplibs_check_method in
8620 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8621 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8622 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8623 $EGREP "$file_magic_regex" > /dev
/null
; then
8628 *** Warning: the command libtool uses to detect shared libraries,
8629 *** $file_magic_cmd, produces output that libtool cannot recognize.
8630 *** The result is that libtool may fail to recognize shared libraries
8631 *** as such. This will affect the creation of libtool libraries that
8632 *** depend on shared libraries, but programs linked with such libtool
8633 *** libraries will work regardless of this problem. Nevertheless, you
8634 *** may want to report the problem to your system manager and/or to
8635 *** bug-libtool@gnu.org
8645 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8650 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8651 if test -n "$MAGIC_CMD"; then
8652 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8653 echo "${ECHO_T}$MAGIC_CMD" >&6
8655 echo "$as_me:$LINENO: result: no" >&5
8656 echo "${ECHO_T}no" >&6
8669 # Use C for the default configuration in the libtool script
8673 ac_cpp
='$CPP $CPPFLAGS'
8674 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8675 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8676 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8679 # Source file extension for C test sources.
8682 # Object file extension for compiled C test sources.
8686 # Code to be used in simple compile tests
8687 lt_simple_compile_test_code
="int some_variable = 0;"
8689 # Code to be used in simple link tests
8690 lt_simple_link_test_code
='int main(){return(0);}'
8698 # If no C compiler was specified, use CC.
8701 # If no C compiler flags were specified, use CFLAGS.
8702 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8704 # Allow CC to be a program name with arguments.
8707 # Save the default compiler, since it gets overwritten when the other
8708 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8709 compiler_DEFAULT
=$CC
8711 # save warnings/boilerplate of simple test code
8712 ac_outfile
=conftest.
$ac_objext
8713 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8714 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8715 _lt_compiler_boilerplate
=`cat conftest.err`
8718 ac_outfile
=conftest.
$ac_objext
8719 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8720 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8721 _lt_linker_boilerplate
=`cat conftest.err`
8726 ## There is no encapsulation within the following macros, do not change
8727 ## the running order or otherwise move them around unless you know exactly
8728 ## what you are doing...
8729 if test -n "$compiler"; then
8731 lt_prog_compiler_no_builtin_flag
=
8733 if test "$GCC" = yes; then
8734 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8736 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8737 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
8738 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8739 echo $ECHO_N "(cached) $ECHO_C" >&6
8741 lt_cv_prog_compiler_rtti_exceptions
=no
8742 ac_outfile
=conftest.
$ac_objext
8743 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8744 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8745 # Insert the option either (1) after the last *FLAGS variable, or
8746 # (2) before a word containing "conftest.", or (3) at the end.
8747 # Note that $ac_compile itself does not contain backslashes and begins
8748 # with a dollar sign (not a hyphen), so the echo should work correctly.
8749 # The option is referenced via a variable to avoid confusing sed.
8750 lt_compile
=`echo "$ac_compile" | $SED \
8751 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8752 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8753 -e 's:$: $lt_compiler_flag:'`
8754 (eval echo "\"\$as_me:8754: $lt_compile\"" >&5)
8755 (eval "$lt_compile" 2>conftest.err
)
8757 cat conftest.err
>&5
8758 echo "$as_me:8758: \$? = $ac_status" >&5
8759 if (exit $ac_status) && test -s "$ac_outfile"; then
8760 # The compiler can only warn and ignore the option if not recognized
8761 # So say no if there are warnings other than the usual output.
8762 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8763 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8764 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8765 lt_cv_prog_compiler_rtti_exceptions
=yes
8771 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8772 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
8774 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8775 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8787 lt_prog_compiler_wl
=
8788 lt_prog_compiler_pic
=
8789 lt_prog_compiler_static
=
8791 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8792 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
8794 if test "$GCC" = yes; then
8795 lt_prog_compiler_wl
='-Wl,'
8796 lt_prog_compiler_static
='-static'
8800 # All AIX code is PIC.
8801 if test "$host_cpu" = ia64
; then
8802 # AIX 5 now supports IA64 processor
8803 lt_prog_compiler_static
='-Bstatic'
8808 if test "$host_cpu" = m68k
; then
8809 # FIXME: we need at least 68020 code to build shared libraries, but
8810 # adding the `-m68020' flag to GCC prevents building anything better,
8812 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8816 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8817 # PIC is the default for these OSes.
8820 mingw
* | cygwin
* | pw32
* | os2
*)
8821 # This hack is so that the source file can tell whether it is being
8822 # built for inclusion in a dll (and should export symbols for example).
8823 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8824 # (--disable-auto-import) libraries
8825 lt_prog_compiler_pic
='-DDLL_EXPORT'
8828 darwin
* | rhapsody
*)
8829 # PIC is the default on this platform
8830 # Common symbols not allowed in MH_DYLIB files
8831 lt_prog_compiler_pic
='-fno-common'
8835 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8842 lt_prog_compiler_pic
='-fPIC'
8848 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8849 # Instead, we relocate shared libraries at runtime.
8853 # Just because we use GCC doesn't mean we suddenly get shared libraries
8854 # on systems that don't support them.
8855 lt_prog_compiler_can_build_shared
=no
8860 # QNX uses GNU C++, but need to define -shared option too, otherwise
8862 lt_prog_compiler_pic
='-fPIC -shared'
8866 if test -d /usr
/nec
; then
8867 lt_prog_compiler_pic
=-Kconform_pic
8872 lt_prog_compiler_pic
='-fPIC'
8876 # PORTME Check for flag to pass linker flags through the system compiler.
8879 lt_prog_compiler_wl
='-Wl,'
8880 if test "$host_cpu" = ia64
; then
8881 # AIX 5 now supports IA64 processor
8882 lt_prog_compiler_static
='-Bstatic'
8884 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8888 # PIC is the default on this platform
8889 # Common symbols not allowed in MH_DYLIB files
8890 case $cc_basename in
8892 lt_prog_compiler_pic
='-qnocommon'
8893 lt_prog_compiler_wl
='-Wl,'
8898 mingw
* | cygwin
* | pw32
* | os2
*)
8899 # This hack is so that the source file can tell whether it is being
8900 # built for inclusion in a dll (and should export symbols for example).
8901 lt_prog_compiler_pic
='-DDLL_EXPORT'
8904 hpux9
* | hpux10
* | hpux11
*)
8905 lt_prog_compiler_wl
='-Wl,'
8906 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8913 lt_prog_compiler_pic
='+Z'
8916 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8917 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8920 irix5
* | irix6
* | nonstopux
*)
8921 lt_prog_compiler_wl
='-Wl,'
8922 # PIC (with -KPIC) is the default.
8923 lt_prog_compiler_static
='-non_shared'
8926 linux
* | k
*bsd
*-gnu)
8927 case $cc_basename in
8929 lt_prog_compiler_wl
='-Wl,'
8930 lt_prog_compiler_pic
='-KPIC'
8931 lt_prog_compiler_static
='-static'
8933 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8934 # Portland Group compilers (*not* the Pentium gcc compiler,
8935 # which looks to be a dead project)
8936 lt_prog_compiler_wl
='-Wl,'
8937 lt_prog_compiler_pic
='-fpic'
8938 lt_prog_compiler_static
='-Bstatic'
8941 lt_prog_compiler_wl
='-Wl,'
8942 # All Alpha code is PIC.
8943 lt_prog_compiler_static
='-non_shared'
8946 case `$CC -V 2>&1 | sed 5q` in
8949 lt_prog_compiler_pic
='-KPIC'
8950 lt_prog_compiler_static
='-Bstatic'
8951 lt_prog_compiler_wl
='-Wl,'
8954 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8955 lt_prog_compiler_pic
='-KPIC'
8956 lt_prog_compiler_static
='-Bstatic'
8957 lt_prog_compiler_wl
=''
8965 lt_prog_compiler_pic
='-KPIC'
8966 lt_prog_compiler_static
='-Bstatic'
8970 # QNX uses GNU C++, but need to define -shared option too, otherwise
8972 lt_prog_compiler_pic
='-fPIC -shared'
8975 osf3
* | osf4
* | osf5
*)
8976 lt_prog_compiler_wl
='-Wl,'
8977 # All OSF/1 code is PIC.
8978 lt_prog_compiler_static
='-non_shared'
8982 lt_prog_compiler_static
='-non_shared'
8986 lt_prog_compiler_pic
='-KPIC'
8987 lt_prog_compiler_static
='-Bstatic'
8988 case $cc_basename in
8990 lt_prog_compiler_wl
='-Qoption ld ';;
8992 lt_prog_compiler_wl
='-Wl,';;
8997 lt_prog_compiler_wl
='-Qoption ld '
8998 lt_prog_compiler_pic
='-PIC'
8999 lt_prog_compiler_static
='-Bstatic'
9002 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9003 lt_prog_compiler_wl
='-Wl,'
9004 lt_prog_compiler_pic
='-KPIC'
9005 lt_prog_compiler_static
='-Bstatic'
9009 if test -d /usr
/nec
;then
9010 lt_prog_compiler_pic
='-Kconform_pic'
9011 lt_prog_compiler_static
='-Bstatic'
9015 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9016 lt_prog_compiler_wl
='-Wl,'
9017 lt_prog_compiler_pic
='-KPIC'
9018 lt_prog_compiler_static
='-Bstatic'
9022 lt_prog_compiler_wl
='-Wl,'
9023 lt_prog_compiler_can_build_shared
=no
9027 lt_prog_compiler_pic
='-pic'
9028 lt_prog_compiler_static
='-Bstatic'
9032 lt_prog_compiler_can_build_shared
=no
9038 # For platforms which do not support PIC, -DPIC is meaningless:
9040 lt_prog_compiler_pic
=
9043 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9046 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9047 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
9055 # Check to make sure the PIC flag actually works.
9057 if test -n "$lt_prog_compiler_pic"; then
9058 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9059 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
9060 if test "${lt_prog_compiler_pic_works+set}" = set; then
9061 echo $ECHO_N "(cached) $ECHO_C" >&6
9063 lt_prog_compiler_pic_works
=no
9064 ac_outfile
=conftest.
$ac_objext
9065 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9066 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9067 # Insert the option either (1) after the last *FLAGS variable, or
9068 # (2) before a word containing "conftest.", or (3) at the end.
9069 # Note that $ac_compile itself does not contain backslashes and begins
9070 # with a dollar sign (not a hyphen), so the echo should work correctly.
9071 # The option is referenced via a variable to avoid confusing sed.
9072 lt_compile
=`echo "$ac_compile" | $SED \
9073 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9074 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9075 -e 's:$: $lt_compiler_flag:'`
9076 (eval echo "\"\$as_me:9076: $lt_compile\"" >&5)
9077 (eval "$lt_compile" 2>conftest.err
)
9079 cat conftest.err
>&5
9080 echo "$as_me:9080: \$? = $ac_status" >&5
9081 if (exit $ac_status) && test -s "$ac_outfile"; then
9082 # The compiler can only warn and ignore the option if not recognized
9083 # So say no if there are warnings other than the usual output.
9084 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
9085 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9086 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9087 lt_prog_compiler_pic_works
=yes
9093 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
9094 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
9096 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
9097 case $lt_prog_compiler_pic in
9099 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9102 lt_prog_compiler_pic
=
9103 lt_prog_compiler_can_build_shared
=no
9114 # Check to make sure the static flag actually works.
9116 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9117 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9118 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
9119 if test "${lt_prog_compiler_static_works+set}" = set; then
9120 echo $ECHO_N "(cached) $ECHO_C" >&6
9122 lt_prog_compiler_static_works
=no
9123 save_LDFLAGS
="$LDFLAGS"
9124 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9125 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9126 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9127 # The linker can only warn and ignore the option if not recognized
9128 # So say no if there are warnings
9129 if test -s conftest.err
; then
9130 # Append any errors to the config.log.
9131 cat conftest.err
1>&5
9132 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
9133 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9134 if diff conftest.exp conftest.er2
>/dev
/null
; then
9135 lt_prog_compiler_static_works
=yes
9138 lt_prog_compiler_static_works
=yes
9142 LDFLAGS
="$save_LDFLAGS"
9145 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
9146 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
9148 if test x
"$lt_prog_compiler_static_works" = xyes
; then
9151 lt_prog_compiler_static
=
9160 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9161 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
9162 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9163 echo $ECHO_N "(cached) $ECHO_C" >&6
9165 lt_cv_prog_compiler_c_o
=no
9166 $RM -r conftest
2>/dev
/null
9170 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9172 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9173 # Insert the option either (1) after the last *FLAGS variable, or
9174 # (2) before a word containing "conftest.", or (3) at the end.
9175 # Note that $ac_compile itself does not contain backslashes and begins
9176 # with a dollar sign (not a hyphen), so the echo should work correctly.
9177 lt_compile
=`echo "$ac_compile" | $SED \
9178 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9179 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9180 -e 's:$: $lt_compiler_flag:'`
9181 (eval echo "\"\$as_me:9181: $lt_compile\"" >&5)
9182 (eval "$lt_compile" 2>out
/conftest.err
)
9184 cat out
/conftest.err
>&5
9185 echo "$as_me:9185: \$? = $ac_status" >&5
9186 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9188 # The compiler can only warn and ignore the option if not recognized
9189 # So say no if there are warnings
9190 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9191 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9192 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9193 lt_cv_prog_compiler_c_o
=yes
9198 # SGI C++ compiler will create directory out/ii_files/ for
9199 # template instantiation
9200 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9201 $RM out
/* && rmdir out
9207 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9208 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
9215 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9216 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
9217 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9218 echo $ECHO_N "(cached) $ECHO_C" >&6
9220 lt_cv_prog_compiler_c_o
=no
9221 $RM -r conftest
2>/dev
/null
9225 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9227 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9228 # Insert the option either (1) after the last *FLAGS variable, or
9229 # (2) before a word containing "conftest.", or (3) at the end.
9230 # Note that $ac_compile itself does not contain backslashes and begins
9231 # with a dollar sign (not a hyphen), so the echo should work correctly.
9232 lt_compile
=`echo "$ac_compile" | $SED \
9233 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9234 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9235 -e 's:$: $lt_compiler_flag:'`
9236 (eval echo "\"\$as_me:9236: $lt_compile\"" >&5)
9237 (eval "$lt_compile" 2>out
/conftest.err
)
9239 cat out
/conftest.err
>&5
9240 echo "$as_me:9240: \$? = $ac_status" >&5
9241 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9243 # The compiler can only warn and ignore the option if not recognized
9244 # So say no if there are warnings
9245 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9246 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9247 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9248 lt_cv_prog_compiler_c_o
=yes
9253 # SGI C++ compiler will create directory out/ii_files/ for
9254 # template instantiation
9255 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9256 $RM out
/* && rmdir out
9262 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9263 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
9268 hard_links
="nottested"
9269 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9270 # do not overwrite the value of need_locks provided by the user
9271 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9272 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
9275 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9277 ln conftest.a conftest.b
2>&5 || hard_links
=no
9278 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9279 echo "$as_me:$LINENO: result: $hard_links" >&5
9280 echo "${ECHO_T}$hard_links" >&6
9281 if test "$hard_links" = no
; then
9282 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9283 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9295 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9296 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9299 allow_undefined_flag
=
9300 always_export_symbols
=no
9302 archive_expsym_cmds
=
9303 compiler_needs_object
=no
9304 enable_shared_with_static_runtimes
=no
9305 export_dynamic_flag_spec
=
9306 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9307 hardcode_automatic
=no
9309 hardcode_direct_absolute
=no
9310 hardcode_libdir_flag_spec
=
9311 hardcode_libdir_flag_spec_ld
=
9312 hardcode_libdir_separator
=
9314 hardcode_shlibpath_var
=unsupported
9316 link_all_deplibs
=unknown
9319 old_archive_from_new_cmds
=
9320 old_archive_from_expsyms_cmds
=
9321 thread_safe_flag_spec
=
9322 whole_archive_flag_spec
=
9323 # include_expsyms should be a list of space-separated symbols to be *always*
9324 # included in the symbol list
9326 # exclude_expsyms can be an extended regexp of symbols to exclude
9327 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9328 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9329 # as well as any symbol that contains `d'.
9330 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
9331 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9332 # platforms (ab)use it in PIC code, but their linkers get confused if
9333 # the symbol is explicitly referenced. Since portable code cannot
9334 # rely on this symbol name, it's probably fine to never include it in
9335 # preloaded symbol tables.
9336 extract_expsyms_cmds
=
9339 cygwin
* | mingw
* | pw32
*)
9340 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9341 # When not using gcc, we currently assume that we are using
9342 # Microsoft Visual C++.
9343 if test "$GCC" != yes; then
9348 # we just hope/assume this is gcc and not c89 (= MSVC++)
9357 if test "$with_gnu_ld" = yes; then
9358 # If archive_cmds runs LD, not CC, wlarc should be empty
9361 # Set some defaults for GNU ld with shared library support. These
9362 # are reset later if shared libraries are not supported. Putting them
9363 # here allows them to be overridden if necessary.
9364 runpath_var
=LD_RUN_PATH
9365 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9366 export_dynamic_flag_spec
='${wl}--export-dynamic'
9367 # ancient GNU ld didn't support --whole-archive et. al.
9368 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9369 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9371 whole_archive_flag_spec
=
9373 supports_anon_versioning
=no
9374 case `$LD -v 2>&1` in
9375 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9376 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9377 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9378 *\
2.11.
*) ;; # other 2.11 versions
9379 *) supports_anon_versioning
=yes ;;
9382 # See if GNU ld supports shared libraries.
9385 # On AIX/PPC, the GNU linker is very broken
9386 if test "$host_cpu" != ia64
; then
9390 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9391 *** to be unable to reliably create shared libraries on AIX.
9392 *** Therefore, libtool is disabling shared libraries support. If you
9393 *** really care for shared libraries, you may want to modify your PATH
9394 *** so that a non-GNU linker is found, and then restart.
9401 if test "$host_cpu" = m68k
; then
9402 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)'
9403 hardcode_libdir_flag_spec
='-L$libdir'
9404 hardcode_minus_L
=yes
9407 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9408 # that the semantics of dynamic libraries on AmigaOS, at least up
9409 # to version 4, is to share data among multiple programs linked
9410 # with the same dynamic library. Since this doesn't match the
9411 # behavior of shared libraries on other platforms, we can't use
9417 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9418 allow_undefined_flag
=unsupported
9419 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9420 # support --undefined. This deserves some investigation. FIXME
9421 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9427 cygwin
* | mingw
* | pw32
*)
9428 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9429 # as there is no search path for DLLs.
9430 hardcode_libdir_flag_spec
='-L$libdir'
9431 allow_undefined_flag
=unsupported
9432 always_export_symbols
=no
9433 enable_shared_with_static_runtimes
=yes
9434 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9436 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9437 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9438 # If the export-symbols file already is a .def file (1st line
9439 # is EXPORTS), use it as is; otherwise, prepend...
9440 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9441 cp $export_symbols $output_objdir/$soname.def;
9443 echo EXPORTS > $output_objdir/$soname.def;
9444 cat $export_symbols >> $output_objdir/$soname.def;
9446 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9454 hardcode_shlibpath_var
=no
9455 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9456 export_dynamic_flag_spec
='${wl}-E'
9457 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9458 # Instead, shared libraries are loaded at an image base (0x10000000 by
9459 # default) and relocated if they conflict, which is a slow very memory
9460 # consuming and fragmenting process. To avoid this, we pick a random,
9461 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9462 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9463 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9464 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'
9467 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
9469 if test "$host_os" = linux-dietlibc
; then
9470 case $cc_basename in
9471 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9474 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9475 && test "$tmp_diet" = no
9478 case $cc_basename,$host_cpu in
9479 pgcc
*) # Portland Group C compiler
9480 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'
9481 tmp_addflag
=' $pic_flag'
9483 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9484 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'
9485 tmp_addflag
=' $pic_flag -Mnomain' ;;
9486 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9487 tmp_addflag
=' -i_dynamic' ;;
9488 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9489 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9490 ifc
* | ifort
*) # Intel Fortran compiler
9491 tmp_addflag
=' -nofor_main' ;;
9493 case `$CC -V 2>&1 | sed 5q` in
9494 *Sun\ C
*) # Sun C 5.9
9495 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'
9496 compiler_needs_object
=yes
9497 tmp_sharedflag
='-G' ;;
9498 *Sun\ F
*) # Sun Fortran 8.3
9499 tmp_sharedflag
='-G' ;;
9501 tmp_sharedflag
='-shared' ;;
9503 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9505 if test "x$supports_anon_versioning" = xyes
; then
9506 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9507 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9508 echo "local: *; };" >> $output_objdir/$libname.ver~
9509 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9517 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9518 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9521 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9522 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9527 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9531 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9532 *** create shared libraries on Solaris systems. Therefore, libtool
9533 *** is disabling shared libraries support. We urge you to upgrade GNU
9534 *** binutils to release 2.9.1 or newer. Another option is to modify
9535 *** your PATH or compiler configuration so that the native linker is
9536 *** used, and then restart.
9539 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9540 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9541 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9547 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9548 case `$LD -v 2>&1` in
9549 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9553 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9554 *** reliably create shared libraries on SCO systems. Therefore, libtool
9555 *** is disabling shared libraries support. We urge you to upgrade GNU
9556 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9557 *** your PATH or compiler configuration so that the native linker is
9558 *** used, and then restart.
9563 # For security reasons, it is highly recommended that you always
9564 # use absolute paths for naming shared libraries, and exclude the
9565 # DT_RUNPATH tag from executables and libraries. But doing so
9566 # requires that you compile everything twice, which is a pain.
9567 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9568 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9569 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9570 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9579 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9582 hardcode_shlibpath_var
=no
9586 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9587 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9588 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9595 if test "$ld_shlibs" = no
; then
9597 hardcode_libdir_flag_spec
=
9598 export_dynamic_flag_spec
=
9599 whole_archive_flag_spec
=
9602 # PORTME fill in a description of your system's linker (not GNU ld)
9605 allow_undefined_flag
=unsupported
9606 always_export_symbols
=yes
9607 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'
9608 # Note: this linker hardcodes the directories in LIBPATH if there
9609 # are no directories specified by -L.
9610 hardcode_minus_L
=yes
9611 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9612 # Neither direct hardcoding nor static linking is supported with a
9614 hardcode_direct
=unsupported
9619 if test "$host_cpu" = ia64
; then
9620 # On IA64, the linker does run time linking by default, so we don't
9621 # have to do anything special.
9622 aix_use_runtimelinking
=no
9623 exp_sym_flag
='-Bexport'
9626 # If we're using GNU nm, then we don't want the "-C" option.
9627 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9628 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9629 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'
9631 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'
9633 aix_use_runtimelinking
=no
9635 # Test if we are trying to use run time linking or normal
9636 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9637 # need to do runtime linking.
9638 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9639 for ld_flag
in $LDFLAGS; do
9640 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9641 aix_use_runtimelinking
=yes
9648 exp_sym_flag
='-bexport'
9649 no_entry_flag
='-bnoentry'
9652 # When large executables or shared objects are built, AIX ld can
9653 # have problems creating the table of contents. If linking a library
9654 # or program results in "error TOC overflow" add -mminimal-toc to
9655 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9656 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9660 hardcode_direct_absolute
=yes
9661 hardcode_libdir_separator
=':'
9662 link_all_deplibs
=yes
9663 file_list_spec
='${wl}-f,'
9665 if test "$GCC" = yes; then
9666 case $host_os in aix4.
[012]|aix4.
[012].
*)
9667 # We only want to do this on AIX 4.2 and lower, the check
9668 # below for broken collect2 doesn't work under 4.3+
9669 collect2name
=`${CC} -print-prog-name=collect2`
9670 if test -f "$collect2name" &&
9671 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9673 # We have reworked collect2
9676 # We have old collect2
9677 hardcode_direct
=unsupported
9678 # It fails to find uninstalled libraries when the uninstalled
9679 # path is not listed in the libpath. Setting hardcode_minus_L
9680 # to unsupported forces relinking
9681 hardcode_minus_L
=yes
9682 hardcode_libdir_flag_spec
='-L$libdir'
9683 hardcode_libdir_separator
=
9687 shared_flag
='-shared'
9688 if test "$aix_use_runtimelinking" = yes; then
9689 shared_flag
="$shared_flag "'${wl}-G'
9693 if test "$host_cpu" = ia64
; then
9694 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9695 # chokes on -Wl,-G. The following line is correct:
9698 if test "$aix_use_runtimelinking" = yes; then
9699 shared_flag
='${wl}-G'
9701 shared_flag
='${wl}-bM:SRE'
9706 # It seems that -bexpall does not export symbols beginning with
9707 # underscore (_), so it is better to generate a list of symbols to export.
9708 always_export_symbols
=yes
9709 if test "$aix_use_runtimelinking" = yes; then
9710 # Warning - without using the other runtime loading flags (-brtl),
9711 # -berok will link without error, but may produce a broken library.
9712 allow_undefined_flag
='-berok'
9713 # Determine the default libpath from the value encoded in an
9715 if test x
$gcc_no_link = xyes
; then
9716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9718 { (exit 1); exit 1; }; }
9720 cat >conftest.
$ac_ext <<_ACEOF
9723 cat confdefs.h
>>conftest.
$ac_ext
9724 cat >>conftest.
$ac_ext <<_ACEOF
9725 /* end confdefs.h. */
9735 rm -f conftest.
$ac_objext conftest
$ac_exeext
9736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9737 (eval $ac_link) 2>conftest.er1
9739 grep -v '^ *+' conftest.er1
>conftest.err
9741 cat conftest.err
>&5
9742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9743 (exit $ac_status); } &&
9744 { ac_try
='test -z "$ac_c_werror_flag"
9745 || test ! -s conftest.err'
9746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9750 (exit $ac_status); }; } &&
9751 { ac_try
='test -s conftest$ac_exeext'
9752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9756 (exit $ac_status); }; }; then
9758 lt_aix_libpath_sed
='
9759 /Import File Strings/,/^$/ {
9765 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9766 # Check for a 64-bit object if we didn't find anything.
9767 if test -z "$aix_libpath"; then
9768 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9771 echo "$as_me: failed program was:" >&5
9772 sed 's/^/| /' conftest.
$ac_ext >&5
9775 rm -f conftest.err conftest.
$ac_objext \
9776 conftest
$ac_exeext conftest.
$ac_ext
9777 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9779 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9780 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"
9782 if test "$host_cpu" = ia64
; then
9783 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9784 allow_undefined_flag
="-z nodefs"
9785 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"
9787 # Determine the default libpath from the value encoded in an
9789 if test x
$gcc_no_link = xyes
; then
9790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9792 { (exit 1); exit 1; }; }
9794 cat >conftest.
$ac_ext <<_ACEOF
9797 cat confdefs.h
>>conftest.
$ac_ext
9798 cat >>conftest.
$ac_ext <<_ACEOF
9799 /* end confdefs.h. */
9809 rm -f conftest.
$ac_objext conftest
$ac_exeext
9810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9811 (eval $ac_link) 2>conftest.er1
9813 grep -v '^ *+' conftest.er1
>conftest.err
9815 cat conftest.err
>&5
9816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9817 (exit $ac_status); } &&
9818 { ac_try
='test -z "$ac_c_werror_flag"
9819 || test ! -s conftest.err'
9820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9824 (exit $ac_status); }; } &&
9825 { ac_try
='test -s conftest$ac_exeext'
9826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9830 (exit $ac_status); }; }; then
9832 lt_aix_libpath_sed
='
9833 /Import File Strings/,/^$/ {
9839 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9840 # Check for a 64-bit object if we didn't find anything.
9841 if test -z "$aix_libpath"; then
9842 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9845 echo "$as_me: failed program was:" >&5
9846 sed 's/^/| /' conftest.
$ac_ext >&5
9849 rm -f conftest.err conftest.
$ac_objext \
9850 conftest
$ac_exeext conftest.
$ac_ext
9851 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9853 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9854 # Warning - without using the other run time loading flags,
9855 # -berok will link without error, but may produce a broken library.
9856 no_undefined_flag
=' ${wl}-bernotok'
9857 allow_undefined_flag
=' ${wl}-berok'
9858 # Exported symbols can be pulled into shared objects from archives
9859 whole_archive_flag_spec
='$convenience'
9860 archive_cmds_need_lc
=yes
9861 # This is similar to how AIX traditionally builds its shared libraries.
9862 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'
9868 if test "$host_cpu" = m68k
; then
9869 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)'
9870 hardcode_libdir_flag_spec
='-L$libdir'
9871 hardcode_minus_L
=yes
9873 # see comment about different semantics on the GNU ld section
9878 export_dynamic_flag_spec
=-rdynamic
9881 cygwin
* | mingw
* | pw32
*)
9882 # When not using gcc, we currently assume that we are using
9883 # Microsoft Visual C++.
9884 # hardcode_libdir_flag_spec is actually meaningless, as there is
9885 # no search path for DLLs.
9886 hardcode_libdir_flag_spec
=' '
9887 allow_undefined_flag
=unsupported
9888 # Tell ltmain to make .lib files, not .a files.
9890 # Tell ltmain to make .dll files, not .so files.
9892 # FIXME: Setting linknames here is a bad hack.
9893 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9894 # The linker will automatically build a .lib file if we build a DLL.
9895 old_archive_from_new_cmds
='true'
9896 # FIXME: Should let the user specify the lib program.
9897 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9898 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9899 enable_shared_with_static_runtimes
=yes
9902 darwin
* | rhapsody
*)
9904 rhapsody
* | darwin1.
[012])
9905 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
9908 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
9910 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9913 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
9918 archive_cmds_need_lc
=no
9920 hardcode_automatic
=yes
9921 hardcode_shlibpath_var
=unsupported
9922 whole_archive_flag_spec
=''
9923 link_all_deplibs
=yes
9924 if test "$GCC" = yes ; then
9925 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
9926 echo $ECHO_N "(cached) $ECHO_C" >&6
9928 lt_cv_apple_cc_single_mod
=no
9929 if test -z "${LT_MULTI_MODULE}"; then
9930 # By default we will add the -single_module flag. You can override
9931 # by either setting the environment variable LT_MULTI_MODULE
9932 # non-empty at configure time, or by adding -multi-module to the
9934 echo "int foo(void){return 1;}" > conftest.c
9935 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9936 -dynamiclib ${wl}-single_module conftest.c
9937 if test -f libconftest.dylib
; then
9938 lt_cv_apple_cc_single_mod
=yes
9939 rm libconftest.dylib
9945 output_verbose_link_cmd
=echo
9946 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
9947 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9948 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}'
9950 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9951 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}'
9953 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9954 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}'
9956 case $cc_basename in
9958 output_verbose_link_cmd
=echo
9959 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
9960 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9961 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9962 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}'
9963 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}'
9973 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9974 hardcode_libdir_flag_spec
='-L$libdir'
9975 hardcode_shlibpath_var
=no
9982 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9983 # support. Future versions do this automatically, but an explicit c++rt0.o
9984 # does not break anything, and helps significantly (at the cost of a little
9987 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9988 hardcode_libdir_flag_spec
='-R$libdir'
9990 hardcode_shlibpath_var
=no
9993 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9995 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9997 hardcode_minus_L
=yes
9998 hardcode_shlibpath_var
=no
10001 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10002 freebsd
* | dragonfly
*)
10003 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10004 hardcode_libdir_flag_spec
='-R$libdir'
10005 hardcode_direct
=yes
10006 hardcode_shlibpath_var
=no
10010 if test "$GCC" = yes; then
10011 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'
10013 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'
10015 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10016 hardcode_libdir_separator
=:
10017 hardcode_direct
=yes
10019 # hardcode_minus_L: Not really in the search PATH,
10020 # but as the default location of the library.
10021 hardcode_minus_L
=yes
10022 export_dynamic_flag_spec
='${wl}-E'
10026 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
10027 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10029 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10031 if test "$with_gnu_ld" = no
; then
10032 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10033 hardcode_libdir_flag_spec_ld
='+b $libdir'
10034 hardcode_libdir_separator
=:
10035 hardcode_direct
=yes
10036 hardcode_direct_absolute
=yes
10037 export_dynamic_flag_spec
='${wl}-E'
10038 # hardcode_minus_L: Not really in the search PATH,
10039 # but as the default location of the library.
10040 hardcode_minus_L
=yes
10045 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
10048 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10051 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10054 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10060 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10063 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10066 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10070 if test "$with_gnu_ld" = no
; then
10071 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10072 hardcode_libdir_separator
=:
10077 hardcode_shlibpath_var
=no
10080 hardcode_direct
=yes
10081 hardcode_direct_absolute
=yes
10082 export_dynamic_flag_spec
='${wl}-E'
10084 # hardcode_minus_L: Not really in the search PATH,
10085 # but as the default location of the library.
10086 hardcode_minus_L
=yes
10092 irix5
* | irix6
* | nonstopux
*)
10093 if test "$GCC" = yes; then
10094 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'
10095 # Try to use the -exported_symbol ld option, if it does not
10096 # work, assume that -exports_file does not work either and
10097 # implicitly export all symbols.
10098 save_LDFLAGS
="$LDFLAGS"
10099 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10100 if test x
$gcc_no_link = xyes
; then
10101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10103 { (exit 1); exit 1; }; }
10105 cat >conftest.
$ac_ext <<_ACEOF
10108 rm -f conftest.
$ac_objext conftest
$ac_exeext
10109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10110 (eval $ac_link) 2>conftest.er1
10112 grep -v '^ *+' conftest.er1
>conftest.err
10114 cat conftest.err
>&5
10115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10116 (exit $ac_status); } &&
10117 { ac_try
='test -z "$ac_c_werror_flag"
10118 || test ! -s conftest.err'
10119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10120 (eval $ac_try) 2>&5
10122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10123 (exit $ac_status); }; } &&
10124 { ac_try
='test -s conftest$ac_exeext'
10125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10126 (eval $ac_try) 2>&5
10128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10129 (exit $ac_status); }; }; then
10130 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'
10133 echo "$as_me: failed program was:" >&5
10134 sed 's/^/| /' conftest.
$ac_ext >&5
10137 rm -f conftest.err conftest.
$ac_objext \
10138 conftest
$ac_exeext conftest.
$ac_ext
10139 LDFLAGS
="$save_LDFLAGS"
10141 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'
10142 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'
10144 archive_cmds_need_lc
='no'
10145 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10146 hardcode_libdir_separator
=:
10148 link_all_deplibs
=yes
10152 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10153 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10155 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10157 hardcode_libdir_flag_spec
='-R$libdir'
10158 hardcode_direct
=yes
10159 hardcode_shlibpath_var
=no
10163 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10164 hardcode_direct
=yes
10165 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10166 hardcode_libdir_separator
=:
10167 hardcode_shlibpath_var
=no
10174 hardcode_direct
=yes
10175 hardcode_shlibpath_var
=no
10176 hardcode_direct_absolute
=yes
10177 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10178 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10179 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10180 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10181 export_dynamic_flag_spec
='${wl}-E'
10184 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10185 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10186 hardcode_libdir_flag_spec
='-R$libdir'
10189 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10190 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10197 hardcode_libdir_flag_spec
='-L$libdir'
10198 hardcode_minus_L
=yes
10199 allow_undefined_flag
=unsupported
10200 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'
10201 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10205 if test "$GCC" = yes; then
10206 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10207 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'
10209 allow_undefined_flag
=' -expect_unresolved \*'
10210 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'
10212 archive_cmds_need_lc
='no'
10213 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10214 hardcode_libdir_separator
=:
10217 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10218 if test "$GCC" = yes; then
10219 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10220 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'
10221 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10223 allow_undefined_flag
=' -expect_unresolved \*'
10224 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'
10225 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~
10226 $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'
10228 # Both c and cxx compiler support -rpath directly
10229 hardcode_libdir_flag_spec
='-rpath $libdir'
10231 archive_cmds_need_lc
='no'
10232 hardcode_libdir_separator
=:
10236 no_undefined_flag
=' -z defs'
10237 if test "$GCC" = yes; then
10239 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10240 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10241 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10243 case `$CC -V 2>&1` in
10246 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10247 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10248 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10252 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10253 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10254 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10258 hardcode_libdir_flag_spec
='-R$libdir'
10259 hardcode_shlibpath_var
=no
10261 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10263 # The compiler driver will combine and reorder linker options,
10264 # but understands `-z linker_flag'. GCC discards it without `$wl',
10265 # but is careful enough not to reorder.
10266 # Supported since Solaris 2.6 (maybe 2.5.1?)
10267 if test "$GCC" = yes; then
10268 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10270 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10274 link_all_deplibs
=yes
10278 if test "x$host_vendor" = xsequent
; then
10279 # Use $CC to link under sequent, because it throws in some extra .o
10280 # files that make .init and .fini sections work.
10281 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10283 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10285 hardcode_libdir_flag_spec
='-L$libdir'
10286 hardcode_direct
=yes
10287 hardcode_minus_L
=yes
10288 hardcode_shlibpath_var
=no
10292 case $host_vendor in
10294 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10295 hardcode_direct
=yes # is this really true???
10298 ## LD is ld it makes a PLAMLIB
10299 ## CC just makes a GrossModule.
10300 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10301 reload_cmds
='$CC -r -o $output$reload_objs'
10305 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10306 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10309 runpath_var
='LD_RUN_PATH'
10310 hardcode_shlibpath_var
=no
10314 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10315 hardcode_shlibpath_var
=no
10316 export_dynamic_flag_spec
='-Bexport'
10320 if test -d /usr
/nec
; then
10321 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10322 hardcode_shlibpath_var
=no
10323 runpath_var
=LD_RUN_PATH
10324 hardcode_runpath_var
=yes
10329 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10330 no_undefined_flag
='${wl}-z,text'
10331 archive_cmds_need_lc
=no
10332 hardcode_shlibpath_var
=no
10333 runpath_var
='LD_RUN_PATH'
10335 if test "$GCC" = yes; then
10336 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10337 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10339 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10340 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10344 sysv5
* | sco3.2v5
* | sco5v6
*)
10345 # Note: We can NOT use -z defs as we might desire, because we do not
10346 # link with -lc, and that would cause any symbols used from libc to
10347 # always be unresolved, which means just about no library would
10348 # ever link correctly. If we're not using GNU ld we use -z text
10349 # though, which does catch some bad symbols but isn't as heavy-handed
10351 no_undefined_flag
='${wl}-z,text'
10352 allow_undefined_flag
='${wl}-z,nodefs'
10353 archive_cmds_need_lc
=no
10354 hardcode_shlibpath_var
=no
10355 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10356 hardcode_libdir_separator
=':'
10357 link_all_deplibs
=yes
10358 export_dynamic_flag_spec
='${wl}-Bexport'
10359 runpath_var
='LD_RUN_PATH'
10361 if test "$GCC" = yes; then
10362 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10363 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10365 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10366 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10371 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10372 hardcode_libdir_flag_spec
='-L$libdir'
10373 hardcode_shlibpath_var
=no
10381 if test x
$host_vendor = xsni
; then
10383 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10384 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10390 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10391 echo "${ECHO_T}$ld_shlibs" >&6
10392 test "$ld_shlibs" = no
&& can_build_shared
=no
10394 with_gnu_ld
=$with_gnu_ld
10411 # Do we need to explicitly link libc?
10413 case "x$archive_cmds_need_lc" in
10415 # Assume -lc should be added
10416 archive_cmds_need_lc
=yes
10418 if test "$enable_shared" = yes && test "$GCC" = yes; then
10419 case $archive_cmds in
10421 # FIXME: we may have to deal with multi-command sequences.
10424 # Test whether the compiler implicitly links with -lc since on some
10425 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10426 # to ld, don't add -lc before -lgcc.
10427 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10428 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10430 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10433 (eval $ac_compile) 2>&5
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); } 2>conftest.err
; then
10439 libobjs
=conftest.
$ac_objext
10441 wl
=$lt_prog_compiler_wl
10442 pic_flag
=$lt_prog_compiler_pic
10448 lt_save_allow_undefined_flag
=$allow_undefined_flag
10449 allow_undefined_flag
=
10450 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
10451 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10454 (exit $ac_status); }
10456 archive_cmds_need_lc
=no
10458 archive_cmds_need_lc
=yes
10460 allow_undefined_flag
=$lt_save_allow_undefined_flag
10462 cat conftest.err
1>&5
10465 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10466 echo "${ECHO_T}$archive_cmds_need_lc" >&6
10629 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10630 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
10632 if test "$withGCC" = yes; then
10634 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10635 *) lt_awk_arg
="/^libraries:/" ;;
10637 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10638 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
10639 # if the path contains ";" then we assume it to be the separator
10640 # otherwise default to the standard path separator (i.e. ":") - it is
10641 # assumed that no part of a normal pathname contains ";" but that should
10642 # okay in the real world where ";" in dirpaths is itself problematic.
10643 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10645 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10647 # Ok, now we have the path, separated by spaces, we can step through it
10648 # and add multilib dir if necessary.
10649 lt_tmp_lt_search_path_spec
=
10650 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10651 for lt_sys_path
in $lt_search_path_spec; do
10652 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10653 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10655 test -d "$lt_sys_path" && \
10656 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10659 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10660 BEGIN {RS=" "; FS="/|\n";} {
10663 for (lt_i = NF; lt_i > 0; lt_i--) {
10664 if ($lt_i != "" && $lt_i != ".") {
10665 if ($lt_i == "..") {
10668 if (lt_count == 0) {
10669 lt_foo="/" $lt_i lt_foo;
10676 if (lt_foo != "") { lt_freq[lt_foo]++; }
10677 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10679 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10681 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10683 library_names_spec
=
10684 libname_spec
='lib$name'
10688 postuninstall_cmds
=
10692 shlibpath_overrides_runpath
=unknown
10694 dynamic_linker
="$host_os ld.so"
10695 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10696 need_lib_prefix
=unknown
10697 hardcode_into_libs
=no
10699 # when you set need_version to no, make sure it does not cause -set_version
10700 # flags to be left without arguments
10701 need_version
=unknown
10706 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10707 shlibpath_var
=LIBPATH
10709 # AIX 3 has no versioning support, so we append a major version to the name.
10710 soname_spec
='${libname}${release}${shared_ext}$major'
10717 hardcode_into_libs
=yes
10718 if test "$host_cpu" = ia64
; then
10719 # AIX 5 supports IA64
10720 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10721 shlibpath_var
=LD_LIBRARY_PATH
10723 # With GCC up to 2.95.x, collect2 would create an import file
10724 # for dependence libraries. The import file would start with
10725 # the line `#! .'. This would cause the generated library to
10726 # depend on `.', always an invalid library. This was fixed in
10727 # development snapshots of GCC prior to 3.0.
10729 aix4 | aix4.
[01] | aix4.
[01].
*)
10730 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10732 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10735 can_build_shared
=no
10739 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10740 # soname into executable. Probably we can add versioning support to
10741 # collect2, so additional links can be useful in future.
10742 if test "$aix_use_runtimelinking" = yes; then
10743 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10744 # instead of lib<name>.a to let people know that these are not
10745 # typical AIX shared libraries.
10746 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10748 # We preserve .a as extension for shared libraries through AIX4.2
10749 # and later when we are not doing run time linking.
10750 library_names_spec
='${libname}${release}.a $libname.a'
10751 soname_spec
='${libname}${release}${shared_ext}$major'
10753 shlibpath_var
=LIBPATH
10758 if test "$host_cpu" = m68k
; then
10759 library_names_spec
='$libname.ixlibrary $libname.a'
10760 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10761 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'
10768 library_names_spec
='${libname}${shared_ext}'
10769 dynamic_linker
="$host_os ld.so"
10770 shlibpath_var
=LIBRARY_PATH
10776 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10777 soname_spec
='${libname}${release}${shared_ext}$major'
10778 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10779 shlibpath_var
=LD_LIBRARY_PATH
10780 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10781 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10782 # the default ld.so.conf also contains /usr/contrib/lib and
10783 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10784 # libtool to hard-code these into programs
10787 cygwin
* | mingw
* | pw32
*)
10788 version_type
=windows
10793 case $withGCC,$host_os in
10794 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
10795 library_names_spec
='$libname.dll.a'
10796 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10797 postinstall_cmds
='base_file=`basename \${file}`~
10798 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10799 dldir=$destdir/`dirname \$dlpath`~
10800 test -d \$dldir || mkdir -p \$dldir~
10801 $install_prog $dir/$dlname \$dldir/$dlname~
10802 chmod a+x \$dldir/$dlname~
10803 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10804 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10806 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10807 dlpath=$dir/\$dldll~
10809 shlibpath_overrides_runpath
=yes
10813 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10814 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10815 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10818 # MinGW DLLs use traditional 'lib' prefix
10819 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10820 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10821 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10822 # It is most probably a Windows format PATH printed by
10823 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10824 # path with ; separators, and with drive letters. We can handle the
10825 # drive letters (cygwin fileutils understands them), so leave them,
10826 # especially as we might pass files found there to a mingw objdump,
10827 # which wouldn't understand a cygwinified path. Ahh.
10828 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10830 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10834 # pw32 DLLs use 'pw' prefix rather than 'lib'
10835 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10841 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10844 dynamic_linker
='Win32 ld.exe'
10845 # FIXME: first we should search . and the directory the executable is in
10849 darwin
* | rhapsody
*)
10850 dynamic_linker
="$host_os dyld"
10851 version_type
=darwin
10854 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10855 soname_spec
='${libname}${release}${major}$shared_ext'
10856 shlibpath_overrides_runpath
=yes
10857 shlibpath_var
=DYLD_LIBRARY_PATH
10858 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10860 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10861 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10868 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10869 soname_spec
='${libname}${release}${shared_ext}$major'
10870 shlibpath_var
=LD_LIBRARY_PATH
10877 freebsd
* | dragonfly
*)
10878 # DragonFly does not have aout. When/if they implement a new
10879 # versioning mechanism, adjust this.
10880 if test -x /usr
/bin
/objformat
; then
10881 objformat
=`/usr/bin/objformat`
10884 freebsd
[123]*) objformat
=aout
;;
10885 *) objformat
=elf
;;
10888 version_type
=freebsd-
$objformat
10889 case $version_type in
10891 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10896 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10900 shlibpath_var
=LD_LIBRARY_PATH
10903 shlibpath_overrides_runpath
=yes
10905 freebsd3.
[01]* | freebsdelf3.
[01]*)
10906 shlibpath_overrides_runpath
=yes
10907 hardcode_into_libs
=yes
10909 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10910 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10911 shlibpath_overrides_runpath
=no
10912 hardcode_into_libs
=yes
10914 *) # from 4.6 on, and DragonFly
10915 shlibpath_overrides_runpath
=yes
10916 hardcode_into_libs
=yes
10925 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10926 soname_spec
='${libname}${release}${shared_ext}$major'
10927 shlibpath_var
=LD_LIBRARY_PATH
10928 hardcode_into_libs
=yes
10931 hpux9
* | hpux10
* | hpux11
*)
10932 # Give a soname corresponding to the major version so that dld.sl refuses to
10933 # link against other versions.
10940 hardcode_into_libs
=yes
10941 dynamic_linker
="$host_os dld.so"
10942 shlibpath_var
=LD_LIBRARY_PATH
10943 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10944 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10945 soname_spec
='${libname}${release}${shared_ext}$major'
10946 if test "X$HPUX_IA64_MODE" = X32
; then
10947 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10949 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10951 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10955 hardcode_into_libs
=yes
10956 dynamic_linker
="$host_os dld.sl"
10957 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10958 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10959 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10960 soname_spec
='${libname}${release}${shared_ext}$major'
10961 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10962 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10966 dynamic_linker
="$host_os dld.sl"
10967 shlibpath_var
=SHLIB_PATH
10968 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10969 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10970 soname_spec
='${libname}${release}${shared_ext}$major'
10973 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10974 postinstall_cmds
='chmod 555 $lib'
10981 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10982 soname_spec
='${libname}${release}${shared_ext}$major'
10983 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10984 shlibpath_var
=LD_LIBRARY_PATH
10985 shlibpath_overrides_runpath
=no
10986 hardcode_into_libs
=yes
10989 irix5
* | irix6
* | nonstopux
*)
10991 nonstopux
*) version_type
=nonstopux
;;
10993 if test "$lt_cv_prog_gnu_ld" = yes; then
11001 soname_spec
='${libname}${release}${shared_ext}$major'
11002 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11004 irix5
* | nonstopux
*)
11005 libsuff
= shlibsuff
=
11008 case $LD in # libtool.m4 will add one of these switches to LD
11009 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11010 libsuff
= shlibsuff
= libmagic
=32-bit;;
11011 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11012 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11013 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11014 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11015 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11019 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11020 shlibpath_overrides_runpath
=no
11021 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11022 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11023 hardcode_into_libs
=yes
11026 # No shared lib support for Linux oldld, aout, or coff.
11027 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11031 # This must be Linux ELF.
11032 linux
* | k
*bsd
*-gnu)
11036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11037 soname_spec
='${libname}${release}${shared_ext}$major'
11038 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11039 shlibpath_var
=LD_LIBRARY_PATH
11040 shlibpath_overrides_runpath
=no
11041 # Some binutils ld are patched to set DT_RUNPATH
11042 save_LDFLAGS
=$LDFLAGS
11043 save_libdir
=$libdir
11044 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11045 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11046 if test x
$gcc_no_link = xyes
; then
11047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11049 { (exit 1); exit 1; }; }
11051 cat >conftest.
$ac_ext <<_ACEOF
11054 cat confdefs.h
>>conftest.
$ac_ext
11055 cat >>conftest.
$ac_ext <<_ACEOF
11056 /* end confdefs.h. */
11066 rm -f conftest.
$ac_objext conftest
$ac_exeext
11067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11068 (eval $ac_link) 2>conftest.er1
11070 grep -v '^ *+' conftest.er1
>conftest.err
11072 cat conftest.err
>&5
11073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074 (exit $ac_status); } &&
11075 { ac_try
='test -z "$ac_c_werror_flag"
11076 || test ! -s conftest.err'
11077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11078 (eval $ac_try) 2>&5
11080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11081 (exit $ac_status); }; } &&
11082 { ac_try
='test -s conftest$ac_exeext'
11083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11084 (eval $ac_try) 2>&5
11086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11087 (exit $ac_status); }; }; then
11088 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
11089 shlibpath_overrides_runpath
=yes
11093 echo "$as_me: failed program was:" >&5
11094 sed 's/^/| /' conftest.
$ac_ext >&5
11097 rm -f conftest.err conftest.
$ac_objext \
11098 conftest
$ac_exeext conftest.
$ac_ext
11099 LDFLAGS
=$save_LDFLAGS
11100 libdir
=$save_libdir
11102 # This implies no fast_install, which is unacceptable.
11103 # Some rework will be needed to allow for fast_install
11104 # before this can be enabled.
11105 hardcode_into_libs
=yes
11107 # Append ld.so.conf contents to the search path
11108 if test -f /etc
/ld.so.conf
; then
11109 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' ' '`
11110 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11113 # We used to test for /lib/ld.so.1 and disable shared libraries on
11114 # powerpc, because MkLinux only supported shared libraries with the
11115 # GNU dynamic linker. Since this was broken with cross compilers,
11116 # most powerpc-linux boxes support dynamic linking these days and
11117 # people can always --disable-shared, the test was removed, and we
11118 # assume the GNU/Linux dynamic linker is in use.
11119 dynamic_linker
='GNU/Linux ld.so'
11126 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11128 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11129 dynamic_linker
='NetBSD (a.out) ld.so'
11131 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11132 soname_spec
='${libname}${release}${shared_ext}$major'
11133 dynamic_linker
='NetBSD ld.elf_so'
11135 shlibpath_var
=LD_LIBRARY_PATH
11136 shlibpath_overrides_runpath
=yes
11137 hardcode_into_libs
=yes
11142 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11143 shlibpath_var
=LD_LIBRARY_PATH
11144 shlibpath_overrides_runpath
=yes
11151 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11152 soname_spec
='${libname}${release}${shared_ext}$major'
11153 shlibpath_var
=LD_LIBRARY_PATH
11154 shlibpath_overrides_runpath
=no
11155 hardcode_into_libs
=yes
11156 dynamic_linker
='ldqnx.so'
11161 sys_lib_dlsearch_path_spec
="/usr/lib"
11163 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11165 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11166 *) need_version
=no
;;
11168 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11169 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11170 shlibpath_var
=LD_LIBRARY_PATH
11171 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11173 openbsd2.
[89] | openbsd2.
[89].
*)
11174 shlibpath_overrides_runpath
=no
11177 shlibpath_overrides_runpath
=yes
11181 shlibpath_overrides_runpath
=yes
11186 libname_spec
='$name'
11189 library_names_spec
='$libname${shared_ext} $libname.a'
11190 dynamic_linker
='OS/2 ld.exe'
11191 shlibpath_var
=LIBPATH
11194 osf3
* | osf4
* | osf5
*)
11198 soname_spec
='${libname}${release}${shared_ext}$major'
11199 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11200 shlibpath_var
=LD_LIBRARY_PATH
11201 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11202 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11214 soname_spec
='${libname}${release}${shared_ext}$major'
11215 shlibpath_var
=LD_LIBRARY_PATH
11216 shlibpath_overrides_runpath
=yes
11217 hardcode_into_libs
=yes
11218 # ldd complains unless libraries are executable
11219 postinstall_cmds
='chmod +x $lib'
11224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11225 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11226 shlibpath_var
=LD_LIBRARY_PATH
11227 shlibpath_overrides_runpath
=yes
11228 if test "$with_gnu_ld" = yes; then
11236 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11237 soname_spec
='${libname}${release}${shared_ext}$major'
11238 shlibpath_var
=LD_LIBRARY_PATH
11239 case $host_vendor in
11241 shlibpath_overrides_runpath
=no
11243 runpath_var
=LD_RUN_PATH
11251 shlibpath_overrides_runpath
=no
11252 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11258 if test -d /usr
/nec
;then
11260 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11261 soname_spec
='$libname${shared_ext}.$major'
11262 shlibpath_var
=LD_LIBRARY_PATH
11266 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11267 version_type
=freebsd-elf
11270 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11271 soname_spec
='${libname}${release}${shared_ext}$major'
11272 shlibpath_var
=LD_LIBRARY_PATH
11273 shlibpath_overrides_runpath
=yes
11274 hardcode_into_libs
=yes
11275 if test "$with_gnu_ld" = yes; then
11276 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11278 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11281 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11285 sys_lib_dlsearch_path_spec
='/usr/lib'
11289 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11293 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11294 shlibpath_var
=LD_LIBRARY_PATH
11295 shlibpath_overrides_runpath
=no
11296 hardcode_into_libs
=yes
11301 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11302 soname_spec
='${libname}${release}${shared_ext}$major'
11303 shlibpath_var
=LD_LIBRARY_PATH
11310 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11311 echo "${ECHO_T}$dynamic_linker" >&6
11312 test "$dynamic_linker" = no
&& can_build_shared
=no
11314 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11315 if test "$GCC" = yes; then
11316 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11405 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11406 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11408 if test -n "$hardcode_libdir_flag_spec" ||
11409 test -n "$runpath_var" ||
11410 test "X$hardcode_automatic" = "Xyes" ; then
11412 # We can hardcode non-existent directories.
11413 if test "$hardcode_direct" != no
&&
11414 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11415 # have to relink, otherwise we might link with an installed library
11416 # when we should be linking with a yet-to-be-installed one
11417 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11418 test "$hardcode_minus_L" != no
; then
11419 # Linking always hardcodes the temporary library directory.
11420 hardcode_action
=relink
11422 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11423 hardcode_action
=immediate
11426 # We cannot hardcode anything, or else we can only hardcode existing
11428 hardcode_action
=unsupported
11430 echo "$as_me:$LINENO: result: $hardcode_action" >&5
11431 echo "${ECHO_T}$hardcode_action" >&6
11433 if test "$hardcode_action" = relink ||
11434 test "$inherit_rpath" = yes; then
11435 # Fast installation is not supported
11436 enable_fast_install
=no
11437 elif test "$shlibpath_overrides_runpath" = yes ||
11438 test "$enable_shared" = no
; then
11439 # Fast installation is not necessary
11440 enable_fast_install
=needless
11448 if test "x$enable_dlopen" != xyes
; then
11449 enable_dlopen
=unknown
11450 enable_dlopen_self
=unknown
11451 enable_dlopen_self_static
=unknown
11458 lt_cv_dlopen
="load_add_on"
11460 lt_cv_dlopen_self
=yes
11464 lt_cv_dlopen
="LoadLibrary"
11469 lt_cv_dlopen
="dlopen"
11474 # if libdl is installed we need to link against it
11475 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11476 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11477 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11478 echo $ECHO_N "(cached) $ECHO_C" >&6
11480 ac_check_lib_save_LIBS
=$LIBS
11482 if test x
$gcc_no_link = xyes
; then
11483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11485 { (exit 1); exit 1; }; }
11487 cat >conftest.
$ac_ext <<_ACEOF
11490 cat confdefs.h
>>conftest.
$ac_ext
11491 cat >>conftest.
$ac_ext <<_ACEOF
11492 /* end confdefs.h. */
11494 /* Override any gcc2 internal prototype to avoid an error. */
11498 /* We use char because int might match the return type of a gcc2
11499 builtin and then its argument prototype would still apply. */
11509 rm -f conftest.
$ac_objext conftest
$ac_exeext
11510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11511 (eval $ac_link) 2>conftest.er1
11513 grep -v '^ *+' conftest.er1
>conftest.err
11515 cat conftest.err
>&5
11516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11517 (exit $ac_status); } &&
11518 { ac_try
='test -z "$ac_c_werror_flag"
11519 || test ! -s conftest.err'
11520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11521 (eval $ac_try) 2>&5
11523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524 (exit $ac_status); }; } &&
11525 { ac_try
='test -s conftest$ac_exeext'
11526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11527 (eval $ac_try) 2>&5
11529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530 (exit $ac_status); }; }; then
11531 ac_cv_lib_dl_dlopen
=yes
11533 echo "$as_me: failed program was:" >&5
11534 sed 's/^/| /' conftest.
$ac_ext >&5
11536 ac_cv_lib_dl_dlopen
=no
11538 rm -f conftest.err conftest.
$ac_objext \
11539 conftest
$ac_exeext conftest.
$ac_ext
11540 LIBS
=$ac_check_lib_save_LIBS
11542 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11543 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11544 if test $ac_cv_lib_dl_dlopen = yes; then
11545 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11548 lt_cv_dlopen
="dyld"
11550 lt_cv_dlopen_self
=yes
11557 echo "$as_me:$LINENO: checking for shl_load" >&5
11558 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11559 if test "${ac_cv_func_shl_load+set}" = set; then
11560 echo $ECHO_N "(cached) $ECHO_C" >&6
11562 if test x
$gcc_no_link = xyes
; then
11563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11565 { (exit 1); exit 1; }; }
11567 cat >conftest.
$ac_ext <<_ACEOF
11570 cat confdefs.h
>>conftest.
$ac_ext
11571 cat >>conftest.
$ac_ext <<_ACEOF
11572 /* end confdefs.h. */
11573 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11575 #define shl_load innocuous_shl_load
11577 /* System header to define __stub macros and hopefully few prototypes,
11578 which can conflict with char shl_load (); below.
11579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11580 <limits.h> exists even on freestanding compilers. */
11583 # include <limits.h>
11585 # include <assert.h>
11590 /* Override any gcc2 internal prototype to avoid an error. */
11595 /* We use char because int might match the return type of a gcc2
11596 builtin and then its argument prototype would still apply. */
11598 /* The GNU C library defines this for functions which it implements
11599 to always fail with ENOSYS. Some functions are actually named
11600 something starting with __ and the normal name is an alias. */
11601 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11604 char (*f) () = shl_load;
11613 return f != shl_load;
11618 rm -f conftest.
$ac_objext conftest
$ac_exeext
11619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11620 (eval $ac_link) 2>conftest.er1
11622 grep -v '^ *+' conftest.er1
>conftest.err
11624 cat conftest.err
>&5
11625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11626 (exit $ac_status); } &&
11627 { ac_try
='test -z "$ac_c_werror_flag"
11628 || test ! -s conftest.err'
11629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11630 (eval $ac_try) 2>&5
11632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11633 (exit $ac_status); }; } &&
11634 { ac_try
='test -s conftest$ac_exeext'
11635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11636 (eval $ac_try) 2>&5
11638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11639 (exit $ac_status); }; }; then
11640 ac_cv_func_shl_load
=yes
11642 echo "$as_me: failed program was:" >&5
11643 sed 's/^/| /' conftest.
$ac_ext >&5
11645 ac_cv_func_shl_load
=no
11647 rm -f conftest.err conftest.
$ac_objext \
11648 conftest
$ac_exeext conftest.
$ac_ext
11650 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11651 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11652 if test $ac_cv_func_shl_load = yes; then
11653 lt_cv_dlopen
="shl_load"
11655 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11656 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11657 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11658 echo $ECHO_N "(cached) $ECHO_C" >&6
11660 ac_check_lib_save_LIBS
=$LIBS
11662 if test x
$gcc_no_link = xyes
; then
11663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11665 { (exit 1); exit 1; }; }
11667 cat >conftest.
$ac_ext <<_ACEOF
11670 cat confdefs.h
>>conftest.
$ac_ext
11671 cat >>conftest.
$ac_ext <<_ACEOF
11672 /* end confdefs.h. */
11674 /* Override any gcc2 internal prototype to avoid an error. */
11678 /* We use char because int might match the return type of a gcc2
11679 builtin and then its argument prototype would still apply. */
11689 rm -f conftest.
$ac_objext conftest
$ac_exeext
11690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11691 (eval $ac_link) 2>conftest.er1
11693 grep -v '^ *+' conftest.er1
>conftest.err
11695 cat conftest.err
>&5
11696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11697 (exit $ac_status); } &&
11698 { ac_try
='test -z "$ac_c_werror_flag"
11699 || test ! -s conftest.err'
11700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11701 (eval $ac_try) 2>&5
11703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11704 (exit $ac_status); }; } &&
11705 { ac_try
='test -s conftest$ac_exeext'
11706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11707 (eval $ac_try) 2>&5
11709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11710 (exit $ac_status); }; }; then
11711 ac_cv_lib_dld_shl_load
=yes
11713 echo "$as_me: failed program was:" >&5
11714 sed 's/^/| /' conftest.
$ac_ext >&5
11716 ac_cv_lib_dld_shl_load
=no
11718 rm -f conftest.err conftest.
$ac_objext \
11719 conftest
$ac_exeext conftest.
$ac_ext
11720 LIBS
=$ac_check_lib_save_LIBS
11722 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11723 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11724 if test $ac_cv_lib_dld_shl_load = yes; then
11725 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
11727 echo "$as_me:$LINENO: checking for dlopen" >&5
11728 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11729 if test "${ac_cv_func_dlopen+set}" = set; then
11730 echo $ECHO_N "(cached) $ECHO_C" >&6
11732 if test x
$gcc_no_link = xyes
; then
11733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11735 { (exit 1); exit 1; }; }
11737 cat >conftest.
$ac_ext <<_ACEOF
11740 cat confdefs.h
>>conftest.
$ac_ext
11741 cat >>conftest.
$ac_ext <<_ACEOF
11742 /* end confdefs.h. */
11743 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11745 #define dlopen innocuous_dlopen
11747 /* System header to define __stub macros and hopefully few prototypes,
11748 which can conflict with char dlopen (); below.
11749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11750 <limits.h> exists even on freestanding compilers. */
11753 # include <limits.h>
11755 # include <assert.h>
11760 /* Override any gcc2 internal prototype to avoid an error. */
11765 /* We use char because int might match the return type of a gcc2
11766 builtin and then its argument prototype would still apply. */
11768 /* The GNU C library defines this for functions which it implements
11769 to always fail with ENOSYS. Some functions are actually named
11770 something starting with __ and the normal name is an alias. */
11771 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11774 char (*f) () = dlopen;
11783 return f != dlopen;
11788 rm -f conftest.
$ac_objext conftest
$ac_exeext
11789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11790 (eval $ac_link) 2>conftest.er1
11792 grep -v '^ *+' conftest.er1
>conftest.err
11794 cat conftest.err
>&5
11795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11796 (exit $ac_status); } &&
11797 { ac_try
='test -z "$ac_c_werror_flag"
11798 || test ! -s conftest.err'
11799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11800 (eval $ac_try) 2>&5
11802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11803 (exit $ac_status); }; } &&
11804 { ac_try
='test -s conftest$ac_exeext'
11805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11806 (eval $ac_try) 2>&5
11808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11809 (exit $ac_status); }; }; then
11810 ac_cv_func_dlopen
=yes
11812 echo "$as_me: failed program was:" >&5
11813 sed 's/^/| /' conftest.
$ac_ext >&5
11815 ac_cv_func_dlopen
=no
11817 rm -f conftest.err conftest.
$ac_objext \
11818 conftest
$ac_exeext conftest.
$ac_ext
11820 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11821 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11822 if test $ac_cv_func_dlopen = yes; then
11823 lt_cv_dlopen
="dlopen"
11825 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11826 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11827 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11828 echo $ECHO_N "(cached) $ECHO_C" >&6
11830 ac_check_lib_save_LIBS
=$LIBS
11832 if test x
$gcc_no_link = xyes
; then
11833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11835 { (exit 1); exit 1; }; }
11837 cat >conftest.
$ac_ext <<_ACEOF
11840 cat confdefs.h
>>conftest.
$ac_ext
11841 cat >>conftest.
$ac_ext <<_ACEOF
11842 /* end confdefs.h. */
11844 /* Override any gcc2 internal prototype to avoid an error. */
11848 /* We use char because int might match the return type of a gcc2
11849 builtin and then its argument prototype would still apply. */
11859 rm -f conftest.
$ac_objext conftest
$ac_exeext
11860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11861 (eval $ac_link) 2>conftest.er1
11863 grep -v '^ *+' conftest.er1
>conftest.err
11865 cat conftest.err
>&5
11866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11867 (exit $ac_status); } &&
11868 { ac_try
='test -z "$ac_c_werror_flag"
11869 || test ! -s conftest.err'
11870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11871 (eval $ac_try) 2>&5
11873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11874 (exit $ac_status); }; } &&
11875 { ac_try
='test -s conftest$ac_exeext'
11876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11877 (eval $ac_try) 2>&5
11879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11880 (exit $ac_status); }; }; then
11881 ac_cv_lib_dl_dlopen
=yes
11883 echo "$as_me: failed program was:" >&5
11884 sed 's/^/| /' conftest.
$ac_ext >&5
11886 ac_cv_lib_dl_dlopen
=no
11888 rm -f conftest.err conftest.
$ac_objext \
11889 conftest
$ac_exeext conftest.
$ac_ext
11890 LIBS
=$ac_check_lib_save_LIBS
11892 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11893 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11894 if test $ac_cv_lib_dl_dlopen = yes; then
11895 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11897 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11898 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11899 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11900 echo $ECHO_N "(cached) $ECHO_C" >&6
11902 ac_check_lib_save_LIBS
=$LIBS
11903 LIBS
="-lsvld $LIBS"
11904 if test x
$gcc_no_link = xyes
; then
11905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11907 { (exit 1); exit 1; }; }
11909 cat >conftest.
$ac_ext <<_ACEOF
11912 cat confdefs.h
>>conftest.
$ac_ext
11913 cat >>conftest.
$ac_ext <<_ACEOF
11914 /* end confdefs.h. */
11916 /* Override any gcc2 internal prototype to avoid an error. */
11920 /* We use char because int might match the return type of a gcc2
11921 builtin and then its argument prototype would still apply. */
11931 rm -f conftest.
$ac_objext conftest
$ac_exeext
11932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11933 (eval $ac_link) 2>conftest.er1
11935 grep -v '^ *+' conftest.er1
>conftest.err
11937 cat conftest.err
>&5
11938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11939 (exit $ac_status); } &&
11940 { ac_try
='test -z "$ac_c_werror_flag"
11941 || test ! -s conftest.err'
11942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11943 (eval $ac_try) 2>&5
11945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11946 (exit $ac_status); }; } &&
11947 { ac_try
='test -s conftest$ac_exeext'
11948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11949 (eval $ac_try) 2>&5
11951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11952 (exit $ac_status); }; }; then
11953 ac_cv_lib_svld_dlopen
=yes
11955 echo "$as_me: failed program was:" >&5
11956 sed 's/^/| /' conftest.
$ac_ext >&5
11958 ac_cv_lib_svld_dlopen
=no
11960 rm -f conftest.err conftest.
$ac_objext \
11961 conftest
$ac_exeext conftest.
$ac_ext
11962 LIBS
=$ac_check_lib_save_LIBS
11964 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11965 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11966 if test $ac_cv_lib_svld_dlopen = yes; then
11967 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11969 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11970 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11971 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11972 echo $ECHO_N "(cached) $ECHO_C" >&6
11974 ac_check_lib_save_LIBS
=$LIBS
11976 if test x
$gcc_no_link = xyes
; then
11977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11979 { (exit 1); exit 1; }; }
11981 cat >conftest.
$ac_ext <<_ACEOF
11984 cat confdefs.h
>>conftest.
$ac_ext
11985 cat >>conftest.
$ac_ext <<_ACEOF
11986 /* end confdefs.h. */
11988 /* Override any gcc2 internal prototype to avoid an error. */
11992 /* We use char because int might match the return type of a gcc2
11993 builtin and then its argument prototype would still apply. */
12003 rm -f conftest.
$ac_objext conftest
$ac_exeext
12004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12005 (eval $ac_link) 2>conftest.er1
12007 grep -v '^ *+' conftest.er1
>conftest.err
12009 cat conftest.err
>&5
12010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12011 (exit $ac_status); } &&
12012 { ac_try
='test -z "$ac_c_werror_flag"
12013 || test ! -s conftest.err'
12014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12015 (eval $ac_try) 2>&5
12017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12018 (exit $ac_status); }; } &&
12019 { ac_try
='test -s conftest$ac_exeext'
12020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12021 (eval $ac_try) 2>&5
12023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12024 (exit $ac_status); }; }; then
12025 ac_cv_lib_dld_dld_link
=yes
12027 echo "$as_me: failed program was:" >&5
12028 sed 's/^/| /' conftest.
$ac_ext >&5
12030 ac_cv_lib_dld_dld_link
=no
12032 rm -f conftest.err conftest.
$ac_objext \
12033 conftest
$ac_exeext conftest.
$ac_ext
12034 LIBS
=$ac_check_lib_save_LIBS
12036 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12037 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12038 if test $ac_cv_lib_dld_dld_link = yes; then
12039 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
12060 if test "x$lt_cv_dlopen" != xno
; then
12066 case $lt_cv_dlopen in
12068 save_CPPFLAGS
="$CPPFLAGS"
12069 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12071 save_LDFLAGS
="$LDFLAGS"
12072 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12075 LIBS
="$lt_cv_dlopen_libs $LIBS"
12077 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12078 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12079 if test "${lt_cv_dlopen_self+set}" = set; then
12080 echo $ECHO_N "(cached) $ECHO_C" >&6
12082 if test "$cross_compiling" = yes; then :
12083 lt_cv_dlopen_self
=cross
12085 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12086 lt_status
=$lt_dlunknown
12087 cat > conftest.
$ac_ext <<_LT_EOF
12088 #line 12088 "configure"
12089 #include "confdefs.h"
12098 # define LT_DLGLOBAL RTLD_GLOBAL
12101 # define LT_DLGLOBAL DL_GLOBAL
12103 # define LT_DLGLOBAL 0
12107 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12108 find out it does not work in some platform. */
12109 #ifndef LT_DLLAZY_OR_NOW
12111 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12114 # define LT_DLLAZY_OR_NOW DL_LAZY
12117 # define LT_DLLAZY_OR_NOW RTLD_NOW
12120 # define LT_DLLAZY_OR_NOW DL_NOW
12122 # define LT_DLLAZY_OR_NOW 0
12130 extern "C" void exit (int);
12133 void fnord() { int i=42;}
12136 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12137 int status = $lt_dlunknown;
12141 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12142 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12143 /* dlclose (self); */
12151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12152 (eval $ac_link) 2>&5
12154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12155 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12156 (.
/conftest
; exit; ) >&5 2>/dev
/null
12158 case x
$lt_status in
12159 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12160 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12161 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12164 # compilation failed
12165 lt_cv_dlopen_self
=no
12172 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12173 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12175 if test "x$lt_cv_dlopen_self" = xyes
; then
12176 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12177 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12178 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12179 if test "${lt_cv_dlopen_self_static+set}" = set; then
12180 echo $ECHO_N "(cached) $ECHO_C" >&6
12182 if test "$cross_compiling" = yes; then :
12183 lt_cv_dlopen_self_static
=cross
12185 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12186 lt_status
=$lt_dlunknown
12187 cat > conftest.
$ac_ext <<_LT_EOF
12188 #line 12188 "configure"
12189 #include "confdefs.h"
12198 # define LT_DLGLOBAL RTLD_GLOBAL
12201 # define LT_DLGLOBAL DL_GLOBAL
12203 # define LT_DLGLOBAL 0
12207 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12208 find out it does not work in some platform. */
12209 #ifndef LT_DLLAZY_OR_NOW
12211 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12214 # define LT_DLLAZY_OR_NOW DL_LAZY
12217 # define LT_DLLAZY_OR_NOW RTLD_NOW
12220 # define LT_DLLAZY_OR_NOW DL_NOW
12222 # define LT_DLLAZY_OR_NOW 0
12230 extern "C" void exit (int);
12233 void fnord() { int i=42;}
12236 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12237 int status = $lt_dlunknown;
12241 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12242 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12243 /* dlclose (self); */
12251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12252 (eval $ac_link) 2>&5
12254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12255 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12256 (.
/conftest
; exit; ) >&5 2>/dev
/null
12258 case x
$lt_status in
12259 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12260 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12261 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12264 # compilation failed
12265 lt_cv_dlopen_self_static
=no
12272 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12273 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12276 CPPFLAGS
="$save_CPPFLAGS"
12277 LDFLAGS
="$save_LDFLAGS"
12282 case $lt_cv_dlopen_self in
12283 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12284 *) enable_dlopen_self
=unknown
;;
12287 case $lt_cv_dlopen_self_static in
12288 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12289 *) enable_dlopen_self_static
=unknown
;;
12311 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12312 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
12313 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12314 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12315 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12316 echo "$as_me:$LINENO: result: yes" >&5
12317 echo "${ECHO_T}yes" >&6
12319 # FIXME - insert some real tests, host_os isn't really good enough
12322 if test -n "$STRIP" ; then
12323 striplib
="$STRIP -x"
12324 old_striplib
="$STRIP -S"
12325 echo "$as_me:$LINENO: result: yes" >&5
12326 echo "${ECHO_T}yes" >&6
12328 echo "$as_me:$LINENO: result: no" >&5
12329 echo "${ECHO_T}no" >&6
12333 echo "$as_me:$LINENO: result: no" >&5
12334 echo "${ECHO_T}no" >&6
12350 # Report which library types will actually be built
12351 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12352 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12353 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12354 echo "${ECHO_T}$can_build_shared" >&6
12356 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12357 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12358 test "$can_build_shared" = "no" && enable_shared
=no
12360 # On AIX, shared libraries and static libraries use the same namespace, and
12361 # are all built from PIC.
12364 test "$enable_shared" = yes && enable_static
=no
12365 if test -n "$RANLIB"; then
12366 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12367 postinstall_cmds
='$RANLIB $lib'
12372 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12373 test "$enable_shared" = yes && enable_static
=no
12377 echo "$as_me:$LINENO: result: $enable_shared" >&5
12378 echo "${ECHO_T}$enable_shared" >&6
12380 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12381 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12382 # Make sure either enable_shared or enable_static is yes.
12383 test "$enable_shared" = yes || enable_static
=yes
12384 echo "$as_me:$LINENO: result: $enable_static" >&5
12385 echo "${ECHO_T}$enable_static" >&6
12392 ac_cpp
='$CPP $CPPFLAGS'
12393 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12394 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12395 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12401 ac_cpp
='$CXXCPP $CPPFLAGS'
12402 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12403 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12404 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12406 archive_cmds_need_lc_CXX
=no
12407 allow_undefined_flag_CXX
=
12408 always_export_symbols_CXX
=no
12409 archive_expsym_cmds_CXX
=
12410 compiler_needs_object_CXX
=no
12411 export_dynamic_flag_spec_CXX
=
12412 hardcode_direct_CXX
=no
12413 hardcode_direct_absolute_CXX
=no
12414 hardcode_libdir_flag_spec_CXX
=
12415 hardcode_libdir_flag_spec_ld_CXX
=
12416 hardcode_libdir_separator_CXX
=
12417 hardcode_minus_L_CXX
=no
12418 hardcode_shlibpath_var_CXX
=unsupported
12419 hardcode_automatic_CXX
=no
12420 inherit_rpath_CXX
=no
12422 module_expsym_cmds_CXX
=
12423 link_all_deplibs_CXX
=unknown
12424 old_archive_cmds_CXX
=$old_archive_cmds
12425 no_undefined_flag_CXX
=
12426 whole_archive_flag_spec_CXX
=
12427 enable_shared_with_static_runtimes_CXX
=no
12429 # Source file extension for C++ test sources.
12432 # Object file extension for compiled C++ test sources.
12436 # No sense in running all these tests if we already determined that
12437 # the CXX compiler isn't working. Some variables (like enable_shared)
12438 # are currently assumed to apply to all compilers on this platform,
12439 # and will be corrupted by setting them based on a non-working compiler.
12440 if test "$_lt_caught_CXX_error" != yes; then
12441 # Code to be used in simple compile tests
12442 lt_simple_compile_test_code
="int some_variable = 0;"
12444 # Code to be used in simple link tests
12445 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12447 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12454 # If no C compiler was specified, use CC.
12457 # If no C compiler flags were specified, use CFLAGS.
12458 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12460 # Allow CC to be a program name with arguments.
12464 # save warnings/boilerplate of simple test code
12465 ac_outfile
=conftest.
$ac_objext
12466 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12467 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12468 _lt_compiler_boilerplate
=`cat conftest.err`
12471 ac_outfile
=conftest.
$ac_objext
12472 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12473 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12474 _lt_linker_boilerplate
=`cat conftest.err`
12478 # Allow CC to be a program name with arguments.
12483 lt_save_with_gnu_ld
=$with_gnu_ld
12484 lt_save_path_LD
=$lt_cv_path_LD
12485 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12486 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12488 $as_unset lt_cv_prog_gnu_ld
12490 if test -n "${lt_cv_path_LDCXX+set}"; then
12491 lt_cv_path_LD
=$lt_cv_path_LDCXX
12493 $as_unset lt_cv_path_LD
12495 test -z "${LDCXX+set}" || LD
=$LDCXX
12499 for cc_temp
in $compiler""; do
12501 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12502 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12507 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12510 if test -n "$compiler"; then
12511 # We don't want -fno-exception when compiling C++ code, so set the
12512 # no_builtin_flag separately
12513 if test "$GXX" = yes; then
12514 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12516 lt_prog_compiler_no_builtin_flag_CXX
=
12519 if test "$GXX" = yes; then
12520 # Set up default GNU C++ configuration
12524 # Check whether --with-gnu-ld or --without-gnu-ld was given.
12525 if test "${with_gnu_ld+set}" = set; then
12526 withval
="$with_gnu_ld"
12527 test "$withval" = no || with_gnu_ld
=yes
12532 if test "$GCC" = yes; then
12533 # Check if gcc -print-prog-name=ld gives a path.
12534 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12535 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
12538 # gcc leaves a trailing carriage return which upsets mingw
12539 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12541 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12544 # Accept absolute paths.
12546 re_direlt
='/[^/][^/]*/\.\./'
12547 # Canonicalize the pathname of ld
12548 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12549 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12550 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12552 test -z "$LD" && LD
="$ac_prog"
12555 # If it fails, then pretend we aren't using GCC.
12559 # If it is relative, then search for the first ld in PATH.
12560 with_gnu_ld
=unknown
12563 elif test "$with_gnu_ld" = yes; then
12564 echo "$as_me:$LINENO: checking for GNU ld" >&5
12565 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
12567 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12568 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
12570 if test "${lt_cv_path_LD+set}" = set; then
12571 echo $ECHO_N "(cached) $ECHO_C" >&6
12573 if test -z "$LD"; then
12574 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12575 for ac_dir
in $PATH; do
12577 test -z "$ac_dir" && ac_dir
=.
12578 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12579 lt_cv_path_LD
="$ac_dir/$ac_prog"
12580 # Check to see if the program is GNU ld. I'd rather use --version,
12581 # but apparently some variants of GNU ld only accept -v.
12582 # Break only if it was the GNU/non-GNU ld that we prefer.
12583 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12584 *GNU
* |
*'with BFD'*)
12585 test "$with_gnu_ld" != no
&& break
12588 test "$with_gnu_ld" != yes && break
12595 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12599 LD
="$lt_cv_path_LD"
12600 if test -n "$LD"; then
12601 echo "$as_me:$LINENO: result: $LD" >&5
12602 echo "${ECHO_T}$LD" >&6
12604 echo "$as_me:$LINENO: result: no" >&5
12605 echo "${ECHO_T}no" >&6
12607 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12608 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12609 { (exit 1); exit 1; }; }
12610 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12611 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
12612 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12613 echo $ECHO_N "(cached) $ECHO_C" >&6
12615 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12616 case `$LD -v 2>&1 </dev/null` in
12617 *GNU
* |
*'with BFD'*)
12618 lt_cv_prog_gnu_ld
=yes
12621 lt_cv_prog_gnu_ld
=no
12625 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12626 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
12627 with_gnu_ld
=$lt_cv_prog_gnu_ld
12635 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12636 # archiving commands below assume that GNU ld is being used.
12637 if test "$with_gnu_ld" = yes; then
12638 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12639 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'
12641 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12642 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12644 # If archive_cmds runs LD, not CC, wlarc should be empty
12645 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12646 # investigate it a little bit more. (MM)
12649 # ancient GNU ld didn't support --whole-archive et. al.
12650 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12651 $GREP 'no-whole-archive' > /dev
/null
; then
12652 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12654 whole_archive_flag_spec_CXX
=
12660 # A generic and very simple default shared library creation
12661 # command for GNU C++ for the case where it uses the native
12662 # linker, instead of GNU ld. If possible, this setting should
12663 # overridden to take advantage of the native linker features on
12664 # the platform it is being used on.
12665 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12668 # Commands to make compiler produce verbose output that lists
12669 # what "hidden" libraries, object files and flags are used when
12670 # linking a shared library.
12671 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12679 # PORTME: fill in a description of your system's C++ link characteristics
12680 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12681 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12685 # FIXME: insert proper C++ library support
12689 if test "$host_cpu" = ia64
; then
12690 # On IA64, the linker does run time linking by default, so we don't
12691 # have to do anything special.
12692 aix_use_runtimelinking
=no
12693 exp_sym_flag
='-Bexport'
12696 aix_use_runtimelinking
=no
12698 # Test if we are trying to use run time linking or normal
12699 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12700 # need to do runtime linking.
12701 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12702 for ld_flag
in $LDFLAGS; do
12705 aix_use_runtimelinking
=yes
12713 exp_sym_flag
='-bexport'
12714 no_entry_flag
='-bnoentry'
12717 # When large executables or shared objects are built, AIX ld can
12718 # have problems creating the table of contents. If linking a library
12719 # or program results in "error TOC overflow" add -mminimal-toc to
12720 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12721 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12723 archive_cmds_CXX
=''
12724 hardcode_direct_CXX
=yes
12725 hardcode_direct_absolute_CXX
=yes
12726 hardcode_libdir_separator_CXX
=':'
12727 link_all_deplibs_CXX
=yes
12728 file_list_spec_CXX
='${wl}-f,'
12730 if test "$GXX" = yes; then
12731 case $host_os in aix4.
[012]|aix4.
[012].
*)
12732 # We only want to do this on AIX 4.2 and lower, the check
12733 # below for broken collect2 doesn't work under 4.3+
12734 collect2name
=`${CC} -print-prog-name=collect2`
12735 if test -f "$collect2name" &&
12736 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12738 # We have reworked collect2
12741 # We have old collect2
12742 hardcode_direct_CXX
=unsupported
12743 # It fails to find uninstalled libraries when the uninstalled
12744 # path is not listed in the libpath. Setting hardcode_minus_L
12745 # to unsupported forces relinking
12746 hardcode_minus_L_CXX
=yes
12747 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12748 hardcode_libdir_separator_CXX
=
12751 shared_flag
='-shared'
12752 if test "$aix_use_runtimelinking" = yes; then
12753 shared_flag
="$shared_flag "'${wl}-G'
12757 if test "$host_cpu" = ia64
; then
12758 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12759 # chokes on -Wl,-G. The following line is correct:
12762 if test "$aix_use_runtimelinking" = yes; then
12763 shared_flag
='${wl}-G'
12765 shared_flag
='${wl}-bM:SRE'
12770 # It seems that -bexpall does not export symbols beginning with
12771 # underscore (_), so it is better to generate a list of symbols to
12773 always_export_symbols_CXX
=yes
12774 if test "$aix_use_runtimelinking" = yes; then
12775 # Warning - without using the other runtime loading flags (-brtl),
12776 # -berok will link without error, but may produce a broken library.
12777 allow_undefined_flag_CXX
='-berok'
12778 # Determine the default libpath from the value encoded in an empty
12780 if test x
$gcc_no_link = xyes
; then
12781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12783 { (exit 1); exit 1; }; }
12785 cat >conftest.
$ac_ext <<_ACEOF
12788 cat confdefs.h
>>conftest.
$ac_ext
12789 cat >>conftest.
$ac_ext <<_ACEOF
12790 /* end confdefs.h. */
12800 rm -f conftest.
$ac_objext conftest
$ac_exeext
12801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12802 (eval $ac_link) 2>conftest.er1
12804 grep -v '^ *+' conftest.er1
>conftest.err
12806 cat conftest.err
>&5
12807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12808 (exit $ac_status); } &&
12809 { ac_try
='test -z "$ac_cxx_werror_flag"
12810 || test ! -s conftest.err'
12811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12812 (eval $ac_try) 2>&5
12814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12815 (exit $ac_status); }; } &&
12816 { ac_try
='test -s conftest$ac_exeext'
12817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12818 (eval $ac_try) 2>&5
12820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12821 (exit $ac_status); }; }; then
12823 lt_aix_libpath_sed
='
12824 /Import File Strings/,/^$/ {
12830 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12831 # Check for a 64-bit object if we didn't find anything.
12832 if test -z "$aix_libpath"; then
12833 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12836 echo "$as_me: failed program was:" >&5
12837 sed 's/^/| /' conftest.
$ac_ext >&5
12840 rm -f conftest.err conftest.
$ac_objext \
12841 conftest
$ac_exeext conftest.
$ac_ext
12842 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12844 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12846 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"
12848 if test "$host_cpu" = ia64
; then
12849 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12850 allow_undefined_flag_CXX
="-z nodefs"
12851 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"
12853 # Determine the default libpath from the value encoded in an
12854 # empty executable.
12855 if test x
$gcc_no_link = xyes
; then
12856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12858 { (exit 1); exit 1; }; }
12860 cat >conftest.
$ac_ext <<_ACEOF
12863 cat confdefs.h
>>conftest.
$ac_ext
12864 cat >>conftest.
$ac_ext <<_ACEOF
12865 /* end confdefs.h. */
12875 rm -f conftest.
$ac_objext conftest
$ac_exeext
12876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12877 (eval $ac_link) 2>conftest.er1
12879 grep -v '^ *+' conftest.er1
>conftest.err
12881 cat conftest.err
>&5
12882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12883 (exit $ac_status); } &&
12884 { ac_try
='test -z "$ac_cxx_werror_flag"
12885 || test ! -s conftest.err'
12886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12887 (eval $ac_try) 2>&5
12889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12890 (exit $ac_status); }; } &&
12891 { ac_try
='test -s conftest$ac_exeext'
12892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12893 (eval $ac_try) 2>&5
12895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12896 (exit $ac_status); }; }; then
12898 lt_aix_libpath_sed
='
12899 /Import File Strings/,/^$/ {
12905 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12906 # Check for a 64-bit object if we didn't find anything.
12907 if test -z "$aix_libpath"; then
12908 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12911 echo "$as_me: failed program was:" >&5
12912 sed 's/^/| /' conftest.
$ac_ext >&5
12915 rm -f conftest.err conftest.
$ac_objext \
12916 conftest
$ac_exeext conftest.
$ac_ext
12917 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12919 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12920 # Warning - without using the other run time loading flags,
12921 # -berok will link without error, but may produce a broken library.
12922 no_undefined_flag_CXX
=' ${wl}-bernotok'
12923 allow_undefined_flag_CXX
=' ${wl}-berok'
12924 # Exported symbols can be pulled into shared objects from archives
12925 whole_archive_flag_spec_CXX
='$convenience'
12926 archive_cmds_need_lc_CXX
=yes
12927 # This is similar to how AIX traditionally builds its shared
12929 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'
12935 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12936 allow_undefined_flag_CXX
=unsupported
12937 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12938 # support --undefined. This deserves some investigation. FIXME
12939 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12946 case $cc_basename in
12948 # FIXME: insert proper C++ library support
12954 cygwin
* | mingw
* | pw32
*)
12955 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12956 # as there is no search path for DLLs.
12957 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12958 allow_undefined_flag_CXX
=unsupported
12959 always_export_symbols_CXX
=no
12960 enable_shared_with_static_runtimes_CXX
=yes
12962 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12963 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'
12964 # If the export-symbols file already is a .def file (1st line
12965 # is EXPORTS), use it as is; otherwise, prepend...
12966 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12967 cp $export_symbols $output_objdir/$soname.def;
12969 echo EXPORTS > $output_objdir/$soname.def;
12970 cat $export_symbols >> $output_objdir/$soname.def;
12972 $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'
12977 darwin
* | rhapsody
*)
12979 rhapsody
* | darwin1.
[012])
12980 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
12983 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
12985 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12988 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
12993 archive_cmds_need_lc_CXX
=no
12994 hardcode_direct_CXX
=no
12995 hardcode_automatic_CXX
=yes
12996 hardcode_shlibpath_var_CXX
=unsupported
12997 whole_archive_flag_spec_CXX
=''
12998 link_all_deplibs_CXX
=yes
13000 if test "$GXX" = yes ; then
13001 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
13002 echo $ECHO_N "(cached) $ECHO_C" >&6
13004 lt_cv_apple_cc_single_mod
=no
13005 if test -z "${LT_MULTI_MODULE}"; then
13006 # By default we will add the -single_module flag. You can override
13007 # by either setting the environment variable LT_MULTI_MODULE
13008 # non-empty at configure time, or by adding -multi-module to the
13010 echo "int foo(void){return 1;}" > conftest.c
13011 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
13012 -dynamiclib ${wl}-single_module conftest.c
13013 if test -f libconftest.dylib
; then
13014 lt_cv_apple_cc_single_mod
=yes
13015 rm libconftest.dylib
13017 rm conftest.
$ac_ext
13021 output_verbose_link_cmd
=echo
13022 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
13023 archive_cmds_CXX
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13024 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}'
13026 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'
13027 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}'
13029 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13030 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}'
13032 case $cc_basename in
13034 output_verbose_link_cmd
=echo
13035 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'
13036 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13037 # Don't fix this by using the ld -exported_symbols_list flag,
13038 # it doesn't exist in older darwin lds
13039 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}'
13040 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}'
13050 case $cc_basename in
13052 # FIXME: insert proper C++ library support
13056 # Green Hills C++ Compiler
13057 # FIXME: insert proper C++ library support
13061 # FIXME: insert proper C++ library support
13068 # C++ shared libraries reported to be fairly broken before
13074 archive_cmds_need_lc_CXX
=no
13077 freebsd
* | dragonfly
*)
13078 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13087 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13088 hardcode_libdir_separator_CXX
=:
13089 export_dynamic_flag_spec_CXX
='${wl}-E'
13090 hardcode_direct_CXX
=yes
13091 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13092 # but as the default
13093 # location of the library.
13095 case $cc_basename in
13097 # FIXME: insert proper C++ library support
13101 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'
13102 # Commands to make compiler produce verbose output that lists
13103 # what "hidden" libraries, object files and flags are used when
13104 # linking a shared library.
13106 # There doesn't appear to be a way to prevent this compiler from
13107 # explicitly linking system object files so we need to strip them
13108 # from the output so that they don't get included in the library
13110 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'
13113 if test "$GXX" = yes; then
13114 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'
13116 # FIXME: insert proper C++ library support
13124 if test $with_gnu_ld = no
; then
13125 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13126 hardcode_libdir_separator_CXX
=:
13132 export_dynamic_flag_spec_CXX
='${wl}-E'
13138 hardcode_direct_CXX
=no
13139 hardcode_shlibpath_var_CXX
=no
13142 hardcode_direct_CXX
=yes
13143 hardcode_direct_absolute_CXX
=yes
13144 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13145 # but as the default
13146 # location of the library.
13150 case $cc_basename in
13152 # FIXME: insert proper C++ library support
13158 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13161 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13164 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13167 # Commands to make compiler produce verbose output that lists
13168 # what "hidden" libraries, object files and flags are used when
13169 # linking a shared library.
13171 # There doesn't appear to be a way to prevent this compiler from
13172 # explicitly linking system object files so we need to strip them
13173 # from the output so that they don't get included in the library
13175 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'
13178 if test "$GXX" = yes; then
13179 if test $with_gnu_ld = no
; then
13182 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13185 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13188 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'
13193 # FIXME: insert proper C++ library support
13201 hardcode_direct_CXX
=no
13202 hardcode_shlibpath_var_CXX
=no
13203 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13204 export_dynamic_flag_spec_CXX
='${wl}-E'
13205 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13206 # Instead, shared libraries are loaded at an image base (0x10000000 by
13207 # default) and relocated if they conflict, which is a slow very memory
13208 # consuming and fragmenting process. To avoid this, we pick a random,
13209 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13210 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13211 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'
13212 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'
13215 case $cc_basename in
13218 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'
13220 # Archives containing C++ object files must be created using
13221 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13222 # necessary to make sure instantiated templates are included
13224 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13227 if test "$GXX" = yes; then
13228 if test "$with_gnu_ld" = no
; then
13229 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'
13231 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'
13234 link_all_deplibs_CXX
=yes
13237 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13238 hardcode_libdir_separator_CXX
=:
13239 inherit_rpath_CXX
=yes
13242 linux
* | k
*bsd
*-gnu)
13243 case $cc_basename in
13245 # Kuck and Associates, Inc. (KAI) C++ Compiler
13247 # KCC will only create a shared library if the output file
13248 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13249 # to its proper name (with version) after linking.
13250 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'
13251 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'
13252 # Commands to make compiler produce verbose output that lists
13253 # what "hidden" libraries, object files and flags are used when
13254 # linking a shared library.
13256 # There doesn't appear to be a way to prevent this compiler from
13257 # explicitly linking system object files so we need to strip them
13258 # from the output so that they don't get included in the library
13260 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'
13262 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13263 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13265 # Archives containing C++ object files must be created using
13266 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13267 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13272 # version 8.0 and above of icpc choke on multiply defined symbols
13273 # if we add $predep_objects and $postdep_objects, however 7.1 and
13274 # earlier do not add the objects themselves.
13275 case `$CC -V 2>&1` in
13277 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13278 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'
13280 *) # Version 8.0 or newer
13283 ia64
*) tmp_idyn
=' -i_dynamic';;
13285 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13286 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'
13289 archive_cmds_need_lc_CXX
=no
13290 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13291 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13292 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13295 # Portland Group C++ compiler
13298 prelink_cmds_CXX
='tpldir=Template.dir~
13300 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13301 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13302 old_archive_cmds_CXX
='tpldir=Template.dir~
13304 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13305 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13307 archive_cmds_CXX
='tpldir=Template.dir~
13309 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13310 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13311 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13313 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13314 $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'
13316 *) # Version 6 will use weak symbols
13317 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13318 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'
13322 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13323 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13324 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'
13328 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13329 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'
13331 runpath_var
=LD_RUN_PATH
13332 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13333 hardcode_libdir_separator_CXX
=:
13335 # Commands to make compiler produce verbose output that lists
13336 # what "hidden" libraries, object files and flags are used when
13337 # linking a shared library.
13339 # There doesn't appear to be a way to prevent this compiler from
13340 # explicitly linking system object files so we need to strip them
13341 # from the output so that they don't get included in the library
13343 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'
13346 case `$CC -V 2>&1 | sed 5q` in
13349 no_undefined_flag_CXX
=' -zdefs'
13350 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13351 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'
13352 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13353 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'
13354 compiler_needs_object_CXX
=yes
13356 # Not sure whether something based on
13357 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13359 output_verbose_link_cmd
='echo'
13361 # Archives containing C++ object files must be created using
13362 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13363 # necessary to make sure instantiated templates are included
13365 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13373 # FIXME: insert proper C++ library support
13378 # FIXME: insert proper C++ library support
13383 case $cc_basename in
13385 # FIXME: insert proper C++ library support
13389 # FIXME: insert proper C++ library support
13396 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13397 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13399 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13400 hardcode_direct_CXX
=yes
13401 hardcode_shlibpath_var_CXX
=no
13403 # Workaround some broken pre-1.5 toolchains
13404 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13412 # C++ shared libraries are fairly broken
13417 hardcode_direct_CXX
=yes
13418 hardcode_shlibpath_var_CXX
=no
13419 hardcode_direct_absolute_CXX
=yes
13420 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13421 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13422 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13423 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13424 export_dynamic_flag_spec_CXX
='${wl}-E'
13425 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13427 output_verbose_link_cmd
=echo
13430 osf3
* | osf4
* | osf5
*)
13431 case $cc_basename in
13433 # Kuck and Associates, Inc. (KAI) C++ Compiler
13435 # KCC will only create a shared library if the output file
13436 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13437 # to its proper name (with version) after linking.
13438 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'
13440 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13441 hardcode_libdir_separator_CXX
=:
13443 # Archives containing C++ object files must be created using
13444 # the KAI C++ compiler.
13446 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13447 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13451 # Rational C++ 2.4.1
13452 # FIXME: insert proper C++ library support
13458 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13459 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'
13460 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13463 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13464 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'
13465 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13466 echo "-hidden">> $lib.exp~
13467 $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~
13469 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13473 hardcode_libdir_separator_CXX
=:
13475 # Commands to make compiler produce verbose output that lists
13476 # what "hidden" libraries, object files and flags are used when
13477 # linking a shared library.
13479 # There doesn't appear to be a way to prevent this compiler from
13480 # explicitly linking system object files so we need to strip them
13481 # from the output so that they don't get included in the library
13483 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'
13486 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13487 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13490 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'
13493 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'
13497 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13498 hardcode_libdir_separator_CXX
=:
13500 # Commands to make compiler produce verbose output that lists
13501 # what "hidden" libraries, object files and flags are used when
13502 # linking a shared library.
13503 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13506 # FIXME: insert proper C++ library support
13514 # FIXME: insert proper C++ library support
13519 case $cc_basename in
13522 # FIXME: insert proper C++ library support
13527 # FIXME: insert proper C++ library support
13531 # FIXME: insert proper C++ library support
13538 case $cc_basename in
13540 # Sun C++ 4.2, 5.x and Centerline C++
13541 archive_cmds_need_lc_CXX
=yes
13542 no_undefined_flag_CXX
=' -zdefs'
13543 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13544 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13545 $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'
13547 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13548 hardcode_shlibpath_var_CXX
=no
13550 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13552 # The compiler driver will combine and reorder linker options,
13553 # but understands `-z linker_flag'.
13554 # Supported since Solaris 2.6 (maybe 2.5.1?)
13555 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13558 link_all_deplibs_CXX
=yes
13560 output_verbose_link_cmd
='echo'
13562 # Archives containing C++ object files must be created using
13563 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13564 # necessary to make sure instantiated templates are included
13566 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13569 # Green Hills C++ Compiler
13570 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13572 # The C++ compiler must be used to create the archive.
13573 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13576 # GNU C++ compiler with Solaris linker
13577 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13578 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13579 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13580 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13581 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13582 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13584 # Commands to make compiler produce verbose output that lists
13585 # what "hidden" libraries, object files and flags are used when
13586 # linking a shared library.
13587 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13589 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13591 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13592 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13593 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13595 # Commands to make compiler produce verbose output that lists
13596 # what "hidden" libraries, object files and flags are used when
13597 # linking a shared library.
13598 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13601 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13603 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13605 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13613 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13614 no_undefined_flag_CXX
='${wl}-z,text'
13615 archive_cmds_need_lc_CXX
=no
13616 hardcode_shlibpath_var_CXX
=no
13617 runpath_var
='LD_RUN_PATH'
13619 case $cc_basename in
13621 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13622 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13625 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13626 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13631 sysv5
* | sco3.2v5
* | sco5v6
*)
13632 # Note: We can NOT use -z defs as we might desire, because we do not
13633 # link with -lc, and that would cause any symbols used from libc to
13634 # always be unresolved, which means just about no library would
13635 # ever link correctly. If we're not using GNU ld we use -z text
13636 # though, which does catch some bad symbols but isn't as heavy-handed
13638 no_undefined_flag_CXX
='${wl}-z,text'
13639 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13640 archive_cmds_need_lc_CXX
=no
13641 hardcode_shlibpath_var_CXX
=no
13642 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13643 hardcode_libdir_separator_CXX
=':'
13644 link_all_deplibs_CXX
=yes
13645 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13646 runpath_var
='LD_RUN_PATH'
13648 case $cc_basename in
13650 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13651 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13654 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13655 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13661 case $cc_basename in
13663 # NonStop-UX NCC 3.20
13664 # FIXME: insert proper C++ library support
13668 # FIXME: insert proper C++ library support
13675 # FIXME: insert proper C++ library support
13680 # FIXME: insert proper C++ library support
13685 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13686 echo "${ECHO_T}$ld_shlibs_CXX" >&6
13687 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13693 ## There is no encapsulation within the following macros, do not change
13694 ## the running order or otherwise move them around unless you know exactly
13695 ## what you are doing...
13696 # Dependencies to place before and after the object being linked:
13697 predep_objects_CXX
=
13698 postdep_objects_CXX
=
13701 compiler_lib_search_path_CXX
=
13703 cat > conftest.
$ac_ext <<_LT_EOF
13707 Foo (void) { a = 0; }
13713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13714 (eval $ac_compile) 2>&5
13716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13717 (exit $ac_status); }; then
13718 # Parse the compiler output and extract the necessary
13719 # objects, libraries and library flags.
13721 # Sentinel used to keep track of whether or not we are before
13722 # the conftest object file.
13723 pre_test_object_deps_done
=no
13725 # The `*' in the case matches for architectures that use `case' in
13726 # $output_verbose_cmd can trigger glob expansion during the loop
13727 # eval without this substitution.
13728 output_verbose_link_cmd
=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
13730 for p
in `eval $output_verbose_link_cmd`; do
13734 # Some compilers place space between "-{L,R}" and the path.
13735 # Remove the space.
13736 if test $p = "-L" ||
13737 test $p = "-R"; then
13744 if test "$pre_test_object_deps_done" = no
; then
13747 # Internal compiler library paths should come after those
13748 # provided the user. The postdeps already come after the
13749 # user supplied libs so there is no need to process them.
13750 if test -z "$compiler_lib_search_path_CXX"; then
13751 compiler_lib_search_path_CXX
="${prev}${p}"
13753 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13756 # The "-l" case would never come before the object being
13757 # linked, so don't bother handling this case.
13760 if test -z "$postdeps_CXX"; then
13761 postdeps_CXX
="${prev}${p}"
13763 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13769 # This assumes that the test object file only shows up
13770 # once in the compiler output.
13771 if test "$p" = "conftest.$objext"; then
13772 pre_test_object_deps_done
=yes
13776 if test "$pre_test_object_deps_done" = no
; then
13777 if test -z "$predep_objects_CXX"; then
13778 predep_objects_CXX
="$p"
13780 predep_objects_CXX
="$predep_objects_CXX $p"
13783 if test -z "$postdep_objects_CXX"; then
13784 postdep_objects_CXX
="$p"
13786 postdep_objects_CXX
="$postdep_objects_CXX $p"
13791 *) ;; # Ignore the rest.
13799 echo "libtool.m4: error: problem compiling CXX test program"
13802 $RM -f confest.
$objext
13804 # PORTME: override above test on systems where it is broken
13807 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13808 # hack all around it, let's just trust "g++" to DTRT.
13809 predep_objects_CXX
=
13810 postdep_objects_CXX
=
13815 case `$CC -V 2>&1 | sed 5q` in
13819 # The more standards-conforming stlport4 library is
13820 # incompatible with the Cstd library. Avoid specifying
13821 # it if it's in CXXFLAGS. Ignore libCrun as
13822 # -library=stlport4 depends on it.
13823 case " $CXX $CXXFLAGS " in
13824 *" -library=stlport4 "*)
13825 solaris_use_stlport4
=yes
13829 if test "$solaris_use_stlport4" != yes; then
13830 postdeps_CXX
='-library=Cstd -library=Crun'
13837 case $cc_basename in
13839 # The more standards-conforming stlport4 library is
13840 # incompatible with the Cstd library. Avoid specifying
13841 # it if it's in CXXFLAGS. Ignore libCrun as
13842 # -library=stlport4 depends on it.
13843 case " $CXX $CXXFLAGS " in
13844 *" -library=stlport4 "*)
13845 solaris_use_stlport4
=yes
13849 # Adding this requires a known-good setup of shared libraries for
13850 # Sun compiler versions before 5.6, else PIC objects from an old
13851 # archive will be linked into the output, leading to subtle bugs.
13852 if test "$solaris_use_stlport4" != yes; then
13853 postdeps_CXX
='-library=Cstd -library=Crun'
13861 case " $postdeps_CXX " in
13862 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13890 lt_prog_compiler_wl_CXX
=
13891 lt_prog_compiler_pic_CXX
=
13892 lt_prog_compiler_static_CXX
=
13894 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13895 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13897 # C++ specific cases for pic, static, wl, etc.
13898 if test "$GXX" = yes; then
13899 lt_prog_compiler_wl_CXX
='-Wl,'
13900 lt_prog_compiler_static_CXX
='-static'
13904 # All AIX code is PIC.
13905 if test "$host_cpu" = ia64
; then
13906 # AIX 5 now supports IA64 processor
13907 lt_prog_compiler_static_CXX
='-Bstatic'
13911 if test "$host_cpu" = m68k
; then
13912 # FIXME: we need at least 68020 code to build shared libraries, but
13913 # adding the `-m68020' flag to GCC prevents building anything better,
13915 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13918 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13919 # PIC is the default for these OSes.
13921 mingw
* | cygwin
* | os2
* | pw32
*)
13922 # This hack is so that the source file can tell whether it is being
13923 # built for inclusion in a dll (and should export symbols for example).
13924 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13925 # (--disable-auto-import) libraries
13926 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13928 darwin
* | rhapsody
*)
13929 # PIC is the default on this platform
13930 # Common symbols not allowed in MH_DYLIB files
13931 lt_prog_compiler_pic_CXX
='-fno-common'
13934 # DJGPP does not support shared libraries at all
13935 lt_prog_compiler_pic_CXX
=
13938 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13939 # Instead, we relocate shared libraries at runtime.
13942 if test -d /usr
/nec
; then
13943 lt_prog_compiler_pic_CXX
=-Kconform_pic
13947 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13948 # not for PA HP-UX.
13953 lt_prog_compiler_pic_CXX
='-fPIC'
13958 # QNX uses GNU C++, but need to define -shared option too, otherwise
13959 # it will coredump.
13960 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13963 lt_prog_compiler_pic_CXX
='-fPIC'
13969 # All AIX code is PIC.
13970 if test "$host_cpu" = ia64
; then
13971 # AIX 5 now supports IA64 processor
13972 lt_prog_compiler_static_CXX
='-Bstatic'
13974 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13978 case $cc_basename in
13980 # Green Hills C++ Compiler
13981 # _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"
13986 # PIC is the default on this platform
13987 # Common symbols not allowed in MH_DYLIB files
13988 case $cc_basename in
13990 lt_prog_compiler_pic_CXX
='-qnocommon'
13991 lt_prog_compiler_wl_CXX
='-Wl,'
13996 case $cc_basename in
13998 lt_prog_compiler_pic_CXX
='-KPIC'
14001 # Green Hills C++ Compiler
14002 lt_prog_compiler_pic_CXX
='-pic'
14008 freebsd
* | dragonfly
*)
14009 # FreeBSD uses GNU C++
14011 hpux9
* | hpux10
* | hpux11
*)
14012 case $cc_basename in
14014 lt_prog_compiler_wl_CXX
='-Wl,'
14015 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14016 if test "$host_cpu" != ia64
; then
14017 lt_prog_compiler_pic_CXX
='+Z'
14021 lt_prog_compiler_wl_CXX
='-Wl,'
14022 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14028 lt_prog_compiler_pic_CXX
='+Z'
14037 # This is c89, which is MS Visual C++ (no shared libs)
14038 # Anyone wants to do a port?
14040 irix5
* | irix6
* | nonstopux
*)
14041 case $cc_basename in
14043 lt_prog_compiler_wl_CXX
='-Wl,'
14044 lt_prog_compiler_static_CXX
='-non_shared'
14045 # CC pic flag -KPIC is the default.
14051 linux
* | k
*bsd
*-gnu)
14052 case $cc_basename in
14055 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14056 lt_prog_compiler_pic_CXX
='-fPIC'
14060 lt_prog_compiler_wl_CXX
='-Wl,'
14061 lt_prog_compiler_pic_CXX
='-KPIC'
14062 lt_prog_compiler_static_CXX
='-static'
14065 # Portland Group C++ compiler
14066 lt_prog_compiler_wl_CXX
='-Wl,'
14067 lt_prog_compiler_pic_CXX
='-fpic'
14068 lt_prog_compiler_static_CXX
='-Bstatic'
14072 # Make sure the PIC flag is empty. It appears that all Alpha
14073 # Linux and Compaq Tru64 Unix objects are PIC.
14074 lt_prog_compiler_pic_CXX
=
14075 lt_prog_compiler_static_CXX
='-non_shared'
14078 case `$CC -V 2>&1 | sed 5q` in
14081 lt_prog_compiler_pic_CXX
='-KPIC'
14082 lt_prog_compiler_static_CXX
='-Bstatic'
14083 lt_prog_compiler_wl_CXX
='-Qoption ld '
14094 case $cc_basename in
14096 lt_prog_compiler_pic_CXX
='-W c,exportall'
14105 # QNX uses GNU C++, but need to define -shared option too, otherwise
14106 # it will coredump.
14107 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14109 osf3
* | osf4
* | osf5
*)
14110 case $cc_basename in
14112 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14115 # Rational C++ 2.4.1
14116 lt_prog_compiler_pic_CXX
='-pic'
14119 # Digital/Compaq C++
14120 lt_prog_compiler_wl_CXX
='-Wl,'
14121 # Make sure the PIC flag is empty. It appears that all Alpha
14122 # Linux and Compaq Tru64 Unix objects are PIC.
14123 lt_prog_compiler_pic_CXX
=
14124 lt_prog_compiler_static_CXX
='-non_shared'
14133 case $cc_basename in
14135 # Sun C++ 4.2, 5.x and Centerline C++
14136 lt_prog_compiler_pic_CXX
='-KPIC'
14137 lt_prog_compiler_static_CXX
='-Bstatic'
14138 lt_prog_compiler_wl_CXX
='-Qoption ld '
14141 # Green Hills C++ Compiler
14142 lt_prog_compiler_pic_CXX
='-PIC'
14149 case $cc_basename in
14152 lt_prog_compiler_pic_CXX
='-pic'
14153 lt_prog_compiler_static_CXX
='-Bstatic'
14157 lt_prog_compiler_pic_CXX
='-pic'
14163 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14164 case $cc_basename in
14166 lt_prog_compiler_wl_CXX
='-Wl,'
14167 lt_prog_compiler_pic_CXX
='-KPIC'
14168 lt_prog_compiler_static_CXX
='-Bstatic'
14173 case $cc_basename in
14175 # NonStop-UX NCC 3.20
14176 lt_prog_compiler_pic_CXX
='-KPIC'
14185 lt_prog_compiler_can_build_shared_CXX
=no
14191 # For platforms which do not support PIC, -DPIC is meaningless:
14193 lt_prog_compiler_pic_CXX
=
14196 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14199 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14200 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
14205 # Check to make sure the PIC flag actually works.
14207 if test -n "$lt_prog_compiler_pic_CXX"; then
14208 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14209 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
14210 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
14211 echo $ECHO_N "(cached) $ECHO_C" >&6
14213 lt_prog_compiler_pic_works_CXX
=no
14214 ac_outfile
=conftest.
$ac_objext
14215 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14216 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14217 # Insert the option either (1) after the last *FLAGS variable, or
14218 # (2) before a word containing "conftest.", or (3) at the end.
14219 # Note that $ac_compile itself does not contain backslashes and begins
14220 # with a dollar sign (not a hyphen), so the echo should work correctly.
14221 # The option is referenced via a variable to avoid confusing sed.
14222 lt_compile
=`echo "$ac_compile" | $SED \
14223 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14224 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14225 -e 's:$: $lt_compiler_flag:'`
14226 (eval echo "\"\$as_me:14226: $lt_compile\"" >&5)
14227 (eval "$lt_compile" 2>conftest.err
)
14229 cat conftest.err
>&5
14230 echo "$as_me:14230: \$? = $ac_status" >&5
14231 if (exit $ac_status) && test -s "$ac_outfile"; then
14232 # The compiler can only warn and ignore the option if not recognized
14233 # So say no if there are warnings other than the usual output.
14234 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14235 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14236 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14237 lt_prog_compiler_pic_works_CXX
=yes
14243 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
14244 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
14246 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
14247 case $lt_prog_compiler_pic_CXX in
14249 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14252 lt_prog_compiler_pic_CXX
=
14253 lt_prog_compiler_can_build_shared_CXX
=no
14261 # Check to make sure the static flag actually works.
14263 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14264 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14265 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
14266 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
14267 echo $ECHO_N "(cached) $ECHO_C" >&6
14269 lt_prog_compiler_static_works_CXX
=no
14270 save_LDFLAGS
="$LDFLAGS"
14271 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14272 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14273 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14274 # The linker can only warn and ignore the option if not recognized
14275 # So say no if there are warnings
14276 if test -s conftest.err
; then
14277 # Append any errors to the config.log.
14278 cat conftest.err
1>&5
14279 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14280 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14281 if diff conftest.exp conftest.er2
>/dev
/null
; then
14282 lt_prog_compiler_static_works_CXX
=yes
14285 lt_prog_compiler_static_works_CXX
=yes
14289 LDFLAGS
="$save_LDFLAGS"
14292 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
14293 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
14295 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
14298 lt_prog_compiler_static_CXX
=
14304 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14305 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
14306 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14307 echo $ECHO_N "(cached) $ECHO_C" >&6
14309 lt_cv_prog_compiler_c_o_CXX
=no
14310 $RM -r conftest
2>/dev
/null
14314 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14316 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14317 # Insert the option either (1) after the last *FLAGS variable, or
14318 # (2) before a word containing "conftest.", or (3) at the end.
14319 # Note that $ac_compile itself does not contain backslashes and begins
14320 # with a dollar sign (not a hyphen), so the echo should work correctly.
14321 lt_compile
=`echo "$ac_compile" | $SED \
14322 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14323 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14324 -e 's:$: $lt_compiler_flag:'`
14325 (eval echo "\"\$as_me:14325: $lt_compile\"" >&5)
14326 (eval "$lt_compile" 2>out
/conftest.err
)
14328 cat out
/conftest.err
>&5
14329 echo "$as_me:14329: \$? = $ac_status" >&5
14330 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14332 # The compiler can only warn and ignore the option if not recognized
14333 # So say no if there are warnings
14334 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14335 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14336 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14337 lt_cv_prog_compiler_c_o_CXX
=yes
14342 # SGI C++ compiler will create directory out/ii_files/ for
14343 # template instantiation
14344 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14345 $RM out
/* && rmdir out
14351 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14352 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
14356 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14357 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
14358 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14359 echo $ECHO_N "(cached) $ECHO_C" >&6
14361 lt_cv_prog_compiler_c_o_CXX
=no
14362 $RM -r conftest
2>/dev
/null
14366 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14368 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14369 # Insert the option either (1) after the last *FLAGS variable, or
14370 # (2) before a word containing "conftest.", or (3) at the end.
14371 # Note that $ac_compile itself does not contain backslashes and begins
14372 # with a dollar sign (not a hyphen), so the echo should work correctly.
14373 lt_compile
=`echo "$ac_compile" | $SED \
14374 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14375 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14376 -e 's:$: $lt_compiler_flag:'`
14377 (eval echo "\"\$as_me:14377: $lt_compile\"" >&5)
14378 (eval "$lt_compile" 2>out
/conftest.err
)
14380 cat out
/conftest.err
>&5
14381 echo "$as_me:14381: \$? = $ac_status" >&5
14382 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14384 # The compiler can only warn and ignore the option if not recognized
14385 # So say no if there are warnings
14386 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14387 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14388 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14389 lt_cv_prog_compiler_c_o_CXX
=yes
14394 # SGI C++ compiler will create directory out/ii_files/ for
14395 # template instantiation
14396 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14397 $RM out
/* && rmdir out
14403 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14404 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
14409 hard_links
="nottested"
14410 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14411 # do not overwrite the value of need_locks provided by the user
14412 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14413 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
14416 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14418 ln conftest.a conftest.b
2>&5 || hard_links
=no
14419 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14420 echo "$as_me:$LINENO: result: $hard_links" >&5
14421 echo "${ECHO_T}$hard_links" >&6
14422 if test "$hard_links" = no
; then
14423 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14424 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14433 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14434 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
14436 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14439 # If we're using GNU nm, then we don't want the "-C" option.
14440 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14441 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14442 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'
14444 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'
14448 export_symbols_cmds_CXX
="$ltdll_cmds"
14451 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'
14454 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14458 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14459 echo "${ECHO_T}$ld_shlibs_CXX" >&6
14460 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14462 with_gnu_ld_CXX
=$with_gnu_ld
14470 # Do we need to explicitly link libc?
14472 case "x$archive_cmds_need_lc_CXX" in
14474 # Assume -lc should be added
14475 archive_cmds_need_lc_CXX
=yes
14477 if test "$enable_shared" = yes && test "$GCC" = yes; then
14478 case $archive_cmds_CXX in
14480 # FIXME: we may have to deal with multi-command sequences.
14483 # Test whether the compiler implicitly links with -lc since on some
14484 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14485 # to ld, don't add -lc before -lgcc.
14486 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14487 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14489 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14492 (eval $ac_compile) 2>&5
14494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14495 (exit $ac_status); } 2>conftest.err
; then
14498 libobjs
=conftest.
$ac_objext
14500 wl
=$lt_prog_compiler_wl_CXX
14501 pic_flag
=$lt_prog_compiler_pic_CXX
14507 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14508 allow_undefined_flag_CXX
=
14509 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
14510 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14513 (exit $ac_status); }
14515 archive_cmds_need_lc_CXX
=no
14517 archive_cmds_need_lc_CXX
=yes
14519 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14521 cat conftest.err
1>&5
14524 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14525 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
14595 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14596 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14598 library_names_spec
=
14599 libname_spec
='lib$name'
14603 postuninstall_cmds
=
14607 shlibpath_overrides_runpath
=unknown
14609 dynamic_linker
="$host_os ld.so"
14610 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14611 need_lib_prefix
=unknown
14612 hardcode_into_libs
=no
14614 # when you set need_version to no, make sure it does not cause -set_version
14615 # flags to be left without arguments
14616 need_version
=unknown
14621 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14622 shlibpath_var
=LIBPATH
14624 # AIX 3 has no versioning support, so we append a major version to the name.
14625 soname_spec
='${libname}${release}${shared_ext}$major'
14632 hardcode_into_libs
=yes
14633 if test "$host_cpu" = ia64
; then
14634 # AIX 5 supports IA64
14635 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14636 shlibpath_var
=LD_LIBRARY_PATH
14638 # With GCC up to 2.95.x, collect2 would create an import file
14639 # for dependence libraries. The import file would start with
14640 # the line `#! .'. This would cause the generated library to
14641 # depend on `.', always an invalid library. This was fixed in
14642 # development snapshots of GCC prior to 3.0.
14644 aix4 | aix4.
[01] | aix4.
[01].
*)
14645 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14647 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14650 can_build_shared
=no
14654 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14655 # soname into executable. Probably we can add versioning support to
14656 # collect2, so additional links can be useful in future.
14657 if test "$aix_use_runtimelinking" = yes; then
14658 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14659 # instead of lib<name>.a to let people know that these are not
14660 # typical AIX shared libraries.
14661 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14663 # We preserve .a as extension for shared libraries through AIX4.2
14664 # and later when we are not doing run time linking.
14665 library_names_spec
='${libname}${release}.a $libname.a'
14666 soname_spec
='${libname}${release}${shared_ext}$major'
14668 shlibpath_var
=LIBPATH
14673 if test "$host_cpu" = m68k
; then
14674 library_names_spec
='$libname.ixlibrary $libname.a'
14675 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14676 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'
14683 library_names_spec
='${libname}${shared_ext}'
14684 dynamic_linker
="$host_os ld.so"
14685 shlibpath_var
=LIBRARY_PATH
14691 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14692 soname_spec
='${libname}${release}${shared_ext}$major'
14693 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14694 shlibpath_var
=LD_LIBRARY_PATH
14695 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14696 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14697 # the default ld.so.conf also contains /usr/contrib/lib and
14698 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14699 # libtool to hard-code these into programs
14702 cygwin
* | mingw
* | pw32
*)
14703 version_type
=windows
14708 case $withGCC,$host_os in
14709 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14710 library_names_spec
='$libname.dll.a'
14711 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14712 postinstall_cmds
='base_file=`basename \${file}`~
14713 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14714 dldir=$destdir/`dirname \$dlpath`~
14715 test -d \$dldir || mkdir -p \$dldir~
14716 $install_prog $dir/$dlname \$dldir/$dlname~
14717 chmod a+x \$dldir/$dlname~
14718 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14719 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14721 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14722 dlpath=$dir/\$dldll~
14724 shlibpath_overrides_runpath
=yes
14728 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14729 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14730 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14733 # MinGW DLLs use traditional 'lib' prefix
14734 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14735 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14736 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
14737 # It is most probably a Windows format PATH printed by
14738 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14739 # path with ; separators, and with drive letters. We can handle the
14740 # drive letters (cygwin fileutils understands them), so leave them,
14741 # especially as we might pass files found there to a mingw objdump,
14742 # which wouldn't understand a cygwinified path. Ahh.
14743 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14745 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14749 # pw32 DLLs use 'pw' prefix rather than 'lib'
14750 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14756 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14759 dynamic_linker
='Win32 ld.exe'
14760 # FIXME: first we should search . and the directory the executable is in
14764 darwin
* | rhapsody
*)
14765 dynamic_linker
="$host_os dyld"
14766 version_type
=darwin
14769 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14770 soname_spec
='${libname}${release}${major}$shared_ext'
14771 shlibpath_overrides_runpath
=yes
14772 shlibpath_var
=DYLD_LIBRARY_PATH
14773 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14775 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14782 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14783 soname_spec
='${libname}${release}${shared_ext}$major'
14784 shlibpath_var
=LD_LIBRARY_PATH
14791 freebsd
* | dragonfly
*)
14792 # DragonFly does not have aout. When/if they implement a new
14793 # versioning mechanism, adjust this.
14794 if test -x /usr
/bin
/objformat
; then
14795 objformat
=`/usr/bin/objformat`
14798 freebsd
[123]*) objformat
=aout
;;
14799 *) objformat
=elf
;;
14802 version_type
=freebsd-
$objformat
14803 case $version_type in
14805 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14810 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14814 shlibpath_var
=LD_LIBRARY_PATH
14817 shlibpath_overrides_runpath
=yes
14819 freebsd3.
[01]* | freebsdelf3.
[01]*)
14820 shlibpath_overrides_runpath
=yes
14821 hardcode_into_libs
=yes
14823 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14824 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14825 shlibpath_overrides_runpath
=no
14826 hardcode_into_libs
=yes
14828 *) # from 4.6 on, and DragonFly
14829 shlibpath_overrides_runpath
=yes
14830 hardcode_into_libs
=yes
14839 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14840 soname_spec
='${libname}${release}${shared_ext}$major'
14841 shlibpath_var
=LD_LIBRARY_PATH
14842 hardcode_into_libs
=yes
14845 hpux9
* | hpux10
* | hpux11
*)
14846 # Give a soname corresponding to the major version so that dld.sl refuses to
14847 # link against other versions.
14854 hardcode_into_libs
=yes
14855 dynamic_linker
="$host_os dld.so"
14856 shlibpath_var
=LD_LIBRARY_PATH
14857 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14858 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14859 soname_spec
='${libname}${release}${shared_ext}$major'
14860 if test "X$HPUX_IA64_MODE" = X32
; then
14861 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14863 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14865 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14869 hardcode_into_libs
=yes
14870 dynamic_linker
="$host_os dld.sl"
14871 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14872 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14874 soname_spec
='${libname}${release}${shared_ext}$major'
14875 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14876 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14880 dynamic_linker
="$host_os dld.sl"
14881 shlibpath_var
=SHLIB_PATH
14882 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14883 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14884 soname_spec
='${libname}${release}${shared_ext}$major'
14887 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14888 postinstall_cmds
='chmod 555 $lib'
14895 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14896 soname_spec
='${libname}${release}${shared_ext}$major'
14897 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14898 shlibpath_var
=LD_LIBRARY_PATH
14899 shlibpath_overrides_runpath
=no
14900 hardcode_into_libs
=yes
14903 irix5
* | irix6
* | nonstopux
*)
14905 nonstopux
*) version_type
=nonstopux
;;
14907 if test "$lt_cv_prog_gnu_ld" = yes; then
14915 soname_spec
='${libname}${release}${shared_ext}$major'
14916 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14918 irix5
* | nonstopux
*)
14919 libsuff
= shlibsuff
=
14922 case $LD in # libtool.m4 will add one of these switches to LD
14923 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14924 libsuff
= shlibsuff
= libmagic
=32-bit;;
14925 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14926 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14927 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14928 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14929 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14933 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14934 shlibpath_overrides_runpath
=no
14935 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14936 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14937 hardcode_into_libs
=yes
14940 # No shared lib support for Linux oldld, aout, or coff.
14941 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14945 # This must be Linux ELF.
14946 linux
* | k
*bsd
*-gnu)
14950 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14951 soname_spec
='${libname}${release}${shared_ext}$major'
14952 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14953 shlibpath_var
=LD_LIBRARY_PATH
14954 shlibpath_overrides_runpath
=no
14955 # Some binutils ld are patched to set DT_RUNPATH
14956 save_LDFLAGS
=$LDFLAGS
14957 save_libdir
=$libdir
14958 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14959 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14960 if test x
$gcc_no_link = xyes
; then
14961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14963 { (exit 1); exit 1; }; }
14965 cat >conftest.
$ac_ext <<_ACEOF
14968 cat confdefs.h
>>conftest.
$ac_ext
14969 cat >>conftest.
$ac_ext <<_ACEOF
14970 /* end confdefs.h. */
14980 rm -f conftest.
$ac_objext conftest
$ac_exeext
14981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14982 (eval $ac_link) 2>conftest.er1
14984 grep -v '^ *+' conftest.er1
>conftest.err
14986 cat conftest.err
>&5
14987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14988 (exit $ac_status); } &&
14989 { ac_try
='test -z "$ac_cxx_werror_flag"
14990 || test ! -s conftest.err'
14991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14992 (eval $ac_try) 2>&5
14994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14995 (exit $ac_status); }; } &&
14996 { ac_try
='test -s conftest$ac_exeext'
14997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14998 (eval $ac_try) 2>&5
15000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15001 (exit $ac_status); }; }; then
15002 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
15003 shlibpath_overrides_runpath
=yes
15007 echo "$as_me: failed program was:" >&5
15008 sed 's/^/| /' conftest.
$ac_ext >&5
15011 rm -f conftest.err conftest.
$ac_objext \
15012 conftest
$ac_exeext conftest.
$ac_ext
15013 LDFLAGS
=$save_LDFLAGS
15014 libdir
=$save_libdir
15016 # This implies no fast_install, which is unacceptable.
15017 # Some rework will be needed to allow for fast_install
15018 # before this can be enabled.
15019 hardcode_into_libs
=yes
15021 # Append ld.so.conf contents to the search path
15022 if test -f /etc
/ld.so.conf
; then
15023 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' ' '`
15024 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15027 # We used to test for /lib/ld.so.1 and disable shared libraries on
15028 # powerpc, because MkLinux only supported shared libraries with the
15029 # GNU dynamic linker. Since this was broken with cross compilers,
15030 # most powerpc-linux boxes support dynamic linking these days and
15031 # people can always --disable-shared, the test was removed, and we
15032 # assume the GNU/Linux dynamic linker is in use.
15033 dynamic_linker
='GNU/Linux ld.so'
15040 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15041 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15042 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15043 dynamic_linker
='NetBSD (a.out) ld.so'
15045 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15046 soname_spec
='${libname}${release}${shared_ext}$major'
15047 dynamic_linker
='NetBSD ld.elf_so'
15049 shlibpath_var
=LD_LIBRARY_PATH
15050 shlibpath_overrides_runpath
=yes
15051 hardcode_into_libs
=yes
15056 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15057 shlibpath_var
=LD_LIBRARY_PATH
15058 shlibpath_overrides_runpath
=yes
15065 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15066 soname_spec
='${libname}${release}${shared_ext}$major'
15067 shlibpath_var
=LD_LIBRARY_PATH
15068 shlibpath_overrides_runpath
=no
15069 hardcode_into_libs
=yes
15070 dynamic_linker
='ldqnx.so'
15075 sys_lib_dlsearch_path_spec
="/usr/lib"
15077 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15079 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15080 *) need_version
=no
;;
15082 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15083 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15084 shlibpath_var
=LD_LIBRARY_PATH
15085 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15087 openbsd2.
[89] | openbsd2.
[89].
*)
15088 shlibpath_overrides_runpath
=no
15091 shlibpath_overrides_runpath
=yes
15095 shlibpath_overrides_runpath
=yes
15100 libname_spec
='$name'
15103 library_names_spec
='$libname${shared_ext} $libname.a'
15104 dynamic_linker
='OS/2 ld.exe'
15105 shlibpath_var
=LIBPATH
15108 osf3
* | osf4
* | osf5
*)
15112 soname_spec
='${libname}${release}${shared_ext}$major'
15113 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15114 shlibpath_var
=LD_LIBRARY_PATH
15115 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15116 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15128 soname_spec
='${libname}${release}${shared_ext}$major'
15129 shlibpath_var
=LD_LIBRARY_PATH
15130 shlibpath_overrides_runpath
=yes
15131 hardcode_into_libs
=yes
15132 # ldd complains unless libraries are executable
15133 postinstall_cmds
='chmod +x $lib'
15138 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15139 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15140 shlibpath_var
=LD_LIBRARY_PATH
15141 shlibpath_overrides_runpath
=yes
15142 if test "$with_gnu_ld" = yes; then
15150 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15151 soname_spec
='${libname}${release}${shared_ext}$major'
15152 shlibpath_var
=LD_LIBRARY_PATH
15153 case $host_vendor in
15155 shlibpath_overrides_runpath
=no
15157 runpath_var
=LD_RUN_PATH
15165 shlibpath_overrides_runpath
=no
15166 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15172 if test -d /usr
/nec
;then
15174 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15175 soname_spec
='$libname${shared_ext}.$major'
15176 shlibpath_var
=LD_LIBRARY_PATH
15180 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15181 version_type
=freebsd-elf
15184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15185 soname_spec
='${libname}${release}${shared_ext}$major'
15186 shlibpath_var
=LD_LIBRARY_PATH
15187 shlibpath_overrides_runpath
=yes
15188 hardcode_into_libs
=yes
15189 if test "$with_gnu_ld" = yes; then
15190 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15192 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15195 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15199 sys_lib_dlsearch_path_spec
='/usr/lib'
15203 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15207 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15208 shlibpath_var
=LD_LIBRARY_PATH
15209 shlibpath_overrides_runpath
=no
15210 hardcode_into_libs
=yes
15215 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15216 soname_spec
='${libname}${release}${shared_ext}$major'
15217 shlibpath_var
=LD_LIBRARY_PATH
15224 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15225 echo "${ECHO_T}$dynamic_linker" >&6
15226 test "$dynamic_linker" = no
&& can_build_shared
=no
15228 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15229 if test "$GCC" = yes; then
15230 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15268 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15269 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15270 hardcode_action_CXX
=
15271 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15272 test -n "$runpath_var_CXX" ||
15273 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15275 # We can hardcode non-existent directories.
15276 if test "$hardcode_direct_CXX" != no
&&
15277 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15278 # have to relink, otherwise we might link with an installed library
15279 # when we should be linking with a yet-to-be-installed one
15280 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15281 test "$hardcode_minus_L_CXX" != no
; then
15282 # Linking always hardcodes the temporary library directory.
15283 hardcode_action_CXX
=relink
15285 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15286 hardcode_action_CXX
=immediate
15289 # We cannot hardcode anything, or else we can only hardcode existing
15291 hardcode_action_CXX
=unsupported
15293 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15294 echo "${ECHO_T}$hardcode_action_CXX" >&6
15296 if test "$hardcode_action_CXX" = relink ||
15297 test "$inherit_rpath_CXX" = yes; then
15298 # Fast installation is not supported
15299 enable_fast_install
=no
15300 elif test "$shlibpath_overrides_runpath" = yes ||
15301 test "$enable_shared" = no
; then
15302 # Fast installation is not necessary
15303 enable_fast_install
=needless
15312 fi # test -n "$compiler"
15318 with_gnu_ld
=$lt_save_with_gnu_ld
15319 lt_cv_path_LDCXX
=$lt_cv_path_LD
15320 lt_cv_path_LD
=$lt_save_path_LD
15321 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15322 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15323 fi # test "$_lt_caught_CXX_error" != yes
15326 ac_cpp
='$CPP $CPPFLAGS'
15327 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15328 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15329 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15343 ac_config_commands
="$ac_config_commands libtool"
15348 # Only expand once:
15352 for ac_prog
in gcj gcj-3.2 gcj-3.1 gcj-3.0 gcj-2.95
15354 # Extract the first word of "$ac_prog", so it can be a program name with args.
15355 set dummy
$ac_prog; ac_word
=$2
15356 echo "$as_me:$LINENO: checking for $ac_word" >&5
15357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15358 if test "${ac_cv_prog_GCJ+set}" = set; then
15359 echo $ECHO_N "(cached) $ECHO_C" >&6
15361 if test -n "$GCJ"; then
15362 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
15364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15365 for as_dir
in $PATH
15368 test -z "$as_dir" && as_dir
=.
15369 for ac_exec_ext
in '' $ac_executable_extensions; do
15370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15371 ac_cv_prog_GCJ
="$ac_prog"
15372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15380 GCJ
=$ac_cv_prog_GCJ
15381 if test -n "$GCJ"; then
15382 echo "$as_me:$LINENO: result: $GCJ" >&5
15383 echo "${ECHO_T}$GCJ" >&6
15385 echo "$as_me:$LINENO: result: no" >&5
15386 echo "${ECHO_T}no" >&6
15389 test -n "$GCJ" && break
15391 test -n "$GCJ" || GCJ
="gcj"
15393 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
15394 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
15395 { (exit 1); exit 1; }; }
15396 if test "x${GCJFLAGS-unset}" = xunset
; then
15401 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
15403 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
15404 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
15405 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
15406 echo $ECHO_N "(cached) $ECHO_C" >&6
15408 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15409 # We make a subdir and do the tests there. Otherwise we can end up
15410 # making bogus files that we don't know about and never remove. For
15411 # instance it was reported that on HP-UX the gcc test will end up
15412 # making a dummy file named `D' -- because `-MD' means `put the output
15415 # Copy depcomp to subdir because otherwise we won't find it if we're
15416 # using a relative directory.
15417 cp "$am_depcomp" conftest.dir
15419 # We will build objects and dependencies in a subdirectory because
15420 # it helps to detect inapplicable dependency modes. For instance
15421 # both Tru64's cc and ICC support -MD to output dependencies as a
15422 # side effect of compilation, but ICC will put the dependencies in
15423 # the current directory while Tru64 will put them in the object
15427 am_cv_GCJ_dependencies_compiler_type
=none
15428 if test "$am_compiler_list" = ""; then
15429 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15431 for depmode
in $am_compiler_list; do
15432 # Setup a source with many dependencies, because some compilers
15433 # like to wrap large dependency lists on column 80 (with \), and
15434 # we should not choose a depcomp mode which is confused by this.
15436 # We need to recreate these files for each test, as the compiler may
15437 # overwrite some of them when testing with obscure command lines.
15438 # This happens at least with the AIX C compiler.
15440 for i
in 1 2 3 4 5 6; do
15441 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
15442 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15443 # Solaris 8's {/usr,}/bin/sh.
15444 touch sub
/conftst
$i.h
15446 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15450 # after this tag, mechanisms are not by side-effect, so they'll
15451 # only be used when explicitly requested
15452 if test "x$enable_dependency_tracking" = xyes
; then
15460 # We check with `-c' and `-o' for the sake of the "dashmstdout"
15461 # mode. It turns out that the SunPro C++ compiler does not properly
15462 # handle `-M -o', and we need to detect this.
15463 if depmode
=$depmode \
15464 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
15465 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
15466 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
15467 >/dev
/null
2>conftest.err
&&
15468 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
15469 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
15470 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
15471 # icc doesn't choke on unknown options, it will just issue warnings
15472 # or remarks (even with -Werror). So we grep stderr for any message
15473 # that says an option was ignored or not supported.
15474 # When given -MP, icc 7.0 and 7.1 complain thusly:
15475 # icc: Command line warning: ignoring option '-M'; no argument required
15476 # The diagnosis changed in icc 8.0:
15477 # icc: Command line remark: option '-MP' not supported
15478 if (grep 'ignoring option' conftest.err ||
15479 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
15480 am_cv_GCJ_dependencies_compiler_type
=$depmode
15487 rm -rf conftest.dir
15489 am_cv_GCJ_dependencies_compiler_type
=none
15493 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
15494 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
15495 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
15500 test "x$enable_dependency_tracking" != xno \
15501 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
15502 am__fastdepGCJ_TRUE
=
15503 am__fastdepGCJ_FALSE
='#'
15505 am__fastdepGCJ_TRUE
='#'
15506 am__fastdepGCJ_FALSE
=
15511 for ac_prog
in gcj gcj-3.2 gcj-3.1 gcj-3.0 gcj-2.95
15513 # Extract the first word of "$ac_prog", so it can be a program name with args.
15514 set dummy
$ac_prog; ac_word
=$2
15515 echo "$as_me:$LINENO: checking for $ac_word" >&5
15516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15517 if test "${ac_cv_prog_GCJ+set}" = set; then
15518 echo $ECHO_N "(cached) $ECHO_C" >&6
15520 if test -n "$GCJ"; then
15521 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
15523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15524 for as_dir
in $PATH
15527 test -z "$as_dir" && as_dir
=.
15528 for ac_exec_ext
in '' $ac_executable_extensions; do
15529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15530 ac_cv_prog_GCJ
="$ac_prog"
15531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15539 GCJ
=$ac_cv_prog_GCJ
15540 if test -n "$GCJ"; then
15541 echo "$as_me:$LINENO: result: $GCJ" >&5
15542 echo "${ECHO_T}$GCJ" >&6
15544 echo "$as_me:$LINENO: result: no" >&5
15545 echo "${ECHO_T}no" >&6
15548 test -n "$GCJ" && break
15550 test -n "$GCJ" || GCJ
="gcj"
15552 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
15553 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
15554 { (exit 1); exit 1; }; }
15555 if test "x${GCJFLAGS-unset}" = xunset
; then
15560 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
15562 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
15563 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
15564 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
15565 echo $ECHO_N "(cached) $ECHO_C" >&6
15567 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15568 # We make a subdir and do the tests there. Otherwise we can end up
15569 # making bogus files that we don't know about and never remove. For
15570 # instance it was reported that on HP-UX the gcc test will end up
15571 # making a dummy file named `D' -- because `-MD' means `put the output
15574 # Copy depcomp to subdir because otherwise we won't find it if we're
15575 # using a relative directory.
15576 cp "$am_depcomp" conftest.dir
15578 # We will build objects and dependencies in a subdirectory because
15579 # it helps to detect inapplicable dependency modes. For instance
15580 # both Tru64's cc and ICC support -MD to output dependencies as a
15581 # side effect of compilation, but ICC will put the dependencies in
15582 # the current directory while Tru64 will put them in the object
15586 am_cv_GCJ_dependencies_compiler_type
=none
15587 if test "$am_compiler_list" = ""; then
15588 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15590 for depmode
in $am_compiler_list; do
15591 # Setup a source with many dependencies, because some compilers
15592 # like to wrap large dependency lists on column 80 (with \), and
15593 # we should not choose a depcomp mode which is confused by this.
15595 # We need to recreate these files for each test, as the compiler may
15596 # overwrite some of them when testing with obscure command lines.
15597 # This happens at least with the AIX C compiler.
15599 for i
in 1 2 3 4 5 6; do
15600 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
15601 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15602 # Solaris 8's {/usr,}/bin/sh.
15603 touch sub
/conftst
$i.h
15605 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15609 # after this tag, mechanisms are not by side-effect, so they'll
15610 # only be used when explicitly requested
15611 if test "x$enable_dependency_tracking" = xyes
; then
15619 # We check with `-c' and `-o' for the sake of the "dashmstdout"
15620 # mode. It turns out that the SunPro C++ compiler does not properly
15621 # handle `-M -o', and we need to detect this.
15622 if depmode
=$depmode \
15623 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
15624 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
15625 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
15626 >/dev
/null
2>conftest.err
&&
15627 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
15628 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
15629 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
15630 # icc doesn't choke on unknown options, it will just issue warnings
15631 # or remarks (even with -Werror). So we grep stderr for any message
15632 # that says an option was ignored or not supported.
15633 # When given -MP, icc 7.0 and 7.1 complain thusly:
15634 # icc: Command line warning: ignoring option '-M'; no argument required
15635 # The diagnosis changed in icc 8.0:
15636 # icc: Command line remark: option '-MP' not supported
15637 if (grep 'ignoring option' conftest.err ||
15638 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
15639 am_cv_GCJ_dependencies_compiler_type
=$depmode
15646 rm -rf conftest.dir
15648 am_cv_GCJ_dependencies_compiler_type
=none
15652 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
15653 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
15654 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
15659 test "x$enable_dependency_tracking" != xno \
15660 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
15661 am__fastdepGCJ_TRUE
=
15662 am__fastdepGCJ_FALSE
='#'
15664 am__fastdepGCJ_TRUE
='#'
15665 am__fastdepGCJ_FALSE
=
15673 # Source file extension for Java test sources.
15676 # Object file extension for compiled Java test sources.
15680 # Code to be used in simple compile tests
15681 lt_simple_compile_test_code
="int some_variable = 0;"
15683 # Code to be used in simple link tests
15684 lt_simple_link_test_code
='int main(){return(0);}'
15686 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15693 # If no C compiler was specified, use CC.
15696 # If no C compiler flags were specified, use CFLAGS.
15697 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15699 # Allow CC to be a program name with arguments.
15703 # save warnings/boilerplate of simple test code
15704 ac_outfile
=conftest.
$ac_objext
15705 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
15706 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15707 _lt_compiler_boilerplate
=`cat conftest.err`
15710 ac_outfile
=conftest.
$ac_objext
15711 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
15712 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15713 _lt_linker_boilerplate
=`cat conftest.err`
15717 # Allow CC to be a program name with arguments.
15720 for cc_temp
in $compiler""; do
15722 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15723 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15728 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15731 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15732 archive_cmds_need_lc_GCJ
=no
15734 old_archive_cmds_GCJ
=$old_archive_cmds
15737 ## There is no encapsulation within the following macros, do not change
15738 ## the running order or otherwise move them around unless you know exactly
15739 ## what you are doing...
15740 if test -n "$compiler"; then
15742 lt_prog_compiler_no_builtin_flag_GCJ
=
15744 if test "$GCC" = yes; then
15745 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15747 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15748 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15749 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15750 echo $ECHO_N "(cached) $ECHO_C" >&6
15752 lt_cv_prog_compiler_rtti_exceptions
=no
15753 ac_outfile
=conftest.
$ac_objext
15754 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15755 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15756 # Insert the option either (1) after the last *FLAGS variable, or
15757 # (2) before a word containing "conftest.", or (3) at the end.
15758 # Note that $ac_compile itself does not contain backslashes and begins
15759 # with a dollar sign (not a hyphen), so the echo should work correctly.
15760 # The option is referenced via a variable to avoid confusing sed.
15761 lt_compile
=`echo "$ac_compile" | $SED \
15762 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15763 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15764 -e 's:$: $lt_compiler_flag:'`
15765 (eval echo "\"\$as_me:15765: $lt_compile\"" >&5)
15766 (eval "$lt_compile" 2>conftest.err
)
15768 cat conftest.err
>&5
15769 echo "$as_me:15769: \$? = $ac_status" >&5
15770 if (exit $ac_status) && test -s "$ac_outfile"; then
15771 # The compiler can only warn and ignore the option if not recognized
15772 # So say no if there are warnings other than the usual output.
15773 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15774 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15775 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15776 lt_cv_prog_compiler_rtti_exceptions
=yes
15782 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15783 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15785 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15786 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15795 lt_prog_compiler_wl_GCJ
=
15796 lt_prog_compiler_pic_GCJ
=
15797 lt_prog_compiler_static_GCJ
=
15799 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15800 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15802 if test "$GCC" = yes; then
15803 lt_prog_compiler_wl_GCJ
='-Wl,'
15804 lt_prog_compiler_static_GCJ
='-static'
15808 # All AIX code is PIC.
15809 if test "$host_cpu" = ia64
; then
15810 # AIX 5 now supports IA64 processor
15811 lt_prog_compiler_static_GCJ
='-Bstatic'
15816 if test "$host_cpu" = m68k
; then
15817 # FIXME: we need at least 68020 code to build shared libraries, but
15818 # adding the `-m68020' flag to GCC prevents building anything better,
15820 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
15824 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15825 # PIC is the default for these OSes.
15828 mingw
* | cygwin
* | pw32
* | os2
*)
15829 # This hack is so that the source file can tell whether it is being
15830 # built for inclusion in a dll (and should export symbols for example).
15831 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15832 # (--disable-auto-import) libraries
15836 darwin
* | rhapsody
*)
15837 # PIC is the default on this platform
15838 # Common symbols not allowed in MH_DYLIB files
15839 lt_prog_compiler_pic_GCJ
='-fno-common'
15843 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15844 # not for PA HP-UX.
15850 lt_prog_compiler_pic_GCJ
='-fPIC'
15856 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15857 # Instead, we relocate shared libraries at runtime.
15861 # Just because we use GCC doesn't mean we suddenly get shared libraries
15862 # on systems that don't support them.
15863 lt_prog_compiler_can_build_shared_GCJ
=no
15868 # QNX uses GNU C++, but need to define -shared option too, otherwise
15869 # it will coredump.
15870 lt_prog_compiler_pic_GCJ
='-fPIC -shared'
15874 if test -d /usr
/nec
; then
15875 lt_prog_compiler_pic_GCJ
=-Kconform_pic
15880 lt_prog_compiler_pic_GCJ
='-fPIC'
15884 # PORTME Check for flag to pass linker flags through the system compiler.
15887 lt_prog_compiler_wl_GCJ
='-Wl,'
15888 if test "$host_cpu" = ia64
; then
15889 # AIX 5 now supports IA64 processor
15890 lt_prog_compiler_static_GCJ
='-Bstatic'
15892 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
15896 # PIC is the default on this platform
15897 # Common symbols not allowed in MH_DYLIB files
15898 case $cc_basename in
15900 lt_prog_compiler_pic_GCJ
='-qnocommon'
15901 lt_prog_compiler_wl_GCJ
='-Wl,'
15906 mingw
* | cygwin
* | pw32
* | os2
*)
15907 # This hack is so that the source file can tell whether it is being
15908 # built for inclusion in a dll (and should export symbols for example).
15912 hpux9
* | hpux10
* | hpux11
*)
15913 lt_prog_compiler_wl_GCJ
='-Wl,'
15914 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15915 # not for PA HP-UX.
15921 lt_prog_compiler_pic_GCJ
='+Z'
15924 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15925 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
15928 irix5
* | irix6
* | nonstopux
*)
15929 lt_prog_compiler_wl_GCJ
='-Wl,'
15930 # PIC (with -KPIC) is the default.
15931 lt_prog_compiler_static_GCJ
='-non_shared'
15934 linux
* | k
*bsd
*-gnu)
15935 case $cc_basename in
15937 lt_prog_compiler_wl_GCJ
='-Wl,'
15938 lt_prog_compiler_pic_GCJ
='-KPIC'
15939 lt_prog_compiler_static_GCJ
='-static'
15941 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
15942 # Portland Group compilers (*not* the Pentium gcc compiler,
15943 # which looks to be a dead project)
15944 lt_prog_compiler_wl_GCJ
='-Wl,'
15945 lt_prog_compiler_pic_GCJ
='-fpic'
15946 lt_prog_compiler_static_GCJ
='-Bstatic'
15949 lt_prog_compiler_wl_GCJ
='-Wl,'
15950 # All Alpha code is PIC.
15951 lt_prog_compiler_static_GCJ
='-non_shared'
15954 case `$CC -V 2>&1 | sed 5q` in
15957 lt_prog_compiler_pic_GCJ
='-KPIC'
15958 lt_prog_compiler_static_GCJ
='-Bstatic'
15959 lt_prog_compiler_wl_GCJ
='-Wl,'
15962 # Sun Fortran 8.3 passes all unrecognized flags to the linker
15963 lt_prog_compiler_pic_GCJ
='-KPIC'
15964 lt_prog_compiler_static_GCJ
='-Bstatic'
15965 lt_prog_compiler_wl_GCJ
=''
15973 lt_prog_compiler_pic_GCJ
='-KPIC'
15974 lt_prog_compiler_static_GCJ
='-Bstatic'
15978 # QNX uses GNU C++, but need to define -shared option too, otherwise
15979 # it will coredump.
15980 lt_prog_compiler_pic_GCJ
='-fPIC -shared'
15983 osf3
* | osf4
* | osf5
*)
15984 lt_prog_compiler_wl_GCJ
='-Wl,'
15985 # All OSF/1 code is PIC.
15986 lt_prog_compiler_static_GCJ
='-non_shared'
15990 lt_prog_compiler_static_GCJ
='-non_shared'
15994 lt_prog_compiler_pic_GCJ
='-KPIC'
15995 lt_prog_compiler_static_GCJ
='-Bstatic'
15996 case $cc_basename in
15997 f77
* | f90
* | f95
*)
15998 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16000 lt_prog_compiler_wl_GCJ
='-Wl,';;
16005 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16006 lt_prog_compiler_pic_GCJ
='-PIC'
16007 lt_prog_compiler_static_GCJ
='-Bstatic'
16010 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16011 lt_prog_compiler_wl_GCJ
='-Wl,'
16012 lt_prog_compiler_pic_GCJ
='-KPIC'
16013 lt_prog_compiler_static_GCJ
='-Bstatic'
16017 if test -d /usr
/nec
;then
16018 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16019 lt_prog_compiler_static_GCJ
='-Bstatic'
16023 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16024 lt_prog_compiler_wl_GCJ
='-Wl,'
16025 lt_prog_compiler_pic_GCJ
='-KPIC'
16026 lt_prog_compiler_static_GCJ
='-Bstatic'
16030 lt_prog_compiler_wl_GCJ
='-Wl,'
16031 lt_prog_compiler_can_build_shared_GCJ
=no
16035 lt_prog_compiler_pic_GCJ
='-pic'
16036 lt_prog_compiler_static_GCJ
='-Bstatic'
16040 lt_prog_compiler_can_build_shared_GCJ
=no
16046 # For platforms which do not support PIC, -DPIC is meaningless:
16048 lt_prog_compiler_pic_GCJ
=
16051 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16054 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16055 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
16060 # Check to make sure the PIC flag actually works.
16062 if test -n "$lt_prog_compiler_pic_GCJ"; then
16063 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16064 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
16065 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16066 echo $ECHO_N "(cached) $ECHO_C" >&6
16068 lt_prog_compiler_pic_works_GCJ
=no
16069 ac_outfile
=conftest.
$ac_objext
16070 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16071 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16072 # Insert the option either (1) after the last *FLAGS variable, or
16073 # (2) before a word containing "conftest.", or (3) at the end.
16074 # Note that $ac_compile itself does not contain backslashes and begins
16075 # with a dollar sign (not a hyphen), so the echo should work correctly.
16076 # The option is referenced via a variable to avoid confusing sed.
16077 lt_compile
=`echo "$ac_compile" | $SED \
16078 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16079 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16080 -e 's:$: $lt_compiler_flag:'`
16081 (eval echo "\"\$as_me:16081: $lt_compile\"" >&5)
16082 (eval "$lt_compile" 2>conftest.err
)
16084 cat conftest.err
>&5
16085 echo "$as_me:16085: \$? = $ac_status" >&5
16086 if (exit $ac_status) && test -s "$ac_outfile"; then
16087 # The compiler can only warn and ignore the option if not recognized
16088 # So say no if there are warnings other than the usual output.
16089 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16090 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16091 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16092 lt_prog_compiler_pic_works_GCJ
=yes
16098 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16099 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
16101 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16102 case $lt_prog_compiler_pic_GCJ in
16104 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16107 lt_prog_compiler_pic_GCJ
=
16108 lt_prog_compiler_can_build_shared_GCJ
=no
16116 # Check to make sure the static flag actually works.
16118 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16119 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16120 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
16121 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16122 echo $ECHO_N "(cached) $ECHO_C" >&6
16124 lt_prog_compiler_static_works_GCJ
=no
16125 save_LDFLAGS
="$LDFLAGS"
16126 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16127 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16128 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16129 # The linker can only warn and ignore the option if not recognized
16130 # So say no if there are warnings
16131 if test -s conftest.err
; then
16132 # Append any errors to the config.log.
16133 cat conftest.err
1>&5
16134 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16135 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16136 if diff conftest.exp conftest.er2
>/dev
/null
; then
16137 lt_prog_compiler_static_works_GCJ
=yes
16140 lt_prog_compiler_static_works_GCJ
=yes
16144 LDFLAGS
="$save_LDFLAGS"
16147 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16148 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
16150 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16153 lt_prog_compiler_static_GCJ
=
16159 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16160 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16161 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16162 echo $ECHO_N "(cached) $ECHO_C" >&6
16164 lt_cv_prog_compiler_c_o_GCJ
=no
16165 $RM -r conftest
2>/dev
/null
16169 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16171 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16172 # Insert the option either (1) after the last *FLAGS variable, or
16173 # (2) before a word containing "conftest.", or (3) at the end.
16174 # Note that $ac_compile itself does not contain backslashes and begins
16175 # with a dollar sign (not a hyphen), so the echo should work correctly.
16176 lt_compile
=`echo "$ac_compile" | $SED \
16177 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16178 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16179 -e 's:$: $lt_compiler_flag:'`
16180 (eval echo "\"\$as_me:16180: $lt_compile\"" >&5)
16181 (eval "$lt_compile" 2>out
/conftest.err
)
16183 cat out
/conftest.err
>&5
16184 echo "$as_me:16184: \$? = $ac_status" >&5
16185 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16187 # The compiler can only warn and ignore the option if not recognized
16188 # So say no if there are warnings
16189 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16190 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16191 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16192 lt_cv_prog_compiler_c_o_GCJ
=yes
16197 # SGI C++ compiler will create directory out/ii_files/ for
16198 # template instantiation
16199 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16200 $RM out
/* && rmdir out
16206 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16207 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16211 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16212 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16213 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16214 echo $ECHO_N "(cached) $ECHO_C" >&6
16216 lt_cv_prog_compiler_c_o_GCJ
=no
16217 $RM -r conftest
2>/dev
/null
16221 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16223 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16224 # Insert the option either (1) after the last *FLAGS variable, or
16225 # (2) before a word containing "conftest.", or (3) at the end.
16226 # Note that $ac_compile itself does not contain backslashes and begins
16227 # with a dollar sign (not a hyphen), so the echo should work correctly.
16228 lt_compile
=`echo "$ac_compile" | $SED \
16229 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16230 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16231 -e 's:$: $lt_compiler_flag:'`
16232 (eval echo "\"\$as_me:16232: $lt_compile\"" >&5)
16233 (eval "$lt_compile" 2>out
/conftest.err
)
16235 cat out
/conftest.err
>&5
16236 echo "$as_me:16236: \$? = $ac_status" >&5
16237 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16239 # The compiler can only warn and ignore the option if not recognized
16240 # So say no if there are warnings
16241 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16242 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16243 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16244 lt_cv_prog_compiler_c_o_GCJ
=yes
16249 # SGI C++ compiler will create directory out/ii_files/ for
16250 # template instantiation
16251 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16252 $RM out
/* && rmdir out
16258 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16259 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16264 hard_links
="nottested"
16265 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16266 # do not overwrite the value of need_locks provided by the user
16267 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16268 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16271 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16273 ln conftest.a conftest.b
2>&5 || hard_links
=no
16274 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16275 echo "$as_me:$LINENO: result: $hard_links" >&5
16276 echo "${ECHO_T}$hard_links" >&6
16277 if test "$hard_links" = no
; then
16278 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16279 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16288 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16289 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16292 allow_undefined_flag_GCJ
=
16293 always_export_symbols_GCJ
=no
16295 archive_expsym_cmds_GCJ
=
16296 compiler_needs_object_GCJ
=no
16297 enable_shared_with_static_runtimes_GCJ
=no
16298 export_dynamic_flag_spec_GCJ
=
16299 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16300 hardcode_automatic_GCJ
=no
16301 hardcode_direct_GCJ
=no
16302 hardcode_direct_absolute_GCJ
=no
16303 hardcode_libdir_flag_spec_GCJ
=
16304 hardcode_libdir_flag_spec_ld_GCJ
=
16305 hardcode_libdir_separator_GCJ
=
16306 hardcode_minus_L_GCJ
=no
16307 hardcode_shlibpath_var_GCJ
=unsupported
16308 inherit_rpath_GCJ
=no
16309 link_all_deplibs_GCJ
=unknown
16311 module_expsym_cmds_GCJ
=
16312 old_archive_from_new_cmds_GCJ
=
16313 old_archive_from_expsyms_cmds_GCJ
=
16314 thread_safe_flag_spec_GCJ
=
16315 whole_archive_flag_spec_GCJ
=
16316 # include_expsyms should be a list of space-separated symbols to be *always*
16317 # included in the symbol list
16318 include_expsyms_GCJ
=
16319 # exclude_expsyms can be an extended regexp of symbols to exclude
16320 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16321 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16322 # as well as any symbol that contains `d'.
16323 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16324 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16325 # platforms (ab)use it in PIC code, but their linkers get confused if
16326 # the symbol is explicitly referenced. Since portable code cannot
16327 # rely on this symbol name, it's probably fine to never include it in
16328 # preloaded symbol tables.
16329 extract_expsyms_cmds
=
16332 cygwin
* | mingw
* | pw32
*)
16333 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16334 # When not using gcc, we currently assume that we are using
16335 # Microsoft Visual C++.
16336 if test "$GCC" != yes; then
16341 # we just hope/assume this is gcc and not c89 (= MSVC++)
16350 if test "$with_gnu_ld" = yes; then
16351 # If archive_cmds runs LD, not CC, wlarc should be empty
16354 # Set some defaults for GNU ld with shared library support. These
16355 # are reset later if shared libraries are not supported. Putting them
16356 # here allows them to be overridden if necessary.
16357 runpath_var
=LD_RUN_PATH
16358 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16359 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16360 # ancient GNU ld didn't support --whole-archive et. al.
16361 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
16362 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16364 whole_archive_flag_spec_GCJ
=
16366 supports_anon_versioning
=no
16367 case `$LD -v 2>&1` in
16368 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16369 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16370 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16371 *\
2.11.
*) ;; # other 2.11 versions
16372 *) supports_anon_versioning
=yes ;;
16375 # See if GNU ld supports shared libraries.
16378 # On AIX/PPC, the GNU linker is very broken
16379 if test "$host_cpu" != ia64
; then
16383 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16384 *** to be unable to reliably create shared libraries on AIX.
16385 *** Therefore, libtool is disabling shared libraries support. If you
16386 *** really care for shared libraries, you may want to modify your PATH
16387 *** so that a non-GNU linker is found, and then restart.
16394 if test "$host_cpu" = m68k
; then
16395 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)'
16396 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16397 hardcode_minus_L_GCJ
=yes
16400 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16401 # that the semantics of dynamic libraries on AmigaOS, at least up
16402 # to version 4, is to share data among multiple programs linked
16403 # with the same dynamic library. Since this doesn't match the
16404 # behavior of shared libraries on other platforms, we can't use
16410 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16411 allow_undefined_flag_GCJ
=unsupported
16412 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16413 # support --undefined. This deserves some investigation. FIXME
16414 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16420 cygwin
* | mingw
* | pw32
*)
16421 # _LT_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16422 # as there is no search path for DLLs.
16423 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16424 allow_undefined_flag_GCJ
=unsupported
16425 always_export_symbols_GCJ
=no
16426 enable_shared_with_static_runtimes_GCJ
=yes
16427 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16429 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
16430 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16431 # If the export-symbols file already is a .def file (1st line
16432 # is EXPORTS), use it as is; otherwise, prepend...
16433 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16434 cp $export_symbols $output_objdir/$soname.def;
16436 echo EXPORTS > $output_objdir/$soname.def;
16437 cat $export_symbols >> $output_objdir/$soname.def;
16439 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16446 hardcode_direct_GCJ
=no
16447 hardcode_shlibpath_var_GCJ
=no
16448 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16449 export_dynamic_flag_spec_GCJ
='${wl}-E'
16450 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16451 # Instead, shared libraries are loaded at an image base (0x10000000 by
16452 # default) and relocated if they conflict, which is a slow very memory
16453 # consuming and fragmenting process. To avoid this, we pick a random,
16454 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16455 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16456 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'
16457 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'
16460 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
16462 if test "$host_os" = linux-dietlibc
; then
16463 case $cc_basename in
16464 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
16467 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
16468 && test "$tmp_diet" = no
16471 case $cc_basename,$host_cpu in
16472 pgcc
*) # Portland Group C compiler
16473 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'
16474 tmp_addflag
=' $pic_flag'
16476 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16477 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'
16478 tmp_addflag
=' $pic_flag -Mnomain' ;;
16479 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16480 tmp_addflag
=' -i_dynamic' ;;
16481 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16482 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16483 ifc
* | ifort
*) # Intel Fortran compiler
16484 tmp_addflag
=' -nofor_main' ;;
16486 case `$CC -V 2>&1 | sed 5q` in
16487 *Sun\ C
*) # Sun C 5.9
16488 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'
16489 compiler_needs_object_GCJ
=yes
16490 tmp_sharedflag
='-G' ;;
16491 *Sun\ F
*) # Sun Fortran 8.3
16492 tmp_sharedflag
='-G' ;;
16494 tmp_sharedflag
='-shared' ;;
16496 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16498 if test "x$supports_anon_versioning" = xyes
; then
16499 archive_expsym_cmds_GCJ
='echo "{ global:" > $output_objdir/$libname.ver~
16500 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16501 echo "local: *; };" >> $output_objdir/$libname.ver~
16502 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16510 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
16511 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16514 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16515 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16520 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
16524 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16525 *** create shared libraries on Solaris systems. Therefore, libtool
16526 *** is disabling shared libraries support. We urge you to upgrade GNU
16527 *** binutils to release 2.9.1 or newer. Another option is to modify
16528 *** your PATH or compiler configuration so that the native linker is
16529 *** used, and then restart.
16532 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16533 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16534 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16540 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16541 case `$LD -v 2>&1` in
16542 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16546 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16547 *** reliably create shared libraries on SCO systems. Therefore, libtool
16548 *** is disabling shared libraries support. We urge you to upgrade GNU
16549 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16550 *** your PATH or compiler configuration so that the native linker is
16551 *** used, and then restart.
16556 # For security reasons, it is highly recommended that you always
16557 # use absolute paths for naming shared libraries, and exclude the
16558 # DT_RUNPATH tag from executables and libraries. But doing so
16559 # requires that you compile everything twice, which is a pain.
16560 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16561 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16562 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16563 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16572 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16574 hardcode_direct_GCJ
=yes
16575 hardcode_shlibpath_var_GCJ
=no
16579 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16580 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16581 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16588 if test "$ld_shlibs_GCJ" = no
; then
16590 hardcode_libdir_flag_spec_GCJ
=
16591 export_dynamic_flag_spec_GCJ
=
16592 whole_archive_flag_spec_GCJ
=
16595 # PORTME fill in a description of your system's linker (not GNU ld)
16598 allow_undefined_flag_GCJ
=unsupported
16599 always_export_symbols_GCJ
=yes
16600 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'
16601 # Note: this linker hardcodes the directories in LIBPATH if there
16602 # are no directories specified by -L.
16603 hardcode_minus_L_GCJ
=yes
16604 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16605 # Neither direct hardcoding nor static linking is supported with a
16607 hardcode_direct_GCJ
=unsupported
16612 if test "$host_cpu" = ia64
; then
16613 # On IA64, the linker does run time linking by default, so we don't
16614 # have to do anything special.
16615 aix_use_runtimelinking
=no
16616 exp_sym_flag
='-Bexport'
16619 # If we're using GNU nm, then we don't want the "-C" option.
16620 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16621 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
16622 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'
16624 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'
16626 aix_use_runtimelinking
=no
16628 # Test if we are trying to use run time linking or normal
16629 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16630 # need to do runtime linking.
16631 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
16632 for ld_flag
in $LDFLAGS; do
16633 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16634 aix_use_runtimelinking
=yes
16641 exp_sym_flag
='-bexport'
16642 no_entry_flag
='-bnoentry'
16645 # When large executables or shared objects are built, AIX ld can
16646 # have problems creating the table of contents. If linking a library
16647 # or program results in "error TOC overflow" add -mminimal-toc to
16648 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16649 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16651 archive_cmds_GCJ
=''
16652 hardcode_direct_GCJ
=yes
16653 hardcode_direct_absolute_GCJ
=yes
16654 hardcode_libdir_separator_GCJ
=':'
16655 link_all_deplibs_GCJ
=yes
16656 file_list_spec_GCJ
='${wl}-f,'
16658 if test "$GCC" = yes; then
16659 case $host_os in aix4.
[012]|aix4.
[012].
*)
16660 # We only want to do this on AIX 4.2 and lower, the check
16661 # below for broken collect2 doesn't work under 4.3+
16662 collect2name
=`${CC} -print-prog-name=collect2`
16663 if test -f "$collect2name" &&
16664 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
16666 # We have reworked collect2
16669 # We have old collect2
16670 hardcode_direct_GCJ
=unsupported
16671 # It fails to find uninstalled libraries when the uninstalled
16672 # path is not listed in the libpath. Setting hardcode_minus_L
16673 # to unsupported forces relinking
16674 hardcode_minus_L_GCJ
=yes
16675 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16676 hardcode_libdir_separator_GCJ
=
16680 shared_flag
='-shared'
16681 if test "$aix_use_runtimelinking" = yes; then
16682 shared_flag
="$shared_flag "'${wl}-G'
16686 if test "$host_cpu" = ia64
; then
16687 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16688 # chokes on -Wl,-G. The following line is correct:
16691 if test "$aix_use_runtimelinking" = yes; then
16692 shared_flag
='${wl}-G'
16694 shared_flag
='${wl}-bM:SRE'
16699 # It seems that -bexpall does not export symbols beginning with
16700 # underscore (_), so it is better to generate a list of symbols to export.
16701 always_export_symbols_GCJ
=yes
16702 if test "$aix_use_runtimelinking" = yes; then
16703 # Warning - without using the other runtime loading flags (-brtl),
16704 # -berok will link without error, but may produce a broken library.
16705 allow_undefined_flag_GCJ
='-berok'
16706 # Determine the default libpath from the value encoded in an
16707 # empty executable.
16708 if test x
$gcc_no_link = xyes
; then
16709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16711 { (exit 1); exit 1; }; }
16713 cat >conftest.
$ac_ext <<_ACEOF
16716 cat confdefs.h
>>conftest.
$ac_ext
16717 cat >>conftest.
$ac_ext <<_ACEOF
16718 /* end confdefs.h. */
16728 rm -f conftest.
$ac_objext conftest
$ac_exeext
16729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16730 (eval $ac_link) 2>conftest.er1
16732 grep -v '^ *+' conftest.er1
>conftest.err
16734 cat conftest.err
>&5
16735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16736 (exit $ac_status); } &&
16737 { ac_try
='test -z "$ac_c_werror_flag"
16738 || test ! -s conftest.err'
16739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16740 (eval $ac_try) 2>&5
16742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16743 (exit $ac_status); }; } &&
16744 { ac_try
='test -s conftest$ac_exeext'
16745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16746 (eval $ac_try) 2>&5
16748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16749 (exit $ac_status); }; }; then
16751 lt_aix_libpath_sed
='
16752 /Import File Strings/,/^$/ {
16758 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16759 # Check for a 64-bit object if we didn't find anything.
16760 if test -z "$aix_libpath"; then
16761 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16764 echo "$as_me: failed program was:" >&5
16765 sed 's/^/| /' conftest.
$ac_ext >&5
16768 rm -f conftest.err conftest.
$ac_objext \
16769 conftest
$ac_exeext conftest.
$ac_ext
16770 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16772 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16773 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"
16775 if test "$host_cpu" = ia64
; then
16776 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
16777 allow_undefined_flag_GCJ
="-z nodefs"
16778 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"
16780 # Determine the default libpath from the value encoded in an
16781 # empty executable.
16782 if test x
$gcc_no_link = xyes
; then
16783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16785 { (exit 1); exit 1; }; }
16787 cat >conftest.
$ac_ext <<_ACEOF
16790 cat confdefs.h
>>conftest.
$ac_ext
16791 cat >>conftest.
$ac_ext <<_ACEOF
16792 /* end confdefs.h. */
16802 rm -f conftest.
$ac_objext conftest
$ac_exeext
16803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16804 (eval $ac_link) 2>conftest.er1
16806 grep -v '^ *+' conftest.er1
>conftest.err
16808 cat conftest.err
>&5
16809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16810 (exit $ac_status); } &&
16811 { ac_try
='test -z "$ac_c_werror_flag"
16812 || test ! -s conftest.err'
16813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16814 (eval $ac_try) 2>&5
16816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16817 (exit $ac_status); }; } &&
16818 { ac_try
='test -s conftest$ac_exeext'
16819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16820 (eval $ac_try) 2>&5
16822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16823 (exit $ac_status); }; }; then
16825 lt_aix_libpath_sed
='
16826 /Import File Strings/,/^$/ {
16832 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16833 # Check for a 64-bit object if we didn't find anything.
16834 if test -z "$aix_libpath"; then
16835 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16838 echo "$as_me: failed program was:" >&5
16839 sed 's/^/| /' conftest.
$ac_ext >&5
16842 rm -f conftest.err conftest.
$ac_objext \
16843 conftest
$ac_exeext conftest.
$ac_ext
16844 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16846 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16847 # Warning - without using the other run time loading flags,
16848 # -berok will link without error, but may produce a broken library.
16849 no_undefined_flag_GCJ
=' ${wl}-bernotok'
16850 allow_undefined_flag_GCJ
=' ${wl}-berok'
16851 # Exported symbols can be pulled into shared objects from archives
16852 whole_archive_flag_spec_GCJ
='$convenience'
16853 archive_cmds_need_lc_GCJ
=yes
16854 # This is similar to how AIX traditionally builds its shared libraries.
16855 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'
16861 if test "$host_cpu" = m68k
; then
16862 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)'
16863 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16864 hardcode_minus_L_GCJ
=yes
16866 # see comment about different semantics on the GNU ld section
16871 export_dynamic_flag_spec_GCJ
=-rdynamic
16874 cygwin
* | mingw
* | pw32
*)
16875 # When not using gcc, we currently assume that we are using
16876 # Microsoft Visual C++.
16877 # hardcode_libdir_flag_spec is actually meaningless, as there is
16878 # no search path for DLLs.
16879 hardcode_libdir_flag_spec_GCJ
=' '
16880 allow_undefined_flag_GCJ
=unsupported
16881 # Tell ltmain to make .lib files, not .a files.
16883 # Tell ltmain to make .dll files, not .so files.
16885 # FIXME: Setting linknames here is a bad hack.
16886 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
16887 # The linker will automatically build a .lib file if we build a DLL.
16888 old_archive_from_new_cmds_GCJ
='true'
16889 # FIXME: Should let the user specify the lib program.
16890 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
16891 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
16892 enable_shared_with_static_runtimes_GCJ
=yes
16895 darwin
* | rhapsody
*)
16897 rhapsody
* | darwin1.
[012])
16898 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
16901 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
16903 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16906 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
16911 archive_cmds_need_lc_GCJ
=no
16912 hardcode_direct_GCJ
=no
16913 hardcode_automatic_GCJ
=yes
16914 hardcode_shlibpath_var_GCJ
=unsupported
16915 whole_archive_flag_spec_GCJ
=''
16916 link_all_deplibs_GCJ
=yes
16917 if test "$GCC" = yes ; then
16918 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
16919 echo $ECHO_N "(cached) $ECHO_C" >&6
16921 lt_cv_apple_cc_single_mod
=no
16922 if test -z "${LT_MULTI_MODULE}"; then
16923 # By default we will add the -single_module flag. You can override
16924 # by either setting the environment variable LT_MULTI_MODULE
16925 # non-empty at configure time, or by adding -multi-module to the
16927 echo "int foo(void){return 1;}" > conftest.c
16928 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
16929 -dynamiclib ${wl}-single_module conftest.c
16930 if test -f libconftest.dylib
; then
16931 lt_cv_apple_cc_single_mod
=yes
16932 rm libconftest.dylib
16934 rm conftest.
$ac_ext
16938 output_verbose_link_cmd
=echo
16939 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
16940 archive_cmds_GCJ
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16941 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}'
16943 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16944 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}'
16946 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16947 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}'
16949 case $cc_basename in
16951 output_verbose_link_cmd
=echo
16952 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
16953 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16954 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16955 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}'
16956 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}'
16966 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16967 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16968 hardcode_shlibpath_var_GCJ
=no
16975 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16976 # support. Future versions do this automatically, but an explicit c++rt0.o
16977 # does not break anything, and helps significantly (at the cost of a little
16980 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16981 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16982 hardcode_direct_GCJ
=yes
16983 hardcode_shlibpath_var_GCJ
=no
16986 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16988 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16989 hardcode_direct_GCJ
=yes
16990 hardcode_minus_L_GCJ
=yes
16991 hardcode_shlibpath_var_GCJ
=no
16994 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16995 freebsd
* | dragonfly
*)
16996 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16997 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16998 hardcode_direct_GCJ
=yes
16999 hardcode_shlibpath_var_GCJ
=no
17003 if test "$GCC" = yes; then
17004 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'
17006 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'
17008 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17009 hardcode_libdir_separator_GCJ
=:
17010 hardcode_direct_GCJ
=yes
17012 # hardcode_minus_L: Not really in the search PATH,
17013 # but as the default location of the library.
17014 hardcode_minus_L_GCJ
=yes
17015 export_dynamic_flag_spec_GCJ
='${wl}-E'
17019 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17020 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17022 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17024 if test "$with_gnu_ld" = no
; then
17025 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17026 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17027 hardcode_libdir_separator_GCJ
=:
17028 hardcode_direct_GCJ
=yes
17029 hardcode_direct_absolute_GCJ
=yes
17030 export_dynamic_flag_spec_GCJ
='${wl}-E'
17031 # hardcode_minus_L: Not really in the search PATH,
17032 # but as the default location of the library.
17033 hardcode_minus_L_GCJ
=yes
17038 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17041 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17044 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17047 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17053 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17056 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17059 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17063 if test "$with_gnu_ld" = no
; then
17064 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17065 hardcode_libdir_separator_GCJ
=:
17069 hardcode_direct_GCJ
=no
17070 hardcode_shlibpath_var_GCJ
=no
17073 hardcode_direct_GCJ
=yes
17074 hardcode_direct_absolute_GCJ
=yes
17075 export_dynamic_flag_spec_GCJ
='${wl}-E'
17077 # hardcode_minus_L: Not really in the search PATH,
17078 # but as the default location of the library.
17079 hardcode_minus_L_GCJ
=yes
17085 irix5
* | irix6
* | nonstopux
*)
17086 if test "$GCC" = yes; then
17087 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'
17088 # Try to use the -exported_symbol ld option, if it does not
17089 # work, assume that -exports_file does not work either and
17090 # implicitly export all symbols.
17091 save_LDFLAGS
="$LDFLAGS"
17092 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
17093 if test x
$gcc_no_link = xyes
; then
17094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17096 { (exit 1); exit 1; }; }
17098 cat >conftest.
$ac_ext <<_ACEOF
17101 rm -f conftest.
$ac_objext conftest
$ac_exeext
17102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17103 (eval $ac_link) 2>conftest.er1
17105 grep -v '^ *+' conftest.er1
>conftest.err
17107 cat conftest.err
>&5
17108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17109 (exit $ac_status); } &&
17110 { ac_try
='test -z "$ac_c_werror_flag"
17111 || test ! -s conftest.err'
17112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17113 (eval $ac_try) 2>&5
17115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116 (exit $ac_status); }; } &&
17117 { ac_try
='test -s conftest$ac_exeext'
17118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17119 (eval $ac_try) 2>&5
17121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17122 (exit $ac_status); }; }; then
17123 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'
17126 echo "$as_me: failed program was:" >&5
17127 sed 's/^/| /' conftest.
$ac_ext >&5
17130 rm -f conftest.err conftest.
$ac_objext \
17131 conftest
$ac_exeext conftest.
$ac_ext
17132 LDFLAGS
="$save_LDFLAGS"
17134 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'
17135 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'
17137 archive_cmds_need_lc_GCJ
='no'
17138 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17139 hardcode_libdir_separator_GCJ
=:
17140 inherit_rpath_GCJ
=yes
17141 link_all_deplibs_GCJ
=yes
17145 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
17146 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17148 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17150 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17151 hardcode_direct_GCJ
=yes
17152 hardcode_shlibpath_var_GCJ
=no
17156 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17157 hardcode_direct_GCJ
=yes
17158 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17159 hardcode_libdir_separator_GCJ
=:
17160 hardcode_shlibpath_var_GCJ
=no
17167 hardcode_direct_GCJ
=yes
17168 hardcode_shlibpath_var_GCJ
=no
17169 hardcode_direct_absolute_GCJ
=yes
17170 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17171 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17172 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17173 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17174 export_dynamic_flag_spec_GCJ
='${wl}-E'
17177 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17178 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17179 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17182 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17183 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17190 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17191 hardcode_minus_L_GCJ
=yes
17192 allow_undefined_flag_GCJ
=unsupported
17193 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'
17194 old_archive_from_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17198 if test "$GCC" = yes; then
17199 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17200 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'
17202 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17203 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'
17205 archive_cmds_need_lc_GCJ
='no'
17206 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17207 hardcode_libdir_separator_GCJ
=:
17210 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17211 if test "$GCC" = yes; then
17212 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17213 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'
17214 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17216 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17217 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'
17218 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~
17219 $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'
17221 # Both c and cxx compiler support -rpath directly
17222 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17224 archive_cmds_need_lc_GCJ
='no'
17225 hardcode_libdir_separator_GCJ
=:
17229 no_undefined_flag_GCJ
=' -z defs'
17230 if test "$GCC" = yes; then
17232 archive_cmds_GCJ
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17233 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17234 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
17236 case `$CC -V 2>&1` in
17239 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17240 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17241 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
17245 archive_cmds_GCJ
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
17246 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17247 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
17251 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17252 hardcode_shlibpath_var_GCJ
=no
17254 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17256 # The compiler driver will combine and reorder linker options,
17257 # but understands `-z linker_flag'. GCC discards it without `$wl',
17258 # but is careful enough not to reorder.
17259 # Supported since Solaris 2.6 (maybe 2.5.1?)
17260 if test "$GCC" = yes; then
17261 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17263 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
17267 link_all_deplibs_GCJ
=yes
17271 if test "x$host_vendor" = xsequent
; then
17272 # Use $CC to link under sequent, because it throws in some extra .o
17273 # files that make .init and .fini sections work.
17274 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17276 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17278 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17279 hardcode_direct_GCJ
=yes
17280 hardcode_minus_L_GCJ
=yes
17281 hardcode_shlibpath_var_GCJ
=no
17285 case $host_vendor in
17287 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17288 hardcode_direct_GCJ
=yes # is this really true???
17291 ## LD is ld it makes a PLAMLIB
17292 ## CC just makes a GrossModule.
17293 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17294 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17295 hardcode_direct_GCJ
=no
17298 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17299 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17302 runpath_var
='LD_RUN_PATH'
17303 hardcode_shlibpath_var_GCJ
=no
17307 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17308 hardcode_shlibpath_var_GCJ
=no
17309 export_dynamic_flag_spec_GCJ
='-Bexport'
17313 if test -d /usr
/nec
; then
17314 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17315 hardcode_shlibpath_var_GCJ
=no
17316 runpath_var
=LD_RUN_PATH
17317 hardcode_runpath_var
=yes
17322 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
17323 no_undefined_flag_GCJ
='${wl}-z,text'
17324 archive_cmds_need_lc_GCJ
=no
17325 hardcode_shlibpath_var_GCJ
=no
17326 runpath_var
='LD_RUN_PATH'
17328 if test "$GCC" = yes; then
17329 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17330 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17332 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17333 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17337 sysv5
* | sco3.2v5
* | sco5v6
*)
17338 # Note: We can NOT use -z defs as we might desire, because we do not
17339 # link with -lc, and that would cause any symbols used from libc to
17340 # always be unresolved, which means just about no library would
17341 # ever link correctly. If we're not using GNU ld we use -z text
17342 # though, which does catch some bad symbols but isn't as heavy-handed
17344 no_undefined_flag_GCJ
='${wl}-z,text'
17345 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17346 archive_cmds_need_lc_GCJ
=no
17347 hardcode_shlibpath_var_GCJ
=no
17348 hardcode_libdir_flag_spec_GCJ
='${wl}-R,$libdir'
17349 hardcode_libdir_separator_GCJ
=':'
17350 link_all_deplibs_GCJ
=yes
17351 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17352 runpath_var
='LD_RUN_PATH'
17354 if test "$GCC" = yes; then
17355 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17356 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17358 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17359 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17364 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17365 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17366 hardcode_shlibpath_var_GCJ
=no
17374 if test x
$host_vendor = xsni
; then
17376 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
17377 export_dynamic_flag_spec_GCJ
='${wl}-Blargedynsym'
17383 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17384 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17385 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17387 with_gnu_ld_GCJ
=$with_gnu_ld
17395 # Do we need to explicitly link libc?
17397 case "x$archive_cmds_need_lc_GCJ" in
17399 # Assume -lc should be added
17400 archive_cmds_need_lc_GCJ
=yes
17402 if test "$enable_shared" = yes && test "$GCC" = yes; then
17403 case $archive_cmds_GCJ in
17405 # FIXME: we may have to deal with multi-command sequences.
17408 # Test whether the compiler implicitly links with -lc since on some
17409 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17410 # to ld, don't add -lc before -lgcc.
17411 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17412 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17414 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17417 (eval $ac_compile) 2>&5
17419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17420 (exit $ac_status); } 2>conftest.err
; then
17423 libobjs
=conftest.
$ac_objext
17425 wl
=$lt_prog_compiler_wl_GCJ
17426 pic_flag
=$lt_prog_compiler_pic_GCJ
17432 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17433 allow_undefined_flag_GCJ
=
17434 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
17435 (eval $archive_cmds_GCJ 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); }
17440 archive_cmds_need_lc_GCJ
=no
17442 archive_cmds_need_lc_GCJ
=yes
17444 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17446 cat conftest.err
1>&5
17449 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17450 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17520 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17521 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17523 library_names_spec
=
17524 libname_spec
='lib$name'
17528 postuninstall_cmds
=
17532 shlibpath_overrides_runpath
=unknown
17534 dynamic_linker
="$host_os ld.so"
17535 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17536 need_lib_prefix
=unknown
17537 hardcode_into_libs
=no
17539 # when you set need_version to no, make sure it does not cause -set_version
17540 # flags to be left without arguments
17541 need_version
=unknown
17546 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17547 shlibpath_var
=LIBPATH
17549 # AIX 3 has no versioning support, so we append a major version to the name.
17550 soname_spec
='${libname}${release}${shared_ext}$major'
17557 hardcode_into_libs
=yes
17558 if test "$host_cpu" = ia64
; then
17559 # AIX 5 supports IA64
17560 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17561 shlibpath_var
=LD_LIBRARY_PATH
17563 # With GCC up to 2.95.x, collect2 would create an import file
17564 # for dependence libraries. The import file would start with
17565 # the line `#! .'. This would cause the generated library to
17566 # depend on `.', always an invalid library. This was fixed in
17567 # development snapshots of GCC prior to 3.0.
17569 aix4 | aix4.
[01] | aix4.
[01].
*)
17570 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17572 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
17575 can_build_shared
=no
17579 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17580 # soname into executable. Probably we can add versioning support to
17581 # collect2, so additional links can be useful in future.
17582 if test "$aix_use_runtimelinking" = yes; then
17583 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17584 # instead of lib<name>.a to let people know that these are not
17585 # typical AIX shared libraries.
17586 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17588 # We preserve .a as extension for shared libraries through AIX4.2
17589 # and later when we are not doing run time linking.
17590 library_names_spec
='${libname}${release}.a $libname.a'
17591 soname_spec
='${libname}${release}${shared_ext}$major'
17593 shlibpath_var
=LIBPATH
17598 if test "$host_cpu" = m68k
; then
17599 library_names_spec
='$libname.ixlibrary $libname.a'
17600 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17601 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'
17608 library_names_spec
='${libname}${shared_ext}'
17609 dynamic_linker
="$host_os ld.so"
17610 shlibpath_var
=LIBRARY_PATH
17616 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17617 soname_spec
='${libname}${release}${shared_ext}$major'
17618 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17619 shlibpath_var
=LD_LIBRARY_PATH
17620 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17621 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17622 # the default ld.so.conf also contains /usr/contrib/lib and
17623 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17624 # libtool to hard-code these into programs
17627 cygwin
* | mingw
* | pw32
*)
17628 version_type
=windows
17633 case $withGCC,$host_os in
17634 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17635 library_names_spec
='$libname.dll.a'
17636 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17637 postinstall_cmds
='base_file=`basename \${file}`~
17638 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17639 dldir=$destdir/`dirname \$dlpath`~
17640 test -d \$dldir || mkdir -p \$dldir~
17641 $install_prog $dir/$dlname \$dldir/$dlname~
17642 chmod a+x \$dldir/$dlname~
17643 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17644 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17646 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17647 dlpath=$dir/\$dldll~
17649 shlibpath_overrides_runpath
=yes
17653 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17654 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17655 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17658 # MinGW DLLs use traditional 'lib' prefix
17659 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17660 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17661 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
17662 # It is most probably a Windows format PATH printed by
17663 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17664 # path with ; separators, and with drive letters. We can handle the
17665 # drive letters (cygwin fileutils understands them), so leave them,
17666 # especially as we might pass files found there to a mingw objdump,
17667 # which wouldn't understand a cygwinified path. Ahh.
17668 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17670 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17674 # pw32 DLLs use 'pw' prefix rather than 'lib'
17675 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17681 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17684 dynamic_linker
='Win32 ld.exe'
17685 # FIXME: first we should search . and the directory the executable is in
17689 darwin
* | rhapsody
*)
17690 dynamic_linker
="$host_os dyld"
17691 version_type
=darwin
17694 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17695 soname_spec
='${libname}${release}${major}$shared_ext'
17696 shlibpath_overrides_runpath
=yes
17697 shlibpath_var
=DYLD_LIBRARY_PATH
17698 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17700 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17707 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17708 soname_spec
='${libname}${release}${shared_ext}$major'
17709 shlibpath_var
=LD_LIBRARY_PATH
17716 freebsd
* | dragonfly
*)
17717 # DragonFly does not have aout. When/if they implement a new
17718 # versioning mechanism, adjust this.
17719 if test -x /usr
/bin
/objformat
; then
17720 objformat
=`/usr/bin/objformat`
17723 freebsd
[123]*) objformat
=aout
;;
17724 *) objformat
=elf
;;
17727 version_type
=freebsd-
$objformat
17728 case $version_type in
17730 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17735 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17739 shlibpath_var
=LD_LIBRARY_PATH
17742 shlibpath_overrides_runpath
=yes
17744 freebsd3.
[01]* | freebsdelf3.
[01]*)
17745 shlibpath_overrides_runpath
=yes
17746 hardcode_into_libs
=yes
17748 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17749 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17750 shlibpath_overrides_runpath
=no
17751 hardcode_into_libs
=yes
17753 *) # from 4.6 on, and DragonFly
17754 shlibpath_overrides_runpath
=yes
17755 hardcode_into_libs
=yes
17764 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17765 soname_spec
='${libname}${release}${shared_ext}$major'
17766 shlibpath_var
=LD_LIBRARY_PATH
17767 hardcode_into_libs
=yes
17770 hpux9
* | hpux10
* | hpux11
*)
17771 # Give a soname corresponding to the major version so that dld.sl refuses to
17772 # link against other versions.
17779 hardcode_into_libs
=yes
17780 dynamic_linker
="$host_os dld.so"
17781 shlibpath_var
=LD_LIBRARY_PATH
17782 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17783 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17784 soname_spec
='${libname}${release}${shared_ext}$major'
17785 if test "X$HPUX_IA64_MODE" = X32
; then
17786 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17788 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17790 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17794 hardcode_into_libs
=yes
17795 dynamic_linker
="$host_os dld.sl"
17796 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17797 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17798 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17799 soname_spec
='${libname}${release}${shared_ext}$major'
17800 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17801 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17805 dynamic_linker
="$host_os dld.sl"
17806 shlibpath_var
=SHLIB_PATH
17807 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17809 soname_spec
='${libname}${release}${shared_ext}$major'
17812 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17813 postinstall_cmds
='chmod 555 $lib'
17820 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17821 soname_spec
='${libname}${release}${shared_ext}$major'
17822 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17823 shlibpath_var
=LD_LIBRARY_PATH
17824 shlibpath_overrides_runpath
=no
17825 hardcode_into_libs
=yes
17828 irix5
* | irix6
* | nonstopux
*)
17830 nonstopux
*) version_type
=nonstopux
;;
17832 if test "$lt_cv_prog_gnu_ld" = yes; then
17840 soname_spec
='${libname}${release}${shared_ext}$major'
17841 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17843 irix5
* | nonstopux
*)
17844 libsuff
= shlibsuff
=
17847 case $LD in # libtool.m4 will add one of these switches to LD
17848 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17849 libsuff
= shlibsuff
= libmagic
=32-bit;;
17850 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17851 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17852 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17853 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17854 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17858 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17859 shlibpath_overrides_runpath
=no
17860 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17861 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17862 hardcode_into_libs
=yes
17865 # No shared lib support for Linux oldld, aout, or coff.
17866 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17870 # This must be Linux ELF.
17871 linux
* | k
*bsd
*-gnu)
17875 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17876 soname_spec
='${libname}${release}${shared_ext}$major'
17877 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17878 shlibpath_var
=LD_LIBRARY_PATH
17879 shlibpath_overrides_runpath
=no
17880 # Some binutils ld are patched to set DT_RUNPATH
17881 save_LDFLAGS
=$LDFLAGS
17882 save_libdir
=$libdir
17883 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_GCJ\"; \
17884 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_GCJ\""
17885 if test x
$gcc_no_link = xyes
; then
17886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17888 { (exit 1); exit 1; }; }
17890 cat >conftest.
$ac_ext <<_ACEOF
17893 cat confdefs.h
>>conftest.
$ac_ext
17894 cat >>conftest.
$ac_ext <<_ACEOF
17895 /* end confdefs.h. */
17905 rm -f conftest.
$ac_objext conftest
$ac_exeext
17906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17907 (eval $ac_link) 2>conftest.er1
17909 grep -v '^ *+' conftest.er1
>conftest.err
17911 cat conftest.err
>&5
17912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17913 (exit $ac_status); } &&
17914 { ac_try
='test -z "$ac_c_werror_flag"
17915 || test ! -s conftest.err'
17916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17917 (eval $ac_try) 2>&5
17919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17920 (exit $ac_status); }; } &&
17921 { ac_try
='test -s conftest$ac_exeext'
17922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17923 (eval $ac_try) 2>&5
17925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17926 (exit $ac_status); }; }; then
17927 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
17928 shlibpath_overrides_runpath
=yes
17932 echo "$as_me: failed program was:" >&5
17933 sed 's/^/| /' conftest.
$ac_ext >&5
17936 rm -f conftest.err conftest.
$ac_objext \
17937 conftest
$ac_exeext conftest.
$ac_ext
17938 LDFLAGS
=$save_LDFLAGS
17939 libdir
=$save_libdir
17941 # This implies no fast_install, which is unacceptable.
17942 # Some rework will be needed to allow for fast_install
17943 # before this can be enabled.
17944 hardcode_into_libs
=yes
17946 # Append ld.so.conf contents to the search path
17947 if test -f /etc
/ld.so.conf
; then
17948 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' ' '`
17949 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17952 # We used to test for /lib/ld.so.1 and disable shared libraries on
17953 # powerpc, because MkLinux only supported shared libraries with the
17954 # GNU dynamic linker. Since this was broken with cross compilers,
17955 # most powerpc-linux boxes support dynamic linking these days and
17956 # people can always --disable-shared, the test was removed, and we
17957 # assume the GNU/Linux dynamic linker is in use.
17958 dynamic_linker
='GNU/Linux ld.so'
17965 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
17966 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17967 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17968 dynamic_linker
='NetBSD (a.out) ld.so'
17970 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17971 soname_spec
='${libname}${release}${shared_ext}$major'
17972 dynamic_linker
='NetBSD ld.elf_so'
17974 shlibpath_var
=LD_LIBRARY_PATH
17975 shlibpath_overrides_runpath
=yes
17976 hardcode_into_libs
=yes
17981 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17982 shlibpath_var
=LD_LIBRARY_PATH
17983 shlibpath_overrides_runpath
=yes
17990 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17991 soname_spec
='${libname}${release}${shared_ext}$major'
17992 shlibpath_var
=LD_LIBRARY_PATH
17993 shlibpath_overrides_runpath
=no
17994 hardcode_into_libs
=yes
17995 dynamic_linker
='ldqnx.so'
18000 sys_lib_dlsearch_path_spec
="/usr/lib"
18002 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18004 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18005 *) need_version
=no
;;
18007 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18008 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18009 shlibpath_var
=LD_LIBRARY_PATH
18010 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18012 openbsd2.
[89] | openbsd2.
[89].
*)
18013 shlibpath_overrides_runpath
=no
18016 shlibpath_overrides_runpath
=yes
18020 shlibpath_overrides_runpath
=yes
18025 libname_spec
='$name'
18028 library_names_spec
='$libname${shared_ext} $libname.a'
18029 dynamic_linker
='OS/2 ld.exe'
18030 shlibpath_var
=LIBPATH
18033 osf3
* | osf4
* | osf5
*)
18037 soname_spec
='${libname}${release}${shared_ext}$major'
18038 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18039 shlibpath_var
=LD_LIBRARY_PATH
18040 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18041 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18052 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18053 soname_spec
='${libname}${release}${shared_ext}$major'
18054 shlibpath_var
=LD_LIBRARY_PATH
18055 shlibpath_overrides_runpath
=yes
18056 hardcode_into_libs
=yes
18057 # ldd complains unless libraries are executable
18058 postinstall_cmds
='chmod +x $lib'
18063 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18064 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18065 shlibpath_var
=LD_LIBRARY_PATH
18066 shlibpath_overrides_runpath
=yes
18067 if test "$with_gnu_ld" = yes; then
18075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18076 soname_spec
='${libname}${release}${shared_ext}$major'
18077 shlibpath_var
=LD_LIBRARY_PATH
18078 case $host_vendor in
18080 shlibpath_overrides_runpath
=no
18082 runpath_var
=LD_RUN_PATH
18090 shlibpath_overrides_runpath
=no
18091 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18097 if test -d /usr
/nec
;then
18099 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18100 soname_spec
='$libname${shared_ext}.$major'
18101 shlibpath_var
=LD_LIBRARY_PATH
18105 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18106 version_type
=freebsd-elf
18109 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18110 soname_spec
='${libname}${release}${shared_ext}$major'
18111 shlibpath_var
=LD_LIBRARY_PATH
18112 shlibpath_overrides_runpath
=yes
18113 hardcode_into_libs
=yes
18114 if test "$with_gnu_ld" = yes; then
18115 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18117 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18120 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18124 sys_lib_dlsearch_path_spec
='/usr/lib'
18128 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
18132 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18133 shlibpath_var
=LD_LIBRARY_PATH
18134 shlibpath_overrides_runpath
=no
18135 hardcode_into_libs
=yes
18140 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18141 soname_spec
='${libname}${release}${shared_ext}$major'
18142 shlibpath_var
=LD_LIBRARY_PATH
18149 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18150 echo "${ECHO_T}$dynamic_linker" >&6
18151 test "$dynamic_linker" = no
&& can_build_shared
=no
18153 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18154 if test "$GCC" = yes; then
18155 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18193 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18194 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
18195 hardcode_action_GCJ
=
18196 if test -n "$hardcode_libdir_flag_spec_GCJ" ||
18197 test -n "$runpath_var_GCJ" ||
18198 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18200 # We can hardcode non-existent directories.
18201 if test "$hardcode_direct_GCJ" != no
&&
18202 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18203 # have to relink, otherwise we might link with an installed library
18204 # when we should be linking with a yet-to-be-installed one
18205 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18206 test "$hardcode_minus_L_GCJ" != no
; then
18207 # Linking always hardcodes the temporary library directory.
18208 hardcode_action_GCJ
=relink
18210 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18211 hardcode_action_GCJ
=immediate
18214 # We cannot hardcode anything, or else we can only hardcode existing
18216 hardcode_action_GCJ
=unsupported
18218 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18219 echo "${ECHO_T}$hardcode_action_GCJ" >&6
18221 if test "$hardcode_action_GCJ" = relink ||
18222 test "$inherit_rpath_GCJ" = yes; then
18223 # Fast installation is not supported
18224 enable_fast_install
=no
18225 elif test "$shlibpath_overrides_runpath" = yes ||
18226 test "$enable_shared" = no
; then
18227 # Fast installation is not necessary
18228 enable_fast_install
=needless
18239 compiler_GCJ
=${GCJ-gcj}
18241 ac_cpp
='$CPP $CPPFLAGS'
18242 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18243 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18244 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18247 if test "x$CC" != xcc
; then
18248 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
18249 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
18251 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
18252 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
18254 set dummy
$CC; ac_cc
=`echo $2 |
18255 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
18256 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
18257 echo $ECHO_N "(cached) $ECHO_C" >&6
18259 cat >conftest.
$ac_ext <<_ACEOF
18262 cat confdefs.h
>>conftest.
$ac_ext
18263 cat >>conftest.
$ac_ext <<_ACEOF
18264 /* end confdefs.h. */
18274 # Make sure it works both with $CC and with simple cc.
18275 # We do the test twice because some compilers refuse to overwrite an
18276 # existing .o file with -o, though they will create one.
18277 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
18278 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18279 (eval $ac_try) 2>&5
18281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18282 (exit $ac_status); } &&
18283 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18284 (eval $ac_try) 2>&5
18286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18287 (exit $ac_status); };
18289 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
18290 if test "x$CC" != xcc
; then
18291 # Test first that cc exists at all.
18292 if { ac_try
='cc -c conftest.$ac_ext >&5'
18293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18294 (eval $ac_try) 2>&5
18296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18297 (exit $ac_status); }; }; then
18298 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
18299 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18300 (eval $ac_try) 2>&5
18302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18303 (exit $ac_status); } &&
18304 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18305 (eval $ac_try) 2>&5
18307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18308 (exit $ac_status); };
18313 # cc exists but doesn't like -o.
18314 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
18319 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
18324 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
18325 echo "$as_me:$LINENO: result: yes" >&5
18326 echo "${ECHO_T}yes" >&6
18328 echo "$as_me:$LINENO: result: no" >&5
18329 echo "${ECHO_T}no" >&6
18331 cat >>confdefs.h
<<\_ACEOF
18332 #define NO_MINUS_C_MINUS_O 1
18337 # FIXME: we rely on the cache variable name because
18338 # there is no other way.
18340 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
18341 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
18342 # Losing compiler, so override with the script.
18343 # FIXME: It is wrong to rewrite CC.
18344 # But if we don't then we get into trouble of one sort or another.
18345 # A longer-term fix would be to have automake use am__CC in this case,
18346 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
18347 CC
="$am_aux_dir/compile $CC"
18353 subdirs
="$subdirs classpath libltdl"
18356 # The -no-testsuite modules omit the test subdir.
18359 if test -d $srcdir/testsuite
; then
18361 TESTSUBDIR_FALSE
='#'
18363 TESTSUBDIR_TRUE
='#'
18368 # Should the runtime set system properties by examining the
18369 # environment variable GCJ_PROPERTIES?
18370 # Check whether --enable-getenv-properties or --disable-getenv-properties was given.
18371 if test "${enable_getenv_properties+set}" = set; then
18372 enableval
="$enable_getenv_properties"
18376 # Whether GCJ_PROPERTIES is used depends on the target.
18377 if test -z "$enable_getenv_properties"; then
18378 enable_getenv_properties
=${enable_getenv_properties_default-yes}
18380 if test "$enable_getenv_properties" = no
; then
18382 cat >>confdefs.h
<<\_ACEOF
18383 #define DISABLE_GETENV_PROPERTIES 1
18388 # Whether we should use arguments to main()
18389 if test -z "$enable_main_args"; then
18390 enable_main_args
=${enable_main_args_default-yes}
18392 if test "$enable_main_args" = no
; then
18394 cat >>confdefs.h
<<\_ACEOF
18395 #define DISABLE_MAIN_ARGS 1
18401 # Should we use hashtable-based synchronization?
18402 # Currently works only for Linux X86/ia64
18403 # Typically faster and more space-efficient
18404 # Check whether --enable-hash-synchronization or --disable-hash-synchronization was given.
18405 if test "${enable_hash_synchronization+set}" = set; then
18406 enableval
="$enable_hash_synchronization"
18410 if test -z "$enable_hash_synchronization"; then
18411 enable_hash_synchronization
=$enable_hash_synchronization_default
18419 # Check whether --with-ecj-jar or --without-ecj-jar was given.
18420 if test "${with_ecj_jar+set}" = set; then
18421 withval
="$with_ecj_jar"
18424 if test -f $multi_basedir/ecj.jar
; then
18425 ECJ_BUILD_JAR
=$multi_basedir/ecj.jar
18426 ECJ_JAR
='$(jardir)/ecj.jar'
18427 install_ecj_jar
=yes
18434 if test "$ECJ_JAR" != ""; then
18436 BUILD_ECJ1_FALSE
='#'
18438 BUILD_ECJ1_TRUE
='#'
18444 if test $install_ecj_jar = yes; then
18445 INSTALL_ECJ_JAR_TRUE
=
18446 INSTALL_ECJ_JAR_FALSE
='#'
18448 INSTALL_ECJ_JAR_TRUE
='#'
18449 INSTALL_ECJ_JAR_FALSE
=
18454 # Check whether --with-java-home or --without-java-home was given.
18455 if test "${with_java_home+set}" = set; then
18456 withval
="$with_java_home"
18457 JAVA_HOME
="${withval}"
18463 if test ! -z "$JAVA_HOME"; then
18464 JAVA_HOME_SET_TRUE
=
18465 JAVA_HOME_SET_FALSE
='#'
18467 JAVA_HOME_SET_TRUE
='#'
18468 JAVA_HOME_SET_FALSE
=
18473 suppress_libgcj_bc
=no
18474 # Check whether --enable-libgcj-bc or --disable-libgcj-bc was given.
18475 if test "${enable_libgcj_bc+set}" = set; then
18476 enableval
="$enable_libgcj_bc"
18477 if test "$enable_libgcj_bc" = "no"; then
18478 suppress_libgcj_bc
=yes
18483 if test "$suppress_libgcj_bc" = "yes"; then
18484 SUPPRESS_LIBGCJ_BC_TRUE
=
18485 SUPPRESS_LIBGCJ_BC_FALSE
='#'
18487 SUPPRESS_LIBGCJ_BC_TRUE
='#'
18488 SUPPRESS_LIBGCJ_BC_FALSE
=
18492 # What is the native OS API for MinGW?
18494 # Check whether --with-win32-nlsapi or --without-win32-nlsapi was given.
18495 if test "${with_win32_nlsapi+set}" = set; then
18496 withval
="$with_win32_nlsapi"
18497 case "${withval}" in
18498 ansi
) with_win32_nlsapi
=ansi
;;
18499 unicows
) with_win32_nlsapi
=unicows
;;
18500 unicode
) with_win32_nlsapi
=unicode
;;
18501 *) { { echo "$as_me:$LINENO: error: Bad value ${withval} for --with-win32-nlsapi." >&5
18502 echo "$as_me: error: Bad value ${withval} for --with-win32-nlsapi." >&2;}
18503 { (exit 1); exit 1; }; } ;;
18506 with_win32_nlsapi
=ansi
18509 case "${with_win32_nlsapi}" in
18512 cat >>confdefs.h
<<\_ACEOF
18513 #define MINGW_LIBGCJ_UNICODE 1
18519 # configure.host sets slow_pthread_self if the synchronization code should
18520 # try to avoid pthread_self calls by caching thread IDs in a hashtable.
18521 if test "${slow_pthread_self}" = "yes"; then
18523 cat >>confdefs.h
<<\_ACEOF
18524 #define SLOW_PTHREAD_SELF 1
18529 # Check for gc debugging. This option is handled both here and in the GC.
18530 # Check whether --enable-gc-debug or --disable-gc-debug was given.
18531 if test "${enable_gc_debug+set}" = set; then
18532 enableval
="$enable_gc_debug"
18533 if test "$enable_gc_debug" = "yes"; then
18535 cat >>confdefs.h
<<\_ACEOF
18536 #define LIBGCJ_GC_DEBUG 1
18542 # See if the user has the interpreter included.
18543 # Check whether --enable-interpreter or --disable-interpreter was given.
18544 if test "${enable_interpreter+set}" = set; then
18545 enableval
="$enable_interpreter"
18546 if test "$enable_interpreter" = yes; then
18547 # This can also be set in configure.host.
18548 libgcj_interpreter
=yes
18549 elif test "$enable_interpreter" = no
; then
18550 libgcj_interpreter
=no
18554 if test "$libgcj_interpreter" = yes; then
18556 cat >>confdefs.h
<<\_ACEOF
18557 #define INTERPRETER 1
18561 INTERPRETER
="$libgcj_interpreter"
18565 if test "$libgcj_interpreter" = yes; then
18567 INTERPRETER_FALSE
='#'
18569 INTERPRETER_TRUE
='#'
18574 echo "$as_me:$LINENO: checking for exception model to use" >&5
18575 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
18577 ac_cpp
='$CXXCPP $CPPFLAGS'
18578 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18579 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18580 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18582 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
18583 if test "${enable_sjlj_exceptions+set}" = set; then
18584 enableval
="$enable_sjlj_exceptions"
18587 cat > conftest.
$ac_ext << EOF
18588 #line 18588 "configure"
18589 struct S { ~S(); };
18597 old_CXXFLAGS
="$CXXFLAGS"
18599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18600 (eval $ac_compile) 2>&5
18602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18603 (exit $ac_status); }; then
18604 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1 ; then
18605 enable_sjlj_exceptions
=yes
18606 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1 ; then
18607 enable_sjlj_exceptions
=no
18610 CXXFLAGS
="$old_CXXFLAGS"
18613 if test x
$enable_sjlj_exceptions = xyes
; then
18615 cat >>confdefs.h
<<\_ACEOF
18616 #define SJLJ_EXCEPTIONS 1
18619 ac_exception_model_name
=sjlj
18620 elif test x
$enable_sjlj_exceptions = xno
; then
18621 ac_exception_model_name
="call frame"
18623 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
18624 echo "$as_me: error: unable to detect exception model" >&2;}
18625 { (exit 1); exit 1; }; }
18628 ac_cpp
='$CPP $CPPFLAGS'
18629 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18630 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18631 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18633 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
18634 echo "${ECHO_T}$ac_exception_model_name" >&6
18636 # If we are non using SJLJ exceptions, and this host does not have support
18637 # for unwinding from a signal handler, enable checked dereferences and divides.
18638 if test $can_unwind_signal = no
&& test $enable_sjlj_exceptions = no
; then
18639 CHECKREFSPEC
=-fcheck-references
18640 DIVIDESPEC
=-fuse-divide-subroutine
18644 # See if the user wants to disable java.net. This is the mildly
18645 # ugly way that we admit that target-side configuration sucks.
18646 # Check whether --enable-java-net or --disable-java-net was given.
18647 if test "${enable_java_net+set}" = set; then
18648 enableval
="$enable_java_net"
18652 # Whether java.net is built by default can depend on the target.
18653 if test -z "$enable_java_net"; then
18654 enable_java_net
=${enable_java_net_default-yes}
18656 if test "$enable_java_net" = no
; then
18658 cat >>confdefs.h
<<\_ACEOF
18659 #define DISABLE_JAVA_NET 1
18664 # See if the user wants to configure without libffi. Some
18665 # architectures don't support it, and default values are set in
18668 # Check whether --with-libffi or --without-libffi was given.
18669 if test "${with_libffi+set}" = set; then
18670 withval
="$with_libffi"
18673 with_libffi
=${with_libffi_default-yes}
18678 if test "$with_libffi" != no
; then
18680 cat >>confdefs.h
<<\_ACEOF
18681 #define USE_LIBFFI 1
18684 LIBFFI
=..
/libffi
/libffi_convenience.la
18685 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
18690 # See if the user wants to disable JVMPI support.
18691 # Check whether --enable-jvmpi or --disable-jvmpi was given.
18692 if test "${enable_jvmpi+set}" = set; then
18693 enableval
="$enable_jvmpi"
18697 if test "$enable_jvmpi" != no
; then
18699 cat >>confdefs.h
<<\_ACEOF
18700 #define ENABLE_JVMPI 1
18705 # If the target is an eCos system, use the appropriate eCos
18707 # FIXME: this should not be a local option but a global target
18708 # system; at present there is no eCos target.
18709 TARGET_ECOS
=${PROCESS-"no"}
18711 # Check whether --with-ecos or --without-ecos was given.
18712 if test "${with_ecos+set}" = set; then
18713 withval
="$with_ecos"
18714 TARGET_ECOS
="$with_ecos"
18718 case "$TARGET_ECOS" in
18719 no
) case "$host" in
18725 echo "$as_me:$LINENO: checking whether 'ld' is at least 2.13" >&5
18726 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6
18727 LD_PROG
=`$CC --print-prog-name=ld`
18728 LD_VERSION
=`$LD_PROG --version`
18729 LD_VERSION_MAJOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
18730 LD_VERSION_MINOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
18731 if expr "$LD_VERSION_MAJOR" \
> 2 > /dev
/null
; then
18734 if expr "$LD_VERSION_MAJOR" = 2 && expr "$LD_VERSION_MINOR" \
>= 13 > /dev
/null
; then
18738 if test "x$LD_OK" != x
; then
18739 echo "$as_me:$LINENO: result: yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
18740 echo "${ECHO_T}yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
18742 echo "$as_me:$LINENO: result: no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
18743 echo "${ECHO_T}no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
18744 { echo "$as_me:$LINENO: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&5
18745 echo "$as_me: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&2;}
18747 cat >>confdefs.h
<<\_ACEOF
18748 #define JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS 1
18764 cat >>confdefs.h
<<\_ACEOF
18772 ac_config_links
="$ac_config_links include/platform.h:include/$PLATFORMH"
18775 cat >conftest.
$ac_ext <<_ACEOF
18778 cat confdefs.h
>>conftest.
$ac_ext
18779 cat >>conftest.
$ac_ext <<_ACEOF
18780 /* end confdefs.h. */
18781 #include <stdint.h>
18784 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18785 $EGREP "uint32_t" >/dev
/null
2>&1; then
18787 cat >>confdefs.h
<<\_ACEOF
18788 #define HAVE_INT32_DEFINED 1
18794 cat >conftest.
$ac_ext <<_ACEOF
18797 cat confdefs.h
>>conftest.
$ac_ext
18798 cat >>conftest.
$ac_ext <<_ACEOF
18799 /* end confdefs.h. */
18800 #include <inttypes.h>
18803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18804 $EGREP "uint32_t" >/dev
/null
2>&1; then
18806 cat >>confdefs.h
<<\_ACEOF
18807 #define HAVE_INT32_DEFINED 1
18813 cat >conftest.
$ac_ext <<_ACEOF
18816 cat confdefs.h
>>conftest.
$ac_ext
18817 cat >>conftest.
$ac_ext <<_ACEOF
18818 /* end confdefs.h. */
18819 #include <sys/types.h>
18822 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18823 $EGREP "u_int32_t" >/dev
/null
2>&1; then
18825 cat >>confdefs.h
<<\_ACEOF
18826 #define HAVE_BSD_INT32_DEFINED 1
18832 cat >conftest.
$ac_ext <<_ACEOF
18835 cat confdefs.h
>>conftest.
$ac_ext
18836 cat >>conftest.
$ac_ext <<_ACEOF
18837 /* end confdefs.h. */
18838 #include <sys/config.h>
18841 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18842 $EGREP "u_int32_t" >/dev
/null
2>&1; then
18844 cat >>confdefs.h
<<\_ACEOF
18845 #define HAVE_BSD_INT32_DEFINED 1
18854 if test "$PLATFORM" = Win32
; then
18855 USING_WIN32_PLATFORM_TRUE
=
18856 USING_WIN32_PLATFORM_FALSE
='#'
18858 USING_WIN32_PLATFORM_TRUE
='#'
18859 USING_WIN32_PLATFORM_FALSE
=
18864 if test "$PLATFORM" = Posix ||
test "$PLATFORM" = Ecos
; then
18865 USING_POSIX_PLATFORM_TRUE
=
18866 USING_POSIX_PLATFORM_FALSE
='#'
18868 USING_POSIX_PLATFORM_TRUE
='#'
18869 USING_POSIX_PLATFORM_FALSE
=
18874 *-darwin*) DARWIN_CRT
=true
;;
18875 *) DARWIN_CRT
=false
;;
18879 if $DARWIN_CRT; then
18880 USING_DARWIN_CRT_TRUE
=
18881 USING_DARWIN_CRT_FALSE
='#'
18883 USING_DARWIN_CRT_TRUE
='#'
18884 USING_DARWIN_CRT_FALSE
=
18888 # This may not be defined in a non-ANS conformant embedded system.
18889 # FIXME: Should these case a runtime exception in that case?
18890 cat >conftest.
$ac_ext <<_ACEOF
18893 cat confdefs.h
>>conftest.
$ac_ext
18894 cat >>conftest.
$ac_ext <<_ACEOF
18895 /* end confdefs.h. */
18899 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18900 $EGREP "localtime" >/dev
/null
2>&1; then
18902 cat >>confdefs.h
<<\_ACEOF
18903 #define HAVE_LOCALTIME 1
18910 # Create the subdirectory for natFile.cc, or the attempt
18911 # to create the link will fail.
18912 test -d java || mkdir java
18913 test -d java
/io || mkdir java
/io
18914 test -d gnu || mkdir gnu
18915 ac_config_links
="$ac_config_links java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc"
18918 # Likewise for natConcreteProcess.cc.
18919 test -d java
/lang || mkdir java
/lang
18920 ac_config_links
="$ac_config_links java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc"
18923 # Likewise for natVMInetAddress.cc and natVMNetworkInterface.cc.
18924 test -d java
/net || mkdir java
/net
18925 ac_config_links
="$ac_config_links java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc"
18927 ac_config_links
="$ac_config_links java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc"
18930 # Likewise for natPlainSocketImpl.cc and natPlainDatagramSocketImpl.cc.
18931 test -d gnu
/java || mkdir gnu
/java
18932 test -d gnu
/java
/net || mkdir gnu
/java
/net
18933 ac_config_links
="$ac_config_links gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc"
18935 ac_config_links
="$ac_config_links gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc"
18938 # Likewise for natVMPipe.cc and natVMSelector.cc.
18939 test -d gnu
/java
/nio || mkdir gnu
/java
/nio
18940 ac_config_links
="$ac_config_links gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc"
18942 ac_config_links
="$ac_config_links gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc"
18945 # Likewise for natFileChannelImpl.cc
18946 test -d gnu
/java
/nio
/channels || mkdir gnu
/java
/nio
/channels
18947 ac_config_links
="$ac_config_links gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc"
18952 SYSTEMSPEC
="-lgdi32 -lws2_32"
18953 if test "${with_win32_nlsapi}" = "unicows"; then
18954 SYSTEMSPEC
="-lunicows $SYSTEMSPEC"
18964 # Check whether --with-system-zlib or --without-system-zlib was given.
18965 if test "${with_system_zlib+set}" = set; then
18966 withval
="$with_system_zlib"
18974 echo "$as_me:$LINENO: checking for X" >&5
18975 echo $ECHO_N "checking for X... $ECHO_C" >&6
18978 # Check whether --with-x or --without-x was given.
18979 if test "${with_x+set}" = set; then
18983 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
18984 if test "x$with_x" = xno
; then
18985 # The user explicitly disabled X.
18988 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
18989 # Both variables are already set.
18992 if test "${ac_cv_have_x+set}" = set; then
18993 echo $ECHO_N "(cached) $ECHO_C" >&6
18995 # One or both of the vars are not set, and there is no cached value.
18996 ac_x_includes
=no ac_x_libraries
=no
18997 rm -fr conftest.dir
18998 if mkdir conftest.dir
; then
19000 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
19001 cat >Imakefile
<<'_ACEOF'
19003 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
19005 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
19006 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19007 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
19008 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
19009 for ac_extension
in a so sl
; do
19010 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
19011 test -f $ac_im_libdir/libX11.
$ac_extension; then
19012 ac_im_usrlibdir
=$ac_im_libdir; break
19015 # Screen out bogus values from the imake configuration. They are
19016 # bogus both because they are the default anyway, and because
19017 # using them would break gcc on systems where it needs fixed includes.
19018 case $ac_im_incroot in
19020 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
19022 case $ac_im_usrlibdir in
19023 /usr
/lib |
/lib
) ;;
19024 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
19028 rm -fr conftest.dir
19031 # Standard set of common directories for X headers.
19032 # Check X11 before X11Rn because it is often a symlink to the current release.
19044 /usr/local/X11/include
19045 /usr/local/X11R6/include
19046 /usr/local/X11R5/include
19047 /usr/local/X11R4/include
19049 /usr/local/include/X11
19050 /usr/local/include/X11R6
19051 /usr/local/include/X11R5
19052 /usr/local/include/X11R4
19056 /usr/XFree86/include/X11
19060 /usr/unsupported/include
19061 /usr/athena/include
19062 /usr/local/x11r5/include
19063 /usr/lpp/Xamples/include
19065 /usr/openwin/include
19066 /usr/openwin/share/include'
19068 if test "$ac_x_includes" = no
; then
19069 # Guess where to find include files, by looking for Intrinsic.h.
19070 # First, try using that file with no special directory specified.
19071 cat >conftest.
$ac_ext <<_ACEOF
19074 cat confdefs.h
>>conftest.
$ac_ext
19075 cat >>conftest.
$ac_ext <<_ACEOF
19076 /* end confdefs.h. */
19077 #include <X11/Intrinsic.h>
19079 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19080 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19082 grep -v '^ *+' conftest.er1
>conftest.err
19084 cat conftest.err
>&5
19085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19086 (exit $ac_status); } >/dev
/null
; then
19087 if test -s conftest.err
; then
19088 ac_cpp_err
=$ac_c_preproc_warn_flag
19089 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19096 if test -z "$ac_cpp_err"; then
19097 # We can compile using X headers with no special include directory.
19100 echo "$as_me: failed program was:" >&5
19101 sed 's/^/| /' conftest.
$ac_ext >&5
19103 for ac_dir
in $ac_x_header_dirs; do
19104 if test -r "$ac_dir/X11/Intrinsic.h"; then
19105 ac_x_includes
=$ac_dir
19110 rm -f conftest.err conftest.
$ac_ext
19111 fi # $ac_x_includes = no
19113 if test "$ac_x_libraries" = no
; then
19114 # Check for the libraries.
19115 # See if we find them without any special options.
19116 # Don't add to $LIBS permanently.
19119 if test x
$gcc_no_link = xyes
; then
19120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19122 { (exit 1); exit 1; }; }
19124 cat >conftest.
$ac_ext <<_ACEOF
19127 cat confdefs.h
>>conftest.
$ac_ext
19128 cat >>conftest.
$ac_ext <<_ACEOF
19129 /* end confdefs.h. */
19130 #include <X11/Intrinsic.h>
19139 rm -f conftest.
$ac_objext conftest
$ac_exeext
19140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19141 (eval $ac_link) 2>conftest.er1
19143 grep -v '^ *+' conftest.er1
>conftest.err
19145 cat conftest.err
>&5
19146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147 (exit $ac_status); } &&
19148 { ac_try
='test -z "$ac_c_werror_flag"
19149 || test ! -s conftest.err'
19150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19151 (eval $ac_try) 2>&5
19153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19154 (exit $ac_status); }; } &&
19155 { ac_try
='test -s conftest$ac_exeext'
19156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19157 (eval $ac_try) 2>&5
19159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19160 (exit $ac_status); }; }; then
19162 # We can link X programs with no special library path.
19165 echo "$as_me: failed program was:" >&5
19166 sed 's/^/| /' conftest.
$ac_ext >&5
19169 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
19171 # Don't even attempt the hair of trying to link an X program!
19172 for ac_extension
in a so sl
; do
19173 if test -r $ac_dir/libXt.
$ac_extension; then
19174 ac_x_libraries
=$ac_dir
19180 rm -f conftest.err conftest.
$ac_objext \
19181 conftest
$ac_exeext conftest.
$ac_ext
19182 fi # $ac_x_libraries = no
19184 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
19185 # Didn't find X anywhere. Cache the known absence of X.
19186 ac_cv_have_x
="have_x=no"
19188 # Record where we found X for the cache.
19189 ac_cv_have_x
="have_x=yes \
19190 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
19195 eval "$ac_cv_have_x"
19198 if test "$have_x" != yes; then
19199 echo "$as_me:$LINENO: result: $have_x" >&5
19200 echo "${ECHO_T}$have_x" >&6
19203 # If each of the values was on the command line, it overrides each guess.
19204 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
19205 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
19206 # Update the cache value to reflect the command line values.
19207 ac_cv_have_x
="have_x=yes \
19208 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
19209 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
19210 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
19213 if test "$no_x" = yes; then
19214 # Not all programs may use this symbol, but it does not hurt to define it.
19216 cat >>confdefs.h
<<\_ACEOF
19217 #define X_DISPLAY_MISSING 1
19220 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
19222 if test -n "$x_includes"; then
19223 X_CFLAGS
="$X_CFLAGS -I$x_includes"
19226 # It would also be nice to do this for all -L options, not just this one.
19227 if test -n "$x_libraries"; then
19228 X_LIBS
="$X_LIBS -L$x_libraries"
19229 # For Solaris; some versions of Sun CC require a space after -R and
19230 # others require no space. Words are not sufficient . . . .
19231 case `(uname -sr) 2>/dev/null` in
19233 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
19234 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
19235 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
19236 if test x
$gcc_no_link = xyes
; then
19237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19239 { (exit 1); exit 1; }; }
19241 cat >conftest.
$ac_ext <<_ACEOF
19244 cat confdefs.h
>>conftest.
$ac_ext
19245 cat >>conftest.
$ac_ext <<_ACEOF
19246 /* end confdefs.h. */
19256 rm -f conftest.
$ac_objext conftest
$ac_exeext
19257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19258 (eval $ac_link) 2>conftest.er1
19260 grep -v '^ *+' conftest.er1
>conftest.err
19262 cat conftest.err
>&5
19263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264 (exit $ac_status); } &&
19265 { ac_try
='test -z "$ac_c_werror_flag"
19266 || test ! -s conftest.err'
19267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19268 (eval $ac_try) 2>&5
19270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 (exit $ac_status); }; } &&
19272 { ac_try
='test -s conftest$ac_exeext'
19273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19274 (eval $ac_try) 2>&5
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); }; }; then
19280 echo "$as_me: failed program was:" >&5
19281 sed 's/^/| /' conftest.
$ac_ext >&5
19285 rm -f conftest.err conftest.
$ac_objext \
19286 conftest
$ac_exeext conftest.
$ac_ext
19287 if test $ac_R_nospace = yes; then
19288 echo "$as_me:$LINENO: result: no" >&5
19289 echo "${ECHO_T}no" >&6
19290 X_LIBS
="$X_LIBS -R$x_libraries"
19292 LIBS
="$ac_xsave_LIBS -R $x_libraries"
19293 if test x
$gcc_no_link = xyes
; then
19294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19296 { (exit 1); exit 1; }; }
19298 cat >conftest.
$ac_ext <<_ACEOF
19301 cat confdefs.h
>>conftest.
$ac_ext
19302 cat >>conftest.
$ac_ext <<_ACEOF
19303 /* end confdefs.h. */
19313 rm -f conftest.
$ac_objext conftest
$ac_exeext
19314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19315 (eval $ac_link) 2>conftest.er1
19317 grep -v '^ *+' conftest.er1
>conftest.err
19319 cat conftest.err
>&5
19320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19321 (exit $ac_status); } &&
19322 { ac_try
='test -z "$ac_c_werror_flag"
19323 || test ! -s conftest.err'
19324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19325 (eval $ac_try) 2>&5
19327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19328 (exit $ac_status); }; } &&
19329 { ac_try
='test -s conftest$ac_exeext'
19330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19331 (eval $ac_try) 2>&5
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); }; }; then
19337 echo "$as_me: failed program was:" >&5
19338 sed 's/^/| /' conftest.
$ac_ext >&5
19342 rm -f conftest.err conftest.
$ac_objext \
19343 conftest
$ac_exeext conftest.
$ac_ext
19344 if test $ac_R_space = yes; then
19345 echo "$as_me:$LINENO: result: yes" >&5
19346 echo "${ECHO_T}yes" >&6
19347 X_LIBS
="$X_LIBS -R $x_libraries"
19349 echo "$as_me:$LINENO: result: neither works" >&5
19350 echo "${ECHO_T}neither works" >&6
19353 LIBS
=$ac_xsave_LIBS
19357 # Check for system-dependent libraries X programs must link with.
19358 # Do this before checking for the system-independent R6 libraries
19359 # (-lICE), since we may need -lsocket or whatever for X linking.
19361 if test "$ISC" = yes; then
19362 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
19364 # Martyn Johnson says this is needed for Ultrix, if the X
19365 # libraries were built with DECnet support. And Karl Berry says
19366 # the Alpha needs dnet_stub (dnet does not exist).
19367 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
19368 if test x
$gcc_no_link = xyes
; then
19369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19371 { (exit 1); exit 1; }; }
19373 cat >conftest.
$ac_ext <<_ACEOF
19376 cat confdefs.h
>>conftest.
$ac_ext
19377 cat >>conftest.
$ac_ext <<_ACEOF
19378 /* end confdefs.h. */
19380 /* Override any gcc2 internal prototype to avoid an error. */
19384 /* We use char because int might match the return type of a gcc2
19385 builtin and then its argument prototype would still apply. */
19386 char XOpenDisplay ();
19395 rm -f conftest.
$ac_objext conftest
$ac_exeext
19396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19397 (eval $ac_link) 2>conftest.er1
19399 grep -v '^ *+' conftest.er1
>conftest.err
19401 cat conftest.err
>&5
19402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403 (exit $ac_status); } &&
19404 { ac_try
='test -z "$ac_c_werror_flag"
19405 || test ! -s conftest.err'
19406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19407 (eval $ac_try) 2>&5
19409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19410 (exit $ac_status); }; } &&
19411 { ac_try
='test -s conftest$ac_exeext'
19412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19413 (eval $ac_try) 2>&5
19415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19416 (exit $ac_status); }; }; then
19419 echo "$as_me: failed program was:" >&5
19420 sed 's/^/| /' conftest.
$ac_ext >&5
19422 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
19423 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
19424 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
19425 echo $ECHO_N "(cached) $ECHO_C" >&6
19427 ac_check_lib_save_LIBS
=$LIBS
19428 LIBS
="-ldnet $LIBS"
19429 if test x
$gcc_no_link = xyes
; then
19430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19432 { (exit 1); exit 1; }; }
19434 cat >conftest.
$ac_ext <<_ACEOF
19437 cat confdefs.h
>>conftest.
$ac_ext
19438 cat >>conftest.
$ac_ext <<_ACEOF
19439 /* end confdefs.h. */
19441 /* Override any gcc2 internal prototype to avoid an error. */
19445 /* We use char because int might match the return type of a gcc2
19446 builtin and then its argument prototype would still apply. */
19456 rm -f conftest.
$ac_objext conftest
$ac_exeext
19457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19458 (eval $ac_link) 2>conftest.er1
19460 grep -v '^ *+' conftest.er1
>conftest.err
19462 cat conftest.err
>&5
19463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19464 (exit $ac_status); } &&
19465 { ac_try
='test -z "$ac_c_werror_flag"
19466 || test ! -s conftest.err'
19467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19468 (eval $ac_try) 2>&5
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); }; } &&
19472 { ac_try
='test -s conftest$ac_exeext'
19473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19474 (eval $ac_try) 2>&5
19476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477 (exit $ac_status); }; }; then
19478 ac_cv_lib_dnet_dnet_ntoa
=yes
19480 echo "$as_me: failed program was:" >&5
19481 sed 's/^/| /' conftest.
$ac_ext >&5
19483 ac_cv_lib_dnet_dnet_ntoa
=no
19485 rm -f conftest.err conftest.
$ac_objext \
19486 conftest
$ac_exeext conftest.
$ac_ext
19487 LIBS
=$ac_check_lib_save_LIBS
19489 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
19490 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
19491 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
19492 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
19495 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
19496 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
19497 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
19498 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
19499 echo $ECHO_N "(cached) $ECHO_C" >&6
19501 ac_check_lib_save_LIBS
=$LIBS
19502 LIBS
="-ldnet_stub $LIBS"
19503 if test x
$gcc_no_link = xyes
; then
19504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19506 { (exit 1); exit 1; }; }
19508 cat >conftest.
$ac_ext <<_ACEOF
19511 cat confdefs.h
>>conftest.
$ac_ext
19512 cat >>conftest.
$ac_ext <<_ACEOF
19513 /* end confdefs.h. */
19515 /* Override any gcc2 internal prototype to avoid an error. */
19519 /* We use char because int might match the return type of a gcc2
19520 builtin and then its argument prototype would still apply. */
19530 rm -f conftest.
$ac_objext conftest
$ac_exeext
19531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19532 (eval $ac_link) 2>conftest.er1
19534 grep -v '^ *+' conftest.er1
>conftest.err
19536 cat conftest.err
>&5
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); } &&
19539 { ac_try
='test -z "$ac_c_werror_flag"
19540 || test ! -s conftest.err'
19541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19542 (eval $ac_try) 2>&5
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); }; } &&
19546 { ac_try
='test -s conftest$ac_exeext'
19547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19548 (eval $ac_try) 2>&5
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551 (exit $ac_status); }; }; then
19552 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
19554 echo "$as_me: failed program was:" >&5
19555 sed 's/^/| /' conftest.
$ac_ext >&5
19557 ac_cv_lib_dnet_stub_dnet_ntoa
=no
19559 rm -f conftest.err conftest.
$ac_objext \
19560 conftest
$ac_exeext conftest.
$ac_ext
19561 LIBS
=$ac_check_lib_save_LIBS
19563 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
19564 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
19565 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
19566 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
19571 rm -f conftest.err conftest.
$ac_objext \
19572 conftest
$ac_exeext conftest.
$ac_ext
19573 LIBS
="$ac_xsave_LIBS"
19575 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
19576 # to get the SysV transport functions.
19577 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
19579 # The nsl library prevents programs from opening the X display
19580 # on Irix 5.2, according to T.E. Dickey.
19581 # The functions gethostbyname, getservbyname, and inet_addr are
19582 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
19583 echo "$as_me:$LINENO: checking for gethostbyname" >&5
19584 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
19585 if test "${ac_cv_func_gethostbyname+set}" = set; then
19586 echo $ECHO_N "(cached) $ECHO_C" >&6
19588 if test x
$gcc_no_link = xyes
; then
19589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19591 { (exit 1); exit 1; }; }
19593 cat >conftest.
$ac_ext <<_ACEOF
19596 cat confdefs.h
>>conftest.
$ac_ext
19597 cat >>conftest.
$ac_ext <<_ACEOF
19598 /* end confdefs.h. */
19599 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
19600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19601 #define gethostbyname innocuous_gethostbyname
19603 /* System header to define __stub macros and hopefully few prototypes,
19604 which can conflict with char gethostbyname (); below.
19605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19606 <limits.h> exists even on freestanding compilers. */
19609 # include <limits.h>
19611 # include <assert.h>
19614 #undef gethostbyname
19616 /* Override any gcc2 internal prototype to avoid an error. */
19621 /* We use char because int might match the return type of a gcc2
19622 builtin and then its argument prototype would still apply. */
19623 char gethostbyname ();
19624 /* The GNU C library defines this for functions which it implements
19625 to always fail with ENOSYS. Some functions are actually named
19626 something starting with __ and the normal name is an alias. */
19627 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
19630 char (*f) () = gethostbyname;
19639 return f != gethostbyname;
19644 rm -f conftest.
$ac_objext conftest
$ac_exeext
19645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19646 (eval $ac_link) 2>conftest.er1
19648 grep -v '^ *+' conftest.er1
>conftest.err
19650 cat conftest.err
>&5
19651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19652 (exit $ac_status); } &&
19653 { ac_try
='test -z "$ac_c_werror_flag"
19654 || test ! -s conftest.err'
19655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19656 (eval $ac_try) 2>&5
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); }; } &&
19660 { ac_try
='test -s conftest$ac_exeext'
19661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19662 (eval $ac_try) 2>&5
19664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19665 (exit $ac_status); }; }; then
19666 ac_cv_func_gethostbyname
=yes
19668 echo "$as_me: failed program was:" >&5
19669 sed 's/^/| /' conftest.
$ac_ext >&5
19671 ac_cv_func_gethostbyname
=no
19673 rm -f conftest.err conftest.
$ac_objext \
19674 conftest
$ac_exeext conftest.
$ac_ext
19676 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
19677 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
19679 if test $ac_cv_func_gethostbyname = no
; then
19680 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
19681 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
19682 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
19683 echo $ECHO_N "(cached) $ECHO_C" >&6
19685 ac_check_lib_save_LIBS
=$LIBS
19687 if test x
$gcc_no_link = xyes
; then
19688 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19690 { (exit 1); exit 1; }; }
19692 cat >conftest.
$ac_ext <<_ACEOF
19695 cat confdefs.h
>>conftest.
$ac_ext
19696 cat >>conftest.
$ac_ext <<_ACEOF
19697 /* end confdefs.h. */
19699 /* Override any gcc2 internal prototype to avoid an error. */
19703 /* We use char because int might match the return type of a gcc2
19704 builtin and then its argument prototype would still apply. */
19705 char gethostbyname ();
19714 rm -f conftest.
$ac_objext conftest
$ac_exeext
19715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19716 (eval $ac_link) 2>conftest.er1
19718 grep -v '^ *+' conftest.er1
>conftest.err
19720 cat conftest.err
>&5
19721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19722 (exit $ac_status); } &&
19723 { ac_try
='test -z "$ac_c_werror_flag"
19724 || test ! -s conftest.err'
19725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19726 (eval $ac_try) 2>&5
19728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19729 (exit $ac_status); }; } &&
19730 { ac_try
='test -s conftest$ac_exeext'
19731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19732 (eval $ac_try) 2>&5
19734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19735 (exit $ac_status); }; }; then
19736 ac_cv_lib_nsl_gethostbyname
=yes
19738 echo "$as_me: failed program was:" >&5
19739 sed 's/^/| /' conftest.
$ac_ext >&5
19741 ac_cv_lib_nsl_gethostbyname
=no
19743 rm -f conftest.err conftest.
$ac_objext \
19744 conftest
$ac_exeext conftest.
$ac_ext
19745 LIBS
=$ac_check_lib_save_LIBS
19747 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
19748 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
19749 if test $ac_cv_lib_nsl_gethostbyname = yes; then
19750 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
19753 if test $ac_cv_lib_nsl_gethostbyname = no
; then
19754 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
19755 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
19756 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
19757 echo $ECHO_N "(cached) $ECHO_C" >&6
19759 ac_check_lib_save_LIBS
=$LIBS
19761 if test x
$gcc_no_link = xyes
; then
19762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19764 { (exit 1); exit 1; }; }
19766 cat >conftest.
$ac_ext <<_ACEOF
19769 cat confdefs.h
>>conftest.
$ac_ext
19770 cat >>conftest.
$ac_ext <<_ACEOF
19771 /* end confdefs.h. */
19773 /* Override any gcc2 internal prototype to avoid an error. */
19777 /* We use char because int might match the return type of a gcc2
19778 builtin and then its argument prototype would still apply. */
19779 char gethostbyname ();
19788 rm -f conftest.
$ac_objext conftest
$ac_exeext
19789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19790 (eval $ac_link) 2>conftest.er1
19792 grep -v '^ *+' conftest.er1
>conftest.err
19794 cat conftest.err
>&5
19795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19796 (exit $ac_status); } &&
19797 { ac_try
='test -z "$ac_c_werror_flag"
19798 || test ! -s conftest.err'
19799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19800 (eval $ac_try) 2>&5
19802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19803 (exit $ac_status); }; } &&
19804 { ac_try
='test -s conftest$ac_exeext'
19805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19806 (eval $ac_try) 2>&5
19808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19809 (exit $ac_status); }; }; then
19810 ac_cv_lib_bsd_gethostbyname
=yes
19812 echo "$as_me: failed program was:" >&5
19813 sed 's/^/| /' conftest.
$ac_ext >&5
19815 ac_cv_lib_bsd_gethostbyname
=no
19817 rm -f conftest.err conftest.
$ac_objext \
19818 conftest
$ac_exeext conftest.
$ac_ext
19819 LIBS
=$ac_check_lib_save_LIBS
19821 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
19822 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
19823 if test $ac_cv_lib_bsd_gethostbyname = yes; then
19824 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
19830 # lieder@skyler.mavd.honeywell.com says without -lsocket,
19831 # socket/setsockopt and other routines are undefined under SCO ODT
19832 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
19833 # on later versions), says Simon Leinen: it contains gethostby*
19834 # variants that don't use the name server (or something). -lsocket
19835 # must be given before -lnsl if both are needed. We assume that
19836 # if connect needs -lnsl, so does gethostbyname.
19837 echo "$as_me:$LINENO: checking for connect" >&5
19838 echo $ECHO_N "checking for connect... $ECHO_C" >&6
19839 if test "${ac_cv_func_connect+set}" = set; then
19840 echo $ECHO_N "(cached) $ECHO_C" >&6
19842 if test x
$gcc_no_link = xyes
; then
19843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19845 { (exit 1); exit 1; }; }
19847 cat >conftest.
$ac_ext <<_ACEOF
19850 cat confdefs.h
>>conftest.
$ac_ext
19851 cat >>conftest.
$ac_ext <<_ACEOF
19852 /* end confdefs.h. */
19853 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
19854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19855 #define connect innocuous_connect
19857 /* System header to define __stub macros and hopefully few prototypes,
19858 which can conflict with char connect (); below.
19859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19860 <limits.h> exists even on freestanding compilers. */
19863 # include <limits.h>
19865 # include <assert.h>
19870 /* Override any gcc2 internal prototype to avoid an error. */
19875 /* We use char because int might match the return type of a gcc2
19876 builtin and then its argument prototype would still apply. */
19878 /* The GNU C library defines this for functions which it implements
19879 to always fail with ENOSYS. Some functions are actually named
19880 something starting with __ and the normal name is an alias. */
19881 #if defined (__stub_connect) || defined (__stub___connect)
19884 char (*f) () = connect;
19893 return f != connect;
19898 rm -f conftest.
$ac_objext conftest
$ac_exeext
19899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19900 (eval $ac_link) 2>conftest.er1
19902 grep -v '^ *+' conftest.er1
>conftest.err
19904 cat conftest.err
>&5
19905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19906 (exit $ac_status); } &&
19907 { ac_try
='test -z "$ac_c_werror_flag"
19908 || test ! -s conftest.err'
19909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19910 (eval $ac_try) 2>&5
19912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19913 (exit $ac_status); }; } &&
19914 { ac_try
='test -s conftest$ac_exeext'
19915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19916 (eval $ac_try) 2>&5
19918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919 (exit $ac_status); }; }; then
19920 ac_cv_func_connect
=yes
19922 echo "$as_me: failed program was:" >&5
19923 sed 's/^/| /' conftest.
$ac_ext >&5
19925 ac_cv_func_connect
=no
19927 rm -f conftest.err conftest.
$ac_objext \
19928 conftest
$ac_exeext conftest.
$ac_ext
19930 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
19931 echo "${ECHO_T}$ac_cv_func_connect" >&6
19933 if test $ac_cv_func_connect = no
; then
19934 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
19935 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
19936 if test "${ac_cv_lib_socket_connect+set}" = set; then
19937 echo $ECHO_N "(cached) $ECHO_C" >&6
19939 ac_check_lib_save_LIBS
=$LIBS
19940 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
19941 if test x
$gcc_no_link = xyes
; then
19942 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19944 { (exit 1); exit 1; }; }
19946 cat >conftest.
$ac_ext <<_ACEOF
19949 cat confdefs.h
>>conftest.
$ac_ext
19950 cat >>conftest.
$ac_ext <<_ACEOF
19951 /* end confdefs.h. */
19953 /* Override any gcc2 internal prototype to avoid an error. */
19957 /* We use char because int might match the return type of a gcc2
19958 builtin and then its argument prototype would still apply. */
19968 rm -f conftest.
$ac_objext conftest
$ac_exeext
19969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19970 (eval $ac_link) 2>conftest.er1
19972 grep -v '^ *+' conftest.er1
>conftest.err
19974 cat conftest.err
>&5
19975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19976 (exit $ac_status); } &&
19977 { ac_try
='test -z "$ac_c_werror_flag"
19978 || test ! -s conftest.err'
19979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19980 (eval $ac_try) 2>&5
19982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19983 (exit $ac_status); }; } &&
19984 { ac_try
='test -s conftest$ac_exeext'
19985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19986 (eval $ac_try) 2>&5
19988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19989 (exit $ac_status); }; }; then
19990 ac_cv_lib_socket_connect
=yes
19992 echo "$as_me: failed program was:" >&5
19993 sed 's/^/| /' conftest.
$ac_ext >&5
19995 ac_cv_lib_socket_connect
=no
19997 rm -f conftest.err conftest.
$ac_objext \
19998 conftest
$ac_exeext conftest.
$ac_ext
19999 LIBS
=$ac_check_lib_save_LIBS
20001 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
20002 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
20003 if test $ac_cv_lib_socket_connect = yes; then
20004 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
20009 # Guillermo Gomez says -lposix is necessary on A/UX.
20010 echo "$as_me:$LINENO: checking for remove" >&5
20011 echo $ECHO_N "checking for remove... $ECHO_C" >&6
20012 if test "${ac_cv_func_remove+set}" = set; then
20013 echo $ECHO_N "(cached) $ECHO_C" >&6
20015 if test x
$gcc_no_link = xyes
; then
20016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20018 { (exit 1); exit 1; }; }
20020 cat >conftest.
$ac_ext <<_ACEOF
20023 cat confdefs.h
>>conftest.
$ac_ext
20024 cat >>conftest.
$ac_ext <<_ACEOF
20025 /* end confdefs.h. */
20026 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
20027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20028 #define remove innocuous_remove
20030 /* System header to define __stub macros and hopefully few prototypes,
20031 which can conflict with char remove (); below.
20032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20033 <limits.h> exists even on freestanding compilers. */
20036 # include <limits.h>
20038 # include <assert.h>
20043 /* Override any gcc2 internal prototype to avoid an error. */
20048 /* We use char because int might match the return type of a gcc2
20049 builtin and then its argument prototype would still apply. */
20051 /* The GNU C library defines this for functions which it implements
20052 to always fail with ENOSYS. Some functions are actually named
20053 something starting with __ and the normal name is an alias. */
20054 #if defined (__stub_remove) || defined (__stub___remove)
20057 char (*f) () = remove;
20066 return f != remove;
20071 rm -f conftest.
$ac_objext conftest
$ac_exeext
20072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20073 (eval $ac_link) 2>conftest.er1
20075 grep -v '^ *+' conftest.er1
>conftest.err
20077 cat conftest.err
>&5
20078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20079 (exit $ac_status); } &&
20080 { ac_try
='test -z "$ac_c_werror_flag"
20081 || test ! -s conftest.err'
20082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20083 (eval $ac_try) 2>&5
20085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20086 (exit $ac_status); }; } &&
20087 { ac_try
='test -s conftest$ac_exeext'
20088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20089 (eval $ac_try) 2>&5
20091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20092 (exit $ac_status); }; }; then
20093 ac_cv_func_remove
=yes
20095 echo "$as_me: failed program was:" >&5
20096 sed 's/^/| /' conftest.
$ac_ext >&5
20098 ac_cv_func_remove
=no
20100 rm -f conftest.err conftest.
$ac_objext \
20101 conftest
$ac_exeext conftest.
$ac_ext
20103 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
20104 echo "${ECHO_T}$ac_cv_func_remove" >&6
20106 if test $ac_cv_func_remove = no
; then
20107 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
20108 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
20109 if test "${ac_cv_lib_posix_remove+set}" = set; then
20110 echo $ECHO_N "(cached) $ECHO_C" >&6
20112 ac_check_lib_save_LIBS
=$LIBS
20113 LIBS
="-lposix $LIBS"
20114 if test x
$gcc_no_link = xyes
; then
20115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20117 { (exit 1); exit 1; }; }
20119 cat >conftest.
$ac_ext <<_ACEOF
20122 cat confdefs.h
>>conftest.
$ac_ext
20123 cat >>conftest.
$ac_ext <<_ACEOF
20124 /* end confdefs.h. */
20126 /* Override any gcc2 internal prototype to avoid an error. */
20130 /* We use char because int might match the return type of a gcc2
20131 builtin and then its argument prototype would still apply. */
20141 rm -f conftest.
$ac_objext conftest
$ac_exeext
20142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20143 (eval $ac_link) 2>conftest.er1
20145 grep -v '^ *+' conftest.er1
>conftest.err
20147 cat conftest.err
>&5
20148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20149 (exit $ac_status); } &&
20150 { ac_try
='test -z "$ac_c_werror_flag"
20151 || test ! -s conftest.err'
20152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20153 (eval $ac_try) 2>&5
20155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20156 (exit $ac_status); }; } &&
20157 { ac_try
='test -s conftest$ac_exeext'
20158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20159 (eval $ac_try) 2>&5
20161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20162 (exit $ac_status); }; }; then
20163 ac_cv_lib_posix_remove
=yes
20165 echo "$as_me: failed program was:" >&5
20166 sed 's/^/| /' conftest.
$ac_ext >&5
20168 ac_cv_lib_posix_remove
=no
20170 rm -f conftest.err conftest.
$ac_objext \
20171 conftest
$ac_exeext conftest.
$ac_ext
20172 LIBS
=$ac_check_lib_save_LIBS
20174 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
20175 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
20176 if test $ac_cv_lib_posix_remove = yes; then
20177 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
20182 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
20183 echo "$as_me:$LINENO: checking for shmat" >&5
20184 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
20185 if test "${ac_cv_func_shmat+set}" = set; then
20186 echo $ECHO_N "(cached) $ECHO_C" >&6
20188 if test x
$gcc_no_link = xyes
; then
20189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20191 { (exit 1); exit 1; }; }
20193 cat >conftest.
$ac_ext <<_ACEOF
20196 cat confdefs.h
>>conftest.
$ac_ext
20197 cat >>conftest.
$ac_ext <<_ACEOF
20198 /* end confdefs.h. */
20199 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
20200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20201 #define shmat innocuous_shmat
20203 /* System header to define __stub macros and hopefully few prototypes,
20204 which can conflict with char shmat (); below.
20205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20206 <limits.h> exists even on freestanding compilers. */
20209 # include <limits.h>
20211 # include <assert.h>
20216 /* Override any gcc2 internal prototype to avoid an error. */
20221 /* We use char because int might match the return type of a gcc2
20222 builtin and then its argument prototype would still apply. */
20224 /* The GNU C library defines this for functions which it implements
20225 to always fail with ENOSYS. Some functions are actually named
20226 something starting with __ and the normal name is an alias. */
20227 #if defined (__stub_shmat) || defined (__stub___shmat)
20230 char (*f) () = shmat;
20244 rm -f conftest.
$ac_objext conftest
$ac_exeext
20245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20246 (eval $ac_link) 2>conftest.er1
20248 grep -v '^ *+' conftest.er1
>conftest.err
20250 cat conftest.err
>&5
20251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20252 (exit $ac_status); } &&
20253 { ac_try
='test -z "$ac_c_werror_flag"
20254 || test ! -s conftest.err'
20255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20256 (eval $ac_try) 2>&5
20258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20259 (exit $ac_status); }; } &&
20260 { ac_try
='test -s conftest$ac_exeext'
20261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20262 (eval $ac_try) 2>&5
20264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20265 (exit $ac_status); }; }; then
20266 ac_cv_func_shmat
=yes
20268 echo "$as_me: failed program was:" >&5
20269 sed 's/^/| /' conftest.
$ac_ext >&5
20271 ac_cv_func_shmat
=no
20273 rm -f conftest.err conftest.
$ac_objext \
20274 conftest
$ac_exeext conftest.
$ac_ext
20276 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
20277 echo "${ECHO_T}$ac_cv_func_shmat" >&6
20279 if test $ac_cv_func_shmat = no
; then
20280 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
20281 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
20282 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
20283 echo $ECHO_N "(cached) $ECHO_C" >&6
20285 ac_check_lib_save_LIBS
=$LIBS
20287 if test x
$gcc_no_link = xyes
; then
20288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20290 { (exit 1); exit 1; }; }
20292 cat >conftest.
$ac_ext <<_ACEOF
20295 cat confdefs.h
>>conftest.
$ac_ext
20296 cat >>conftest.
$ac_ext <<_ACEOF
20297 /* end confdefs.h. */
20299 /* Override any gcc2 internal prototype to avoid an error. */
20303 /* We use char because int might match the return type of a gcc2
20304 builtin and then its argument prototype would still apply. */
20314 rm -f conftest.
$ac_objext conftest
$ac_exeext
20315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20316 (eval $ac_link) 2>conftest.er1
20318 grep -v '^ *+' conftest.er1
>conftest.err
20320 cat conftest.err
>&5
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); } &&
20323 { ac_try
='test -z "$ac_c_werror_flag"
20324 || test ! -s conftest.err'
20325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20326 (eval $ac_try) 2>&5
20328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20329 (exit $ac_status); }; } &&
20330 { ac_try
='test -s conftest$ac_exeext'
20331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20332 (eval $ac_try) 2>&5
20334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20335 (exit $ac_status); }; }; then
20336 ac_cv_lib_ipc_shmat
=yes
20338 echo "$as_me: failed program was:" >&5
20339 sed 's/^/| /' conftest.
$ac_ext >&5
20341 ac_cv_lib_ipc_shmat
=no
20343 rm -f conftest.err conftest.
$ac_objext \
20344 conftest
$ac_exeext conftest.
$ac_ext
20345 LIBS
=$ac_check_lib_save_LIBS
20347 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
20348 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
20349 if test $ac_cv_lib_ipc_shmat = yes; then
20350 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
20356 # Check for libraries that X11R6 Xt/Xaw programs need.
20357 ac_save_LDFLAGS
=$LDFLAGS
20358 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
20359 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
20360 # check for ICE first), but we must link in the order -lSM -lICE or
20361 # we get undefined symbols. So assume we have SM if we have ICE.
20362 # These have to be linked with before -lX11, unlike the other
20363 # libraries we check for below, so use a different variable.
20364 # John Interrante, Karl Berry
20365 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
20366 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
20367 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
20368 echo $ECHO_N "(cached) $ECHO_C" >&6
20370 ac_check_lib_save_LIBS
=$LIBS
20371 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
20372 if test x
$gcc_no_link = xyes
; then
20373 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20375 { (exit 1); exit 1; }; }
20377 cat >conftest.
$ac_ext <<_ACEOF
20380 cat confdefs.h
>>conftest.
$ac_ext
20381 cat >>conftest.
$ac_ext <<_ACEOF
20382 /* end confdefs.h. */
20384 /* Override any gcc2 internal prototype to avoid an error. */
20388 /* We use char because int might match the return type of a gcc2
20389 builtin and then its argument prototype would still apply. */
20390 char IceConnectionNumber ();
20394 IceConnectionNumber ();
20399 rm -f conftest.
$ac_objext conftest
$ac_exeext
20400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20401 (eval $ac_link) 2>conftest.er1
20403 grep -v '^ *+' conftest.er1
>conftest.err
20405 cat conftest.err
>&5
20406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20407 (exit $ac_status); } &&
20408 { ac_try
='test -z "$ac_c_werror_flag"
20409 || test ! -s conftest.err'
20410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20411 (eval $ac_try) 2>&5
20413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20414 (exit $ac_status); }; } &&
20415 { ac_try
='test -s conftest$ac_exeext'
20416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20417 (eval $ac_try) 2>&5
20419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20420 (exit $ac_status); }; }; then
20421 ac_cv_lib_ICE_IceConnectionNumber
=yes
20423 echo "$as_me: failed program was:" >&5
20424 sed 's/^/| /' conftest.
$ac_ext >&5
20426 ac_cv_lib_ICE_IceConnectionNumber
=no
20428 rm -f conftest.err conftest.
$ac_objext \
20429 conftest
$ac_exeext conftest.
$ac_ext
20430 LIBS
=$ac_check_lib_save_LIBS
20432 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
20433 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
20434 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
20435 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
20438 LDFLAGS
=$ac_save_LDFLAGS
20443 # FIXME: this should be _libs on some hosts.
20446 LIBGCJTESTSPEC
="-L`${PWDCMD-pwd}`/.libs -rpath `${PWDCMD-pwd}`/.libs"
20449 # extra LD Flags which are required for targets
20452 # For now we have to disable it on darwin[8-9] because it slows down
20453 # the linking phase. A possible bug in ld?
20454 # on Darwin -single_module speeds up loading of the dynamic libraries.
20455 extra_ldflags_libjava
=-Wl,-single_module
20458 extra_gij_ldflags
=-Wl,-allow_stack_execute
20461 # Some of the ARM unwinder code is actually in libstdc++. We
20462 # could in principle replicate it in libgcj, but it's better to
20463 # have a dependency on libstdc++.
20464 extra_ldflags
='-L$(here)/../libstdc++-v3/src/.libs -lstdc++'
20465 LIBSTDCXXSPEC
=-lstdc++
20466 LIBGCJTESTSPEC
="-L`${PWDCMD-pwd}`/.libs -L`${PWDCMD-pwd}`/../libstdc++-v3/src/.libs -rpath `${PWDCMD-pwd}`/.libs:`${PWDCMD-pwd}`/../libstdc++-v3/src/.libs -lstdc++"
20476 # Allow the GC to be disabled. Can be useful when debugging.
20477 echo "$as_me:$LINENO: checking for garbage collector to use" >&5
20478 echo $ECHO_N "checking for garbage collector to use... $ECHO_C" >&6
20479 # Check whether --enable-java-gc or --disable-java-gc was given.
20480 if test "${enable_java_gc+set}" = set; then
20481 enableval
="$enable_java_gc"
20494 echo "$as_me:$LINENO: result: boehm" >&5
20495 echo "${ECHO_T}boehm" >&6
20496 GCLIBS
=..
/boehm-gc
/libgcjgc_convenience.la
20497 JC1GCSPEC
='-fuse-boehm-gc'
20498 GCTESTSPEC
="-L`${PWDCMD-pwd}`/../boehm-gc/.libs -rpath `${PWDCMD-pwd}`/../boehm-gc/.libs"
20499 GCINCS
='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include'
20502 # The POSIX thread support needs to know this.
20504 cat >>confdefs.h
<<\_ACEOF
20505 #define HAVE_BOEHM_GC 1
20510 echo "$as_me:$LINENO: result: none" >&5
20511 echo "${ECHO_T}none" >&6
20515 { { echo "$as_me:$LINENO: error: unrecognized collector \"$GC\"" >&5
20516 echo "$as_me: error: unrecognized collector \"$GC\"" >&2;}
20517 { (exit 1); exit 1; }; }
20526 ac_config_links
="$ac_config_links include/java-gc.h:include/$GCHDR"
20530 if test "$GC" = boehm
; then
20531 USING_BOEHMGC_TRUE
=
20532 USING_BOEHMGC_FALSE
='#'
20534 USING_BOEHMGC_TRUE
='#'
20535 USING_BOEHMGC_FALSE
=
20540 if test "$GC" = no
; then
20542 USING_NOGC_FALSE
='#'
20544 USING_NOGC_TRUE
='#'
20550 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
20551 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
20552 THREADS
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
20553 echo "$as_me:$LINENO: result: $THREADS" >&5
20554 echo "${ECHO_T}$THREADS" >&6
20557 no | none | single
)
20560 posix | posix95 | pthreads
)
20565 cat >>confdefs.h
<<\_ACEOF
20566 #define LINUX_THREADS 1
20574 decosf1 | irix | mach | os2 | solaris | dce | vxworks
)
20575 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
20576 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
20577 { (exit 1); exit 1; }; }
20580 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
20581 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
20582 { (exit 1); exit 1; }; }
20593 THREADSTARTFILESPEC
=
20598 # Don't set THREADLIBS here. Cygwin doesn't have -lpthread.
20600 *-*-freebsd[1234]*)
20601 # Before FreeBSD 5, it didn't have -lpthread (or any library which
20602 # merely adds pthread_* functions) but it does have a -pthread switch
20603 # which is required at link-time to select -lc_r *instead* of -lc.
20604 THREADLDFLAGS
=-pthread
20605 # Don't set THREADSPEC here as might be expected since -pthread is
20606 # not processed when found within a spec file, it must come from
20607 # the command line. For now, the user must provide the -pthread
20608 # switch to link code compiled with gcj. In future, consider adding
20609 # support for weak references to pthread_* functions ala gthr.h API.
20610 THREADSPEC
='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
20613 # FreeBSD >=5.3 implements a model much closer to other modern UNIX
20614 # systems which support threads and -lpthread.
20615 THREADLDFLAGS
=-pthread
20616 THREADSPEC
=-lpthread
20618 alpha
*-dec-osf* | hppa
*-hp-hpux*)
20619 THREADCXXFLAGS
=-pthread
20620 # boehm-gc needs some functions from librt, so link that too.
20621 THREADLIBS
='-lpthread -lrt'
20622 THREADSPEC
='-lpthread -lrt'
20625 THREADLIBS
=-lpthread
20626 THREADSPEC
=-lpthread
20629 THREADH
=posix-threads.h
20630 # MIT pthreads doesn't seem to have the mutexattr functions.
20631 # But for now we don't check for it. We just assume you aren't
20632 # using MIT pthreads.
20634 cat >>confdefs.h
<<\_ACEOF
20635 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
20639 # If we're using the Boehm GC, then we happen to know that it
20640 # defines _REENTRANT, so we don't bother. Eww.
20641 if test "$GC" != boehm
; then
20643 cat >>confdefs.h
<<\_ACEOF
20644 #define _REENTRANT 1
20649 cat >>confdefs.h
<<\_ACEOF
20650 #define _POSIX_PTHREAD_SEMANTICS 1
20656 THREADH
=win32-threads.h
20657 THREADCXXFLAGS
=-mthreads
20658 # We need thread-safe exception handling so _CRT_MT should be set to 1.
20659 # But we do not want the executables created to be dependent on
20660 # mingwm10.dll which provides a __mingwthr_key_dtor() that cleans up
20661 # exception handling contexts. The following kludge achieves this effect
20662 # and causes a dummy __mingwthr_key_dtor() to be linked in from
20663 # libmingw32.a. This causes a memory leak of about 24 bytes per thread.
20664 # A workaround is to explicitly use -mthreads while linking Java programs.
20665 # See PR libgcj/28263.
20667 # FIXME: In Java we are able to detect thread death at the end of
20668 # Thread.run() so we should be able to clean up the exception handling
20669 # contexts ourselves.
20670 THREADSTARTFILESPEC
='crtmt%O%s'
20674 THREADH
=no-threads.h
20677 ac_config_links
="$ac_config_links include/java-threads.h:include/$THREADH"
20688 if test "$THREADS" = posix
; then
20689 USING_POSIX_THREADS_TRUE
=
20690 USING_POSIX_THREADS_FALSE
='#'
20692 USING_POSIX_THREADS_TRUE
='#'
20693 USING_POSIX_THREADS_FALSE
=
20698 if test "$THREADS" = win32
; then
20699 USING_WIN32_THREADS_TRUE
=
20700 USING_WIN32_THREADS_FALSE
='#'
20702 USING_WIN32_THREADS_TRUE
='#'
20703 USING_WIN32_THREADS_FALSE
=
20708 if test "$THREADS" = none
; then
20709 USING_NO_THREADS_TRUE
=
20710 USING_NO_THREADS_FALSE
='#'
20712 USING_NO_THREADS_TRUE
='#'
20713 USING_NO_THREADS_FALSE
=
20718 if test "$use_libgcj_bc" = yes; then
20719 USE_LIBGCJ_BC_TRUE
=
20720 USE_LIBGCJ_BC_FALSE
='#'
20722 USE_LIBGCJ_BC_TRUE
='#'
20723 USE_LIBGCJ_BC_FALSE
=
20727 if test -d sysdep
; then true
; else mkdir sysdep
; fi
20728 ac_config_links
="$ac_config_links sysdep/locks.h:sysdep/$sysdeps_dir/locks.h"
20730 ac_config_links
="$ac_config_links sysdep/backtrace.h:$fallback_backtrace_h"
20732 ac_config_links
="$ac_config_links sysdep/descriptor.h:$descriptor_h"
20735 LIBGCJ_SPEC
="%{s-bc-abi:} -lgcj"
20736 if test "$use_libgcj_bc" = yes; then
20737 LIBGCJ_SPEC
="%{s-bc-abi:-lgcj_bc;:-lgcj}"
20742 # Hash synchronization is only useful with posix threads right now.
20743 if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then
20744 HASH_SYNC_SPEC
=-fhash-synchronization
20746 cat >>confdefs.h
<<\_ACEOF
20747 #define JV_HASH_SYNCHRONIZATION 1
20755 if test "$GCC" = yes; then
20757 USING_GCC_FALSE
='#'
20764 # We're in the tree with gcc, and need to include some of its headers.
20765 GCC_UNWIND_INCLUDE
='-I$(multi_basedir)/./libjava/../gcc'
20767 if test "x${with_newlib}" = "xyes"; then
20768 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
20769 # may not work correctly, because the compiler may not be able to
20770 # link executables.
20772 # We assume newlib. This lets us hard-code the functions we know
20775 cat >>confdefs.h
<<\_ACEOF
20776 #define HAVE_MEMMOVE 1
20780 cat >>confdefs.h
<<\_ACEOF
20781 #define HAVE_MEMCPY 1
20785 cat >>confdefs.h
<<\_ACEOF
20786 #define HAVE_TIME 1
20790 cat >>confdefs.h
<<\_ACEOF
20791 #define HAVE_GMTIME_R 1
20795 cat >>confdefs.h
<<\_ACEOF
20796 #define HAVE_LOCALTIME_R 1
20800 cat >>confdefs.h
<<\_ACEOF
20801 #define HAVE_USLEEP_DECL 1
20804 # This is only for POSIX threads.
20806 cat >>confdefs.h
<<\_ACEOF
20807 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
20811 # Assume we do not have getuid and friends.
20813 cat >>confdefs.h
<<\_ACEOF
20814 #define NO_GETUID 1
20849 for ac_func
in strerror_r
select fstat open fsync
sleep opendir \
20850 localtime_r getpwuid_r getcwd \
20851 access stat lstat mkdir rename
rmdir unlink utime
chmod readlink \
20852 nl_langinfo setlocale \
20853 inet_pton uname inet_ntoa \
20854 getrlimit sigaction ftruncate mmap \
20857 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20858 echo "$as_me:$LINENO: checking for $ac_func" >&5
20859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20860 if eval "test \"\${$as_ac_var+set}\" = set"; then
20861 echo $ECHO_N "(cached) $ECHO_C" >&6
20863 if test x
$gcc_no_link = xyes
; then
20864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20866 { (exit 1); exit 1; }; }
20868 cat >conftest.
$ac_ext <<_ACEOF
20871 cat confdefs.h
>>conftest.
$ac_ext
20872 cat >>conftest.
$ac_ext <<_ACEOF
20873 /* end confdefs.h. */
20874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20876 #define $ac_func innocuous_$ac_func
20878 /* System header to define __stub macros and hopefully few prototypes,
20879 which can conflict with char $ac_func (); below.
20880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20881 <limits.h> exists even on freestanding compilers. */
20884 # include <limits.h>
20886 # include <assert.h>
20891 /* Override any gcc2 internal prototype to avoid an error. */
20896 /* We use char because int might match the return type of a gcc2
20897 builtin and then its argument prototype would still apply. */
20899 /* The GNU C library defines this for functions which it implements
20900 to always fail with ENOSYS. Some functions are actually named
20901 something starting with __ and the normal name is an alias. */
20902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20905 char (*f) () = $ac_func;
20914 return f != $ac_func;
20919 rm -f conftest.
$ac_objext conftest
$ac_exeext
20920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20921 (eval $ac_link) 2>conftest.er1
20923 grep -v '^ *+' conftest.er1
>conftest.err
20925 cat conftest.err
>&5
20926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927 (exit $ac_status); } &&
20928 { ac_try
='test -z "$ac_c_werror_flag"
20929 || test ! -s conftest.err'
20930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20931 (eval $ac_try) 2>&5
20933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20934 (exit $ac_status); }; } &&
20935 { ac_try
='test -s conftest$ac_exeext'
20936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20937 (eval $ac_try) 2>&5
20939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20940 (exit $ac_status); }; }; then
20941 eval "$as_ac_var=yes"
20943 echo "$as_me: failed program was:" >&5
20944 sed 's/^/| /' conftest.
$ac_ext >&5
20946 eval "$as_ac_var=no"
20948 rm -f conftest.err conftest.
$ac_objext \
20949 conftest
$ac_exeext conftest.
$ac_ext
20951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20953 if test `eval echo '${'$as_ac_var'}'` = yes; then
20954 cat >>confdefs.h
<<_ACEOF
20955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20963 for ac_func
in inet_aton inet_addr
20965 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20966 echo "$as_me:$LINENO: checking for $ac_func" >&5
20967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20968 if eval "test \"\${$as_ac_var+set}\" = set"; then
20969 echo $ECHO_N "(cached) $ECHO_C" >&6
20971 if test x
$gcc_no_link = xyes
; then
20972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20974 { (exit 1); exit 1; }; }
20976 cat >conftest.
$ac_ext <<_ACEOF
20979 cat confdefs.h
>>conftest.
$ac_ext
20980 cat >>conftest.
$ac_ext <<_ACEOF
20981 /* end confdefs.h. */
20982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20984 #define $ac_func innocuous_$ac_func
20986 /* System header to define __stub macros and hopefully few prototypes,
20987 which can conflict with char $ac_func (); below.
20988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20989 <limits.h> exists even on freestanding compilers. */
20992 # include <limits.h>
20994 # include <assert.h>
20999 /* Override any gcc2 internal prototype to avoid an error. */
21004 /* We use char because int might match the return type of a gcc2
21005 builtin and then its argument prototype would still apply. */
21007 /* The GNU C library defines this for functions which it implements
21008 to always fail with ENOSYS. Some functions are actually named
21009 something starting with __ and the normal name is an alias. */
21010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21013 char (*f) () = $ac_func;
21022 return f != $ac_func;
21027 rm -f conftest.
$ac_objext conftest
$ac_exeext
21028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21029 (eval $ac_link) 2>conftest.er1
21031 grep -v '^ *+' conftest.er1
>conftest.err
21033 cat conftest.err
>&5
21034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21035 (exit $ac_status); } &&
21036 { ac_try
='test -z "$ac_c_werror_flag"
21037 || test ! -s conftest.err'
21038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21039 (eval $ac_try) 2>&5
21041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21042 (exit $ac_status); }; } &&
21043 { ac_try
='test -s conftest$ac_exeext'
21044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21045 (eval $ac_try) 2>&5
21047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21048 (exit $ac_status); }; }; then
21049 eval "$as_ac_var=yes"
21051 echo "$as_me: failed program was:" >&5
21052 sed 's/^/| /' conftest.
$ac_ext >&5
21054 eval "$as_ac_var=no"
21056 rm -f conftest.err conftest.
$ac_objext \
21057 conftest
$ac_exeext conftest.
$ac_ext
21059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21061 if test `eval echo '${'$as_ac_var'}'` = yes; then
21062 cat >>confdefs.h
<<_ACEOF
21063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21072 for ac_header
in unistd.h dlfcn.h sys
/resource.h
21074 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21076 echo "$as_me:$LINENO: checking for $ac_header" >&5
21077 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21078 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21079 echo $ECHO_N "(cached) $ECHO_C" >&6
21081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21082 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21084 # Is the header compilable?
21085 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21086 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21087 cat >conftest.
$ac_ext <<_ACEOF
21090 cat confdefs.h
>>conftest.
$ac_ext
21091 cat >>conftest.
$ac_ext <<_ACEOF
21092 /* end confdefs.h. */
21093 $ac_includes_default
21094 #include <$ac_header>
21096 rm -f conftest.
$ac_objext
21097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21098 (eval $ac_compile) 2>conftest.er1
21100 grep -v '^ *+' conftest.er1
>conftest.err
21102 cat conftest.err
>&5
21103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21104 (exit $ac_status); } &&
21105 { ac_try
='test -z "$ac_c_werror_flag"
21106 || test ! -s conftest.err'
21107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21108 (eval $ac_try) 2>&5
21110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21111 (exit $ac_status); }; } &&
21112 { ac_try
='test -s conftest.$ac_objext'
21113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21114 (eval $ac_try) 2>&5
21116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21117 (exit $ac_status); }; }; then
21118 ac_header_compiler
=yes
21120 echo "$as_me: failed program was:" >&5
21121 sed 's/^/| /' conftest.
$ac_ext >&5
21123 ac_header_compiler
=no
21125 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21126 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21127 echo "${ECHO_T}$ac_header_compiler" >&6
21129 # Is the header present?
21130 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21131 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21132 cat >conftest.
$ac_ext <<_ACEOF
21135 cat confdefs.h
>>conftest.
$ac_ext
21136 cat >>conftest.
$ac_ext <<_ACEOF
21137 /* end confdefs.h. */
21138 #include <$ac_header>
21140 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21141 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
21148 if test -s conftest.err
; then
21149 ac_cpp_err
=$ac_c_preproc_warn_flag
21150 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21157 if test -z "$ac_cpp_err"; then
21158 ac_header_preproc
=yes
21160 echo "$as_me: failed program was:" >&5
21161 sed 's/^/| /' conftest.
$ac_ext >&5
21163 ac_header_preproc
=no
21165 rm -f conftest.err conftest.
$ac_ext
21166 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21167 echo "${ECHO_T}$ac_header_preproc" >&6
21169 # So? What about this header?
21170 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21172 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21173 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21175 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21176 ac_header_preproc
=yes
21179 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21180 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21181 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21182 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21183 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21184 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21185 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21186 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21187 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21188 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21189 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21190 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21193 ## ---------------------------------- ##
21194 ## Report this to the libjava lists. ##
21195 ## ---------------------------------- ##
21198 sed "s/^/$as_me: WARNING: /" >&2
21201 echo "$as_me:$LINENO: checking for $ac_header" >&5
21202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21204 echo $ECHO_N "(cached) $ECHO_C" >&6
21206 eval "$as_ac_Header=\$ac_header_preproc"
21208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21209 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21212 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21213 cat >>confdefs.h
<<_ACEOF
21214 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21221 # Do an additional check on dld, HP-UX for example has dladdr in libdld.sl
21222 echo "$as_me:$LINENO: checking for dladdr in -ldl" >&5
21223 echo $ECHO_N "checking for dladdr in -ldl... $ECHO_C" >&6
21224 if test "${ac_cv_lib_dl_dladdr+set}" = set; then
21225 echo $ECHO_N "(cached) $ECHO_C" >&6
21227 ac_check_lib_save_LIBS
=$LIBS
21229 if test x
$gcc_no_link = xyes
; then
21230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21232 { (exit 1); exit 1; }; }
21234 cat >conftest.
$ac_ext <<_ACEOF
21237 cat confdefs.h
>>conftest.
$ac_ext
21238 cat >>conftest.
$ac_ext <<_ACEOF
21239 /* end confdefs.h. */
21241 /* Override any gcc2 internal prototype to avoid an error. */
21245 /* We use char because int might match the return type of a gcc2
21246 builtin and then its argument prototype would still apply. */
21256 rm -f conftest.
$ac_objext conftest
$ac_exeext
21257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21258 (eval $ac_link) 2>conftest.er1
21260 grep -v '^ *+' conftest.er1
>conftest.err
21262 cat conftest.err
>&5
21263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21264 (exit $ac_status); } &&
21265 { ac_try
='test -z "$ac_c_werror_flag"
21266 || test ! -s conftest.err'
21267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21268 (eval $ac_try) 2>&5
21270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21271 (exit $ac_status); }; } &&
21272 { ac_try
='test -s conftest$ac_exeext'
21273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21274 (eval $ac_try) 2>&5
21276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277 (exit $ac_status); }; }; then
21278 ac_cv_lib_dl_dladdr
=yes
21280 echo "$as_me: failed program was:" >&5
21281 sed 's/^/| /' conftest.
$ac_ext >&5
21283 ac_cv_lib_dl_dladdr
=no
21285 rm -f conftest.err conftest.
$ac_objext \
21286 conftest
$ac_exeext conftest.
$ac_ext
21287 LIBS
=$ac_check_lib_save_LIBS
21289 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dladdr" >&5
21290 echo "${ECHO_T}$ac_cv_lib_dl_dladdr" >&6
21291 if test $ac_cv_lib_dl_dladdr = yes; then
21294 cat >>confdefs.h
<<\_ACEOF
21295 #define HAVE_DLADDR 1
21300 echo "$as_me:$LINENO: checking for dladdr in -ldld" >&5
21301 echo $ECHO_N "checking for dladdr in -ldld... $ECHO_C" >&6
21302 if test "${ac_cv_lib_dld_dladdr+set}" = set; then
21303 echo $ECHO_N "(cached) $ECHO_C" >&6
21305 ac_check_lib_save_LIBS
=$LIBS
21307 if test x
$gcc_no_link = xyes
; then
21308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21310 { (exit 1); exit 1; }; }
21312 cat >conftest.
$ac_ext <<_ACEOF
21315 cat confdefs.h
>>conftest.
$ac_ext
21316 cat >>conftest.
$ac_ext <<_ACEOF
21317 /* end confdefs.h. */
21319 /* Override any gcc2 internal prototype to avoid an error. */
21323 /* We use char because int might match the return type of a gcc2
21324 builtin and then its argument prototype would still apply. */
21334 rm -f conftest.
$ac_objext conftest
$ac_exeext
21335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21336 (eval $ac_link) 2>conftest.er1
21338 grep -v '^ *+' conftest.er1
>conftest.err
21340 cat conftest.err
>&5
21341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21342 (exit $ac_status); } &&
21343 { ac_try
='test -z "$ac_c_werror_flag"
21344 || test ! -s conftest.err'
21345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21346 (eval $ac_try) 2>&5
21348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21349 (exit $ac_status); }; } &&
21350 { ac_try
='test -s conftest$ac_exeext'
21351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21352 (eval $ac_try) 2>&5
21354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21355 (exit $ac_status); }; }; then
21356 ac_cv_lib_dld_dladdr
=yes
21358 echo "$as_me: failed program was:" >&5
21359 sed 's/^/| /' conftest.
$ac_ext >&5
21361 ac_cv_lib_dld_dladdr
=no
21363 rm -f conftest.err conftest.
$ac_objext \
21364 conftest
$ac_exeext conftest.
$ac_ext
21365 LIBS
=$ac_check_lib_save_LIBS
21367 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dladdr" >&5
21368 echo "${ECHO_T}$ac_cv_lib_dld_dladdr" >&6
21369 if test $ac_cv_lib_dld_dladdr = yes; then
21372 cat >>confdefs.h
<<\_ACEOF
21373 #define HAVE_DLADDR 1
21381 if test x
"$cross_compiling" = x
"no"; then
21382 echo "$as_me:$LINENO: checking for /proc/self/exe" >&5
21383 echo $ECHO_N "checking for /proc/self/exe... $ECHO_C" >&6
21384 if test "${ac_cv_file__proc_self_exe+set}" = set; then
21385 echo $ECHO_N "(cached) $ECHO_C" >&6
21387 test "$cross_compiling" = yes &&
21388 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21389 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
21390 { (exit 1); exit 1; }; }
21391 if test -r "/proc/self/exe"; then
21392 ac_cv_file__proc_self_exe
=yes
21394 ac_cv_file__proc_self_exe
=no
21397 echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_exe" >&5
21398 echo "${ECHO_T}$ac_cv_file__proc_self_exe" >&6
21399 if test $ac_cv_file__proc_self_exe = yes; then
21401 cat >>confdefs.h
<<_ACEOF
21402 #define HAVE__PROC_SELF_EXE 1
21407 cat >>confdefs.h
<<\_ACEOF
21408 #define HAVE_PROC_SELF_EXE 1
21413 echo "$as_me:$LINENO: checking for /proc/self/maps" >&5
21414 echo $ECHO_N "checking for /proc/self/maps... $ECHO_C" >&6
21415 if test "${ac_cv_file__proc_self_maps+set}" = set; then
21416 echo $ECHO_N "(cached) $ECHO_C" >&6
21418 test "$cross_compiling" = yes &&
21419 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21420 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
21421 { (exit 1); exit 1; }; }
21422 if test -r "/proc/self/maps"; then
21423 ac_cv_file__proc_self_maps
=yes
21425 ac_cv_file__proc_self_maps
=no
21428 echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_maps" >&5
21429 echo "${ECHO_T}$ac_cv_file__proc_self_maps" >&6
21430 if test $ac_cv_file__proc_self_maps = yes; then
21432 cat >>confdefs.h
<<_ACEOF
21433 #define HAVE__PROC_SELF_MAPS 1
21438 cat >>confdefs.h
<<\_ACEOF
21439 #define HAVE_PROC_SELF_MAPS 1
21448 cat >>confdefs.h
<<\_ACEOF
21449 #define HAVE_PROC_SELF_EXE 1
21453 cat >>confdefs.h
<<\_ACEOF
21454 #define HAVE_PROC_SELF_MAPS 1
21462 if test "X$prefix" = "XNONE"; then
21463 acl_final_prefix
="$ac_default_prefix"
21465 acl_final_prefix
="$prefix"
21467 if test "X$exec_prefix" = "XNONE"; then
21468 acl_final_exec_prefix
='${prefix}'
21470 acl_final_exec_prefix
="$exec_prefix"
21472 acl_save_prefix
="$prefix"
21473 prefix
="$acl_final_prefix"
21474 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
21475 prefix
="$acl_save_prefix"
21478 # Check whether --with-gnu-ld or --without-gnu-ld was given.
21479 if test "${with_gnu_ld+set}" = set; then
21480 withval
="$with_gnu_ld"
21481 test "$withval" = no || with_gnu_ld
=yes
21485 # Prepare PATH_SEPARATOR.
21486 # The user is always right.
21487 if test "${PATH_SEPARATOR+set}" != set; then
21488 echo "#! /bin/sh" >conf$$.sh
21489 echo "exit 0" >>conf$$.sh
21491 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21499 if test "$GCC" = yes; then
21500 # Check if gcc -print-prog-name=ld gives a path.
21501 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
21502 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
21505 # gcc leaves a trailing carriage return which upsets mingw
21506 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21508 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
21511 # Accept absolute paths.
21512 [\\/]* |
[A-Za-z
]:[\\/]*)
21513 re_direlt
='/[^/][^/]*/\.\./'
21514 # Canonicalize the path of ld
21515 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
21516 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
21517 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
21519 test -z "$LD" && LD
="$ac_prog"
21522 # If it fails, then pretend we aren't using GCC.
21526 # If it is relative, then search for the first ld in PATH.
21527 with_gnu_ld
=unknown
21530 elif test "$with_gnu_ld" = yes; then
21531 echo "$as_me:$LINENO: checking for GNU ld" >&5
21532 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
21534 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
21535 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
21537 if test "${acl_cv_path_LD+set}" = set; then
21538 echo $ECHO_N "(cached) $ECHO_C" >&6
21540 if test -z "$LD"; then
21541 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
21542 for ac_dir
in $PATH; do
21543 test -z "$ac_dir" && ac_dir
=.
21544 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
21545 acl_cv_path_LD
="$ac_dir/$ac_prog"
21546 # Check to see if the program is GNU ld. I'd rather use --version,
21547 # but apparently some GNU ld's only accept -v.
21548 # Break only if it was the GNU/non-GNU ld that we prefer.
21549 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
21550 test "$with_gnu_ld" != no
&& break
21552 test "$with_gnu_ld" != yes && break
21558 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
21562 LD
="$acl_cv_path_LD"
21563 if test -n "$LD"; then
21564 echo "$as_me:$LINENO: result: $LD" >&5
21565 echo "${ECHO_T}$LD" >&6
21567 echo "$as_me:$LINENO: result: no" >&5
21568 echo "${ECHO_T}no" >&6
21570 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
21571 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
21572 { (exit 1); exit 1; }; }
21573 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
21574 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
21575 if test "${acl_cv_prog_gnu_ld+set}" = set; then
21576 echo $ECHO_N "(cached) $ECHO_C" >&6
21578 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
21579 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
21580 acl_cv_prog_gnu_ld
=yes
21582 acl_cv_prog_gnu_ld
=no
21585 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
21586 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
21587 with_gnu_ld
=$acl_cv_prog_gnu_ld
21591 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
21592 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
21593 if test "${acl_cv_rpath+set}" = set; then
21594 echo $ECHO_N "(cached) $ECHO_C" >&6
21597 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
21598 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
21600 rm -f .
/conftest.sh
21604 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
21605 echo "${ECHO_T}$acl_cv_rpath" >&6
21607 libext
="$acl_cv_libext"
21608 shlibext
="$acl_cv_shlibext"
21609 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
21610 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
21611 hardcode_direct
="$acl_cv_hardcode_direct"
21612 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
21613 # Check whether --enable-rpath or --disable-rpath was given.
21614 if test "${enable_rpath+set}" = set; then
21615 enableval
="$enable_rpath"
21629 acl_save_prefix
="$prefix"
21630 prefix
="$acl_final_prefix"
21631 acl_save_exec_prefix
="$exec_prefix"
21632 exec_prefix
="$acl_final_exec_prefix"
21634 eval additional_includedir
=\"$includedir\"
21635 eval additional_libdir
=\"$libdir\"
21637 exec_prefix
="$acl_save_exec_prefix"
21638 prefix
="$acl_save_prefix"
21641 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
21642 if test "${with_libiconv_prefix+set}" = set; then
21643 withval
="$with_libiconv_prefix"
21645 if test "X$withval" = "Xno"; then
21648 if test "X$withval" = "X"; then
21650 acl_save_prefix
="$prefix"
21651 prefix
="$acl_final_prefix"
21652 acl_save_exec_prefix
="$exec_prefix"
21653 exec_prefix
="$acl_final_exec_prefix"
21655 eval additional_includedir
=\"$includedir\"
21656 eval additional_libdir
=\"$libdir\"
21658 exec_prefix
="$acl_save_exec_prefix"
21659 prefix
="$acl_save_prefix"
21662 additional_includedir
="$withval/include"
21663 additional_libdir
="$withval/lib"
21673 names_already_handled
=
21674 names_next_round
='iconv '
21675 while test -n "$names_next_round"; do
21676 names_this_round
="$names_next_round"
21678 for name
in $names_this_round; do
21680 for n
in $names_already_handled; do
21681 if test "$n" = "$name"; then
21682 already_handled
=yes
21686 if test -z "$already_handled"; then
21687 names_already_handled
="$names_already_handled $name"
21688 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
21689 eval value
=\"\
$HAVE_LIB$uppername\"
21690 if test -n "$value"; then
21691 if test "$value" = yes; then
21692 eval value
=\"\
$LIB$uppername\"
21693 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
21694 eval value
=\"\
$LTLIB$uppername\"
21695 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
21704 if test $use_additional = yes; then
21705 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
21706 found_dir
="$additional_libdir"
21707 found_so
="$additional_libdir/lib$name.$shlibext"
21708 if test -f "$additional_libdir/lib$name.la"; then
21709 found_la
="$additional_libdir/lib$name.la"
21712 if test -f "$additional_libdir/lib$name.$libext"; then
21713 found_dir
="$additional_libdir"
21714 found_a
="$additional_libdir/lib$name.$libext"
21715 if test -f "$additional_libdir/lib$name.la"; then
21716 found_la
="$additional_libdir/lib$name.la"
21721 if test "X$found_dir" = "X"; then
21722 for x
in $LDFLAGS $LTLIBICONV; do
21724 acl_save_prefix
="$prefix"
21725 prefix
="$acl_final_prefix"
21726 acl_save_exec_prefix
="$exec_prefix"
21727 exec_prefix
="$acl_final_exec_prefix"
21729 exec_prefix
="$acl_save_exec_prefix"
21730 prefix
="$acl_save_prefix"
21734 dir
=`echo "X$x" | sed -e 's/^X-L//'`
21735 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
21737 found_so
="$dir/lib$name.$shlibext"
21738 if test -f "$dir/lib$name.la"; then
21739 found_la
="$dir/lib$name.la"
21742 if test -f "$dir/lib$name.$libext"; then
21744 found_a
="$dir/lib$name.$libext"
21745 if test -f "$dir/lib$name.la"; then
21746 found_la
="$dir/lib$name.la"
21752 if test "X$found_dir" != "X"; then
21757 if test "X$found_dir" != "X"; then
21758 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
21759 if test "X$found_so" != "X"; then
21760 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
21761 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21764 for x
in $ltrpathdirs; do
21765 if test "X$x" = "X$found_dir"; then
21770 if test -z "$haveit"; then
21771 ltrpathdirs
="$ltrpathdirs $found_dir"
21773 if test "$hardcode_direct" = yes; then
21774 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21776 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
21777 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21779 for x
in $rpathdirs; do
21780 if test "X$x" = "X$found_dir"; then
21785 if test -z "$haveit"; then
21786 rpathdirs
="$rpathdirs $found_dir"
21790 for x
in $LDFLAGS $LIBICONV; do
21792 acl_save_prefix
="$prefix"
21793 prefix
="$acl_final_prefix"
21794 acl_save_exec_prefix
="$exec_prefix"
21795 exec_prefix
="$acl_final_exec_prefix"
21797 exec_prefix
="$acl_save_exec_prefix"
21798 prefix
="$acl_save_prefix"
21800 if test "X$x" = "X-L$found_dir"; then
21805 if test -z "$haveit"; then
21806 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
21808 if test "$hardcode_minus_L" != no
; then
21809 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21811 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
21817 if test "X$found_a" != "X"; then
21818 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
21820 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
21823 additional_includedir
=
21824 case "$found_dir" in
21826 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
21827 additional_includedir
="$basedir/include"
21830 if test "X$additional_includedir" != "X"; then
21831 if test "X$additional_includedir" != "X/usr/include"; then
21833 if test "X$additional_includedir" = "X/usr/local/include"; then
21834 if test -n "$GCC"; then
21836 linux
*) haveit
=yes;;
21840 if test -z "$haveit"; then
21841 for x
in $CPPFLAGS $INCICONV; do
21843 acl_save_prefix
="$prefix"
21844 prefix
="$acl_final_prefix"
21845 acl_save_exec_prefix
="$exec_prefix"
21846 exec_prefix
="$acl_final_exec_prefix"
21848 exec_prefix
="$acl_save_exec_prefix"
21849 prefix
="$acl_save_prefix"
21851 if test "X$x" = "X-I$additional_includedir"; then
21856 if test -z "$haveit"; then
21857 if test -d "$additional_includedir"; then
21858 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
21864 if test -n "$found_la"; then
21865 save_libdir
="$libdir"
21866 case "$found_la" in
21867 */* |
*\\*) .
"$found_la" ;;
21868 *) .
"./$found_la" ;;
21870 libdir
="$save_libdir"
21871 for dep
in $dependency_libs; do
21874 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
21875 if test "X$additional_libdir" != "X/usr/lib"; then
21877 if test "X$additional_libdir" = "X/usr/local/lib"; then
21878 if test -n "$GCC"; then
21880 linux
*) haveit
=yes;;
21884 if test -z "$haveit"; then
21886 for x
in $LDFLAGS $LIBICONV; do
21888 acl_save_prefix
="$prefix"
21889 prefix
="$acl_final_prefix"
21890 acl_save_exec_prefix
="$exec_prefix"
21891 exec_prefix
="$acl_final_exec_prefix"
21893 exec_prefix
="$acl_save_exec_prefix"
21894 prefix
="$acl_save_prefix"
21896 if test "X$x" = "X-L$additional_libdir"; then
21901 if test -z "$haveit"; then
21902 if test -d "$additional_libdir"; then
21903 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
21907 for x
in $LDFLAGS $LTLIBICONV; do
21909 acl_save_prefix
="$prefix"
21910 prefix
="$acl_final_prefix"
21911 acl_save_exec_prefix
="$exec_prefix"
21912 exec_prefix
="$acl_final_exec_prefix"
21914 exec_prefix
="$acl_save_exec_prefix"
21915 prefix
="$acl_save_prefix"
21917 if test "X$x" = "X-L$additional_libdir"; then
21922 if test -z "$haveit"; then
21923 if test -d "$additional_libdir"; then
21924 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
21931 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
21932 if test "$enable_rpath" != no
; then
21934 for x
in $rpathdirs; do
21935 if test "X$x" = "X$dir"; then
21940 if test -z "$haveit"; then
21941 rpathdirs
="$rpathdirs $dir"
21944 for x
in $ltrpathdirs; do
21945 if test "X$x" = "X$dir"; then
21950 if test -z "$haveit"; then
21951 ltrpathdirs
="$ltrpathdirs $dir"
21956 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
21959 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
21962 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
21963 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
21969 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
21970 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
21976 if test "X$rpathdirs" != "X"; then
21977 if test -n "$hardcode_libdir_separator"; then
21979 for found_dir
in $rpathdirs; do
21980 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
21982 acl_save_libdir
="$libdir"
21984 eval flag
=\"$hardcode_libdir_flag_spec\"
21985 libdir
="$acl_save_libdir"
21986 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
21988 for found_dir
in $rpathdirs; do
21989 acl_save_libdir
="$libdir"
21990 libdir
="$found_dir"
21991 eval flag
=\"$hardcode_libdir_flag_spec\"
21992 libdir
="$acl_save_libdir"
21993 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
21997 if test "X$ltrpathdirs" != "X"; then
21998 for found_dir
in $ltrpathdirs; do
21999 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
22009 am_save_CPPFLAGS
="$CPPFLAGS"
22011 for element
in $INCICONV; do
22013 for x
in $CPPFLAGS; do
22015 acl_save_prefix
="$prefix"
22016 prefix
="$acl_final_prefix"
22017 acl_save_exec_prefix
="$exec_prefix"
22018 exec_prefix
="$acl_final_exec_prefix"
22020 exec_prefix
="$acl_save_exec_prefix"
22021 prefix
="$acl_save_prefix"
22023 if test "X$x" = "X$element"; then
22028 if test -z "$haveit"; then
22029 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
22034 echo "$as_me:$LINENO: checking for iconv" >&5
22035 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
22036 if test "${am_cv_func_iconv+set}" = set; then
22037 echo $ECHO_N "(cached) $ECHO_C" >&6
22040 am_cv_func_iconv
="no, consider installing GNU libiconv"
22042 if test x
$gcc_no_link = xyes
; then
22043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22045 { (exit 1); exit 1; }; }
22047 cat >conftest.
$ac_ext <<_ACEOF
22050 cat confdefs.h
>>conftest.
$ac_ext
22051 cat >>conftest.
$ac_ext <<_ACEOF
22052 /* end confdefs.h. */
22053 #include <stdlib.h>
22058 iconv_t cd = iconv_open("","");
22059 iconv(cd,NULL,NULL,NULL,NULL);
22065 rm -f conftest.
$ac_objext conftest
$ac_exeext
22066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22067 (eval $ac_link) 2>conftest.er1
22069 grep -v '^ *+' conftest.er1
>conftest.err
22071 cat conftest.err
>&5
22072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22073 (exit $ac_status); } &&
22074 { ac_try
='test -z "$ac_c_werror_flag"
22075 || test ! -s conftest.err'
22076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22077 (eval $ac_try) 2>&5
22079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22080 (exit $ac_status); }; } &&
22081 { ac_try
='test -s conftest$ac_exeext'
22082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22083 (eval $ac_try) 2>&5
22085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22086 (exit $ac_status); }; }; then
22087 am_cv_func_iconv
=yes
22089 echo "$as_me: failed program was:" >&5
22090 sed 's/^/| /' conftest.
$ac_ext >&5
22093 rm -f conftest.err conftest.
$ac_objext \
22094 conftest
$ac_exeext conftest.
$ac_ext
22095 if test "$am_cv_func_iconv" != yes; then
22096 am_save_LIBS
="$LIBS"
22097 LIBS
="$LIBS $LIBICONV"
22098 if test x
$gcc_no_link = xyes
; then
22099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22101 { (exit 1); exit 1; }; }
22103 cat >conftest.
$ac_ext <<_ACEOF
22106 cat confdefs.h
>>conftest.
$ac_ext
22107 cat >>conftest.
$ac_ext <<_ACEOF
22108 /* end confdefs.h. */
22109 #include <stdlib.h>
22114 iconv_t cd = iconv_open("","");
22115 iconv(cd,NULL,NULL,NULL,NULL);
22121 rm -f conftest.
$ac_objext conftest
$ac_exeext
22122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22123 (eval $ac_link) 2>conftest.er1
22125 grep -v '^ *+' conftest.er1
>conftest.err
22127 cat conftest.err
>&5
22128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22129 (exit $ac_status); } &&
22130 { ac_try
='test -z "$ac_c_werror_flag"
22131 || test ! -s conftest.err'
22132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22133 (eval $ac_try) 2>&5
22135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22136 (exit $ac_status); }; } &&
22137 { ac_try
='test -s conftest$ac_exeext'
22138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22139 (eval $ac_try) 2>&5
22141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22142 (exit $ac_status); }; }; then
22143 am_cv_lib_iconv
=yes
22144 am_cv_func_iconv
=yes
22146 echo "$as_me: failed program was:" >&5
22147 sed 's/^/| /' conftest.
$ac_ext >&5
22150 rm -f conftest.err conftest.
$ac_objext \
22151 conftest
$ac_exeext conftest.
$ac_ext
22152 LIBS
="$am_save_LIBS"
22156 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
22157 echo "${ECHO_T}$am_cv_func_iconv" >&6
22158 if test "$am_cv_func_iconv" = yes; then
22160 cat >>confdefs.h
<<\_ACEOF
22161 #define HAVE_ICONV 1
22165 if test "$am_cv_lib_iconv" = yes; then
22166 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
22167 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
22168 echo "$as_me:$LINENO: result: $LIBICONV" >&5
22169 echo "${ECHO_T}$LIBICONV" >&6
22171 CPPFLAGS
="$am_save_CPPFLAGS"
22178 if test "$am_cv_func_iconv" = yes; then
22179 echo "$as_me:$LINENO: checking for iconv declaration" >&5
22180 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
22181 if test "${am_cv_proto_iconv+set}" = set; then
22182 echo $ECHO_N "(cached) $ECHO_C" >&6
22185 cat >conftest.
$ac_ext <<_ACEOF
22188 cat confdefs.h
>>conftest.
$ac_ext
22189 cat >>conftest.
$ac_ext <<_ACEOF
22190 /* end confdefs.h. */
22192 #include <stdlib.h>
22198 #if defined(__STDC__) || defined(__cplusplus)
22199 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
22212 rm -f conftest.
$ac_objext
22213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22214 (eval $ac_compile) 2>conftest.er1
22216 grep -v '^ *+' conftest.er1
>conftest.err
22218 cat conftest.err
>&5
22219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22220 (exit $ac_status); } &&
22221 { ac_try
='test -z "$ac_c_werror_flag"
22222 || test ! -s conftest.err'
22223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22224 (eval $ac_try) 2>&5
22226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22227 (exit $ac_status); }; } &&
22228 { ac_try
='test -s conftest.$ac_objext'
22229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22230 (eval $ac_try) 2>&5
22232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22233 (exit $ac_status); }; }; then
22234 am_cv_proto_iconv_arg1
=""
22236 echo "$as_me: failed program was:" >&5
22237 sed 's/^/| /' conftest.
$ac_ext >&5
22239 am_cv_proto_iconv_arg1
="const"
22241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22242 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);"
22245 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
22246 echo "$as_me:$LINENO: result: ${ac_t:-
22247 }$am_cv_proto_iconv" >&5
22248 echo "${ECHO_T}${ac_t:-
22249 }$am_cv_proto_iconv" >&6
22251 cat >>confdefs.h
<<_ACEOF
22252 #define ICONV_CONST $am_cv_proto_iconv_arg1
22258 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
22259 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
22260 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
22261 echo $ECHO_N "(cached) $ECHO_C" >&6
22263 if test x
$gcc_no_link = xyes
; then
22264 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22266 { (exit 1); exit 1; }; }
22268 cat >conftest.
$ac_ext <<_ACEOF
22271 cat confdefs.h
>>conftest.
$ac_ext
22272 cat >>conftest.
$ac_ext <<_ACEOF
22273 /* end confdefs.h. */
22274 #include <locale.h>
22283 rm -f conftest.
$ac_objext conftest
$ac_exeext
22284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22285 (eval $ac_link) 2>conftest.er1
22287 grep -v '^ *+' conftest.er1
>conftest.err
22289 cat conftest.err
>&5
22290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22291 (exit $ac_status); } &&
22292 { ac_try
='test -z "$ac_c_werror_flag"
22293 || test ! -s conftest.err'
22294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22295 (eval $ac_try) 2>&5
22297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22298 (exit $ac_status); }; } &&
22299 { ac_try
='test -s conftest$ac_exeext'
22300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22301 (eval $ac_try) 2>&5
22303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22304 (exit $ac_status); }; }; then
22305 am_cv_val_LC_MESSAGES
=yes
22307 echo "$as_me: failed program was:" >&5
22308 sed 's/^/| /' conftest.
$ac_ext >&5
22310 am_cv_val_LC_MESSAGES
=no
22312 rm -f conftest.err conftest.
$ac_objext \
22313 conftest
$ac_exeext conftest.
$ac_ext
22315 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
22316 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
22317 if test $am_cv_val_LC_MESSAGES = yes; then
22319 cat >>confdefs.h
<<\_ACEOF
22320 #define HAVE_LC_MESSAGES 1
22325 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
22326 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
22327 if test "${ac_cv_struct_tm+set}" = set; then
22328 echo $ECHO_N "(cached) $ECHO_C" >&6
22330 cat >conftest.
$ac_ext <<_ACEOF
22333 cat confdefs.h
>>conftest.
$ac_ext
22334 cat >>conftest.
$ac_ext <<_ACEOF
22335 /* end confdefs.h. */
22336 #include <sys/types.h>
22342 struct tm *tp; tp->tm_sec;
22347 rm -f conftest.
$ac_objext
22348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22349 (eval $ac_compile) 2>conftest.er1
22351 grep -v '^ *+' conftest.er1
>conftest.err
22353 cat conftest.err
>&5
22354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22355 (exit $ac_status); } &&
22356 { ac_try
='test -z "$ac_c_werror_flag"
22357 || test ! -s conftest.err'
22358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22359 (eval $ac_try) 2>&5
22361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22362 (exit $ac_status); }; } &&
22363 { ac_try
='test -s conftest.$ac_objext'
22364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22365 (eval $ac_try) 2>&5
22367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22368 (exit $ac_status); }; }; then
22369 ac_cv_struct_tm
=time.h
22371 echo "$as_me: failed program was:" >&5
22372 sed 's/^/| /' conftest.
$ac_ext >&5
22374 ac_cv_struct_tm
=sys
/time.h
22376 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22378 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
22379 echo "${ECHO_T}$ac_cv_struct_tm" >&6
22380 if test $ac_cv_struct_tm = sys
/time.h
; then
22382 cat >>confdefs.h
<<\_ACEOF
22383 #define TM_IN_SYS_TIME 1
22388 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
22389 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
22390 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
22391 echo $ECHO_N "(cached) $ECHO_C" >&6
22393 cat >conftest.
$ac_ext <<_ACEOF
22396 cat confdefs.h
>>conftest.
$ac_ext
22397 cat >>conftest.
$ac_ext <<_ACEOF
22398 /* end confdefs.h. */
22399 #include <sys/types.h>
22400 #include <$ac_cv_struct_tm>
22406 static struct tm ac_aggr;
22407 if (ac_aggr.tm_zone)
22413 rm -f conftest.
$ac_objext
22414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22415 (eval $ac_compile) 2>conftest.er1
22417 grep -v '^ *+' conftest.er1
>conftest.err
22419 cat conftest.err
>&5
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); } &&
22422 { ac_try
='test -z "$ac_c_werror_flag"
22423 || test ! -s conftest.err'
22424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22425 (eval $ac_try) 2>&5
22427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22428 (exit $ac_status); }; } &&
22429 { ac_try
='test -s conftest.$ac_objext'
22430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22431 (eval $ac_try) 2>&5
22433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22434 (exit $ac_status); }; }; then
22435 ac_cv_member_struct_tm_tm_zone
=yes
22437 echo "$as_me: failed program was:" >&5
22438 sed 's/^/| /' conftest.
$ac_ext >&5
22440 cat >conftest.
$ac_ext <<_ACEOF
22443 cat confdefs.h
>>conftest.
$ac_ext
22444 cat >>conftest.
$ac_ext <<_ACEOF
22445 /* end confdefs.h. */
22446 #include <sys/types.h>
22447 #include <$ac_cv_struct_tm>
22453 static struct tm ac_aggr;
22454 if (sizeof ac_aggr.tm_zone)
22460 rm -f conftest.
$ac_objext
22461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22462 (eval $ac_compile) 2>conftest.er1
22464 grep -v '^ *+' conftest.er1
>conftest.err
22466 cat conftest.err
>&5
22467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22468 (exit $ac_status); } &&
22469 { ac_try
='test -z "$ac_c_werror_flag"
22470 || test ! -s conftest.err'
22471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22472 (eval $ac_try) 2>&5
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); }; } &&
22476 { ac_try
='test -s conftest.$ac_objext'
22477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22478 (eval $ac_try) 2>&5
22480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22481 (exit $ac_status); }; }; then
22482 ac_cv_member_struct_tm_tm_zone
=yes
22484 echo "$as_me: failed program was:" >&5
22485 sed 's/^/| /' conftest.
$ac_ext >&5
22487 ac_cv_member_struct_tm_tm_zone
=no
22489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22491 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22493 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
22494 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
22495 if test $ac_cv_member_struct_tm_tm_zone = yes; then
22497 cat >>confdefs.h
<<_ACEOF
22498 #define HAVE_STRUCT_TM_TM_ZONE 1
22504 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
22506 cat >>confdefs.h
<<\_ACEOF
22507 #define HAVE_TM_ZONE 1
22511 echo "$as_me:$LINENO: checking for tzname" >&5
22512 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
22513 if test "${ac_cv_var_tzname+set}" = set; then
22514 echo $ECHO_N "(cached) $ECHO_C" >&6
22516 if test x
$gcc_no_link = xyes
; then
22517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22519 { (exit 1); exit 1; }; }
22521 cat >conftest.
$ac_ext <<_ACEOF
22524 cat confdefs.h
>>conftest.
$ac_ext
22525 cat >>conftest.
$ac_ext <<_ACEOF
22526 /* end confdefs.h. */
22528 #ifndef tzname /* For SGI. */
22529 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
22540 rm -f conftest.
$ac_objext conftest
$ac_exeext
22541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22542 (eval $ac_link) 2>conftest.er1
22544 grep -v '^ *+' conftest.er1
>conftest.err
22546 cat conftest.err
>&5
22547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22548 (exit $ac_status); } &&
22549 { ac_try
='test -z "$ac_c_werror_flag"
22550 || test ! -s conftest.err'
22551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22552 (eval $ac_try) 2>&5
22554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22555 (exit $ac_status); }; } &&
22556 { ac_try
='test -s conftest$ac_exeext'
22557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22558 (eval $ac_try) 2>&5
22560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22561 (exit $ac_status); }; }; then
22562 ac_cv_var_tzname
=yes
22564 echo "$as_me: failed program was:" >&5
22565 sed 's/^/| /' conftest.
$ac_ext >&5
22567 ac_cv_var_tzname
=no
22569 rm -f conftest.err conftest.
$ac_objext \
22570 conftest
$ac_exeext conftest.
$ac_ext
22572 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
22573 echo "${ECHO_T}$ac_cv_var_tzname" >&6
22574 if test $ac_cv_var_tzname = yes; then
22576 cat >>confdefs.h
<<\_ACEOF
22577 #define HAVE_TZNAME 1
22585 for ac_func
in gethostbyname_r
22587 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22588 echo "$as_me:$LINENO: checking for $ac_func" >&5
22589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22590 if eval "test \"\${$as_ac_var+set}\" = set"; then
22591 echo $ECHO_N "(cached) $ECHO_C" >&6
22593 if test x
$gcc_no_link = xyes
; then
22594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22596 { (exit 1); exit 1; }; }
22598 cat >conftest.
$ac_ext <<_ACEOF
22601 cat confdefs.h
>>conftest.
$ac_ext
22602 cat >>conftest.
$ac_ext <<_ACEOF
22603 /* end confdefs.h. */
22604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22606 #define $ac_func innocuous_$ac_func
22608 /* System header to define __stub macros and hopefully few prototypes,
22609 which can conflict with char $ac_func (); below.
22610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22611 <limits.h> exists even on freestanding compilers. */
22614 # include <limits.h>
22616 # include <assert.h>
22621 /* Override any gcc2 internal prototype to avoid an error. */
22626 /* We use char because int might match the return type of a gcc2
22627 builtin and then its argument prototype would still apply. */
22629 /* The GNU C library defines this for functions which it implements
22630 to always fail with ENOSYS. Some functions are actually named
22631 something starting with __ and the normal name is an alias. */
22632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22635 char (*f) () = $ac_func;
22644 return f != $ac_func;
22649 rm -f conftest.
$ac_objext conftest
$ac_exeext
22650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22651 (eval $ac_link) 2>conftest.er1
22653 grep -v '^ *+' conftest.er1
>conftest.err
22655 cat conftest.err
>&5
22656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22657 (exit $ac_status); } &&
22658 { ac_try
='test -z "$ac_c_werror_flag"
22659 || test ! -s conftest.err'
22660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22661 (eval $ac_try) 2>&5
22663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22664 (exit $ac_status); }; } &&
22665 { ac_try
='test -s conftest$ac_exeext'
22666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22667 (eval $ac_try) 2>&5
22669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22670 (exit $ac_status); }; }; then
22671 eval "$as_ac_var=yes"
22673 echo "$as_me: failed program was:" >&5
22674 sed 's/^/| /' conftest.
$ac_ext >&5
22676 eval "$as_ac_var=no"
22678 rm -f conftest.err conftest.
$ac_objext \
22679 conftest
$ac_exeext conftest.
$ac_ext
22681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22683 if test `eval echo '${'$as_ac_var'}'` = yes; then
22684 cat >>confdefs.h
<<_ACEOF
22685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22689 cat >>confdefs.h
<<\_ACEOF
22690 #define HAVE_GETHOSTBYNAME_R 1
22693 # There are two different kinds of gethostbyname_r.
22694 # We look for the one that returns `int'.
22695 # Hopefully this check is robust enough.
22696 cat >conftest.
$ac_ext <<_ACEOF
22699 cat confdefs.h
>>conftest.
$ac_ext
22700 cat >>conftest.
$ac_ext <<_ACEOF
22701 /* end confdefs.h. */
22705 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22706 $EGREP "int.*gethostbyname_r" >/dev
/null
2>&1; then
22709 cat >>confdefs.h
<<\_ACEOF
22710 #define GETHOSTBYNAME_R_RETURNS_INT 1
22717 case " $GCINCS " in
22718 *" -D_REENTRANT "*) ;;
22720 echo "$as_me:$LINENO: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5
22721 echo $ECHO_N "checking whether gethostbyname_r declaration requires -D_REENTRANT... $ECHO_C" >&6
22722 if test "${libjava_cv_gethostbyname_r_needs_reentrant+set}" = set; then
22723 echo $ECHO_N "(cached) $ECHO_C" >&6
22726 ac_cpp
='$CXXCPP $CPPFLAGS'
22727 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22728 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22729 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22731 cat >conftest.
$ac_ext <<_ACEOF
22734 cat confdefs.h
>>conftest.
$ac_ext
22735 cat >>conftest.
$ac_ext <<_ACEOF
22736 /* end confdefs.h. */
22741 gethostbyname_r("", 0, 0);
22746 rm -f conftest.
$ac_objext
22747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22748 (eval $ac_compile) 2>conftest.er1
22750 grep -v '^ *+' conftest.er1
>conftest.err
22752 cat conftest.err
>&5
22753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22754 (exit $ac_status); } &&
22755 { ac_try
='test -z "$ac_cxx_werror_flag"
22756 || test ! -s conftest.err'
22757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22758 (eval $ac_try) 2>&5
22760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22761 (exit $ac_status); }; } &&
22762 { ac_try
='test -s conftest.$ac_objext'
22763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22764 (eval $ac_try) 2>&5
22766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22767 (exit $ac_status); }; }; then
22768 libjava_cv_gethostbyname_r_needs_reentrant
=no
22770 echo "$as_me: failed program was:" >&5
22771 sed 's/^/| /' conftest.
$ac_ext >&5
22773 CPPFLAGS_SAVE
="$CPPFLAGS"
22774 CPPFLAGS
="$CPPFLAGS -D_REENTRANT"
22775 cat >conftest.
$ac_ext <<_ACEOF
22778 cat confdefs.h
>>conftest.
$ac_ext
22779 cat >>conftest.
$ac_ext <<_ACEOF
22780 /* end confdefs.h. */
22785 gethostbyname_r("", 0, 0);
22790 rm -f conftest.
$ac_objext
22791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22792 (eval $ac_compile) 2>conftest.er1
22794 grep -v '^ *+' conftest.er1
>conftest.err
22796 cat conftest.err
>&5
22797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22798 (exit $ac_status); } &&
22799 { ac_try
='test -z "$ac_cxx_werror_flag"
22800 || test ! -s conftest.err'
22801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22802 (eval $ac_try) 2>&5
22804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22805 (exit $ac_status); }; } &&
22806 { ac_try
='test -s conftest.$ac_objext'
22807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22808 (eval $ac_try) 2>&5
22810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22811 (exit $ac_status); }; }; then
22812 libjava_cv_gethostbyname_r_needs_reentrant
=yes
22814 echo "$as_me: failed program was:" >&5
22815 sed 's/^/| /' conftest.
$ac_ext >&5
22817 libjava_cv_gethostbyname_r_needs_reentrant
=fail
22819 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22820 CPPFLAGS
="$CPPFLAGS_SAVE"
22823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22825 ac_cpp
='$CPP $CPPFLAGS'
22826 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22827 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22828 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22832 echo "$as_me:$LINENO: result: $libjava_cv_gethostbyname_r_needs_reentrant" >&5
22833 echo "${ECHO_T}$libjava_cv_gethostbyname_r_needs_reentrant" >&6
22834 if test "x$libjava_cv_gethostbyname_r_needs_reentrant" = xyes
; then
22836 cat >>confdefs.h
<<\_ACEOF
22837 #define _REENTRANT 1
22844 echo "$as_me:$LINENO: checking for struct hostent_data" >&5
22845 echo $ECHO_N "checking for struct hostent_data... $ECHO_C" >&6
22846 if test "${libjava_cv_struct_hostent_data+set}" = set; then
22847 echo $ECHO_N "(cached) $ECHO_C" >&6
22849 cat >conftest.
$ac_ext <<_ACEOF
22852 cat confdefs.h
>>conftest.
$ac_ext
22853 cat >>conftest.
$ac_ext <<_ACEOF
22854 /* end confdefs.h. */
22856 #if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
22857 # define _REENTRANT 1
22863 struct hostent_data data;
22868 rm -f conftest.
$ac_objext
22869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22870 (eval $ac_compile) 2>conftest.er1
22872 grep -v '^ *+' conftest.er1
>conftest.err
22874 cat conftest.err
>&5
22875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22876 (exit $ac_status); } &&
22877 { ac_try
='test -z "$ac_c_werror_flag"
22878 || test ! -s conftest.err'
22879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22880 (eval $ac_try) 2>&5
22882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22883 (exit $ac_status); }; } &&
22884 { ac_try
='test -s conftest.$ac_objext'
22885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22886 (eval $ac_try) 2>&5
22888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22889 (exit $ac_status); }; }; then
22890 libjava_cv_struct_hostent_data
=yes
22892 echo "$as_me: failed program was:" >&5
22893 sed 's/^/| /' conftest.
$ac_ext >&5
22895 libjava_cv_struct_hostent_data
=no
22897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22899 echo "$as_me:$LINENO: result: $libjava_cv_struct_hostent_data" >&5
22900 echo "${ECHO_T}$libjava_cv_struct_hostent_data" >&6
22901 if test "x$libjava_cv_struct_hostent_data" = xyes
; then
22903 cat >>confdefs.h
<<\_ACEOF
22904 #define HAVE_STRUCT_HOSTENT_DATA 1
22913 # FIXME: libjava source code expects to find a prototype for
22914 # gethostbyaddr_r in netdb.h. The outer check ensures that
22915 # HAVE_GETHOSTBYADDR_R will not be defined if the prototype fails
22916 # to exist where expected. (The root issue: AC_CHECK_FUNCS assumes C
22917 # linkage check is enough, yet C++ code requires proper prototypes.)
22918 cat >conftest.
$ac_ext <<_ACEOF
22921 cat confdefs.h
>>conftest.
$ac_ext
22922 cat >>conftest.
$ac_ext <<_ACEOF
22923 /* end confdefs.h. */
22927 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22928 $EGREP "gethostbyaddr_r" >/dev
/null
2>&1; then
22931 for ac_func
in gethostbyaddr_r
22933 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22934 echo "$as_me:$LINENO: checking for $ac_func" >&5
22935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22936 if eval "test \"\${$as_ac_var+set}\" = set"; then
22937 echo $ECHO_N "(cached) $ECHO_C" >&6
22939 if test x
$gcc_no_link = xyes
; then
22940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22942 { (exit 1); exit 1; }; }
22944 cat >conftest.
$ac_ext <<_ACEOF
22947 cat confdefs.h
>>conftest.
$ac_ext
22948 cat >>conftest.
$ac_ext <<_ACEOF
22949 /* end confdefs.h. */
22950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22952 #define $ac_func innocuous_$ac_func
22954 /* System header to define __stub macros and hopefully few prototypes,
22955 which can conflict with char $ac_func (); below.
22956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22957 <limits.h> exists even on freestanding compilers. */
22960 # include <limits.h>
22962 # include <assert.h>
22967 /* Override any gcc2 internal prototype to avoid an error. */
22972 /* We use char because int might match the return type of a gcc2
22973 builtin and then its argument prototype would still apply. */
22975 /* The GNU C library defines this for functions which it implements
22976 to always fail with ENOSYS. Some functions are actually named
22977 something starting with __ and the normal name is an alias. */
22978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22981 char (*f) () = $ac_func;
22990 return f != $ac_func;
22995 rm -f conftest.
$ac_objext conftest
$ac_exeext
22996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22997 (eval $ac_link) 2>conftest.er1
22999 grep -v '^ *+' conftest.er1
>conftest.err
23001 cat conftest.err
>&5
23002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23003 (exit $ac_status); } &&
23004 { ac_try
='test -z "$ac_c_werror_flag"
23005 || test ! -s conftest.err'
23006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23007 (eval $ac_try) 2>&5
23009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23010 (exit $ac_status); }; } &&
23011 { ac_try
='test -s conftest$ac_exeext'
23012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23013 (eval $ac_try) 2>&5
23015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23016 (exit $ac_status); }; }; then
23017 eval "$as_ac_var=yes"
23019 echo "$as_me: failed program was:" >&5
23020 sed 's/^/| /' conftest.
$ac_ext >&5
23022 eval "$as_ac_var=no"
23024 rm -f conftest.err conftest.
$ac_objext \
23025 conftest
$ac_exeext conftest.
$ac_ext
23027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23029 if test `eval echo '${'$as_ac_var'}'` = yes; then
23030 cat >>confdefs.h
<<_ACEOF
23031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23035 cat >>confdefs.h
<<\_ACEOF
23036 #define HAVE_GETHOSTBYADDR_R 1
23039 # There are two different kinds of gethostbyaddr_r.
23040 # We look for the one that returns `int'.
23041 # Hopefully this check is robust enough.
23042 cat >conftest.
$ac_ext <<_ACEOF
23045 cat confdefs.h
>>conftest.
$ac_ext
23046 cat >>conftest.
$ac_ext <<_ACEOF
23047 /* end confdefs.h. */
23051 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23052 $EGREP "int.*gethostbyaddr_r" >/dev
/null
2>&1; then
23055 cat >>confdefs.h
<<\_ACEOF
23056 #define GETHOSTBYADDR_R_RETURNS_INT 1
23070 for ac_func
in gethostname
23072 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23073 echo "$as_me:$LINENO: checking for $ac_func" >&5
23074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23075 if eval "test \"\${$as_ac_var+set}\" = set"; then
23076 echo $ECHO_N "(cached) $ECHO_C" >&6
23078 if test x
$gcc_no_link = xyes
; then
23079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23081 { (exit 1); exit 1; }; }
23083 cat >conftest.
$ac_ext <<_ACEOF
23086 cat confdefs.h
>>conftest.
$ac_ext
23087 cat >>conftest.
$ac_ext <<_ACEOF
23088 /* end confdefs.h. */
23089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23091 #define $ac_func innocuous_$ac_func
23093 /* System header to define __stub macros and hopefully few prototypes,
23094 which can conflict with char $ac_func (); below.
23095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23096 <limits.h> exists even on freestanding compilers. */
23099 # include <limits.h>
23101 # include <assert.h>
23106 /* Override any gcc2 internal prototype to avoid an error. */
23111 /* We use char because int might match the return type of a gcc2
23112 builtin and then its argument prototype would still apply. */
23114 /* The GNU C library defines this for functions which it implements
23115 to always fail with ENOSYS. Some functions are actually named
23116 something starting with __ and the normal name is an alias. */
23117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23120 char (*f) () = $ac_func;
23129 return f != $ac_func;
23134 rm -f conftest.
$ac_objext conftest
$ac_exeext
23135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23136 (eval $ac_link) 2>conftest.er1
23138 grep -v '^ *+' conftest.er1
>conftest.err
23140 cat conftest.err
>&5
23141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23142 (exit $ac_status); } &&
23143 { ac_try
='test -z "$ac_c_werror_flag"
23144 || test ! -s conftest.err'
23145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23146 (eval $ac_try) 2>&5
23148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23149 (exit $ac_status); }; } &&
23150 { ac_try
='test -s conftest$ac_exeext'
23151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23152 (eval $ac_try) 2>&5
23154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23155 (exit $ac_status); }; }; then
23156 eval "$as_ac_var=yes"
23158 echo "$as_me: failed program was:" >&5
23159 sed 's/^/| /' conftest.
$ac_ext >&5
23161 eval "$as_ac_var=no"
23163 rm -f conftest.err conftest.
$ac_objext \
23164 conftest
$ac_exeext conftest.
$ac_ext
23166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23168 if test `eval echo '${'$as_ac_var'}'` = yes; then
23169 cat >>confdefs.h
<<_ACEOF
23170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23174 cat >>confdefs.h
<<\_ACEOF
23175 #define HAVE_GETHOSTNAME 1
23178 cat >conftest.
$ac_ext <<_ACEOF
23181 cat confdefs.h
>>conftest.
$ac_ext
23182 cat >>conftest.
$ac_ext <<_ACEOF
23183 /* end confdefs.h. */
23184 #include <unistd.h>
23187 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23188 $EGREP "gethostname" >/dev
/null
2>&1; then
23191 cat >>confdefs.h
<<\_ACEOF
23192 #define HAVE_GETHOSTNAME_DECL 1
23203 for ac_func
in usleep
23205 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23206 echo "$as_me:$LINENO: checking for $ac_func" >&5
23207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23208 if eval "test \"\${$as_ac_var+set}\" = set"; then
23209 echo $ECHO_N "(cached) $ECHO_C" >&6
23211 if test x
$gcc_no_link = xyes
; then
23212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23214 { (exit 1); exit 1; }; }
23216 cat >conftest.
$ac_ext <<_ACEOF
23219 cat confdefs.h
>>conftest.
$ac_ext
23220 cat >>conftest.
$ac_ext <<_ACEOF
23221 /* end confdefs.h. */
23222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23224 #define $ac_func innocuous_$ac_func
23226 /* System header to define __stub macros and hopefully few prototypes,
23227 which can conflict with char $ac_func (); below.
23228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23229 <limits.h> exists even on freestanding compilers. */
23232 # include <limits.h>
23234 # include <assert.h>
23239 /* Override any gcc2 internal prototype to avoid an error. */
23244 /* We use char because int might match the return type of a gcc2
23245 builtin and then its argument prototype would still apply. */
23247 /* The GNU C library defines this for functions which it implements
23248 to always fail with ENOSYS. Some functions are actually named
23249 something starting with __ and the normal name is an alias. */
23250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23253 char (*f) () = $ac_func;
23262 return f != $ac_func;
23267 rm -f conftest.
$ac_objext conftest
$ac_exeext
23268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23269 (eval $ac_link) 2>conftest.er1
23271 grep -v '^ *+' conftest.er1
>conftest.err
23273 cat conftest.err
>&5
23274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23275 (exit $ac_status); } &&
23276 { ac_try
='test -z "$ac_c_werror_flag"
23277 || test ! -s conftest.err'
23278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23279 (eval $ac_try) 2>&5
23281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23282 (exit $ac_status); }; } &&
23283 { ac_try
='test -s conftest$ac_exeext'
23284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23285 (eval $ac_try) 2>&5
23287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23288 (exit $ac_status); }; }; then
23289 eval "$as_ac_var=yes"
23291 echo "$as_me: failed program was:" >&5
23292 sed 's/^/| /' conftest.
$ac_ext >&5
23294 eval "$as_ac_var=no"
23296 rm -f conftest.err conftest.
$ac_objext \
23297 conftest
$ac_exeext conftest.
$ac_ext
23299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23301 if test `eval echo '${'$as_ac_var'}'` = yes; then
23302 cat >>confdefs.h
<<_ACEOF
23303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23306 cat >conftest.
$ac_ext <<_ACEOF
23309 cat confdefs.h
>>conftest.
$ac_ext
23310 cat >>conftest.
$ac_ext <<_ACEOF
23311 /* end confdefs.h. */
23312 #include <unistd.h>
23315 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23316 $EGREP "usleep" >/dev
/null
2>&1; then
23319 cat >>confdefs.h
<<\_ACEOF
23320 #define HAVE_USLEEP_DECL 1
23330 # Look for these functions in the thread library, but only bother
23331 # if using POSIX threads.
23332 if test "$THREADS" = posix
; then
23334 LIBS
="$LIBS $THREADLIBS"
23336 # Look for sched_yield. Up to Solaris 2.6, it is in libposix4, since
23337 # Solaris 7 the name librt is preferred.
23339 for ac_func
in sched_yield
23341 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23342 echo "$as_me:$LINENO: checking for $ac_func" >&5
23343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23344 if eval "test \"\${$as_ac_var+set}\" = set"; then
23345 echo $ECHO_N "(cached) $ECHO_C" >&6
23347 if test x
$gcc_no_link = xyes
; then
23348 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23350 { (exit 1); exit 1; }; }
23352 cat >conftest.
$ac_ext <<_ACEOF
23355 cat confdefs.h
>>conftest.
$ac_ext
23356 cat >>conftest.
$ac_ext <<_ACEOF
23357 /* end confdefs.h. */
23358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23360 #define $ac_func innocuous_$ac_func
23362 /* System header to define __stub macros and hopefully few prototypes,
23363 which can conflict with char $ac_func (); below.
23364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23365 <limits.h> exists even on freestanding compilers. */
23368 # include <limits.h>
23370 # include <assert.h>
23375 /* Override any gcc2 internal prototype to avoid an error. */
23380 /* We use char because int might match the return type of a gcc2
23381 builtin and then its argument prototype would still apply. */
23383 /* The GNU C library defines this for functions which it implements
23384 to always fail with ENOSYS. Some functions are actually named
23385 something starting with __ and the normal name is an alias. */
23386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23389 char (*f) () = $ac_func;
23398 return f != $ac_func;
23403 rm -f conftest.
$ac_objext conftest
$ac_exeext
23404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23405 (eval $ac_link) 2>conftest.er1
23407 grep -v '^ *+' conftest.er1
>conftest.err
23409 cat conftest.err
>&5
23410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23411 (exit $ac_status); } &&
23412 { ac_try
='test -z "$ac_c_werror_flag"
23413 || test ! -s conftest.err'
23414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23415 (eval $ac_try) 2>&5
23417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23418 (exit $ac_status); }; } &&
23419 { ac_try
='test -s conftest$ac_exeext'
23420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23421 (eval $ac_try) 2>&5
23423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23424 (exit $ac_status); }; }; then
23425 eval "$as_ac_var=yes"
23427 echo "$as_me: failed program was:" >&5
23428 sed 's/^/| /' conftest.
$ac_ext >&5
23430 eval "$as_ac_var=no"
23432 rm -f conftest.err conftest.
$ac_objext \
23433 conftest
$ac_exeext conftest.
$ac_ext
23435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23437 if test `eval echo '${'$as_ac_var'}'` = yes; then
23438 cat >>confdefs.h
<<_ACEOF
23439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23444 echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5
23445 echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6
23446 if test "${ac_cv_lib_rt_sched_yield+set}" = set; then
23447 echo $ECHO_N "(cached) $ECHO_C" >&6
23449 ac_check_lib_save_LIBS
=$LIBS
23451 if test x
$gcc_no_link = xyes
; then
23452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23454 { (exit 1); exit 1; }; }
23456 cat >conftest.
$ac_ext <<_ACEOF
23459 cat confdefs.h
>>conftest.
$ac_ext
23460 cat >>conftest.
$ac_ext <<_ACEOF
23461 /* end confdefs.h. */
23463 /* Override any gcc2 internal prototype to avoid an error. */
23467 /* We use char because int might match the return type of a gcc2
23468 builtin and then its argument prototype would still apply. */
23469 char sched_yield ();
23478 rm -f conftest.
$ac_objext conftest
$ac_exeext
23479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23480 (eval $ac_link) 2>conftest.er1
23482 grep -v '^ *+' conftest.er1
>conftest.err
23484 cat conftest.err
>&5
23485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23486 (exit $ac_status); } &&
23487 { ac_try
='test -z "$ac_c_werror_flag"
23488 || test ! -s conftest.err'
23489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23490 (eval $ac_try) 2>&5
23492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23493 (exit $ac_status); }; } &&
23494 { ac_try
='test -s conftest$ac_exeext'
23495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23496 (eval $ac_try) 2>&5
23498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23499 (exit $ac_status); }; }; then
23500 ac_cv_lib_rt_sched_yield
=yes
23502 echo "$as_me: failed program was:" >&5
23503 sed 's/^/| /' conftest.
$ac_ext >&5
23505 ac_cv_lib_rt_sched_yield
=no
23507 rm -f conftest.err conftest.
$ac_objext \
23508 conftest
$ac_exeext conftest.
$ac_ext
23509 LIBS
=$ac_check_lib_save_LIBS
23511 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5
23512 echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6
23513 if test $ac_cv_lib_rt_sched_yield = yes; then
23515 cat >>confdefs.h
<<\_ACEOF
23516 #define HAVE_SCHED_YIELD 1
23519 THREADLIBS
="$THREADLIBS -lrt"
23520 THREADSPEC
="$THREADSPEC -lrt"
23523 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
23524 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
23525 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
23526 echo $ECHO_N "(cached) $ECHO_C" >&6
23528 ac_check_lib_save_LIBS
=$LIBS
23529 LIBS
="-lposix4 $LIBS"
23530 if test x
$gcc_no_link = xyes
; then
23531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23533 { (exit 1); exit 1; }; }
23535 cat >conftest.
$ac_ext <<_ACEOF
23538 cat confdefs.h
>>conftest.
$ac_ext
23539 cat >>conftest.
$ac_ext <<_ACEOF
23540 /* end confdefs.h. */
23542 /* Override any gcc2 internal prototype to avoid an error. */
23546 /* We use char because int might match the return type of a gcc2
23547 builtin and then its argument prototype would still apply. */
23548 char sched_yield ();
23557 rm -f conftest.
$ac_objext conftest
$ac_exeext
23558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23559 (eval $ac_link) 2>conftest.er1
23561 grep -v '^ *+' conftest.er1
>conftest.err
23563 cat conftest.err
>&5
23564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23565 (exit $ac_status); } &&
23566 { ac_try
='test -z "$ac_c_werror_flag"
23567 || test ! -s conftest.err'
23568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23569 (eval $ac_try) 2>&5
23571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23572 (exit $ac_status); }; } &&
23573 { ac_try
='test -s conftest$ac_exeext'
23574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23575 (eval $ac_try) 2>&5
23577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23578 (exit $ac_status); }; }; then
23579 ac_cv_lib_posix4_sched_yield
=yes
23581 echo "$as_me: failed program was:" >&5
23582 sed 's/^/| /' conftest.
$ac_ext >&5
23584 ac_cv_lib_posix4_sched_yield
=no
23586 rm -f conftest.err conftest.
$ac_objext \
23587 conftest
$ac_exeext conftest.
$ac_ext
23588 LIBS
=$ac_check_lib_save_LIBS
23590 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
23591 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
23592 if test $ac_cv_lib_posix4_sched_yield = yes; then
23594 cat >>confdefs.h
<<\_ACEOF
23595 #define HAVE_SCHED_YIELD 1
23598 THREADLIBS
="$THREADLIBS -lposix4"
23599 THREADSPEC
="$THREADSPEC -lposix4"
23608 echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
23609 echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6
23610 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
23611 echo $ECHO_N "(cached) $ECHO_C" >&6
23613 ac_check_lib_save_LIBS
=$LIBS
23615 if test x
$gcc_no_link = xyes
; then
23616 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23618 { (exit 1); exit 1; }; }
23620 cat >conftest.
$ac_ext <<_ACEOF
23623 cat confdefs.h
>>conftest.
$ac_ext
23624 cat >>conftest.
$ac_ext <<_ACEOF
23625 /* end confdefs.h. */
23627 /* Override any gcc2 internal prototype to avoid an error. */
23631 /* We use char because int might match the return type of a gcc2
23632 builtin and then its argument prototype would still apply. */
23633 char clock_gettime ();
23642 rm -f conftest.
$ac_objext conftest
$ac_exeext
23643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23644 (eval $ac_link) 2>conftest.er1
23646 grep -v '^ *+' conftest.er1
>conftest.err
23648 cat conftest.err
>&5
23649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23650 (exit $ac_status); } &&
23651 { ac_try
='test -z "$ac_c_werror_flag"
23652 || test ! -s conftest.err'
23653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23654 (eval $ac_try) 2>&5
23656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23657 (exit $ac_status); }; } &&
23658 { ac_try
='test -s conftest$ac_exeext'
23659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23660 (eval $ac_try) 2>&5
23662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23663 (exit $ac_status); }; }; then
23664 ac_cv_lib_rt_clock_gettime
=yes
23666 echo "$as_me: failed program was:" >&5
23667 sed 's/^/| /' conftest.
$ac_ext >&5
23669 ac_cv_lib_rt_clock_gettime
=no
23671 rm -f conftest.err conftest.
$ac_objext \
23672 conftest
$ac_exeext conftest.
$ac_ext
23673 LIBS
=$ac_check_lib_save_LIBS
23675 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
23676 echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6
23677 if test $ac_cv_lib_rt_clock_gettime = yes; then
23680 cat >>confdefs.h
<<\_ACEOF
23681 #define HAVE_CLOCK_GETTIME 1
23684 case "$THREADSPEC" in
23687 THREADSPEC
="$THREADSPEC -lrt"
23688 THREADLIBS
="$THREADLIBS -lrt"
23696 # We can save a little space at runtime if the mutex has m_count
23697 # or __m_count. This is a nice hack for Linux.
23698 cat >conftest.
$ac_ext <<_ACEOF
23701 cat confdefs.h
>>conftest.
$ac_ext
23702 cat >>conftest.
$ac_ext <<_ACEOF
23703 /* end confdefs.h. */
23704 #include <pthread.h>
23709 extern pthread_mutex_t *mutex; int q = mutex->m_count;
23715 rm -f conftest.
$ac_objext
23716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23717 (eval $ac_compile) 2>conftest.er1
23719 grep -v '^ *+' conftest.er1
>conftest.err
23721 cat conftest.err
>&5
23722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23723 (exit $ac_status); } &&
23724 { ac_try
='test -z "$ac_c_werror_flag"
23725 || test ! -s conftest.err'
23726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23727 (eval $ac_try) 2>&5
23729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23730 (exit $ac_status); }; } &&
23731 { ac_try
='test -s conftest.$ac_objext'
23732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23733 (eval $ac_try) 2>&5
23735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23736 (exit $ac_status); }; }; then
23738 cat >>confdefs.h
<<\_ACEOF
23739 #define PTHREAD_MUTEX_HAVE_M_COUNT 1
23743 echo "$as_me: failed program was:" >&5
23744 sed 's/^/| /' conftest.
$ac_ext >&5
23747 cat >conftest.
$ac_ext <<_ACEOF
23750 cat confdefs.h
>>conftest.
$ac_ext
23751 cat >>conftest.
$ac_ext <<_ACEOF
23752 /* end confdefs.h. */
23753 #include <pthread.h>
23758 extern pthread_mutex_t *mutex; int q = mutex->__m_count;
23764 rm -f conftest.
$ac_objext
23765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23766 (eval $ac_compile) 2>conftest.er1
23768 grep -v '^ *+' conftest.er1
>conftest.err
23770 cat conftest.err
>&5
23771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23772 (exit $ac_status); } &&
23773 { ac_try
='test -z "$ac_c_werror_flag"
23774 || test ! -s conftest.err'
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); }; } &&
23780 { ac_try
='test -s conftest.$ac_objext'
23781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23782 (eval $ac_try) 2>&5
23784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23785 (exit $ac_status); }; }; then
23787 cat >>confdefs.h
<<\_ACEOF
23788 #define PTHREAD_MUTEX_HAVE___M_COUNT 1
23792 echo "$as_me: failed program was:" >&5
23793 sed 's/^/| /' conftest.
$ac_ext >&5
23796 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23801 # We require a way to get the time.
23806 for ac_func
in gettimeofday
time ftime
23808 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23809 echo "$as_me:$LINENO: checking for $ac_func" >&5
23810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23811 if eval "test \"\${$as_ac_var+set}\" = set"; then
23812 echo $ECHO_N "(cached) $ECHO_C" >&6
23814 if test x
$gcc_no_link = xyes
; then
23815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23817 { (exit 1); exit 1; }; }
23819 cat >conftest.
$ac_ext <<_ACEOF
23822 cat confdefs.h
>>conftest.
$ac_ext
23823 cat >>conftest.
$ac_ext <<_ACEOF
23824 /* end confdefs.h. */
23825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23827 #define $ac_func innocuous_$ac_func
23829 /* System header to define __stub macros and hopefully few prototypes,
23830 which can conflict with char $ac_func (); below.
23831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23832 <limits.h> exists even on freestanding compilers. */
23835 # include <limits.h>
23837 # include <assert.h>
23842 /* Override any gcc2 internal prototype to avoid an error. */
23847 /* We use char because int might match the return type of a gcc2
23848 builtin and then its argument prototype would still apply. */
23850 /* The GNU C library defines this for functions which it implements
23851 to always fail with ENOSYS. Some functions are actually named
23852 something starting with __ and the normal name is an alias. */
23853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23856 char (*f) () = $ac_func;
23865 return f != $ac_func;
23870 rm -f conftest.
$ac_objext conftest
$ac_exeext
23871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23872 (eval $ac_link) 2>conftest.er1
23874 grep -v '^ *+' conftest.er1
>conftest.err
23876 cat conftest.err
>&5
23877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878 (exit $ac_status); } &&
23879 { ac_try
='test -z "$ac_c_werror_flag"
23880 || test ! -s conftest.err'
23881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23882 (eval $ac_try) 2>&5
23884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23885 (exit $ac_status); }; } &&
23886 { ac_try
='test -s conftest$ac_exeext'
23887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23888 (eval $ac_try) 2>&5
23890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23891 (exit $ac_status); }; }; then
23892 eval "$as_ac_var=yes"
23894 echo "$as_me: failed program was:" >&5
23895 sed 's/^/| /' conftest.
$ac_ext >&5
23897 eval "$as_ac_var=no"
23899 rm -f conftest.err conftest.
$ac_objext \
23900 conftest
$ac_exeext conftest.
$ac_ext
23902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23904 if test `eval echo '${'$as_ac_var'}'` = yes; then
23905 cat >>confdefs.h
<<_ACEOF
23906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23912 if test "$time_found" = no
; then
23913 { { echo "$as_me:$LINENO: error: no function found to get the time" >&5
23914 echo "$as_me: error: no function found to get the time" >&2;}
23915 { (exit 1); exit 1; }; }
23919 for ac_func
in memmove
23921 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23922 echo "$as_me:$LINENO: checking for $ac_func" >&5
23923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23924 if eval "test \"\${$as_ac_var+set}\" = set"; then
23925 echo $ECHO_N "(cached) $ECHO_C" >&6
23927 if test x
$gcc_no_link = xyes
; then
23928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23930 { (exit 1); exit 1; }; }
23932 cat >conftest.
$ac_ext <<_ACEOF
23935 cat confdefs.h
>>conftest.
$ac_ext
23936 cat >>conftest.
$ac_ext <<_ACEOF
23937 /* end confdefs.h. */
23938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23940 #define $ac_func innocuous_$ac_func
23942 /* System header to define __stub macros and hopefully few prototypes,
23943 which can conflict with char $ac_func (); below.
23944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23945 <limits.h> exists even on freestanding compilers. */
23948 # include <limits.h>
23950 # include <assert.h>
23955 /* Override any gcc2 internal prototype to avoid an error. */
23960 /* We use char because int might match the return type of a gcc2
23961 builtin and then its argument prototype would still apply. */
23963 /* The GNU C library defines this for functions which it implements
23964 to always fail with ENOSYS. Some functions are actually named
23965 something starting with __ and the normal name is an alias. */
23966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23969 char (*f) () = $ac_func;
23978 return f != $ac_func;
23983 rm -f conftest.
$ac_objext conftest
$ac_exeext
23984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23985 (eval $ac_link) 2>conftest.er1
23987 grep -v '^ *+' conftest.er1
>conftest.err
23989 cat conftest.err
>&5
23990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23991 (exit $ac_status); } &&
23992 { ac_try
='test -z "$ac_c_werror_flag"
23993 || test ! -s conftest.err'
23994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23995 (eval $ac_try) 2>&5
23997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23998 (exit $ac_status); }; } &&
23999 { ac_try
='test -s conftest$ac_exeext'
24000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24001 (eval $ac_try) 2>&5
24003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24004 (exit $ac_status); }; }; then
24005 eval "$as_ac_var=yes"
24007 echo "$as_me: failed program was:" >&5
24008 sed 's/^/| /' conftest.
$ac_ext >&5
24010 eval "$as_ac_var=no"
24012 rm -f conftest.err conftest.
$ac_objext \
24013 conftest
$ac_exeext conftest.
$ac_ext
24015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24017 if test `eval echo '${'$as_ac_var'}'` = yes; then
24018 cat >>confdefs.h
<<_ACEOF
24019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24026 # We require memcpy.
24029 for ac_func
in memcpy
24031 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24032 echo "$as_me:$LINENO: checking for $ac_func" >&5
24033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24034 if eval "test \"\${$as_ac_var+set}\" = set"; then
24035 echo $ECHO_N "(cached) $ECHO_C" >&6
24037 if test x
$gcc_no_link = xyes
; then
24038 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24040 { (exit 1); exit 1; }; }
24042 cat >conftest.
$ac_ext <<_ACEOF
24045 cat confdefs.h
>>conftest.
$ac_ext
24046 cat >>conftest.
$ac_ext <<_ACEOF
24047 /* end confdefs.h. */
24048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24050 #define $ac_func innocuous_$ac_func
24052 /* System header to define __stub macros and hopefully few prototypes,
24053 which can conflict with char $ac_func (); below.
24054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24055 <limits.h> exists even on freestanding compilers. */
24058 # include <limits.h>
24060 # include <assert.h>
24065 /* Override any gcc2 internal prototype to avoid an error. */
24070 /* We use char because int might match the return type of a gcc2
24071 builtin and then its argument prototype would still apply. */
24073 /* The GNU C library defines this for functions which it implements
24074 to always fail with ENOSYS. Some functions are actually named
24075 something starting with __ and the normal name is an alias. */
24076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24079 char (*f) () = $ac_func;
24088 return f != $ac_func;
24093 rm -f conftest.
$ac_objext conftest
$ac_exeext
24094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24095 (eval $ac_link) 2>conftest.er1
24097 grep -v '^ *+' conftest.er1
>conftest.err
24099 cat conftest.err
>&5
24100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24101 (exit $ac_status); } &&
24102 { ac_try
='test -z "$ac_c_werror_flag"
24103 || test ! -s conftest.err'
24104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24105 (eval $ac_try) 2>&5
24107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24108 (exit $ac_status); }; } &&
24109 { ac_try
='test -s conftest$ac_exeext'
24110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24111 (eval $ac_try) 2>&5
24113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24114 (exit $ac_status); }; }; then
24115 eval "$as_ac_var=yes"
24117 echo "$as_me: failed program was:" >&5
24118 sed 's/^/| /' conftest.
$ac_ext >&5
24120 eval "$as_ac_var=no"
24122 rm -f conftest.err conftest.
$ac_objext \
24123 conftest
$ac_exeext conftest.
$ac_ext
24125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24127 if test `eval echo '${'$as_ac_var'}'` = yes; then
24128 cat >>confdefs.h
<<_ACEOF
24129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24135 if test "$memcpy_found" = no
; then
24136 { { echo "$as_me:$LINENO: error: memcpy is required" >&5
24137 echo "$as_me: error: memcpy is required" >&2;}
24138 { (exit 1); exit 1; }; }
24140 # Do an additional check on dld, HP-UX for example has dlopen in libdld.sl
24141 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
24142 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
24143 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
24144 echo $ECHO_N "(cached) $ECHO_C" >&6
24146 ac_check_lib_save_LIBS
=$LIBS
24148 if test x
$gcc_no_link = xyes
; then
24149 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24151 { (exit 1); exit 1; }; }
24153 cat >conftest.
$ac_ext <<_ACEOF
24156 cat confdefs.h
>>conftest.
$ac_ext
24157 cat >>conftest.
$ac_ext <<_ACEOF
24158 /* end confdefs.h. */
24160 /* Override any gcc2 internal prototype to avoid an error. */
24164 /* We use char because int might match the return type of a gcc2
24165 builtin and then its argument prototype would still apply. */
24175 rm -f conftest.
$ac_objext conftest
$ac_exeext
24176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24177 (eval $ac_link) 2>conftest.er1
24179 grep -v '^ *+' conftest.er1
>conftest.err
24181 cat conftest.err
>&5
24182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24183 (exit $ac_status); } &&
24184 { ac_try
='test -z "$ac_c_werror_flag"
24185 || test ! -s conftest.err'
24186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24187 (eval $ac_try) 2>&5
24189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24190 (exit $ac_status); }; } &&
24191 { ac_try
='test -s conftest$ac_exeext'
24192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24193 (eval $ac_try) 2>&5
24195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24196 (exit $ac_status); }; }; then
24197 ac_cv_lib_dl_dlopen
=yes
24199 echo "$as_me: failed program was:" >&5
24200 sed 's/^/| /' conftest.
$ac_ext >&5
24202 ac_cv_lib_dl_dlopen
=no
24204 rm -f conftest.err conftest.
$ac_objext \
24205 conftest
$ac_exeext conftest.
$ac_ext
24206 LIBS
=$ac_check_lib_save_LIBS
24208 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
24209 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
24210 if test $ac_cv_lib_dl_dlopen = yes; then
24213 cat >>confdefs.h
<<\_ACEOF
24214 #define HAVE_DLOPEN 1
24219 echo "$as_me:$LINENO: checking for dlopen in -ldld" >&5
24220 echo $ECHO_N "checking for dlopen in -ldld... $ECHO_C" >&6
24221 if test "${ac_cv_lib_dld_dlopen+set}" = set; then
24222 echo $ECHO_N "(cached) $ECHO_C" >&6
24224 ac_check_lib_save_LIBS
=$LIBS
24226 if test x
$gcc_no_link = xyes
; then
24227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24229 { (exit 1); exit 1; }; }
24231 cat >conftest.
$ac_ext <<_ACEOF
24234 cat confdefs.h
>>conftest.
$ac_ext
24235 cat >>conftest.
$ac_ext <<_ACEOF
24236 /* end confdefs.h. */
24238 /* Override any gcc2 internal prototype to avoid an error. */
24242 /* We use char because int might match the return type of a gcc2
24243 builtin and then its argument prototype would still apply. */
24253 rm -f conftest.
$ac_objext conftest
$ac_exeext
24254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24255 (eval $ac_link) 2>conftest.er1
24257 grep -v '^ *+' conftest.er1
>conftest.err
24259 cat conftest.err
>&5
24260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24261 (exit $ac_status); } &&
24262 { ac_try
='test -z "$ac_c_werror_flag"
24263 || test ! -s conftest.err'
24264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24265 (eval $ac_try) 2>&5
24267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24268 (exit $ac_status); }; } &&
24269 { ac_try
='test -s conftest$ac_exeext'
24270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24271 (eval $ac_try) 2>&5
24273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24274 (exit $ac_status); }; }; then
24275 ac_cv_lib_dld_dlopen
=yes
24277 echo "$as_me: failed program was:" >&5
24278 sed 's/^/| /' conftest.
$ac_ext >&5
24280 ac_cv_lib_dld_dlopen
=no
24282 rm -f conftest.err conftest.
$ac_objext \
24283 conftest
$ac_exeext conftest.
$ac_ext
24284 LIBS
=$ac_check_lib_save_LIBS
24286 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dlopen" >&5
24287 echo "${ECHO_T}$ac_cv_lib_dld_dlopen" >&6
24288 if test $ac_cv_lib_dld_dlopen = yes; then
24291 cat >>confdefs.h
<<\_ACEOF
24292 #define HAVE_DLOPEN 1
24300 # Some library-finding code we stole from Tcl.
24301 #--------------------------------------------------------------------
24302 # Check for the existence of the -lsocket and -lnsl libraries.
24303 # The order here is important, so that they end up in the right
24304 # order in the command line generated by make. Here are some
24305 # special considerations:
24306 # 1. Use "connect" and "accept" to check for -lsocket, and
24307 # "gethostbyname" to check for -lnsl.
24308 # 2. Use each function name only once: can't redo a check because
24309 # autoconf caches the results of the last check and won't redo it.
24310 # 3. Use -lnsl and -lsocket only if they supply procedures that
24311 # aren't already present in the normal libraries. This is because
24312 # IRIX 5.2 has libraries, but they aren't needed and they're
24313 # bogus: they goof up name resolution if used.
24314 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too.
24315 # To get around this problem, check for both libraries together
24316 # if -lsocket doesn't work by itself.
24317 #--------------------------------------------------------------------
24319 echo "$as_me:$LINENO: checking for socket libraries" >&5
24320 echo $ECHO_N "checking for socket libraries... $ECHO_C" >&6
24321 if test "${gcj_cv_lib_sockets+set}" = set; then
24322 echo $ECHO_N "(cached) $ECHO_C" >&6
24324 gcj_cv_lib_sockets
=
24326 unset ac_cv_func_connect
24327 echo "$as_me:$LINENO: checking for connect" >&5
24328 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24329 if test "${ac_cv_func_connect+set}" = set; then
24330 echo $ECHO_N "(cached) $ECHO_C" >&6
24332 if test x
$gcc_no_link = xyes
; then
24333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24335 { (exit 1); exit 1; }; }
24337 cat >conftest.
$ac_ext <<_ACEOF
24340 cat confdefs.h
>>conftest.
$ac_ext
24341 cat >>conftest.
$ac_ext <<_ACEOF
24342 /* end confdefs.h. */
24343 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24345 #define connect innocuous_connect
24347 /* System header to define __stub macros and hopefully few prototypes,
24348 which can conflict with char connect (); below.
24349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24350 <limits.h> exists even on freestanding compilers. */
24353 # include <limits.h>
24355 # include <assert.h>
24360 /* Override any gcc2 internal prototype to avoid an error. */
24365 /* We use char because int might match the return type of a gcc2
24366 builtin and then its argument prototype would still apply. */
24368 /* The GNU C library defines this for functions which it implements
24369 to always fail with ENOSYS. Some functions are actually named
24370 something starting with __ and the normal name is an alias. */
24371 #if defined (__stub_connect) || defined (__stub___connect)
24374 char (*f) () = connect;
24383 return f != connect;
24388 rm -f conftest.
$ac_objext conftest
$ac_exeext
24389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24390 (eval $ac_link) 2>conftest.er1
24392 grep -v '^ *+' conftest.er1
>conftest.err
24394 cat conftest.err
>&5
24395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24396 (exit $ac_status); } &&
24397 { ac_try
='test -z "$ac_c_werror_flag"
24398 || test ! -s conftest.err'
24399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24400 (eval $ac_try) 2>&5
24402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24403 (exit $ac_status); }; } &&
24404 { ac_try
='test -s conftest$ac_exeext'
24405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24406 (eval $ac_try) 2>&5
24408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24409 (exit $ac_status); }; }; then
24410 ac_cv_func_connect
=yes
24412 echo "$as_me: failed program was:" >&5
24413 sed 's/^/| /' conftest.
$ac_ext >&5
24415 ac_cv_func_connect
=no
24417 rm -f conftest.err conftest.
$ac_objext \
24418 conftest
$ac_exeext conftest.
$ac_ext
24420 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24421 echo "${ECHO_T}$ac_cv_func_connect" >&6
24422 if test $ac_cv_func_connect = yes; then
24428 if test "$gcj_checkSocket" = 1; then
24429 unset ac_cv_func_connect
24430 echo "$as_me:$LINENO: checking for main in -lsocket" >&5
24431 echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
24432 if test "${ac_cv_lib_socket_main+set}" = set; then
24433 echo $ECHO_N "(cached) $ECHO_C" >&6
24435 ac_check_lib_save_LIBS
=$LIBS
24436 LIBS
="-lsocket $LIBS"
24437 if test x
$gcc_no_link = xyes
; then
24438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24440 { (exit 1); exit 1; }; }
24442 cat >conftest.
$ac_ext <<_ACEOF
24445 cat confdefs.h
>>conftest.
$ac_ext
24446 cat >>conftest.
$ac_ext <<_ACEOF
24447 /* end confdefs.h. */
24458 rm -f conftest.
$ac_objext conftest
$ac_exeext
24459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24460 (eval $ac_link) 2>conftest.er1
24462 grep -v '^ *+' conftest.er1
>conftest.err
24464 cat conftest.err
>&5
24465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24466 (exit $ac_status); } &&
24467 { ac_try
='test -z "$ac_c_werror_flag"
24468 || test ! -s conftest.err'
24469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24470 (eval $ac_try) 2>&5
24472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24473 (exit $ac_status); }; } &&
24474 { ac_try
='test -s conftest$ac_exeext'
24475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24476 (eval $ac_try) 2>&5
24478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24479 (exit $ac_status); }; }; then
24480 ac_cv_lib_socket_main
=yes
24482 echo "$as_me: failed program was:" >&5
24483 sed 's/^/| /' conftest.
$ac_ext >&5
24485 ac_cv_lib_socket_main
=no
24487 rm -f conftest.err conftest.
$ac_objext \
24488 conftest
$ac_exeext conftest.
$ac_ext
24489 LIBS
=$ac_check_lib_save_LIBS
24491 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
24492 echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
24493 if test $ac_cv_lib_socket_main = yes; then
24494 gcj_cv_lib_sockets
="-lsocket"
24500 if test "$gcj_checkBoth" = 1; then
24502 LIBS
="$LIBS -lsocket -lnsl"
24503 unset ac_cv_func_accept
24504 echo "$as_me:$LINENO: checking for accept" >&5
24505 echo $ECHO_N "checking for accept... $ECHO_C" >&6
24506 if test "${ac_cv_func_accept+set}" = set; then
24507 echo $ECHO_N "(cached) $ECHO_C" >&6
24509 if test x
$gcc_no_link = xyes
; then
24510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24512 { (exit 1); exit 1; }; }
24514 cat >conftest.
$ac_ext <<_ACEOF
24517 cat confdefs.h
>>conftest.
$ac_ext
24518 cat >>conftest.
$ac_ext <<_ACEOF
24519 /* end confdefs.h. */
24520 /* Define accept to an innocuous variant, in case <limits.h> declares accept.
24521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24522 #define accept innocuous_accept
24524 /* System header to define __stub macros and hopefully few prototypes,
24525 which can conflict with char accept (); below.
24526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24527 <limits.h> exists even on freestanding compilers. */
24530 # include <limits.h>
24532 # include <assert.h>
24537 /* Override any gcc2 internal prototype to avoid an error. */
24542 /* We use char because int might match the return type of a gcc2
24543 builtin and then its argument prototype would still apply. */
24545 /* The GNU C library defines this for functions which it implements
24546 to always fail with ENOSYS. Some functions are actually named
24547 something starting with __ and the normal name is an alias. */
24548 #if defined (__stub_accept) || defined (__stub___accept)
24551 char (*f) () = accept;
24560 return f != accept;
24565 rm -f conftest.
$ac_objext conftest
$ac_exeext
24566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24567 (eval $ac_link) 2>conftest.er1
24569 grep -v '^ *+' conftest.er1
>conftest.err
24571 cat conftest.err
>&5
24572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24573 (exit $ac_status); } &&
24574 { ac_try
='test -z "$ac_c_werror_flag"
24575 || test ! -s conftest.err'
24576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24577 (eval $ac_try) 2>&5
24579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24580 (exit $ac_status); }; } &&
24581 { ac_try
='test -s conftest$ac_exeext'
24582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24583 (eval $ac_try) 2>&5
24585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24586 (exit $ac_status); }; }; then
24587 ac_cv_func_accept
=yes
24589 echo "$as_me: failed program was:" >&5
24590 sed 's/^/| /' conftest.
$ac_ext >&5
24592 ac_cv_func_accept
=no
24594 rm -f conftest.err conftest.
$ac_objext \
24595 conftest
$ac_exeext conftest.
$ac_ext
24597 echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5
24598 echo "${ECHO_T}$ac_cv_func_accept" >&6
24599 if test $ac_cv_func_accept = yes; then
24601 gcj_cv_lib_sockets
="-lsocket -lnsl"
24604 unset ac_cv_func_accept
24607 unset ac_cv_func_gethostbyname
24609 LIBS
="$LIBS $gcj_cv_lib_sockets"
24610 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24611 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24612 if test "${ac_cv_func_gethostbyname+set}" = set; then
24613 echo $ECHO_N "(cached) $ECHO_C" >&6
24615 if test x
$gcc_no_link = xyes
; then
24616 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24618 { (exit 1); exit 1; }; }
24620 cat >conftest.
$ac_ext <<_ACEOF
24623 cat confdefs.h
>>conftest.
$ac_ext
24624 cat >>conftest.
$ac_ext <<_ACEOF
24625 /* end confdefs.h. */
24626 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24628 #define gethostbyname innocuous_gethostbyname
24630 /* System header to define __stub macros and hopefully few prototypes,
24631 which can conflict with char gethostbyname (); below.
24632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24633 <limits.h> exists even on freestanding compilers. */
24636 # include <limits.h>
24638 # include <assert.h>
24641 #undef gethostbyname
24643 /* Override any gcc2 internal prototype to avoid an error. */
24648 /* We use char because int might match the return type of a gcc2
24649 builtin and then its argument prototype would still apply. */
24650 char gethostbyname ();
24651 /* The GNU C library defines this for functions which it implements
24652 to always fail with ENOSYS. Some functions are actually named
24653 something starting with __ and the normal name is an alias. */
24654 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24657 char (*f) () = gethostbyname;
24666 return f != gethostbyname;
24671 rm -f conftest.
$ac_objext conftest
$ac_exeext
24672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24673 (eval $ac_link) 2>conftest.er1
24675 grep -v '^ *+' conftest.er1
>conftest.err
24677 cat conftest.err
>&5
24678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24679 (exit $ac_status); } &&
24680 { ac_try
='test -z "$ac_c_werror_flag"
24681 || test ! -s conftest.err'
24682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24683 (eval $ac_try) 2>&5
24685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24686 (exit $ac_status); }; } &&
24687 { ac_try
='test -s conftest$ac_exeext'
24688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24689 (eval $ac_try) 2>&5
24691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24692 (exit $ac_status); }; }; then
24693 ac_cv_func_gethostbyname
=yes
24695 echo "$as_me: failed program was:" >&5
24696 sed 's/^/| /' conftest.
$ac_ext >&5
24698 ac_cv_func_gethostbyname
=no
24700 rm -f conftest.err conftest.
$ac_objext \
24701 conftest
$ac_exeext conftest.
$ac_ext
24703 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24704 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24705 if test $ac_cv_func_gethostbyname = yes; then
24708 echo "$as_me:$LINENO: checking for main in -lnsl" >&5
24709 echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
24710 if test "${ac_cv_lib_nsl_main+set}" = set; then
24711 echo $ECHO_N "(cached) $ECHO_C" >&6
24713 ac_check_lib_save_LIBS
=$LIBS
24715 if test x
$gcc_no_link = xyes
; then
24716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24718 { (exit 1); exit 1; }; }
24720 cat >conftest.
$ac_ext <<_ACEOF
24723 cat confdefs.h
>>conftest.
$ac_ext
24724 cat >>conftest.
$ac_ext <<_ACEOF
24725 /* end confdefs.h. */
24736 rm -f conftest.
$ac_objext conftest
$ac_exeext
24737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24738 (eval $ac_link) 2>conftest.er1
24740 grep -v '^ *+' conftest.er1
>conftest.err
24742 cat conftest.err
>&5
24743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24744 (exit $ac_status); } &&
24745 { ac_try
='test -z "$ac_c_werror_flag"
24746 || test ! -s conftest.err'
24747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24748 (eval $ac_try) 2>&5
24750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24751 (exit $ac_status); }; } &&
24752 { ac_try
='test -s conftest$ac_exeext'
24753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24754 (eval $ac_try) 2>&5
24756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24757 (exit $ac_status); }; }; then
24758 ac_cv_lib_nsl_main
=yes
24760 echo "$as_me: failed program was:" >&5
24761 sed 's/^/| /' conftest.
$ac_ext >&5
24763 ac_cv_lib_nsl_main
=no
24765 rm -f conftest.err conftest.
$ac_objext \
24766 conftest
$ac_exeext conftest.
$ac_ext
24767 LIBS
=$ac_check_lib_save_LIBS
24769 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
24770 echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
24771 if test $ac_cv_lib_nsl_main = yes; then
24772 gcj_cv_lib_sockets
="$gcj_cv_lib_sockets -lnsl"
24777 unset ac_cv_func_gethostbyname
24781 echo "$as_me:$LINENO: result: $gcj_cv_lib_sockets" >&5
24782 echo "${ECHO_T}$gcj_cv_lib_sockets" >&6
24783 SYSTEMSPEC
="$SYSTEMSPEC $gcj_cv_lib_sockets"
24785 if test "$with_system_zlib" = yes; then
24786 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24787 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24788 if test "${ac_cv_lib_z_deflate+set}" = set; then
24789 echo $ECHO_N "(cached) $ECHO_C" >&6
24791 ac_check_lib_save_LIBS
=$LIBS
24793 if test x
$gcc_no_link = xyes
; then
24794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24796 { (exit 1); exit 1; }; }
24798 cat >conftest.
$ac_ext <<_ACEOF
24801 cat confdefs.h
>>conftest.
$ac_ext
24802 cat >>conftest.
$ac_ext <<_ACEOF
24803 /* end confdefs.h. */
24805 /* Override any gcc2 internal prototype to avoid an error. */
24809 /* We use char because int might match the return type of a gcc2
24810 builtin and then its argument prototype would still apply. */
24820 rm -f conftest.
$ac_objext conftest
$ac_exeext
24821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24822 (eval $ac_link) 2>conftest.er1
24824 grep -v '^ *+' conftest.er1
>conftest.err
24826 cat conftest.err
>&5
24827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24828 (exit $ac_status); } &&
24829 { ac_try
='test -z "$ac_c_werror_flag"
24830 || test ! -s conftest.err'
24831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24832 (eval $ac_try) 2>&5
24834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24835 (exit $ac_status); }; } &&
24836 { ac_try
='test -s conftest$ac_exeext'
24837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24838 (eval $ac_try) 2>&5
24840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24841 (exit $ac_status); }; }; then
24842 ac_cv_lib_z_deflate
=yes
24844 echo "$as_me: failed program was:" >&5
24845 sed 's/^/| /' conftest.
$ac_ext >&5
24847 ac_cv_lib_z_deflate
=no
24849 rm -f conftest.err conftest.
$ac_objext \
24850 conftest
$ac_exeext conftest.
$ac_ext
24851 LIBS
=$ac_check_lib_save_LIBS
24853 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24854 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24855 if test $ac_cv_lib_z_deflate = yes; then
24863 # Test for Gtk stuff, if asked for.
24864 if test "$use_gtk_awt" = yes; then
24868 if test -z "$PKG_CONFIG"; then
24869 # Extract the first word of "pkg-config", so it can be a program name with args.
24870 set dummy pkg-config
; ac_word
=$2
24871 echo "$as_me:$LINENO: checking for $ac_word" >&5
24872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24873 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24874 echo $ECHO_N "(cached) $ECHO_C" >&6
24876 case $PKG_CONFIG in
24878 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24882 for as_dir
in $PATH
24885 test -z "$as_dir" && as_dir
=.
24886 for ac_exec_ext
in '' $ac_executable_extensions; do
24887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24888 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24895 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24899 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24901 if test -n "$PKG_CONFIG"; then
24902 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24903 echo "${ECHO_T}$PKG_CONFIG" >&6
24905 echo "$as_me:$LINENO: result: no" >&5
24906 echo "${ECHO_T}no" >&6
24911 if test "$PKG_CONFIG" = "no" ; then
24912 echo "*** The pkg-config script could not be found. Make sure it is"
24913 echo "*** in your path, or set the PKG_CONFIG environment variable"
24914 echo "*** to the full path to pkg-config."
24915 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24917 PKG_CONFIG_MIN_VERSION
=0.9.0
24918 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24919 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4" >&5
24920 echo $ECHO_N "checking for gtk+-2.0 >= 2.4... $ECHO_C" >&6
24922 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4" ; then
24923 echo "$as_me:$LINENO: result: yes" >&5
24924 echo "${ECHO_T}yes" >&6
24927 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
24928 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
24929 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4"`
24930 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
24931 echo "${ECHO_T}$GTK_CFLAGS" >&6
24933 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
24934 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
24935 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4"`
24936 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
24937 echo "${ECHO_T}$GTK_LIBS" >&6
24941 ## If we have a custom action on failure, don't print errors, but
24942 ## do set a variable so people can do so.
24943 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4"`
24944 echo $GTK_PKG_ERRORS
24950 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24951 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24955 if test $succeeded = yes; then
24958 { { 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
24959 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;}
24960 { (exit 1); exit 1; }; }
24969 if test -z "$PKG_CONFIG"; then
24970 # Extract the first word of "pkg-config", so it can be a program name with args.
24971 set dummy pkg-config
; ac_word
=$2
24972 echo "$as_me:$LINENO: checking for $ac_word" >&5
24973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24974 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24975 echo $ECHO_N "(cached) $ECHO_C" >&6
24977 case $PKG_CONFIG in
24979 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24983 for as_dir
in $PATH
24986 test -z "$as_dir" && as_dir
=.
24987 for ac_exec_ext
in '' $ac_executable_extensions; do
24988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24989 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24996 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25000 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25002 if test -n "$PKG_CONFIG"; then
25003 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25004 echo "${ECHO_T}$PKG_CONFIG" >&6
25006 echo "$as_me:$LINENO: result: no" >&5
25007 echo "${ECHO_T}no" >&6
25012 if test "$PKG_CONFIG" = "no" ; then
25013 echo "*** The pkg-config script could not be found. Make sure it is"
25014 echo "*** in your path, or set the PKG_CONFIG environment variable"
25015 echo "*** to the full path to pkg-config."
25016 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25018 PKG_CONFIG_MIN_VERSION
=0.9.0
25019 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25020 echo "$as_me:$LINENO: checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4" >&5
25021 echo $ECHO_N "checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... $ECHO_C" >&6
25023 if $PKG_CONFIG --exists "glib-2.0 >= 2.4 gthread-2.0 >= 2.4" ; then
25024 echo "$as_me:$LINENO: result: yes" >&5
25025 echo "${ECHO_T}yes" >&6
25028 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
25029 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
25030 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
25031 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
25032 echo "${ECHO_T}$GLIB_CFLAGS" >&6
25034 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
25035 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
25036 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
25037 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
25038 echo "${ECHO_T}$GLIB_LIBS" >&6
25042 ## If we have a custom action on failure, don't print errors, but
25043 ## do set a variable so people can do so.
25044 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
25045 echo $GLIB_PKG_ERRORS
25051 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25052 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25056 if test $succeeded = yes; then
25059 { { 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
25060 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;}
25061 { (exit 1); exit 1; }; }
25070 if test -z "$PKG_CONFIG"; then
25071 # Extract the first word of "pkg-config", so it can be a program name with args.
25072 set dummy pkg-config
; ac_word
=$2
25073 echo "$as_me:$LINENO: checking for $ac_word" >&5
25074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25075 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25076 echo $ECHO_N "(cached) $ECHO_C" >&6
25078 case $PKG_CONFIG in
25080 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25084 for as_dir
in $PATH
25087 test -z "$as_dir" && as_dir
=.
25088 for ac_exec_ext
in '' $ac_executable_extensions; do
25089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25090 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25097 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25101 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25103 if test -n "$PKG_CONFIG"; then
25104 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25105 echo "${ECHO_T}$PKG_CONFIG" >&6
25107 echo "$as_me:$LINENO: result: no" >&5
25108 echo "${ECHO_T}no" >&6
25113 if test "$PKG_CONFIG" = "no" ; then
25114 echo "*** The pkg-config script could not be found. Make sure it is"
25115 echo "*** in your path, or set the PKG_CONFIG environment variable"
25116 echo "*** to the full path to pkg-config."
25117 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25119 PKG_CONFIG_MIN_VERSION
=0.9.0
25120 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25121 echo "$as_me:$LINENO: checking for libart-2.0 >= 2.1" >&5
25122 echo $ECHO_N "checking for libart-2.0 >= 2.1... $ECHO_C" >&6
25124 if $PKG_CONFIG --exists "libart-2.0 >= 2.1" ; then
25125 echo "$as_me:$LINENO: result: yes" >&5
25126 echo "${ECHO_T}yes" >&6
25129 echo "$as_me:$LINENO: checking LIBART_CFLAGS" >&5
25130 echo $ECHO_N "checking LIBART_CFLAGS... $ECHO_C" >&6
25131 LIBART_CFLAGS
=`$PKG_CONFIG --cflags "libart-2.0 >= 2.1"`
25132 echo "$as_me:$LINENO: result: $LIBART_CFLAGS" >&5
25133 echo "${ECHO_T}$LIBART_CFLAGS" >&6
25135 echo "$as_me:$LINENO: checking LIBART_LIBS" >&5
25136 echo $ECHO_N "checking LIBART_LIBS... $ECHO_C" >&6
25137 LIBART_LIBS
=`$PKG_CONFIG --libs "libart-2.0 >= 2.1"`
25138 echo "$as_me:$LINENO: result: $LIBART_LIBS" >&5
25139 echo "${ECHO_T}$LIBART_LIBS" >&6
25143 ## If we have a custom action on failure, don't print errors, but
25144 ## do set a variable so people can do so.
25145 LIBART_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libart-2.0 >= 2.1"`
25146 echo $LIBART_PKG_ERRORS
25152 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25153 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25157 if test $succeeded = yes; then
25160 { { 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
25161 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;}
25162 { (exit 1); exit 1; }; }
25168 # We require the XTest Extension to support java.awt.Robot.
25169 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
25170 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
25171 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
25172 echo $ECHO_N "(cached) $ECHO_C" >&6
25174 ac_check_lib_save_LIBS
=$LIBS
25175 LIBS
="-lXtst ${X_LIBS} $LIBS"
25176 if test x
$gcc_no_link = xyes
; then
25177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25179 { (exit 1); exit 1; }; }
25181 cat >conftest.
$ac_ext <<_ACEOF
25184 cat confdefs.h
>>conftest.
$ac_ext
25185 cat >>conftest.
$ac_ext <<_ACEOF
25186 /* end confdefs.h. */
25188 /* Override any gcc2 internal prototype to avoid an error. */
25192 /* We use char because int might match the return type of a gcc2
25193 builtin and then its argument prototype would still apply. */
25194 char XTestQueryExtension ();
25198 XTestQueryExtension ();
25203 rm -f conftest.
$ac_objext conftest
$ac_exeext
25204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25205 (eval $ac_link) 2>conftest.er1
25207 grep -v '^ *+' conftest.er1
>conftest.err
25209 cat conftest.err
>&5
25210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25211 (exit $ac_status); } &&
25212 { ac_try
='test -z "$ac_c_werror_flag"
25213 || test ! -s conftest.err'
25214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25215 (eval $ac_try) 2>&5
25217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25218 (exit $ac_status); }; } &&
25219 { ac_try
='test -s conftest$ac_exeext'
25220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25221 (eval $ac_try) 2>&5
25223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25224 (exit $ac_status); }; }; then
25225 ac_cv_lib_Xtst_XTestQueryExtension
=yes
25227 echo "$as_me: failed program was:" >&5
25228 sed 's/^/| /' conftest.
$ac_ext >&5
25230 ac_cv_lib_Xtst_XTestQueryExtension
=no
25232 rm -f conftest.err conftest.
$ac_objext \
25233 conftest
$ac_exeext conftest.
$ac_ext
25234 LIBS
=$ac_check_lib_save_LIBS
25236 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
25237 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
25238 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
25241 { { echo "$as_me:$LINENO: error: libXtst not found, required by java.awt.Robot" >&5
25242 echo "$as_me: error: libXtst not found, required by java.awt.Robot" >&2;}
25243 { (exit 1); exit 1; }; }
25248 # On Solaris, and maybe other architectures, the Boehm collector
25250 if test "$GC" = boehm
; then
25253 # IRIX 6 lacks a N64 libdl.so, but only the N32 (default multilib)
25254 # libgcj.spec is used, so override here
25255 SYSTEMSPEC
="$SYSTEMSPEC %{!mabi=64:-ldl}"
25258 echo "$as_me:$LINENO: checking for main in -ldl" >&5
25259 echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6
25260 if test "${ac_cv_lib_dl_main+set}" = set; then
25261 echo $ECHO_N "(cached) $ECHO_C" >&6
25263 ac_check_lib_save_LIBS
=$LIBS
25265 if test x
$gcc_no_link = xyes
; then
25266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25268 { (exit 1); exit 1; }; }
25270 cat >conftest.
$ac_ext <<_ACEOF
25273 cat confdefs.h
>>conftest.
$ac_ext
25274 cat >>conftest.
$ac_ext <<_ACEOF
25275 /* end confdefs.h. */
25286 rm -f conftest.
$ac_objext conftest
$ac_exeext
25287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25288 (eval $ac_link) 2>conftest.er1
25290 grep -v '^ *+' conftest.er1
>conftest.err
25292 cat conftest.err
>&5
25293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25294 (exit $ac_status); } &&
25295 { ac_try
='test -z "$ac_c_werror_flag"
25296 || test ! -s conftest.err'
25297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25298 (eval $ac_try) 2>&5
25300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25301 (exit $ac_status); }; } &&
25302 { ac_try
='test -s conftest$ac_exeext'
25303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25304 (eval $ac_try) 2>&5
25306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25307 (exit $ac_status); }; }; then
25308 ac_cv_lib_dl_main
=yes
25310 echo "$as_me: failed program was:" >&5
25311 sed 's/^/| /' conftest.
$ac_ext >&5
25313 ac_cv_lib_dl_main
=no
25315 rm -f conftest.err conftest.
$ac_objext \
25316 conftest
$ac_exeext conftest.
$ac_ext
25317 LIBS
=$ac_check_lib_save_LIBS
25319 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_main" >&5
25320 echo "${ECHO_T}$ac_cv_lib_dl_main" >&6
25321 if test $ac_cv_lib_dl_main = yes; then
25322 SYSTEMSPEC
="$SYSTEMSPEC -ldl"
25330 # Use a semicolon as CLASSPATH separator for MinGW, otherwise a colon.
25332 *-mingw32) CLASSPATH_SEPARATOR
=';' ;;
25333 *) CLASSPATH_SEPARATOR
=':' ;;
25337 # We must search the source tree for java.lang, since we still don't
25338 # have libgcj.jar nor java/lang/*.class
25339 GCJ_SAVE_CPPFLAGS
=$CPPFLAGS
25340 CPPFLAGS
="$CPPFLAGS -I`${PWDCMD-pwd}` -I`cd $srcdir && ${PWDCMD-pwd}`"
25342 # Since some classes depend on this one, we need its source available
25343 # before we can do any GCJ compilation test :-(
25344 if test ! -f gnu
/classpath
/Configuration.java
; then
25345 test -d gnu || mkdir gnu
25346 test -d gnu
/classpath || mkdir gnu
/classpath
25347 # Note that it is not crucial that all the values here be correct.
25348 sed -e "s,@prefix@,$prefix," \
25349 -e "s,@VERSION@,$VERSION," \
25350 -e "s,@LIBDEBUG@,false," \
25351 -e "s,@INIT_LOAD_LIBRARY@,false," \
25352 -e "s,@@,$LIBGCJDEBUG," \
25353 -e "s,@default_toolkit@,$TOOLKIT," \
25354 -e "s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,false," \
25355 -e "s,@GTK_CAIRO_ENABLED@,false," \
25356 -e "s,@ECJ_JAR@,," \
25357 < $srcdir/classpath
/gnu
/classpath
/Configuration.java.
in \
25358 > gnu
/classpath
/Configuration.java
25359 # We do not want to redirect the output of the grep below to /dev/null,
25360 # but we add /dev/null to the input list so that grep will print the
25361 # filename of Configuration.java in case it finds any matches.
25362 if grep '@.*@' gnu
/classpath
/Configuration.java
/dev
/null
; then
25363 { { echo "$as_me:$LINENO: error: configure.ac is missing the substitutions above" >&5
25364 echo "$as_me: error: configure.ac is missing the substitutions above" >&2;}
25365 { (exit 1); exit 1; }; }
25370 for ac_prog
in gcj gcj-3.2 gcj-3.1 gcj-3.0 gcj-2.95
25372 # Extract the first word of "$ac_prog", so it can be a program name with args.
25373 set dummy
$ac_prog; ac_word
=$2
25374 echo "$as_me:$LINENO: checking for $ac_word" >&5
25375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25376 if test "${ac_cv_prog_GCJ+set}" = set; then
25377 echo $ECHO_N "(cached) $ECHO_C" >&6
25379 if test -n "$GCJ"; then
25380 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
25382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25383 for as_dir
in $PATH
25386 test -z "$as_dir" && as_dir
=.
25387 for ac_exec_ext
in '' $ac_executable_extensions; do
25388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25389 ac_cv_prog_GCJ
="$ac_prog"
25390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25398 GCJ
=$ac_cv_prog_GCJ
25399 if test -n "$GCJ"; then
25400 echo "$as_me:$LINENO: result: $GCJ" >&5
25401 echo "${ECHO_T}$GCJ" >&6
25403 echo "$as_me:$LINENO: result: no" >&5
25404 echo "${ECHO_T}no" >&6
25407 test -n "$GCJ" && break
25409 test -n "$GCJ" || GCJ
="gcj"
25411 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
25412 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
25413 { (exit 1); exit 1; }; }
25414 if test "x${GCJFLAGS-unset}" = xunset
; then
25419 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
25421 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
25422 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
25423 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
25424 echo $ECHO_N "(cached) $ECHO_C" >&6
25426 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
25427 # We make a subdir and do the tests there. Otherwise we can end up
25428 # making bogus files that we don't know about and never remove. For
25429 # instance it was reported that on HP-UX the gcc test will end up
25430 # making a dummy file named `D' -- because `-MD' means `put the output
25433 # Copy depcomp to subdir because otherwise we won't find it if we're
25434 # using a relative directory.
25435 cp "$am_depcomp" conftest.dir
25437 # We will build objects and dependencies in a subdirectory because
25438 # it helps to detect inapplicable dependency modes. For instance
25439 # both Tru64's cc and ICC support -MD to output dependencies as a
25440 # side effect of compilation, but ICC will put the dependencies in
25441 # the current directory while Tru64 will put them in the object
25445 am_cv_GCJ_dependencies_compiler_type
=none
25446 if test "$am_compiler_list" = ""; then
25447 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
25449 for depmode
in $am_compiler_list; do
25450 # Setup a source with many dependencies, because some compilers
25451 # like to wrap large dependency lists on column 80 (with \), and
25452 # we should not choose a depcomp mode which is confused by this.
25454 # We need to recreate these files for each test, as the compiler may
25455 # overwrite some of them when testing with obscure command lines.
25456 # This happens at least with the AIX C compiler.
25458 for i
in 1 2 3 4 5 6; do
25459 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
25460 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
25461 # Solaris 8's {/usr,}/bin/sh.
25462 touch sub
/conftst
$i.h
25464 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
25468 # after this tag, mechanisms are not by side-effect, so they'll
25469 # only be used when explicitly requested
25470 if test "x$enable_dependency_tracking" = xyes
; then
25478 # We check with `-c' and `-o' for the sake of the "dashmstdout"
25479 # mode. It turns out that the SunPro C++ compiler does not properly
25480 # handle `-M -o', and we need to detect this.
25481 if depmode
=$depmode \
25482 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
25483 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
25484 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
25485 >/dev
/null
2>conftest.err
&&
25486 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
25487 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
25488 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
25489 # icc doesn't choke on unknown options, it will just issue warnings
25490 # or remarks (even with -Werror). So we grep stderr for any message
25491 # that says an option was ignored or not supported.
25492 # When given -MP, icc 7.0 and 7.1 complain thusly:
25493 # icc: Command line warning: ignoring option '-M'; no argument required
25494 # The diagnosis changed in icc 8.0:
25495 # icc: Command line remark: option '-MP' not supported
25496 if (grep 'ignoring option' conftest.err ||
25497 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
25498 am_cv_GCJ_dependencies_compiler_type
=$depmode
25505 rm -rf conftest.dir
25507 am_cv_GCJ_dependencies_compiler_type
=none
25511 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
25512 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
25513 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
25518 test "x$enable_dependency_tracking" != xno \
25519 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
25520 am__fastdepGCJ_TRUE
=
25521 am__fastdepGCJ_FALSE
='#'
25523 am__fastdepGCJ_TRUE
='#'
25524 am__fastdepGCJ_FALSE
=
25531 rm -f gnu
/classpath
/Configuration.java
25533 CPPFLAGS
=$GCJ_SAVE_CPPFLAGS
25535 echo "$as_me:$LINENO: checking for void *" >&5
25536 echo $ECHO_N "checking for void *... $ECHO_C" >&6
25537 if test "${ac_cv_type_void_p+set}" = set; then
25538 echo $ECHO_N "(cached) $ECHO_C" >&6
25540 cat >conftest.
$ac_ext <<_ACEOF
25543 cat confdefs.h
>>conftest.
$ac_ext
25544 cat >>conftest.
$ac_ext <<_ACEOF
25545 /* end confdefs.h. */
25546 $ac_includes_default
25552 if (sizeof (void *))
25558 rm -f conftest.
$ac_objext
25559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25560 (eval $ac_compile) 2>conftest.er1
25562 grep -v '^ *+' conftest.er1
>conftest.err
25564 cat conftest.err
>&5
25565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25566 (exit $ac_status); } &&
25567 { ac_try
='test -z "$ac_c_werror_flag"
25568 || test ! -s conftest.err'
25569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25570 (eval $ac_try) 2>&5
25572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25573 (exit $ac_status); }; } &&
25574 { ac_try
='test -s conftest.$ac_objext'
25575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25576 (eval $ac_try) 2>&5
25578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25579 (exit $ac_status); }; }; then
25580 ac_cv_type_void_p
=yes
25582 echo "$as_me: failed program was:" >&5
25583 sed 's/^/| /' conftest.
$ac_ext >&5
25585 ac_cv_type_void_p
=no
25587 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25589 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
25590 echo "${ECHO_T}$ac_cv_type_void_p" >&6
25592 echo "$as_me:$LINENO: checking size of void *" >&5
25593 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
25594 if test "${ac_cv_sizeof_void_p+set}" = set; then
25595 echo $ECHO_N "(cached) $ECHO_C" >&6
25597 if test "$ac_cv_type_void_p" = yes; then
25598 # The cast to unsigned long works around a bug in the HP C Compiler
25599 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25600 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25601 # This bug is HP SR number 8606223364.
25602 if test "$cross_compiling" = yes; then
25603 # Depending upon the size, compute the lo and hi bounds.
25604 cat >conftest.
$ac_ext <<_ACEOF
25607 cat confdefs.h
>>conftest.
$ac_ext
25608 cat >>conftest.
$ac_ext <<_ACEOF
25609 /* end confdefs.h. */
25610 $ac_includes_default
25614 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
25621 rm -f conftest.
$ac_objext
25622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25623 (eval $ac_compile) 2>conftest.er1
25625 grep -v '^ *+' conftest.er1
>conftest.err
25627 cat conftest.err
>&5
25628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25629 (exit $ac_status); } &&
25630 { ac_try
='test -z "$ac_c_werror_flag"
25631 || test ! -s conftest.err'
25632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25633 (eval $ac_try) 2>&5
25635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25636 (exit $ac_status); }; } &&
25637 { ac_try
='test -s conftest.$ac_objext'
25638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25639 (eval $ac_try) 2>&5
25641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25642 (exit $ac_status); }; }; then
25645 cat >conftest.
$ac_ext <<_ACEOF
25648 cat confdefs.h
>>conftest.
$ac_ext
25649 cat >>conftest.
$ac_ext <<_ACEOF
25650 /* end confdefs.h. */
25651 $ac_includes_default
25655 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
25662 rm -f conftest.
$ac_objext
25663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25664 (eval $ac_compile) 2>conftest.er1
25666 grep -v '^ *+' conftest.er1
>conftest.err
25668 cat conftest.err
>&5
25669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25670 (exit $ac_status); } &&
25671 { ac_try
='test -z "$ac_c_werror_flag"
25672 || test ! -s conftest.err'
25673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25674 (eval $ac_try) 2>&5
25676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25677 (exit $ac_status); }; } &&
25678 { ac_try
='test -s conftest.$ac_objext'
25679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25680 (eval $ac_try) 2>&5
25682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25683 (exit $ac_status); }; }; then
25684 ac_hi
=$ac_mid; break
25686 echo "$as_me: failed program was:" >&5
25687 sed 's/^/| /' conftest.
$ac_ext >&5
25689 ac_lo
=`expr $ac_mid + 1`
25690 if test $ac_lo -le $ac_mid; then
25694 ac_mid
=`expr 2 '*' $ac_mid + 1`
25696 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25699 echo "$as_me: failed program was:" >&5
25700 sed 's/^/| /' conftest.
$ac_ext >&5
25702 cat >conftest.
$ac_ext <<_ACEOF
25705 cat confdefs.h
>>conftest.
$ac_ext
25706 cat >>conftest.
$ac_ext <<_ACEOF
25707 /* end confdefs.h. */
25708 $ac_includes_default
25712 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
25719 rm -f conftest.
$ac_objext
25720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25721 (eval $ac_compile) 2>conftest.er1
25723 grep -v '^ *+' conftest.er1
>conftest.err
25725 cat conftest.err
>&5
25726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25727 (exit $ac_status); } &&
25728 { ac_try
='test -z "$ac_c_werror_flag"
25729 || test ! -s conftest.err'
25730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25731 (eval $ac_try) 2>&5
25733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25734 (exit $ac_status); }; } &&
25735 { ac_try
='test -s conftest.$ac_objext'
25736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25737 (eval $ac_try) 2>&5
25739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25740 (exit $ac_status); }; }; then
25743 cat >conftest.
$ac_ext <<_ACEOF
25746 cat confdefs.h
>>conftest.
$ac_ext
25747 cat >>conftest.
$ac_ext <<_ACEOF
25748 /* end confdefs.h. */
25749 $ac_includes_default
25753 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
25760 rm -f conftest.
$ac_objext
25761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25762 (eval $ac_compile) 2>conftest.er1
25764 grep -v '^ *+' conftest.er1
>conftest.err
25766 cat conftest.err
>&5
25767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25768 (exit $ac_status); } &&
25769 { ac_try
='test -z "$ac_c_werror_flag"
25770 || test ! -s conftest.err'
25771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25772 (eval $ac_try) 2>&5
25774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25775 (exit $ac_status); }; } &&
25776 { ac_try
='test -s conftest.$ac_objext'
25777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25778 (eval $ac_try) 2>&5
25780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25781 (exit $ac_status); }; }; then
25782 ac_lo
=$ac_mid; break
25784 echo "$as_me: failed program was:" >&5
25785 sed 's/^/| /' conftest.
$ac_ext >&5
25787 ac_hi
=`expr '(' $ac_mid ')' - 1`
25788 if test $ac_mid -le $ac_hi; then
25792 ac_mid
=`expr 2 '*' $ac_mid`
25794 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25797 echo "$as_me: failed program was:" >&5
25798 sed 's/^/| /' conftest.
$ac_ext >&5
25802 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25805 # Binary search between lo and hi bounds.
25806 while test "x$ac_lo" != "x$ac_hi"; do
25807 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25808 cat >conftest.
$ac_ext <<_ACEOF
25811 cat confdefs.h
>>conftest.
$ac_ext
25812 cat >>conftest.
$ac_ext <<_ACEOF
25813 /* end confdefs.h. */
25814 $ac_includes_default
25818 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
25825 rm -f conftest.
$ac_objext
25826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25827 (eval $ac_compile) 2>conftest.er1
25829 grep -v '^ *+' conftest.er1
>conftest.err
25831 cat conftest.err
>&5
25832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25833 (exit $ac_status); } &&
25834 { ac_try
='test -z "$ac_c_werror_flag"
25835 || test ! -s conftest.err'
25836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25837 (eval $ac_try) 2>&5
25839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25840 (exit $ac_status); }; } &&
25841 { ac_try
='test -s conftest.$ac_objext'
25842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25843 (eval $ac_try) 2>&5
25845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25846 (exit $ac_status); }; }; then
25849 echo "$as_me: failed program was:" >&5
25850 sed 's/^/| /' conftest.
$ac_ext >&5
25852 ac_lo
=`expr '(' $ac_mid ')' + 1`
25854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25857 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
25858 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
25859 echo "$as_me: error: in \`$ac_pwd':" >&2;}
25860 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
25861 See \`config.log' for more details." >&5
25862 echo "$as_me: error: cannot compute sizeof (void *), 77
25863 See \`config.log' for more details." >&2;}
25864 { (exit 1); exit 1; }; }; } ;;
25867 if test "$cross_compiling" = yes; then
25868 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
25869 echo "$as_me: error: in \`$ac_pwd':" >&2;}
25870 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25871 See \`config.log' for more details." >&5
25872 echo "$as_me: error: cannot run test program while cross compiling
25873 See \`config.log' for more details." >&2;}
25874 { (exit 1); exit 1; }; }; }
25876 cat >conftest.
$ac_ext <<_ACEOF
25879 cat confdefs.h
>>conftest.
$ac_ext
25880 cat >>conftest.
$ac_ext <<_ACEOF
25881 /* end confdefs.h. */
25882 $ac_includes_default
25883 long longval () { return (long) (sizeof (void *)); }
25884 unsigned long ulongval () { return (long) (sizeof (void *)); }
25886 #include <stdlib.h>
25891 FILE *f = fopen ("conftest.val", "w");
25894 if (((long) (sizeof (void *))) < 0)
25896 long i = longval ();
25897 if (i != ((long) (sizeof (void *))))
25899 fprintf (f, "%ld\n", i);
25903 unsigned long i = ulongval ();
25904 if (i != ((long) (sizeof (void *))))
25906 fprintf (f, "%lu\n", i);
25908 exit (ferror (f) || fclose (f) != 0);
25914 rm -f conftest
$ac_exeext
25915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25916 (eval $ac_link) 2>&5
25918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25919 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25921 (eval $ac_try) 2>&5
25923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25924 (exit $ac_status); }; }; then
25925 ac_cv_sizeof_void_p
=`cat conftest.val`
25927 echo "$as_me: program exited with status $ac_status" >&5
25928 echo "$as_me: failed program was:" >&5
25929 sed 's/^/| /' conftest.
$ac_ext >&5
25931 ( exit $ac_status )
25932 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
25933 echo "$as_me: error: in \`$ac_pwd':" >&2;}
25934 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
25935 See \`config.log' for more details." >&5
25936 echo "$as_me: error: cannot compute sizeof (void *), 77
25937 See \`config.log' for more details." >&2;}
25938 { (exit 1); exit 1; }; }; }
25940 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25945 ac_cv_sizeof_void_p
=0
25948 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
25949 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
25950 cat >>confdefs.h
<<_ACEOF
25951 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
25956 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25957 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
25958 if test "${ac_cv_c_bigendian+set}" = set; then
25959 echo $ECHO_N "(cached) $ECHO_C" >&6
25961 # See if sys/param.h defines the BYTE_ORDER macro.
25962 cat >conftest.
$ac_ext <<_ACEOF
25965 cat confdefs.h
>>conftest.
$ac_ext
25966 cat >>conftest.
$ac_ext <<_ACEOF
25967 /* end confdefs.h. */
25968 #include <sys/types.h>
25969 #include <sys/param.h>
25974 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25975 bogus endian macros
25982 rm -f conftest.
$ac_objext
25983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25984 (eval $ac_compile) 2>conftest.er1
25986 grep -v '^ *+' conftest.er1
>conftest.err
25988 cat conftest.err
>&5
25989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25990 (exit $ac_status); } &&
25991 { ac_try
='test -z "$ac_c_werror_flag"
25992 || test ! -s conftest.err'
25993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25994 (eval $ac_try) 2>&5
25996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25997 (exit $ac_status); }; } &&
25998 { ac_try
='test -s conftest.$ac_objext'
25999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26000 (eval $ac_try) 2>&5
26002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26003 (exit $ac_status); }; }; then
26004 # It does; now see whether it defined to BIG_ENDIAN or not.
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
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 ac_cv_c_bigendian
=yes
26049 echo "$as_me: failed program was:" >&5
26050 sed 's/^/| /' conftest.
$ac_ext >&5
26052 ac_cv_c_bigendian
=no
26054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26056 echo "$as_me: failed program was:" >&5
26057 sed 's/^/| /' conftest.
$ac_ext >&5
26059 # It does not; compile a test program.
26060 if test "$cross_compiling" = yes; then
26061 # try to guess the endianness by grepping values into an object file
26062 ac_cv_c_bigendian
=unknown
26063 cat >conftest.
$ac_ext <<_ACEOF
26066 cat confdefs.h
>>conftest.
$ac_ext
26067 cat >>conftest.
$ac_ext <<_ACEOF
26068 /* end confdefs.h. */
26069 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
26070 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
26071 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
26072 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
26073 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
26074 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
26078 _ascii (); _ebcdic ();
26083 rm -f conftest.
$ac_objext
26084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26085 (eval $ac_compile) 2>conftest.er1
26087 grep -v '^ *+' conftest.er1
>conftest.err
26089 cat conftest.err
>&5
26090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26091 (exit $ac_status); } &&
26092 { ac_try
='test -z "$ac_c_werror_flag"
26093 || test ! -s conftest.err'
26094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26095 (eval $ac_try) 2>&5
26097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26098 (exit $ac_status); }; } &&
26099 { ac_try
='test -s conftest.$ac_objext'
26100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26101 (eval $ac_try) 2>&5
26103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26104 (exit $ac_status); }; }; then
26105 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
26106 ac_cv_c_bigendian
=yes
26108 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
26109 if test "$ac_cv_c_bigendian" = unknown
; then
26110 ac_cv_c_bigendian
=no
26112 # finding both strings is unlikely to happen, but who knows?
26113 ac_cv_c_bigendian
=unknown
26117 echo "$as_me: failed program was:" >&5
26118 sed 's/^/| /' conftest.
$ac_ext >&5
26121 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26123 cat >conftest.
$ac_ext <<_ACEOF
26126 cat confdefs.h
>>conftest.
$ac_ext
26127 cat >>conftest.
$ac_ext <<_ACEOF
26128 /* end confdefs.h. */
26132 /* Are we little or big endian? From Harbison&Steele. */
26136 char c[sizeof (long)];
26139 exit (u.c[sizeof (long) - 1] == 1);
26142 rm -f conftest
$ac_exeext
26143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26144 (eval $ac_link) 2>&5
26146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26147 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26149 (eval $ac_try) 2>&5
26151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26152 (exit $ac_status); }; }; then
26153 ac_cv_c_bigendian
=no
26155 echo "$as_me: program exited with status $ac_status" >&5
26156 echo "$as_me: failed program was:" >&5
26157 sed 's/^/| /' conftest.
$ac_ext >&5
26159 ( exit $ac_status )
26160 ac_cv_c_bigendian
=yes
26162 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26167 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26168 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
26169 case $ac_cv_c_bigendian in
26172 cat >>confdefs.h
<<\_ACEOF
26173 #define WORDS_BIGENDIAN 1
26179 { { echo "$as_me:$LINENO: error: unknown endianness
26180 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
26181 echo "$as_me: error: unknown endianness
26182 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
26183 { (exit 1); exit 1; }; } ;;
26191 if test -z "$ZLIBSPEC"; then
26192 # Use zlib from the GCC tree.
26193 ZINCS
='-I$(top_srcdir)/../zlib'
26194 ZLIBS
=..
/zlib
/libzgcj_convenience.la
26197 SYS_ZLIBS
="$ZLIBSPEC"
26210 if test "$NATIVE" = yes; then
26220 if test "$enable_shared" = yes; then
26221 ENABLE_SHARED_TRUE
=
26222 ENABLE_SHARED_FALSE
='#'
26224 ENABLE_SHARED_TRUE
='#'
26225 ENABLE_SHARED_FALSE
=
26230 if test "$NEEDS_DATA_START" = yes && test "$NATIVE" = yes; then
26231 NEEDS_DATA_START_TRUE
=
26232 NEEDS_DATA_START_FALSE
='#'
26234 NEEDS_DATA_START_TRUE
='#'
26235 NEEDS_DATA_START_FALSE
=
26240 # Process the option "--enable-version-specific-runtime-libs"
26241 # Calculate toolexeclibdir
26242 case ${version_specific_libs} in
26244 # Need the gcc compiler version to know where to install libraries
26245 # and header files if --enable-version-specific-runtime-libs option
26247 includedir
='$(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/include/'
26248 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
26249 toolexecmainlibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
26250 toolexeclibdir
=$toolexecmainlibdir
26253 if test -n "$with_cross_host" &&
26254 test x
"$with_cross_host" != x
"no"; then
26255 # Install a library built with a cross compiler in tooldir, not libdir.
26256 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
26257 toolexecmainlibdir
='$(toolexecdir)/lib'
26259 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
26260 toolexecmainlibdir
='$(libdir)'
26262 multi_os_directory
=`$CC -print-multi-os-directory`
26263 case $multi_os_directory in
26264 .
) toolexeclibdir
=$toolexecmainlibdir ;; # Avoid trailing /.
26265 *) toolexeclibdir
=$toolexecmainlibdir/$multi_os_directory ;;
26273 # Determine gcj and libgcj version number.
26274 gcjversion
=`cat "$srcdir/../gcc/BASE-VER"`
26275 libgcj_soversion
=`awk -F: '/^[^#].*:/ { print $1 }' $srcdir/libtool-version`
26276 GCJVERSION
=$gcjversion
26279 cat >>confdefs.h
<<_ACEOF
26280 #define GCJVERSION "$GCJVERSION"
26284 # Determine where the standard .db file and GNU Classpath JNI
26285 # libraries are found.
26286 gcjsubdir
=gcj-
$gcjversion-$libgcj_soversion
26287 multi_os_directory
=`$CC -print-multi-os-directory`
26288 case $multi_os_directory in
26290 dbexecdir
='$(libdir)/'$gcjsubdir # Avoid /.
26293 dbexecdir
='$(libdir)/'$multi_os_directory/$gcjsubdir
26299 cat >>confdefs.h
<<\_ACEOF
26300 #define JV_VERSION "1.5.0"
26304 cat >>confdefs.h
<<\_ACEOF
26305 #define JV_API_VERSION "1.5"
26310 case "${with_gxx_include_dir}" in
26312 { { echo "$as_me:$LINENO: error: --with-gxx-include-dir=[dir] requires a directory" >&5
26313 echo "$as_me: error: --with-gxx-include-dir=[dir] requires a directory" >&2;}
26314 { (exit 1); exit 1; }; }
26317 case "${enable_version_specific_runtime_libs}" in
26318 yes) gxx_include_dir
='$(libsubdir)/include/c++' ;;
26320 libstdcxx_incdir
='c++/$(gcc_version)'
26321 gxx_include_dir
='include/$(libstdcxx_incdir)'
26322 if test -n "$with_cross_host" &&
26323 test x
"$with_cross_host" != x
"no"; then
26324 gxx_include_dir
='${prefix}/${target_alias}/'"$gxx_include_dir"
26326 gxx_include_dir
='${prefix}/'"$gxx_include_dir"
26329 *) gxx_include_dir
=${with_gxx_include_dir} ;;
26335 # We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
26336 # On that system, sys/ioctl.h will not include sys/filio.h unless
26337 # BSD_COMP is defined; just including sys/filio.h is simpler.
26338 # We avoid AC_HEADER_DIRENT since we really only care about dirent.h
26339 # for now. If you change this, you also must update natFile.cc.
26363 for ac_header
in unistd.h bstring.h sys
/time.h sys
/types.h fcntl.h \
26364 sys
/ioctl.h sys
/filio.h sys
/stat.h sys
/select.h \
26365 sys
/socket.h netinet
/in.h arpa
/inet.h netdb.h net
/if.h \
26366 pwd.h sys
/config.h stdint.h langinfo.h locale.h \
26367 dirent.h sys
/rw_lock.h magic.h ifaddrs.h
26369 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26371 echo "$as_me:$LINENO: checking for $ac_header" >&5
26372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26374 echo $ECHO_N "(cached) $ECHO_C" >&6
26376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26379 # Is the header compilable?
26380 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26381 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26382 cat >conftest.
$ac_ext <<_ACEOF
26385 cat confdefs.h
>>conftest.
$ac_ext
26386 cat >>conftest.
$ac_ext <<_ACEOF
26387 /* end confdefs.h. */
26388 $ac_includes_default
26389 #include <$ac_header>
26391 rm -f conftest.
$ac_objext
26392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26393 (eval $ac_compile) 2>conftest.er1
26395 grep -v '^ *+' conftest.er1
>conftest.err
26397 cat conftest.err
>&5
26398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26399 (exit $ac_status); } &&
26400 { ac_try
='test -z "$ac_c_werror_flag"
26401 || test ! -s conftest.err'
26402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26403 (eval $ac_try) 2>&5
26405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26406 (exit $ac_status); }; } &&
26407 { ac_try
='test -s conftest.$ac_objext'
26408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26409 (eval $ac_try) 2>&5
26411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26412 (exit $ac_status); }; }; then
26413 ac_header_compiler
=yes
26415 echo "$as_me: failed program was:" >&5
26416 sed 's/^/| /' conftest.
$ac_ext >&5
26418 ac_header_compiler
=no
26420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26421 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26422 echo "${ECHO_T}$ac_header_compiler" >&6
26424 # Is the header present?
26425 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26426 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26427 cat >conftest.
$ac_ext <<_ACEOF
26430 cat confdefs.h
>>conftest.
$ac_ext
26431 cat >>conftest.
$ac_ext <<_ACEOF
26432 /* end confdefs.h. */
26433 #include <$ac_header>
26435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26436 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26438 grep -v '^ *+' conftest.er1
>conftest.err
26440 cat conftest.err
>&5
26441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26442 (exit $ac_status); } >/dev
/null
; then
26443 if test -s conftest.err
; then
26444 ac_cpp_err
=$ac_c_preproc_warn_flag
26445 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26452 if test -z "$ac_cpp_err"; then
26453 ac_header_preproc
=yes
26455 echo "$as_me: failed program was:" >&5
26456 sed 's/^/| /' conftest.
$ac_ext >&5
26458 ac_header_preproc
=no
26460 rm -f conftest.err conftest.
$ac_ext
26461 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26462 echo "${ECHO_T}$ac_header_preproc" >&6
26464 # So? What about this header?
26465 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26467 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26468 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26469 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26470 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26471 ac_header_preproc
=yes
26474 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26475 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26476 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26477 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26478 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26479 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26480 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26481 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26482 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26483 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26484 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26485 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26488 ## ---------------------------------- ##
26489 ## Report this to the libjava lists. ##
26490 ## ---------------------------------- ##
26493 sed "s/^/$as_me: WARNING: /" >&2
26496 echo "$as_me:$LINENO: checking for $ac_header" >&5
26497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26499 echo $ECHO_N "(cached) $ECHO_C" >&6
26501 eval "$as_ac_Header=\$ac_header_preproc"
26503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26507 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26508 cat >>confdefs.h
<<_ACEOF
26509 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26517 for ac_header
in inttypes.h
26519 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26521 echo "$as_me:$LINENO: checking for $ac_header" >&5
26522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26524 echo $ECHO_N "(cached) $ECHO_C" >&6
26526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26529 # Is the header compilable?
26530 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26531 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26532 cat >conftest.
$ac_ext <<_ACEOF
26535 cat confdefs.h
>>conftest.
$ac_ext
26536 cat >>conftest.
$ac_ext <<_ACEOF
26537 /* end confdefs.h. */
26538 $ac_includes_default
26539 #include <$ac_header>
26541 rm -f conftest.
$ac_objext
26542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26543 (eval $ac_compile) 2>conftest.er1
26545 grep -v '^ *+' conftest.er1
>conftest.err
26547 cat conftest.err
>&5
26548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549 (exit $ac_status); } &&
26550 { ac_try
='test -z "$ac_c_werror_flag"
26551 || test ! -s conftest.err'
26552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26553 (eval $ac_try) 2>&5
26555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26556 (exit $ac_status); }; } &&
26557 { ac_try
='test -s conftest.$ac_objext'
26558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26559 (eval $ac_try) 2>&5
26561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26562 (exit $ac_status); }; }; then
26563 ac_header_compiler
=yes
26565 echo "$as_me: failed program was:" >&5
26566 sed 's/^/| /' conftest.
$ac_ext >&5
26568 ac_header_compiler
=no
26570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26571 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26572 echo "${ECHO_T}$ac_header_compiler" >&6
26574 # Is the header present?
26575 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26576 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26577 cat >conftest.
$ac_ext <<_ACEOF
26580 cat confdefs.h
>>conftest.
$ac_ext
26581 cat >>conftest.
$ac_ext <<_ACEOF
26582 /* end confdefs.h. */
26583 #include <$ac_header>
26585 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26586 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26588 grep -v '^ *+' conftest.er1
>conftest.err
26590 cat conftest.err
>&5
26591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26592 (exit $ac_status); } >/dev
/null
; then
26593 if test -s conftest.err
; then
26594 ac_cpp_err
=$ac_c_preproc_warn_flag
26595 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26602 if test -z "$ac_cpp_err"; then
26603 ac_header_preproc
=yes
26605 echo "$as_me: failed program was:" >&5
26606 sed 's/^/| /' conftest.
$ac_ext >&5
26608 ac_header_preproc
=no
26610 rm -f conftest.err conftest.
$ac_ext
26611 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26612 echo "${ECHO_T}$ac_header_preproc" >&6
26614 # So? What about this header?
26615 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26617 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26618 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26619 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26620 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26621 ac_header_preproc
=yes
26624 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26625 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26626 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26627 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26628 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26629 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26630 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26631 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26632 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26633 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26634 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26635 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26638 ## ---------------------------------- ##
26639 ## Report this to the libjava lists. ##
26640 ## ---------------------------------- ##
26643 sed "s/^/$as_me: WARNING: /" >&2
26646 echo "$as_me:$LINENO: checking for $ac_header" >&5
26647 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26649 echo $ECHO_N "(cached) $ECHO_C" >&6
26651 eval "$as_ac_Header=\$ac_header_preproc"
26653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26654 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26657 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26658 cat >>confdefs.h
<<_ACEOF
26659 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26663 cat >>confdefs.h
<<\_ACEOF
26664 #define HAVE_INTTYPES_H 1
26668 cat >>confdefs.h
<<\_ACEOF
26669 #define JV_HAVE_INTTYPES_H 1
26678 echo "$as_me:$LINENO: checking for ssize_t" >&5
26679 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
26680 if test "${ac_cv_type_ssize_t+set}" = set; then
26681 echo $ECHO_N "(cached) $ECHO_C" >&6
26683 cat >conftest.
$ac_ext <<_ACEOF
26686 cat confdefs.h
>>conftest.
$ac_ext
26687 cat >>conftest.
$ac_ext <<_ACEOF
26688 /* end confdefs.h. */
26689 $ac_includes_default
26695 if (sizeof (ssize_t))
26701 rm -f conftest.
$ac_objext
26702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26703 (eval $ac_compile) 2>conftest.er1
26705 grep -v '^ *+' conftest.er1
>conftest.err
26707 cat conftest.err
>&5
26708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26709 (exit $ac_status); } &&
26710 { ac_try
='test -z "$ac_c_werror_flag"
26711 || test ! -s conftest.err'
26712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26713 (eval $ac_try) 2>&5
26715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26716 (exit $ac_status); }; } &&
26717 { ac_try
='test -s conftest.$ac_objext'
26718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26719 (eval $ac_try) 2>&5
26721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26722 (exit $ac_status); }; }; then
26723 ac_cv_type_ssize_t
=yes
26725 echo "$as_me: failed program was:" >&5
26726 sed 's/^/| /' conftest.
$ac_ext >&5
26728 ac_cv_type_ssize_t
=no
26730 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26732 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
26733 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
26734 if test $ac_cv_type_ssize_t = yes; then
26738 cat >>confdefs.h
<<_ACEOF
26739 #define ssize_t int
26744 echo "$as_me:$LINENO: checking for magic_t" >&5
26745 echo $ECHO_N "checking for magic_t... $ECHO_C" >&6
26746 if test "${ac_cv_type_magic_t+set}" = set; then
26747 echo $ECHO_N "(cached) $ECHO_C" >&6
26749 cat >conftest.
$ac_ext <<_ACEOF
26752 cat confdefs.h
>>conftest.
$ac_ext
26753 cat >>conftest.
$ac_ext <<_ACEOF
26754 /* end confdefs.h. */
26756 #ifdef HAVE_MAGIC_H
26765 if (sizeof (magic_t))
26771 rm -f conftest.
$ac_objext
26772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26773 (eval $ac_compile) 2>conftest.er1
26775 grep -v '^ *+' conftest.er1
>conftest.err
26777 cat conftest.err
>&5
26778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26779 (exit $ac_status); } &&
26780 { ac_try
='test -z "$ac_c_werror_flag"
26781 || test ! -s conftest.err'
26782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26783 (eval $ac_try) 2>&5
26785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26786 (exit $ac_status); }; } &&
26787 { ac_try
='test -s conftest.$ac_objext'
26788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26789 (eval $ac_try) 2>&5
26791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26792 (exit $ac_status); }; }; then
26793 ac_cv_type_magic_t
=yes
26795 echo "$as_me: failed program was:" >&5
26796 sed 's/^/| /' conftest.
$ac_ext >&5
26798 ac_cv_type_magic_t
=no
26800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26802 echo "$as_me:$LINENO: result: $ac_cv_type_magic_t" >&5
26803 echo "${ECHO_T}$ac_cv_type_magic_t" >&6
26804 if test $ac_cv_type_magic_t = yes; then
26807 cat >>confdefs.h
<<\_ACEOF
26808 #define HAVE_MAGIC_T 1
26814 echo "$as_me:$LINENO: checking for in_addr_t" >&5
26815 echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6
26816 cat >conftest.
$ac_ext <<_ACEOF
26819 cat confdefs.h
>>conftest.
$ac_ext
26820 cat >>conftest.
$ac_ext <<_ACEOF
26821 /* end confdefs.h. */
26822 #include <sys/types.h>
26824 #include <stdlib.h>
26825 #include <stddef.h>
26827 #if HAVE_NETINET_IN_H
26828 #include <netinet/in.h>
26838 rm -f conftest.
$ac_objext
26839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26840 (eval $ac_compile) 2>conftest.er1
26842 grep -v '^ *+' conftest.er1
>conftest.err
26844 cat conftest.err
>&5
26845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26846 (exit $ac_status); } &&
26847 { ac_try
='test -z "$ac_c_werror_flag"
26848 || test ! -s conftest.err'
26849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26850 (eval $ac_try) 2>&5
26852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26853 (exit $ac_status); }; } &&
26854 { ac_try
='test -s conftest.$ac_objext'
26855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26856 (eval $ac_try) 2>&5
26858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26859 (exit $ac_status); }; }; then
26861 cat >>confdefs.h
<<\_ACEOF
26862 #define HAVE_IN_ADDR_T 1
26865 echo "$as_me:$LINENO: result: yes" >&5
26866 echo "${ECHO_T}yes" >&6
26868 echo "$as_me: failed program was:" >&5
26869 sed 's/^/| /' conftest.
$ac_ext >&5
26871 echo "$as_me:$LINENO: result: no" >&5
26872 echo "${ECHO_T}no" >&6
26874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26876 echo "$as_me:$LINENO: checking whether struct ip_mreq is in netinet/in.h" >&5
26877 echo $ECHO_N "checking whether struct ip_mreq is in netinet/in.h... $ECHO_C" >&6
26878 cat >conftest.
$ac_ext <<_ACEOF
26881 cat confdefs.h
>>conftest.
$ac_ext
26882 cat >>conftest.
$ac_ext <<_ACEOF
26883 /* end confdefs.h. */
26884 #include <netinet/in.h>
26888 struct ip_mreq mreq;
26893 rm -f conftest.
$ac_objext
26894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26895 (eval $ac_compile) 2>conftest.er1
26897 grep -v '^ *+' conftest.er1
>conftest.err
26899 cat conftest.err
>&5
26900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26901 (exit $ac_status); } &&
26902 { ac_try
='test -z "$ac_c_werror_flag"
26903 || test ! -s conftest.err'
26904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26905 (eval $ac_try) 2>&5
26907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26908 (exit $ac_status); }; } &&
26909 { ac_try
='test -s conftest.$ac_objext'
26910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26911 (eval $ac_try) 2>&5
26913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26914 (exit $ac_status); }; }; then
26916 cat >>confdefs.h
<<\_ACEOF
26917 #define HAVE_STRUCT_IP_MREQ 1
26920 echo "$as_me:$LINENO: result: yes" >&5
26921 echo "${ECHO_T}yes" >&6
26923 echo "$as_me: failed program was:" >&5
26924 sed 's/^/| /' conftest.
$ac_ext >&5
26926 echo "$as_me:$LINENO: result: no" >&5
26927 echo "${ECHO_T}no" >&6
26929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26931 echo "$as_me:$LINENO: checking whether struct ipv6_mreq is in netinet/in.h" >&5
26932 echo $ECHO_N "checking whether struct ipv6_mreq is in netinet/in.h... $ECHO_C" >&6
26933 cat >conftest.
$ac_ext <<_ACEOF
26936 cat confdefs.h
>>conftest.
$ac_ext
26937 cat >>conftest.
$ac_ext <<_ACEOF
26938 /* end confdefs.h. */
26939 #include <netinet/in.h>
26943 struct ipv6_mreq mreq6;
26948 rm -f conftest.
$ac_objext
26949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26950 (eval $ac_compile) 2>conftest.er1
26952 grep -v '^ *+' conftest.er1
>conftest.err
26954 cat conftest.err
>&5
26955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26956 (exit $ac_status); } &&
26957 { ac_try
='test -z "$ac_c_werror_flag"
26958 || test ! -s conftest.err'
26959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26960 (eval $ac_try) 2>&5
26962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26963 (exit $ac_status); }; } &&
26964 { ac_try
='test -s conftest.$ac_objext'
26965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26966 (eval $ac_try) 2>&5
26968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26969 (exit $ac_status); }; }; then
26971 cat >>confdefs.h
<<\_ACEOF
26972 #define HAVE_STRUCT_IPV6_MREQ 1
26975 echo "$as_me:$LINENO: result: yes" >&5
26976 echo "${ECHO_T}yes" >&6
26978 echo "$as_me: failed program was:" >&5
26979 sed 's/^/| /' conftest.
$ac_ext >&5
26981 echo "$as_me:$LINENO: result: no" >&5
26982 echo "${ECHO_T}no" >&6
26984 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26986 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
26987 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
26988 cat >conftest.
$ac_ext <<_ACEOF
26991 cat confdefs.h
>>conftest.
$ac_ext
26992 cat >>conftest.
$ac_ext <<_ACEOF
26993 /* end confdefs.h. */
26994 #include <netinet/in.h>
26998 struct sockaddr_in6 addr6;
27003 rm -f conftest.
$ac_objext
27004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27005 (eval $ac_compile) 2>conftest.er1
27007 grep -v '^ *+' conftest.er1
>conftest.err
27009 cat conftest.err
>&5
27010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27011 (exit $ac_status); } &&
27012 { ac_try
='test -z "$ac_c_werror_flag"
27013 || test ! -s conftest.err'
27014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27015 (eval $ac_try) 2>&5
27017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27018 (exit $ac_status); }; } &&
27019 { ac_try
='test -s conftest.$ac_objext'
27020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27021 (eval $ac_try) 2>&5
27023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27024 (exit $ac_status); }; }; then
27026 cat >>confdefs.h
<<\_ACEOF
27027 #define HAVE_INET6 1
27030 echo "$as_me:$LINENO: result: yes" >&5
27031 echo "${ECHO_T}yes" >&6
27033 echo "$as_me: failed program was:" >&5
27034 sed 's/^/| /' conftest.
$ac_ext >&5
27036 echo "$as_me:$LINENO: result: no" >&5
27037 echo "${ECHO_T}no" >&6
27039 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27041 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
27042 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
27043 cat >conftest.
$ac_ext <<_ACEOF
27046 cat confdefs.h
>>conftest.
$ac_ext
27047 cat >>conftest.
$ac_ext <<_ACEOF
27048 /* end confdefs.h. */
27049 #define _POSIX_PII_SOCKET
27050 #include <sys/types.h>
27051 #include <sys/socket.h>
27060 rm -f conftest.
$ac_objext
27061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27062 (eval $ac_compile) 2>conftest.er1
27064 grep -v '^ *+' conftest.er1
>conftest.err
27066 cat conftest.err
>&5
27067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27068 (exit $ac_status); } &&
27069 { ac_try
='test -z "$ac_c_werror_flag"
27070 || test ! -s conftest.err'
27071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27072 (eval $ac_try) 2>&5
27074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27075 (exit $ac_status); }; } &&
27076 { ac_try
='test -s conftest.$ac_objext'
27077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27078 (eval $ac_try) 2>&5
27080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27081 (exit $ac_status); }; }; then
27083 cat >>confdefs.h
<<\_ACEOF
27084 #define HAVE_SOCKLEN_T 1
27087 echo "$as_me:$LINENO: result: yes" >&5
27088 echo "${ECHO_T}yes" >&6
27090 echo "$as_me: failed program was:" >&5
27091 sed 's/^/| /' conftest.
$ac_ext >&5
27093 echo "$as_me:$LINENO: result: no" >&5
27094 echo "${ECHO_T}no" >&6
27096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27098 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
27099 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
27100 cat >conftest.
$ac_ext <<_ACEOF
27103 cat confdefs.h
>>conftest.
$ac_ext
27104 cat >>conftest.
$ac_ext <<_ACEOF
27105 /* end confdefs.h. */
27110 struct tm tim; tim.tm_gmtoff = 0;
27115 rm -f conftest.
$ac_objext
27116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27117 (eval $ac_compile) 2>conftest.er1
27119 grep -v '^ *+' conftest.er1
>conftest.err
27121 cat conftest.err
>&5
27122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27123 (exit $ac_status); } &&
27124 { ac_try
='test -z "$ac_c_werror_flag"
27125 || test ! -s conftest.err'
27126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27127 (eval $ac_try) 2>&5
27129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27130 (exit $ac_status); }; } &&
27131 { ac_try
='test -s conftest.$ac_objext'
27132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27133 (eval $ac_try) 2>&5
27135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27136 (exit $ac_status); }; }; then
27138 cat >>confdefs.h
<<\_ACEOF
27139 #define STRUCT_TM_HAS_GMTOFF 1
27142 echo "$as_me:$LINENO: result: yes" >&5
27143 echo "${ECHO_T}yes" >&6
27145 echo "$as_me: failed program was:" >&5
27146 sed 's/^/| /' conftest.
$ac_ext >&5
27148 echo "$as_me:$LINENO: result: no" >&5
27149 echo "${ECHO_T}no" >&6
27150 echo "$as_me:$LINENO: checking for global timezone variable" >&5
27151 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
27152 cat >conftest.
$ac_ext <<_ACEOF
27155 cat confdefs.h
>>conftest.
$ac_ext
27156 cat >>conftest.
$ac_ext <<_ACEOF
27157 /* end confdefs.h. */
27162 void i(){long z2 = 2*timezone;}
27167 rm -f conftest.
$ac_objext
27168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27169 (eval $ac_compile) 2>conftest.er1
27171 grep -v '^ *+' conftest.er1
>conftest.err
27173 cat conftest.err
>&5
27174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27175 (exit $ac_status); } &&
27176 { ac_try
='test -z "$ac_c_werror_flag"
27177 || test ! -s conftest.err'
27178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27179 (eval $ac_try) 2>&5
27181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27182 (exit $ac_status); }; } &&
27183 { ac_try
='test -s conftest.$ac_objext'
27184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27185 (eval $ac_try) 2>&5
27187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27188 (exit $ac_status); }; }; then
27190 cat >>confdefs.h
<<\_ACEOF
27191 #define HAVE_TIMEZONE 1
27194 echo "$as_me:$LINENO: result: yes" >&5
27195 echo "${ECHO_T}yes" >&6
27197 echo "$as_me: failed program was:" >&5
27198 sed 's/^/| /' conftest.
$ac_ext >&5
27200 echo "$as_me:$LINENO: result: no" >&5
27201 echo "${ECHO_T}no" >&6
27202 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
27203 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
27204 cat >conftest.
$ac_ext <<_ACEOF
27207 cat confdefs.h
>>conftest.
$ac_ext
27208 cat >>conftest.
$ac_ext <<_ACEOF
27209 /* end confdefs.h. */
27214 long z2 = _timezone;
27219 rm -f conftest.
$ac_objext
27220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27221 (eval $ac_compile) 2>conftest.er1
27223 grep -v '^ *+' conftest.er1
>conftest.err
27225 cat conftest.err
>&5
27226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27227 (exit $ac_status); } &&
27228 { ac_try
='test -z "$ac_c_werror_flag"
27229 || test ! -s conftest.err'
27230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27231 (eval $ac_try) 2>&5
27233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27234 (exit $ac_status); }; } &&
27235 { ac_try
='test -s conftest.$ac_objext'
27236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27237 (eval $ac_try) 2>&5
27239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27240 (exit $ac_status); }; }; then
27242 cat >>confdefs.h
<<\_ACEOF
27243 #define HAVE_UNDERSCORE_TIMEZONE 1
27246 echo "$as_me:$LINENO: result: yes" >&5
27247 echo "${ECHO_T}yes" >&6
27249 echo "$as_me: failed program was:" >&5
27250 sed 's/^/| /' conftest.
$ac_ext >&5
27252 echo "$as_me:$LINENO: result: no" >&5
27253 echo "${ECHO_T}no" >&6
27255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27257 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27261 for ac_prog
in perl
27263 # Extract the first word of "$ac_prog", so it can be a program name with args.
27264 set dummy
$ac_prog; ac_word
=$2
27265 echo "$as_me:$LINENO: checking for $ac_word" >&5
27266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27267 if test "${ac_cv_prog_PERL+set}" = set; then
27268 echo $ECHO_N "(cached) $ECHO_C" >&6
27270 if test -n "$PERL"; then
27271 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
27273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27274 for as_dir
in $PATH
27277 test -z "$as_dir" && as_dir
=.
27278 for ac_exec_ext
in '' $ac_executable_extensions; do
27279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27280 ac_cv_prog_PERL
="$ac_prog"
27281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27289 PERL
=$ac_cv_prog_PERL
27290 if test -n "$PERL"; then
27291 echo "$as_me:$LINENO: result: $PERL" >&5
27292 echo "${ECHO_T}$PERL" >&6
27294 echo "$as_me:$LINENO: result: no" >&5
27295 echo "${ECHO_T}no" >&6
27298 test -n "$PERL" && break
27300 test -n "$PERL" || PERL
="false"
27304 SIGNAL_HANDLER_AUX
=
27308 SIGNAL_HANDLER
=include
/i386-signal.h
27310 sparc
*-sun-solaris*)
27311 SIGNAL_HANDLER
=include
/sparc-signal.h
27314 # SYSDEP_SOURCES=sysdep/ia64.c
27315 # test -d sysdep || mkdir sysdep
27318 SIGNAL_HANDLER
=include
/pa-signal.h
27321 SIGNAL_HANDLER
=include
/hppa-signal.h
27324 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27327 SIGNAL_HANDLER
=include
/powerpc-signal.h
27330 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27333 SIGNAL_HANDLER
=include
/s390-signal.h
27336 SIGNAL_HANDLER
=include
/x86_64-signal.h
27337 SIGNAL_HANDLER_AUX
=include
/i386-signal.h
27340 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27343 SIGNAL_HANDLER
=include
/sh-signal.h
27346 SIGNAL_HANDLER
=include
/win32-signal.h
27349 SIGNAL_HANDLER
=include
/mips-signal.h
27352 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27354 powerpc
*-*-darwin* | i?
86-*-darwin9* | x86_64-
*-darwin9*)
27355 SIGNAL_HANDLER
=include
/darwin-signal.h
27358 SIGNAL_HANDLER
=include
/default-signal.h
27362 # If we're using sjlj exceptions, forget what we just learned.
27363 if test "$enable_sjlj_exceptions" = yes; then
27364 SIGNAL_HANDLER
=include
/default-signal.h
27365 SIGNAL_HANDLER_AUX
=
27370 if test -z "$SIGNAL_HANDLER_AUX"; then
27371 SIGNAL_HANDLER_AUX
=$SIGNAL_HANDLER
27374 ac_config_links
="$ac_config_links include/java-signal.h:$SIGNAL_HANDLER include/java-signal-aux.h:$SIGNAL_HANDLER_AUX"
27377 if test "${multilib}" = "yes"; then
27378 multilib_arg
="--enable-multilib"
27383 # See if we support thread-local storage.
27385 # Check whether --enable-tls or --disable-tls was given.
27386 if test "${enable_tls+set}" = set; then
27387 enableval
="$enable_tls"
27389 case "$enableval" in
27391 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
27392 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
27393 { (exit 1); exit 1; }; } ;;
27400 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
27401 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
27402 if test "${gcc_cv_have_tls+set}" = set; then
27403 echo $ECHO_N "(cached) $ECHO_C" >&6
27406 if test "$cross_compiling" = yes; then
27407 if test x
$gcc_no_link = xyes
; then
27408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27410 { (exit 1); exit 1; }; }
27412 cat >conftest.
$ac_ext <<_ACEOF
27413 __thread int a; int b; int main() { return a = b; }
27415 rm -f conftest.
$ac_objext conftest
$ac_exeext
27416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27417 (eval $ac_link) 2>conftest.er1
27419 grep -v '^ *+' conftest.er1
>conftest.err
27421 cat conftest.err
>&5
27422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27423 (exit $ac_status); } &&
27424 { ac_try
='test -z "$ac_c_werror_flag"
27425 || test ! -s conftest.err'
27426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27427 (eval $ac_try) 2>&5
27429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27430 (exit $ac_status); }; } &&
27431 { ac_try
='test -s conftest$ac_exeext'
27432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27433 (eval $ac_try) 2>&5
27435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27436 (exit $ac_status); }; }; then
27437 gcc_cv_have_tls
=yes
27439 echo "$as_me: failed program was:" >&5
27440 sed 's/^/| /' conftest.
$ac_ext >&5
27444 rm -f conftest.err conftest.
$ac_objext \
27445 conftest
$ac_exeext conftest.
$ac_ext
27449 cat >conftest.
$ac_ext <<_ACEOF
27450 __thread int a; int b; int main() { return a = b; }
27452 rm -f conftest
$ac_exeext
27453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27454 (eval $ac_link) 2>&5
27456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27457 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27459 (eval $ac_try) 2>&5
27461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27462 (exit $ac_status); }; }; then
27463 chktls_save_LDFLAGS
="$LDFLAGS"
27464 LDFLAGS
="-static $LDFLAGS"
27465 if test x
$gcc_no_link = xyes
; then
27466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27468 { (exit 1); exit 1; }; }
27470 cat >conftest.
$ac_ext <<_ACEOF
27471 int main() { return 0; }
27473 rm -f conftest.
$ac_objext conftest
$ac_exeext
27474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27475 (eval $ac_link) 2>conftest.er1
27477 grep -v '^ *+' conftest.er1
>conftest.err
27479 cat conftest.err
>&5
27480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27481 (exit $ac_status); } &&
27482 { ac_try
='test -z "$ac_c_werror_flag"
27483 || test ! -s conftest.err'
27484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27485 (eval $ac_try) 2>&5
27487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27488 (exit $ac_status); }; } &&
27489 { ac_try
='test -s conftest$ac_exeext'
27490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27491 (eval $ac_try) 2>&5
27493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27494 (exit $ac_status); }; }; then
27495 if test "$cross_compiling" = yes; then
27496 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27497 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27498 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27499 See \`config.log' for more details." >&5
27500 echo "$as_me: error: cannot run test program while cross compiling
27501 See \`config.log' for more details." >&2;}
27502 { (exit 1); exit 1; }; }; }
27504 cat >conftest.
$ac_ext <<_ACEOF
27505 __thread int a; int b; int main() { return a = b; }
27507 rm -f conftest
$ac_exeext
27508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27509 (eval $ac_link) 2>&5
27511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27512 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27514 (eval $ac_try) 2>&5
27516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27517 (exit $ac_status); }; }; then
27518 gcc_cv_have_tls
=yes
27520 echo "$as_me: program exited with status $ac_status" >&5
27521 echo "$as_me: failed program was:" >&5
27522 sed 's/^/| /' conftest.
$ac_ext >&5
27524 ( exit $ac_status )
27527 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27530 echo "$as_me: failed program was:" >&5
27531 sed 's/^/| /' conftest.
$ac_ext >&5
27533 gcc_cv_have_tls
=yes
27535 rm -f conftest.err conftest.
$ac_objext \
27536 conftest
$ac_exeext conftest.
$ac_ext
27537 LDFLAGS
="$chktls_save_LDFLAGS"
27538 if test $gcc_cv_have_tls = yes; then
27539 chktls_save_CFLAGS
="$CFLAGS"
27540 thread_CFLAGS
=failed
27541 for flag
in '' '-pthread' '-lpthread'; do
27542 CFLAGS
="$flag $chktls_save_CFLAGS"
27543 if test x
$gcc_no_link = xyes
; then
27544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27546 { (exit 1); exit 1; }; }
27548 cat >conftest.
$ac_ext <<_ACEOF
27551 cat confdefs.h
>>conftest.
$ac_ext
27552 cat >>conftest.
$ac_ext <<_ACEOF
27553 /* end confdefs.h. */
27554 #include <pthread.h>
27555 void *g(void *d) { return NULL; }
27559 pthread_t t; pthread_create(&t,NULL,g,NULL);
27564 rm -f conftest.
$ac_objext conftest
$ac_exeext
27565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27566 (eval $ac_link) 2>conftest.er1
27568 grep -v '^ *+' conftest.er1
>conftest.err
27570 cat conftest.err
>&5
27571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27572 (exit $ac_status); } &&
27573 { ac_try
='test -z "$ac_c_werror_flag"
27574 || test ! -s conftest.err'
27575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27576 (eval $ac_try) 2>&5
27578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27579 (exit $ac_status); }; } &&
27580 { ac_try
='test -s conftest$ac_exeext'
27581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27582 (eval $ac_try) 2>&5
27584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27585 (exit $ac_status); }; }; then
27586 thread_CFLAGS
="$flag"
27588 echo "$as_me: failed program was:" >&5
27589 sed 's/^/| /' conftest.
$ac_ext >&5
27592 rm -f conftest.err conftest.
$ac_objext \
27593 conftest
$ac_exeext conftest.
$ac_ext
27594 if test "X$thread_CFLAGS" != Xfailed
; then
27598 CFLAGS
="$chktls_save_CFLAGS"
27599 if test "X$thread_CFLAGS" != Xfailed
; then
27600 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
27601 if test "$cross_compiling" = yes; then
27602 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27603 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27604 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27605 See \`config.log' for more details." >&5
27606 echo "$as_me: error: cannot run test program while cross compiling
27607 See \`config.log' for more details." >&2;}
27608 { (exit 1); exit 1; }; }; }
27610 cat >conftest.
$ac_ext <<_ACEOF
27613 cat confdefs.h
>>conftest.
$ac_ext
27614 cat >>conftest.
$ac_ext <<_ACEOF
27615 /* end confdefs.h. */
27616 #include <pthread.h>
27618 static int *a_in_other_thread;
27620 thread_func (void *arg)
27622 a_in_other_thread = &a;
27629 void *thread_retval;
27630 int *a_in_main_thread;
27631 if (pthread_create (&thread, (pthread_attr_t *)0,
27632 thread_func, (void *)0))
27634 a_in_main_thread = &a;
27635 if (pthread_join (thread, &thread_retval))
27637 return (a_in_other_thread == a_in_main_thread);
27642 rm -f conftest
$ac_exeext
27643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27644 (eval $ac_link) 2>&5
27646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27647 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27649 (eval $ac_try) 2>&5
27651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27652 (exit $ac_status); }; }; then
27653 gcc_cv_have_tls
=yes
27655 echo "$as_me: program exited with status $ac_status" >&5
27656 echo "$as_me: failed program was:" >&5
27657 sed 's/^/| /' conftest.
$ac_ext >&5
27659 ( exit $ac_status )
27662 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27664 CFLAGS
="$chktls_save_CFLAGS"
27668 echo "$as_me: program exited with status $ac_status" >&5
27669 echo "$as_me: failed program was:" >&5
27670 sed 's/^/| /' conftest.
$ac_ext >&5
27672 ( exit $ac_status )
27675 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27678 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
27679 echo "${ECHO_T}$gcc_cv_have_tls" >&6
27680 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27682 cat >>confdefs.h
<<\_ACEOF
27688 # For _Unwind_GetIPInfo.
27693 ac_cpp
='$CXXCPP $CPPFLAGS'
27694 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27695 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27696 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27698 ac_save_CXXFLAGS
="$CXXFLAGS"
27699 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
27700 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
27701 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
27702 if test "${gcc_cv_getipinfo+set}" = set; then
27703 echo $ECHO_N "(cached) $ECHO_C" >&6
27706 if test x
$gcc_no_link = xyes
; then
27707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27709 { (exit 1); exit 1; }; }
27711 cat >conftest.
$ac_ext <<_ACEOF
27714 cat confdefs.h
>>conftest.
$ac_ext
27715 cat >>conftest.
$ac_ext <<_ACEOF
27716 /* end confdefs.h. */
27717 extern "C" { extern void _Unwind_GetIPInfo(); }
27721 _Unwind_GetIPInfo();
27726 rm -f conftest.
$ac_objext conftest
$ac_exeext
27727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27728 (eval $ac_link) 2>conftest.er1
27730 grep -v '^ *+' conftest.er1
>conftest.err
27732 cat conftest.err
>&5
27733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27734 (exit $ac_status); } &&
27735 { ac_try
='test -z "$ac_cxx_werror_flag"
27736 || test ! -s conftest.err'
27737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27738 (eval $ac_try) 2>&5
27740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27741 (exit $ac_status); }; } &&
27742 { ac_try
='test -s conftest$ac_exeext'
27743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27744 (eval $ac_try) 2>&5
27746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27747 (exit $ac_status); }; }; then
27748 gcc_cv_getipinfo
=yes
27750 echo "$as_me: failed program was:" >&5
27751 sed 's/^/| /' conftest.
$ac_ext >&5
27753 gcc_cv_getipinfo
=no
27755 rm -f conftest.err conftest.
$ac_objext \
27756 conftest
$ac_exeext conftest.
$ac_ext
27760 if test $gcc_cv_getipinfo = yes; then
27762 cat >>confdefs.h
<<\_ACEOF
27763 #define HAVE_GETIPINFO 1
27767 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
27768 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
27769 CXXFLAGS
="$ac_save_CXXFLAGS"
27771 ac_cpp
='$CPP $CPPFLAGS'
27772 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27773 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27774 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27778 # See if linker supports anonymous version scripts.
27779 echo "$as_me:$LINENO: checking whether ld supports anonymous version scripts" >&5
27780 echo $ECHO_N "checking whether ld supports anonymous version scripts... $ECHO_C" >&6
27781 if test "${libjava_cv_anon_version_script+set}" = set; then
27782 echo $ECHO_N "(cached) $ECHO_C" >&6
27784 save_CFLAGS
="$CFLAGS"; save_LDFLAGS
="$LDFLAGS"
27785 libjava_cv_anon_version_script
=no
27786 CFLAGS
="$CFLAGS -fPIC"; LDFLAGS
="$LDFLAGS -shared -Wl,--version-script,conftest.map"
27787 echo '{ global: globalsymb*; local: *; };' > conftest.map
27788 if test x
$gcc_no_link = xyes
; then
27789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27791 { (exit 1); exit 1; }; }
27793 cat >conftest.
$ac_ext <<_ACEOF
27796 cat confdefs.h
>>conftest.
$ac_ext
27797 cat >>conftest.
$ac_ext <<_ACEOF
27798 /* end confdefs.h. */
27799 void globalsymbol (void) {} void localsymbol (void) {}
27808 rm -f conftest.
$ac_objext conftest
$ac_exeext
27809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27810 (eval $ac_link) 2>conftest.er1
27812 grep -v '^ *+' conftest.er1
>conftest.err
27814 cat conftest.err
>&5
27815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27816 (exit $ac_status); } &&
27817 { ac_try
='test -z "$ac_c_werror_flag"
27818 || test ! -s conftest.err'
27819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27820 (eval $ac_try) 2>&5
27822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27823 (exit $ac_status); }; } &&
27824 { ac_try
='test -s conftest$ac_exeext'
27825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27826 (eval $ac_try) 2>&5
27828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27829 (exit $ac_status); }; }; then
27830 libjava_cv_anon_version_script
=yes
27832 echo "$as_me: failed program was:" >&5
27833 sed 's/^/| /' conftest.
$ac_ext >&5
27836 rm -f conftest.err conftest.
$ac_objext \
27837 conftest
$ac_exeext conftest.
$ac_ext
27838 CFLAGS
="$save_CFLAGS"; LDFLAGS
="$save_LDFLAGS"
27841 echo "$as_me:$LINENO: result: $libjava_cv_anon_version_script" >&5
27842 echo "${ECHO_T}$libjava_cv_anon_version_script" >&6
27845 if test "$libjava_cv_anon_version_script" = yes; then
27846 ANONVERSCRIPT_TRUE
=
27847 ANONVERSCRIPT_FALSE
='#'
27849 ANONVERSCRIPT_TRUE
='#'
27850 ANONVERSCRIPT_FALSE
=
27854 # Check if linker supports static linking on a per library basis
27855 LD_START_STATIC_SPEC
=
27856 LD_FINISH_STATIC_SPEC
=
27857 if $LD --help 2>&1 |
grep -q -e -call_shared ; then
27858 if $LD --help 2>&1 |
grep -q -e -non_shared ; then
27859 LD_START_STATIC_SPEC
='%{static-libgcj:-non_shared}'
27860 LD_FINISH_STATIC_SPEC
='%{static-libgcj:-call_shared}'
27866 here
=`${PWDCMD-pwd}`
27869 # We get this from the environment.
27872 ac_config_files
="$ac_config_files Makefile libgcj.pc libgcj.spec libgcj-test.spec gcj/Makefile include/Makefile testsuite/Makefile"
27875 if test ${multilib} = yes; then
27876 multilib_arg
="--enable-multilib"
27881 ac_config_files
="$ac_config_files scripts/jar"
27883 cat >confcache
<<\_ACEOF
27884 # This file is a shell script that caches the results of configure
27885 # tests run on this system so they can be shared between configure
27886 # scripts and configure runs, see configure's option --config-cache.
27887 # It is not useful on other systems. If it contains results you don't
27888 # want to keep, you may remove or edit it.
27890 # config.status only pays attention to the cache file if you give it
27891 # the --recheck option to rerun configure.
27893 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27894 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27895 # following values.
27899 # The following way of writing the cache mishandles newlines in values,
27900 # but we know of no workaround that is simple, portable, and efficient.
27901 # So, don't put newlines in cache variables' values.
27902 # Ultrix sh set writes to stderr and can't be redirected directly,
27903 # and sets the high bit in the cache file unless we assign to the vars.
27906 case `(ac_space=' '; set | grep ac_space) 2>&1` in
27908 # `set' does not quote correctly, so add quotes (double-quote
27909 # substitution turns \\\\ into \\, and sed turns \\ into \).
27912 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27915 # `set' quotes correctly as required by POSIX, so do not add quotes.
27917 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
27924 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27926 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27928 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
27929 if test -w $cache_file; then
27930 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
27931 cat confcache
>$cache_file
27933 echo "not updating unwritable cache $cache_file"
27938 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
27939 # Let make expand exec_prefix.
27940 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
27942 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27943 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27944 # trailing colons and then remove the whole line if VPATH becomes empty
27945 # (actually we leave an empty line to preserve line numbers).
27946 if test "x$srcdir" = x.
; then
27947 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
27948 s/:*\$(srcdir):*/:/;
27949 s/:*\${srcdir}:*/:/;
27951 s/^\([^=]*=[ ]*\):*/\1/;
27957 DEFS
=-DHAVE_CONFIG_H
27961 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
27962 # 1. Remove the extension, and $U if already installed.
27963 ac_i
=`echo "$ac_i" |
27964 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
27966 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
27967 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
27969 LIBOBJS
=$ac_libobjs
27971 LTLIBOBJS
=$ac_ltlibobjs
27974 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
27975 { { echo "$as_me:$LINENO: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
27976 Usually this means the macro was only invoked conditionally." >&5
27977 echo "$as_me: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
27978 Usually this means the macro was only invoked conditionally." >&2;}
27979 { (exit 1); exit 1; }; }
27981 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
27982 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
27983 Usually this means the macro was only invoked conditionally." >&5
27984 echo "$as_me: error: conditional \"AMDEP\" was never defined.
27985 Usually this means the macro was only invoked conditionally." >&2;}
27986 { (exit 1); exit 1; }; }
27988 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27989 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
27990 Usually this means the macro was only invoked conditionally." >&5
27991 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
27992 Usually this means the macro was only invoked conditionally." >&2;}
27993 { (exit 1); exit 1; }; }
27995 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
27996 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
27997 Usually this means the macro was only invoked conditionally." >&5
27998 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
27999 Usually this means the macro was only invoked conditionally." >&2;}
28000 { (exit 1); exit 1; }; }
28002 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
28003 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
28004 Usually this means the macro was only invoked conditionally." >&5
28005 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
28006 Usually this means the macro was only invoked conditionally." >&2;}
28007 { (exit 1); exit 1; }; }
28009 if test -z "${XLIB_AWT_TRUE}" && test -z "${XLIB_AWT_FALSE}"; then
28010 { { echo "$as_me:$LINENO: error: conditional \"XLIB_AWT\" was never defined.
28011 Usually this means the macro was only invoked conditionally." >&5
28012 echo "$as_me: error: conditional \"XLIB_AWT\" was never defined.
28013 Usually this means the macro was only invoked conditionally." >&2;}
28014 { (exit 1); exit 1; }; }
28016 if test -z "${X_AWT_TRUE}" && test -z "${X_AWT_FALSE}"; then
28017 { { echo "$as_me:$LINENO: error: conditional \"X_AWT\" was never defined.
28018 Usually this means the macro was only invoked conditionally." >&5
28019 echo "$as_me: error: conditional \"X_AWT\" was never defined.
28020 Usually this means the macro was only invoked conditionally." >&2;}
28021 { (exit 1); exit 1; }; }
28023 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
28024 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
28025 Usually this means the macro was only invoked conditionally." >&5
28026 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
28027 Usually this means the macro was only invoked conditionally." >&2;}
28028 { (exit 1); exit 1; }; }
28030 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
28031 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
28032 Usually this means the macro was only invoked conditionally." >&5
28033 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
28034 Usually this means the macro was only invoked conditionally." >&2;}
28035 { (exit 1); exit 1; }; }
28037 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
28038 { { echo "$as_me:$LINENO: error: conditional \"TESTSUBDIR\" was never defined.
28039 Usually this means the macro was only invoked conditionally." >&5
28040 echo "$as_me: error: conditional \"TESTSUBDIR\" was never defined.
28041 Usually this means the macro was only invoked conditionally." >&2;}
28042 { (exit 1); exit 1; }; }
28044 if test -z "${BUILD_ECJ1_TRUE}" && test -z "${BUILD_ECJ1_FALSE}"; then
28045 { { echo "$as_me:$LINENO: error: conditional \"BUILD_ECJ1\" was never defined.
28046 Usually this means the macro was only invoked conditionally." >&5
28047 echo "$as_me: error: conditional \"BUILD_ECJ1\" was never defined.
28048 Usually this means the macro was only invoked conditionally." >&2;}
28049 { (exit 1); exit 1; }; }
28051 if test -z "${INSTALL_ECJ_JAR_TRUE}" && test -z "${INSTALL_ECJ_JAR_FALSE}"; then
28052 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_ECJ_JAR\" was never defined.
28053 Usually this means the macro was only invoked conditionally." >&5
28054 echo "$as_me: error: conditional \"INSTALL_ECJ_JAR\" was never defined.
28055 Usually this means the macro was only invoked conditionally." >&2;}
28056 { (exit 1); exit 1; }; }
28058 if test -z "${JAVA_HOME_SET_TRUE}" && test -z "${JAVA_HOME_SET_FALSE}"; then
28059 { { echo "$as_me:$LINENO: error: conditional \"JAVA_HOME_SET\" was never defined.
28060 Usually this means the macro was only invoked conditionally." >&5
28061 echo "$as_me: error: conditional \"JAVA_HOME_SET\" was never defined.
28062 Usually this means the macro was only invoked conditionally." >&2;}
28063 { (exit 1); exit 1; }; }
28065 if test -z "${SUPPRESS_LIBGCJ_BC_TRUE}" && test -z "${SUPPRESS_LIBGCJ_BC_FALSE}"; then
28066 { { echo "$as_me:$LINENO: error: conditional \"SUPPRESS_LIBGCJ_BC\" was never defined.
28067 Usually this means the macro was only invoked conditionally." >&5
28068 echo "$as_me: error: conditional \"SUPPRESS_LIBGCJ_BC\" was never defined.
28069 Usually this means the macro was only invoked conditionally." >&2;}
28070 { (exit 1); exit 1; }; }
28072 if test -z "${INTERPRETER_TRUE}" && test -z "${INTERPRETER_FALSE}"; then
28073 { { echo "$as_me:$LINENO: error: conditional \"INTERPRETER\" was never defined.
28074 Usually this means the macro was only invoked conditionally." >&5
28075 echo "$as_me: error: conditional \"INTERPRETER\" was never defined.
28076 Usually this means the macro was only invoked conditionally." >&2;}
28077 { (exit 1); exit 1; }; }
28079 if test -z "${USING_WIN32_PLATFORM_TRUE}" && test -z "${USING_WIN32_PLATFORM_FALSE}"; then
28080 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
28081 Usually this means the macro was only invoked conditionally." >&5
28082 echo "$as_me: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
28083 Usually this means the macro was only invoked conditionally." >&2;}
28084 { (exit 1); exit 1; }; }
28086 if test -z "${USING_POSIX_PLATFORM_TRUE}" && test -z "${USING_POSIX_PLATFORM_FALSE}"; then
28087 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
28088 Usually this means the macro was only invoked conditionally." >&5
28089 echo "$as_me: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
28090 Usually this means the macro was only invoked conditionally." >&2;}
28091 { (exit 1); exit 1; }; }
28093 if test -z "${USING_DARWIN_CRT_TRUE}" && test -z "${USING_DARWIN_CRT_FALSE}"; then
28094 { { echo "$as_me:$LINENO: error: conditional \"USING_DARWIN_CRT\" was never defined.
28095 Usually this means the macro was only invoked conditionally." >&5
28096 echo "$as_me: error: conditional \"USING_DARWIN_CRT\" was never defined.
28097 Usually this means the macro was only invoked conditionally." >&2;}
28098 { (exit 1); exit 1; }; }
28100 if test -z "${USING_BOEHMGC_TRUE}" && test -z "${USING_BOEHMGC_FALSE}"; then
28101 { { echo "$as_me:$LINENO: error: conditional \"USING_BOEHMGC\" was never defined.
28102 Usually this means the macro was only invoked conditionally." >&5
28103 echo "$as_me: error: conditional \"USING_BOEHMGC\" was never defined.
28104 Usually this means the macro was only invoked conditionally." >&2;}
28105 { (exit 1); exit 1; }; }
28107 if test -z "${USING_NOGC_TRUE}" && test -z "${USING_NOGC_FALSE}"; then
28108 { { echo "$as_me:$LINENO: error: conditional \"USING_NOGC\" was never defined.
28109 Usually this means the macro was only invoked conditionally." >&5
28110 echo "$as_me: error: conditional \"USING_NOGC\" was never defined.
28111 Usually this means the macro was only invoked conditionally." >&2;}
28112 { (exit 1); exit 1; }; }
28114 if test -z "${USING_POSIX_THREADS_TRUE}" && test -z "${USING_POSIX_THREADS_FALSE}"; then
28115 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_THREADS\" was never defined.
28116 Usually this means the macro was only invoked conditionally." >&5
28117 echo "$as_me: error: conditional \"USING_POSIX_THREADS\" was never defined.
28118 Usually this means the macro was only invoked conditionally." >&2;}
28119 { (exit 1); exit 1; }; }
28121 if test -z "${USING_WIN32_THREADS_TRUE}" && test -z "${USING_WIN32_THREADS_FALSE}"; then
28122 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_THREADS\" was never defined.
28123 Usually this means the macro was only invoked conditionally." >&5
28124 echo "$as_me: error: conditional \"USING_WIN32_THREADS\" was never defined.
28125 Usually this means the macro was only invoked conditionally." >&2;}
28126 { (exit 1); exit 1; }; }
28128 if test -z "${USING_NO_THREADS_TRUE}" && test -z "${USING_NO_THREADS_FALSE}"; then
28129 { { echo "$as_me:$LINENO: error: conditional \"USING_NO_THREADS\" was never defined.
28130 Usually this means the macro was only invoked conditionally." >&5
28131 echo "$as_me: error: conditional \"USING_NO_THREADS\" was never defined.
28132 Usually this means the macro was only invoked conditionally." >&2;}
28133 { (exit 1); exit 1; }; }
28135 if test -z "${USE_LIBGCJ_BC_TRUE}" && test -z "${USE_LIBGCJ_BC_FALSE}"; then
28136 { { echo "$as_me:$LINENO: error: conditional \"USE_LIBGCJ_BC\" was never defined.
28137 Usually this means the macro was only invoked conditionally." >&5
28138 echo "$as_me: error: conditional \"USE_LIBGCJ_BC\" was never defined.
28139 Usually this means the macro was only invoked conditionally." >&2;}
28140 { (exit 1); exit 1; }; }
28142 if test -z "${USING_GCC_TRUE}" && test -z "${USING_GCC_FALSE}"; then
28143 { { echo "$as_me:$LINENO: error: conditional \"USING_GCC\" was never defined.
28144 Usually this means the macro was only invoked conditionally." >&5
28145 echo "$as_me: error: conditional \"USING_GCC\" was never defined.
28146 Usually this means the macro was only invoked conditionally." >&2;}
28147 { (exit 1); exit 1; }; }
28149 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
28150 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
28151 Usually this means the macro was only invoked conditionally." >&5
28152 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
28153 Usually this means the macro was only invoked conditionally." >&2;}
28154 { (exit 1); exit 1; }; }
28156 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
28157 { { echo "$as_me:$LINENO: error: conditional \"NATIVE\" was never defined.
28158 Usually this means the macro was only invoked conditionally." >&5
28159 echo "$as_me: error: conditional \"NATIVE\" was never defined.
28160 Usually this means the macro was only invoked conditionally." >&2;}
28161 { (exit 1); exit 1; }; }
28163 if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
28164 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SHARED\" was never defined.
28165 Usually this means the macro was only invoked conditionally." >&5
28166 echo "$as_me: error: conditional \"ENABLE_SHARED\" was never defined.
28167 Usually this means the macro was only invoked conditionally." >&2;}
28168 { (exit 1); exit 1; }; }
28170 if test -z "${NEEDS_DATA_START_TRUE}" && test -z "${NEEDS_DATA_START_FALSE}"; then
28171 { { echo "$as_me:$LINENO: error: conditional \"NEEDS_DATA_START\" was never defined.
28172 Usually this means the macro was only invoked conditionally." >&5
28173 echo "$as_me: error: conditional \"NEEDS_DATA_START\" was never defined.
28174 Usually this means the macro was only invoked conditionally." >&2;}
28175 { (exit 1); exit 1; }; }
28177 if test -z "${ANONVERSCRIPT_TRUE}" && test -z "${ANONVERSCRIPT_FALSE}"; then
28178 { { echo "$as_me:$LINENO: error: conditional \"ANONVERSCRIPT\" was never defined.
28179 Usually this means the macro was only invoked conditionally." >&5
28180 echo "$as_me: error: conditional \"ANONVERSCRIPT\" was never defined.
28181 Usually this means the macro was only invoked conditionally." >&2;}
28182 { (exit 1); exit 1; }; }
28185 : ${CONFIG_STATUS=./config.status}
28186 ac_clean_files_save
=$ac_clean_files
28187 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
28188 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
28189 echo "$as_me: creating $CONFIG_STATUS" >&6;}
28190 cat >$CONFIG_STATUS <<_ACEOF
28192 # Generated by $as_me.
28193 # Run this file to recreate the current configuration.
28194 # Compiler output produced by configure, useful for debugging
28195 # configure, is in config.log if it exists.
28198 ac_cs_recheck=false
28200 SHELL=\${CONFIG_SHELL-$SHELL}
28203 cat >>$CONFIG_STATUS <<\_ACEOF
28204 ## --------------------- ##
28205 ## M4sh Initialization. ##
28206 ## --------------------- ##
28208 # Be Bourne compatible
28209 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
28212 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
28213 # is contrary to our usage. Disable this feature.
28214 alias -g '${1+"$@"}'='"$@"'
28215 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
28218 DUALCASE
=1; export DUALCASE
# for MKS sh
28220 # Support unset when possible.
28221 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
28228 # Work around bugs in pre-3.0 UWIN ksh.
28229 $as_unset ENV MAIL MAILPATH
28236 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
28237 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
28238 LC_TELEPHONE LC_TIME
28240 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
28241 eval $as_var=C
; export $as_var
28247 # Required to use basename.
28248 if expr a
: '\(a\)' >/dev
/null
2>&1; then
28254 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
28255 as_basename
=basename
28261 # Name of the executable.
28262 as_me
=`$as_basename "$0" ||
28263 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
28264 X"$0" : 'X\(//\)$' \| \
28265 X"$0" : 'X\(/\)$' \| \
28266 . : '\(.\)' 2>/dev/null ||
28268 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
28269 /^X\/\(\/\/\)$/{ s//\1/; q; }
28270 /^X\/\(\/\).*/{ s//\1/; q; }
28274 # PATH needs CR, and LINENO needs CR and PATH.
28275 # Avoid depending upon Character Ranges.
28276 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
28277 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
28278 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
28279 as_cr_digits
='0123456789'
28280 as_cr_alnum
=$as_cr_Letters$as_cr_digits
28282 # The user is always right.
28283 if test "${PATH_SEPARATOR+set}" != set; then
28284 echo "#! /bin/sh" >conf$$.sh
28285 echo "exit 0" >>conf$$.sh
28287 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
28296 as_lineno_1
=$LINENO
28297 as_lineno_2
=$LINENO
28298 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
28299 test "x$as_lineno_1" != "x$as_lineno_2" &&
28300 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
28301 # Find who we are. Look in the path if we contain no path at all
28304 *[\\/]* ) as_myself
=$0 ;;
28305 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28306 for as_dir
in $PATH
28309 test -z "$as_dir" && as_dir
=.
28310 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
28315 # We did not find ourselves, most probably we were run as `sh COMMAND'
28316 # in which case we are not to be found in the path.
28317 if test "x$as_myself" = x
; then
28320 if test ! -f "$as_myself"; then
28321 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
28322 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
28323 { (exit 1); exit 1; }; }
28325 case $CONFIG_SHELL in
28327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28328 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
28331 test -z "$as_dir" && as_dir
=.
28332 for as_base
in sh bash ksh sh5
; do
28335 if ("$as_dir/$as_base" -c '
28336 as_lineno_1=$LINENO
28337 as_lineno_2=$LINENO
28338 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
28339 test "x$as_lineno_1" != "x$as_lineno_2" &&
28340 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
28341 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
28342 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
28343 CONFIG_SHELL
=$as_dir/$as_base
28344 export CONFIG_SHELL
28345 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
28353 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
28354 # uniformly replaced by the line number. The first 'sed' inserts a
28355 # line-number line before each line; the second 'sed' does the real
28356 # work. The second script uses 'N' to pair each line-number line
28357 # with the numbered line, and appends trailing '-' during
28358 # substitution so that $LINENO is not a special case at line end.
28359 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
28360 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
28361 sed '=' <$as_myself |
28366 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
28369 s,^['$as_cr_digits']*\n,,
28370 ' >$as_me.lineno
&&
28371 chmod +x
$as_me.lineno ||
28372 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
28373 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
28374 { (exit 1); exit 1; }; }
28376 # Don't try to exec as it changes $[0], causing all sort of problems
28377 # (the dirname of $[0] is not the place where we might find the
28378 # original and so on. Autoconf is especially sensible to this).
28380 # Exit status is that of the last command.
28385 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
28386 *c
*,-n*) ECHO_N
= ECHO_C
='
28388 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
28389 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
28392 if expr a
: '\(a\)' >/dev
/null
2>&1; then
28398 rm -f conf$$ conf$$.exe conf$$.
file
28400 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
28401 # We could just check for DJGPP; but this test a) works b) is more generic
28402 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
28403 if test -f conf$$.exe
; then
28404 # Don't use ln at all; we don't have any links
28409 elif ln conf$$.
file conf$$
2>/dev
/null
; then
28414 rm -f conf$$ conf$$.exe conf$$.
file
28416 if mkdir
-p .
2>/dev
/null
; then
28419 test -d .
/-p && rmdir .
/-p
28423 as_executable_p
="test -f"
28425 # Sed expression to map a string onto a valid CPP name.
28426 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
28428 # Sed expression to map a string onto a valid variable name.
28429 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
28433 # We need space, tab and new line, in precisely that order.
28443 # Open the log real soon, to keep \$[0] and so on meaningful, and to
28444 # report actual input values of CONFIG_FILES etc. instead of their
28445 # values after options handling. Logging --version etc. is OK.
28449 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
28450 ## Running $as_me. ##
28455 This file was extended by libjava $as_me version-unused, which was
28456 generated by GNU Autoconf 2.59. Invocation command line was
28458 CONFIG_FILES = $CONFIG_FILES
28459 CONFIG_HEADERS = $CONFIG_HEADERS
28460 CONFIG_LINKS = $CONFIG_LINKS
28461 CONFIG_COMMANDS = $CONFIG_COMMANDS
28465 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
28469 # Files that config.status was made for.
28470 if test -n "$ac_config_files"; then
28471 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
28474 if test -n "$ac_config_headers"; then
28475 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
28478 if test -n "$ac_config_links"; then
28479 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
28482 if test -n "$ac_config_commands"; then
28483 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
28486 cat >>$CONFIG_STATUS <<\_ACEOF
28489 \`$as_me' instantiates files from templates according to the
28490 current configuration.
28492 Usage: $0 [OPTIONS] [FILE]...
28494 -h, --help print this help, then exit
28495 -V, --version print version number, then exit
28496 -q, --quiet do not print progress messages
28497 -d, --debug don't remove temporary files
28498 --recheck update $as_me by reconfiguring in the same conditions
28499 --file=FILE[:TEMPLATE]
28500 instantiate the configuration file FILE
28501 --header=FILE[:TEMPLATE]
28502 instantiate the configuration header FILE
28504 Configuration files:
28507 Configuration headers:
28510 Configuration links:
28513 Configuration commands:
28516 Report bugs to <bug-autoconf@gnu.org>."
28519 cat >>$CONFIG_STATUS <<_ACEOF
28521 libjava config.status version-unused
28522 configured by $0, generated by GNU Autoconf 2.59,
28523 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
28525 Copyright (C) 2003 Free Software Foundation, Inc.
28526 This config.status script is free software; the Free Software Foundation
28527 gives unlimited permission to copy, distribute and modify it."
28532 cat >>$CONFIG_STATUS <<\_ACEOF
28533 # If no file are specified by the user, then we need to provide default
28534 # value. By we need to know if files were specified by the user.
28540 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
28541 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
28549 *) # This is not an option, so the user has probably given explicit
28552 ac_need_defaults
=false
;;
28556 # Handling of the options.
28558 cat >>$CONFIG_STATUS <<\_ACEOF
28559 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
28561 --version |
--vers* |
-V )
28562 echo "$ac_cs_version"; exit 0 ;;
28564 # Conflict between --help and --header
28565 { { echo "$as_me:$LINENO: error: ambiguous option: $1
28566 Try \`$0 --help' for more information." >&5
28567 echo "$as_me: error: ambiguous option: $1
28568 Try \`$0 --help' for more information." >&2;}
28569 { (exit 1); exit 1; }; };;
28570 --help |
--hel |
-h )
28571 echo "$ac_cs_usage"; exit 0 ;;
28572 --debug |
--d* |
-d )
28574 --file |
--fil |
--fi |
--f )
28576 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
28577 ac_need_defaults
=false
;;
28578 --header |
--heade |
--head |
--hea )
28580 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
28581 ac_need_defaults
=false
;;
28582 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
28583 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
28586 # This is an error.
28587 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
28588 Try \`$0 --help' for more information." >&5
28589 echo "$as_me: error: unrecognized option: $1
28590 Try \`$0 --help' for more information." >&2;}
28591 { (exit 1); exit 1; }; } ;;
28593 *) ac_config_targets
="$ac_config_targets $1" ;;
28599 ac_configure_extra_args
=
28601 if $ac_cs_silent; then
28603 ac_configure_extra_args
="$ac_configure_extra_args --silent"
28607 cat >>$CONFIG_STATUS <<_ACEOF
28608 if \$ac_cs_recheck; then
28609 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
28610 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
28615 cat >>$CONFIG_STATUS <<_ACEOF
28617 # INIT-COMMANDS section.
28624 with_multisubdir="$with_multisubdir"
28625 with_multisrctop="$with_multisrctop"
28626 with_target_subdir="$with_target_subdir"
28627 ac_configure_args="${multilib_arg} ${ac_configure_args}"
28628 multi_basedir="$multi_basedir"
28629 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
28631 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
28634 # The HP-UX ksh and POSIX shell print the target directory to stdout
28635 # if CDPATH is set.
28636 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
28638 sed_quote_subst='$sed_quote_subst'
28639 double_quote_subst='$double_quote_subst'
28640 delay_variable_subst='$delay_variable_subst'
28641 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
28642 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
28643 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
28644 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
28645 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
28646 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
28647 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
28648 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
28649 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
28650 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
28651 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
28652 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
28653 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
28654 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
28655 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
28656 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
28657 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
28658 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
28659 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
28660 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
28661 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
28662 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
28663 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
28664 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
28665 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
28666 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
28667 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
28668 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28669 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
28670 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
28671 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
28672 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
28673 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
28674 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
28675 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28676 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28677 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28678 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
28679 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
28680 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
28681 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
28682 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
28683 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
28684 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"`'
28685 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
28686 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
28687 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
28688 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
28689 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
28690 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
28691 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
28692 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
28693 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
28694 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
28695 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
28696 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28697 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28698 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
28699 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
28700 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
28701 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
28702 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
28703 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28704 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28705 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28706 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28707 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28708 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28709 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
28710 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
28711 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
28712 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
28713 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
28714 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
28715 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
28716 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
28717 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
28718 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
28719 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
28720 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
28721 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
28722 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
28723 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
28724 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28725 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
28726 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
28727 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28728 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
28729 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
28730 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
28731 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
28732 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
28733 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
28734 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
28735 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
28736 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
28737 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
28738 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
28739 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28740 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28741 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28742 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
28743 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
28744 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
28745 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
28746 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
28747 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
28748 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
28749 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
28750 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
28751 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
28752 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
28753 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
28754 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
28755 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
28756 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
28757 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28758 LD_GCJ='`$ECHO "X$LD_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28759 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28760 old_archive_cmds_GCJ='`$ECHO "X$old_archive_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28761 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28762 compiler_GCJ='`$ECHO "X$compiler_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28763 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28764 GCC_GCJ='`$ECHO "X$GCC_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28765 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28766 lt_prog_compiler_no_builtin_flag_GCJ='`$ECHO "X$lt_prog_compiler_no_builtin_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28767 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28768 lt_prog_compiler_wl_GCJ='`$ECHO "X$lt_prog_compiler_wl_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28769 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28770 lt_prog_compiler_pic_GCJ='`$ECHO "X$lt_prog_compiler_pic_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28771 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28772 lt_prog_compiler_static_GCJ='`$ECHO "X$lt_prog_compiler_static_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28773 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28774 lt_cv_prog_compiler_c_o_GCJ='`$ECHO "X$lt_cv_prog_compiler_c_o_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28775 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28776 archive_cmds_need_lc_GCJ='`$ECHO "X$archive_cmds_need_lc_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28777 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28778 enable_shared_with_static_runtimes_GCJ='`$ECHO "X$enable_shared_with_static_runtimes_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28779 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28780 export_dynamic_flag_spec_GCJ='`$ECHO "X$export_dynamic_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28781 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28782 whole_archive_flag_spec_GCJ='`$ECHO "X$whole_archive_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28783 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28784 compiler_needs_object_GCJ='`$ECHO "X$compiler_needs_object_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28785 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28786 old_archive_from_new_cmds_GCJ='`$ECHO "X$old_archive_from_new_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28787 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28788 old_archive_from_expsyms_cmds_GCJ='`$ECHO "X$old_archive_from_expsyms_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28789 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28790 archive_cmds_GCJ='`$ECHO "X$archive_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28791 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28792 archive_expsym_cmds_GCJ='`$ECHO "X$archive_expsym_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28793 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28794 module_cmds_GCJ='`$ECHO "X$module_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28795 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28796 module_expsym_cmds_GCJ='`$ECHO "X$module_expsym_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28797 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28798 with_gnu_ld_GCJ='`$ECHO "X$with_gnu_ld_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28799 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28800 allow_undefined_flag_GCJ='`$ECHO "X$allow_undefined_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28801 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28802 no_undefined_flag_GCJ='`$ECHO "X$no_undefined_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28803 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28804 hardcode_libdir_flag_spec_GCJ='`$ECHO "X$hardcode_libdir_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28805 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28806 hardcode_libdir_flag_spec_ld_GCJ='`$ECHO "X$hardcode_libdir_flag_spec_ld_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28807 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28808 hardcode_libdir_separator_GCJ='`$ECHO "X$hardcode_libdir_separator_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28809 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28810 hardcode_direct_GCJ='`$ECHO "X$hardcode_direct_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28811 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28812 hardcode_direct_absolute_GCJ='`$ECHO "X$hardcode_direct_absolute_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28813 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28814 hardcode_minus_L_GCJ='`$ECHO "X$hardcode_minus_L_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28815 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28816 hardcode_shlibpath_var_GCJ='`$ECHO "X$hardcode_shlibpath_var_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28817 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28818 hardcode_automatic_GCJ='`$ECHO "X$hardcode_automatic_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28819 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28820 inherit_rpath_GCJ='`$ECHO "X$inherit_rpath_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28821 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28822 link_all_deplibs_GCJ='`$ECHO "X$link_all_deplibs_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28823 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28824 fix_srcfile_path_GCJ='`$ECHO "X$fix_srcfile_path_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28825 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28826 always_export_symbols_GCJ='`$ECHO "X$always_export_symbols_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28827 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28828 export_symbols_cmds_GCJ='`$ECHO "X$export_symbols_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28829 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28830 exclude_expsyms_GCJ='`$ECHO "X$exclude_expsyms_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28831 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28832 include_expsyms_GCJ='`$ECHO "X$include_expsyms_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28833 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28834 prelink_cmds_GCJ='`$ECHO "X$prelink_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28835 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28836 file_list_spec_GCJ='`$ECHO "X$file_list_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28837 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28838 hardcode_action_GCJ='`$ECHO "X$hardcode_action_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28839 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28840 predep_objects_GCJ='`$ECHO "X$predep_objects_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28841 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28842 postdep_objects_GCJ='`$ECHO "X$postdep_objects_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28843 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28844 predeps_GCJ='`$ECHO "X$predeps_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28845 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28846 postdeps_GCJ='`$ECHO "X$postdeps_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28847 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28848 compiler_lib_search_path_GCJ='`$ECHO "X$compiler_lib_search_path_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28851 LTCFLAGS='$LTCFLAGS'
28852 compiler='$compiler_DEFAULT'
28854 # Quote evaled strings.
28865 deplibs_check_method \
28874 lt_cv_sys_global_symbol_pipe \
28875 lt_cv_sys_global_symbol_to_cdecl \
28876 lt_cv_sys_global_symbol_to_c_name_address \
28879 lt_prog_compiler_no_builtin_flag \
28880 lt_prog_compiler_wl \
28881 lt_prog_compiler_pic \
28882 lt_prog_compiler_static \
28883 lt_cv_prog_compiler_c_o \
28886 export_dynamic_flag_spec \
28887 whole_archive_flag_spec \
28888 compiler_needs_object \
28890 allow_undefined_flag \
28891 no_undefined_flag \
28892 hardcode_libdir_flag_spec \
28893 hardcode_libdir_flag_spec_ld \
28894 hardcode_libdir_separator \
28899 variables_saved_for_relink \
28901 library_names_spec \
28910 compiler_lib_search_path \
28915 lt_prog_compiler_no_builtin_flag_CXX \
28916 lt_prog_compiler_no_builtin_flag_GCJ \
28917 lt_prog_compiler_wl_CXX \
28918 lt_prog_compiler_wl_GCJ \
28919 lt_prog_compiler_pic_CXX \
28920 lt_prog_compiler_pic_GCJ \
28921 lt_prog_compiler_static_CXX \
28922 lt_prog_compiler_static_GCJ \
28923 lt_cv_prog_compiler_c_o_CXX \
28924 lt_cv_prog_compiler_c_o_GCJ \
28925 export_dynamic_flag_spec_CXX \
28926 export_dynamic_flag_spec_GCJ \
28927 whole_archive_flag_spec_CXX \
28928 whole_archive_flag_spec_GCJ \
28929 compiler_needs_object_CXX \
28930 compiler_needs_object_GCJ \
28933 allow_undefined_flag_CXX \
28934 allow_undefined_flag_GCJ \
28935 no_undefined_flag_CXX \
28936 no_undefined_flag_GCJ \
28937 hardcode_libdir_flag_spec_CXX \
28938 hardcode_libdir_flag_spec_GCJ \
28939 hardcode_libdir_flag_spec_ld_CXX \
28940 hardcode_libdir_flag_spec_ld_GCJ \
28941 hardcode_libdir_separator_CXX \
28942 hardcode_libdir_separator_GCJ \
28943 fix_srcfile_path_CXX \
28944 fix_srcfile_path_GCJ \
28945 exclude_expsyms_CXX \
28946 exclude_expsyms_GCJ \
28947 include_expsyms_CXX \
28948 include_expsyms_GCJ \
28949 file_list_spec_CXX \
28950 file_list_spec_GCJ \
28951 predep_objects_CXX \
28952 predep_objects_GCJ \
28953 postdep_objects_CXX \
28954 postdep_objects_GCJ \
28959 compiler_lib_search_path_CXX \
28960 compiler_lib_search_path_GCJ; do
28961 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
28962 *[\\\\\\\`\\"\\\$]*)
28963 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
28966 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
28971 # Double-quote double-evaled strings.
28972 for var in reload_cmds \
28973 old_postinstall_cmds \
28974 old_postuninstall_cmds \
28976 extract_expsyms_cmds \
28977 old_archive_from_new_cmds \
28978 old_archive_from_expsyms_cmds \
28980 archive_expsym_cmds \
28982 module_expsym_cmds \
28983 export_symbols_cmds \
28986 postuninstall_cmds \
28988 sys_lib_search_path_spec \
28989 sys_lib_dlsearch_path_spec \
28990 old_archive_cmds_CXX \
28991 old_archive_cmds_GCJ \
28992 old_archive_from_new_cmds_CXX \
28993 old_archive_from_new_cmds_GCJ \
28994 old_archive_from_expsyms_cmds_CXX \
28995 old_archive_from_expsyms_cmds_GCJ \
28998 archive_expsym_cmds_CXX \
28999 archive_expsym_cmds_GCJ \
29002 module_expsym_cmds_CXX \
29003 module_expsym_cmds_GCJ \
29004 export_symbols_cmds_CXX \
29005 export_symbols_cmds_GCJ \
29007 prelink_cmds_GCJ; do
29008 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
29009 *[\\\\\\\`\\"\\\$]*)
29010 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
29013 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
29018 # Fix-up fallback echo if it was mangled by the above quoting rules.
29020 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
29024 ac_aux_dir='$ac_aux_dir'
29025 xsi_shell='$xsi_shell'
29026 lt_shell_append='$lt_shell_append'
29028 # See if we are running on zsh, and set the options which allow our
29029 # commands through without removal of \ escapes INIT.
29030 if test -n "\${ZSH_VERSION+set}" ; then
29031 setopt NO_GLOB_SUBST
29037 TIMESTAMP='$TIMESTAMP'
29052 cat >>$CONFIG_STATUS <<\_ACEOF
29053 for ac_config_target
in $ac_config_targets
29055 case "$ac_config_target" in
29056 # Handling of arguments.
29057 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
29058 "libgcj.pc" ) CONFIG_FILES
="$CONFIG_FILES libgcj.pc" ;;
29059 "libgcj.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj.spec" ;;
29060 "libgcj-test.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj-test.spec" ;;
29061 "gcj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gcj/Makefile" ;;
29062 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
29063 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
29064 "scripts/jar" ) CONFIG_FILES
="$CONFIG_FILES scripts/jar" ;;
29065 "include/platform.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/platform.h:include/$PLATFORMH" ;;
29066 "java/io/natFile.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc" ;;
29067 "java/lang/natConcreteProcess.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc" ;;
29068 "java/net/natVMInetAddress.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc" ;;
29069 "java/net/natVMNetworkInterface.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc" ;;
29070 "gnu/java/net/natPlainSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc" ;;
29071 "gnu/java/net/natPlainDatagramSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc" ;;
29072 "gnu/java/nio/natVMPipe.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc" ;;
29073 "gnu/java/nio/natVMSelector.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc" ;;
29074 "gnu/java/nio/channels/natFileChannelImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc" ;;
29075 "include/java-gc.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-gc.h:include/$GCHDR" ;;
29076 "include/java-threads.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-threads.h:include/$THREADH" ;;
29077 "sysdep/locks.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/locks.h:sysdep/$sysdeps_dir/locks.h" ;;
29078 "sysdep/backtrace.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/backtrace.h:$fallback_backtrace_h" ;;
29079 "sysdep/descriptor.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/descriptor.h:$descriptor_h" ;;
29080 "include/java-signal.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal.h:$SIGNAL_HANDLER" ;;
29081 "include/java-signal-aux.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal-aux.h:$SIGNAL_HANDLER_AUX" ;;
29082 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
29083 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
29084 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
29085 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
29086 "gcj/libgcj-config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS gcj/libgcj-config.h" ;;
29087 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
29088 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
29089 { (exit 1); exit 1; }; };;
29093 # If the user did not use the arguments to specify the items to instantiate,
29094 # then the envvar interface is used. Set only those that are not.
29095 # We use the long form for the default assignment because of an extremely
29096 # bizarre bug on SunOS 4.1.3.
29097 if $ac_need_defaults; then
29098 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
29099 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
29100 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
29101 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
29104 # Have a temporary directory for convenience. Make it in the build tree
29105 # simply because there is no reason to put it here, and in addition,
29106 # creating and moving files from /tmp can sometimes cause problems.
29107 # Create a temporary directory, and hook for its removal unless debugging.
29110 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
29111 trap '{ (exit 1); exit 1; }' 1 2 13 15
29114 # Create a (secure) tmp directory for tmp files.
29117 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
29118 test -n "$tmp" && test -d "$tmp"
29121 tmp
=.
/confstat$$
-$RANDOM
29122 (umask 077 && mkdir
$tmp)
29125 echo "$me: cannot create a temporary directory in ." >&2
29126 { (exit 1); exit 1; }
29131 cat >>$CONFIG_STATUS <<_ACEOF
29134 # CONFIG_FILES section.
29137 # No need to generate the scripts if there are no CONFIG_FILES.
29138 # This happens for instance when ./config.status config.h
29139 if test -n "\$CONFIG_FILES"; then
29140 # Protect against being on the right side of a sed subst in config.status.
29141 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
29142 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
29143 s,@SHELL@,$SHELL,;t t
29144 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
29145 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
29146 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
29147 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
29148 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
29149 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
29150 s,@exec_prefix@,$exec_prefix,;t t
29151 s,@prefix@,$prefix,;t t
29152 s,@program_transform_name@,$program_transform_name,;t t
29153 s,@bindir@,$bindir,;t t
29154 s,@sbindir@,$sbindir,;t t
29155 s,@libexecdir@,$libexecdir,;t t
29156 s,@datadir@,$datadir,;t t
29157 s,@sysconfdir@,$sysconfdir,;t t
29158 s,@sharedstatedir@,$sharedstatedir,;t t
29159 s,@localstatedir@,$localstatedir,;t t
29160 s,@libdir@,$libdir,;t t
29161 s,@includedir@,$includedir,;t t
29162 s,@oldincludedir@,$oldincludedir,;t t
29163 s,@infodir@,$infodir,;t t
29164 s,@mandir@,$mandir,;t t
29165 s,@build_alias@,$build_alias,;t t
29166 s,@host_alias@,$host_alias,;t t
29167 s,@target_alias@,$target_alias,;t t
29168 s,@DEFS@,$DEFS,;t t
29169 s,@ECHO_C@,$ECHO_C,;t t
29170 s,@ECHO_N@,$ECHO_N,;t t
29171 s,@ECHO_T@,$ECHO_T,;t t
29172 s,@LIBS@,$LIBS,;t t
29173 s,@build@,$build,;t t
29174 s,@build_cpu@,$build_cpu,;t t
29175 s,@build_vendor@,$build_vendor,;t t
29176 s,@build_os@,$build_os,;t t
29177 s,@build_libsubdir@,$build_libsubdir,;t t
29178 s,@build_subdir@,$build_subdir,;t t
29179 s,@host_subdir@,$host_subdir,;t t
29180 s,@target_subdir@,$target_subdir,;t t
29181 s,@multi_basedir@,$multi_basedir,;t t
29182 s,@host@,$host,;t t
29183 s,@host_cpu@,$host_cpu,;t t
29184 s,@host_vendor@,$host_vendor,;t t
29185 s,@host_os@,$host_os,;t t
29186 s,@target@,$target,;t t
29187 s,@target_cpu@,$target_cpu,;t t
29188 s,@target_vendor@,$target_vendor,;t t
29189 s,@target_os@,$target_os,;t t
29190 s,@target_noncanonical@,$target_noncanonical,;t t
29191 s,@LN_S@,$LN_S,;t t
29192 s,@mkinstalldirs@,$mkinstalldirs,;t t
29193 s,@JAVA_MAINTAINER_MODE_TRUE@,$JAVA_MAINTAINER_MODE_TRUE,;t t
29194 s,@JAVA_MAINTAINER_MODE_FALSE@,$JAVA_MAINTAINER_MODE_FALSE,;t t
29196 s,@ac_ct_CC@,$ac_ct_CC,;t t
29197 s,@EXEEXT@,$EXEEXT,;t t
29198 s,@OBJEXT@,$OBJEXT,;t t
29200 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
29201 s,@CFLAGS@,$CFLAGS,;t t
29202 s,@CXXFLAGS@,$CXXFLAGS,;t t
29203 s,@LDFLAGS@,$LDFLAGS,;t t
29204 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
29205 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
29206 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
29207 s,@CYGPATH_W@,$CYGPATH_W,;t t
29208 s,@PACKAGE@,$PACKAGE,;t t
29209 s,@VERSION@,$VERSION,;t t
29210 s,@ACLOCAL@,$ACLOCAL,;t t
29211 s,@AUTOCONF@,$AUTOCONF,;t t
29212 s,@AUTOMAKE@,$AUTOMAKE,;t t
29213 s,@AUTOHEADER@,$AUTOHEADER,;t t
29214 s,@MAKEINFO@,$MAKEINFO,;t t
29215 s,@install_sh@,$install_sh,;t t
29216 s,@STRIP@,$STRIP,;t t
29217 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
29218 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
29219 s,@mkdir_p@,$mkdir_p,;t t
29221 s,@SET_MAKE@,$SET_MAKE,;t t
29222 s,@am__leading_dot@,$am__leading_dot,;t t
29223 s,@AMTAR@,$AMTAR,;t t
29224 s,@am__tar@,$am__tar,;t t
29225 s,@am__untar@,$am__untar,;t t
29226 s,@DEPDIR@,$DEPDIR,;t t
29227 s,@am__include@,$am__include,;t t
29228 s,@am__quote@,$am__quote,;t t
29229 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
29230 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
29231 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
29232 s,@CCDEPMODE@,$CCDEPMODE,;t t
29233 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
29234 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
29235 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
29236 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
29237 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
29239 s,@ac_ct_AS@,$ac_ct_AS,;t t
29241 s,@ac_ct_LD@,$ac_ct_LD,;t t
29243 s,@ac_ct_AR@,$ac_ct_AR,;t t
29244 s,@RANLIB@,$RANLIB,;t t
29245 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
29248 s,@UNZIP@,$UNZIP,;t t
29249 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
29250 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
29251 s,@MAINT@,$MAINT,;t t
29252 s,@LIBGCJ_CFLAGS@,$LIBGCJ_CFLAGS,;t t
29253 s,@LIBGCJ_CXXFLAGS@,$LIBGCJ_CXXFLAGS,;t t
29254 s,@LIBGCJ_JAVAFLAGS@,$LIBGCJ_JAVAFLAGS,;t t
29255 s,@LIBGCJ_LD_SYMBOLIC@,$LIBGCJ_LD_SYMBOLIC,;t t
29256 s,@LIBGCJ_LD_SYMBOLIC_FUNCTIONS@,$LIBGCJ_LD_SYMBOLIC_FUNCTIONS,;t t
29257 s,@LIBGCJDEBUG@,$LIBGCJDEBUG,;t t
29258 s,@TOOLKIT@,$TOOLKIT,;t t
29259 s,@XLIB_AWT_TRUE@,$XLIB_AWT_TRUE,;t t
29260 s,@XLIB_AWT_FALSE@,$XLIB_AWT_FALSE,;t t
29261 s,@X_AWT_TRUE@,$X_AWT_TRUE,;t t
29262 s,@X_AWT_FALSE@,$X_AWT_FALSE,;t t
29263 s,@GCJ_FOR_ECJX@,$GCJ_FOR_ECJX,;t t
29264 s,@GCJH@,$GCJH,;t t
29265 s,@host_exeext@,$host_exeext,;t t
29266 s,@INCLTDL@,$INCLTDL,;t t
29267 s,@LIBLTDL@,$LIBLTDL,;t t
29268 s,@DIRLTDL@,$DIRLTDL,;t t
29269 s,@LIBTOOL@,$LIBTOOL,;t t
29271 s,@EGREP@,$EGREP,;t t
29272 s,@FGREP@,$FGREP,;t t
29273 s,@GREP@,$GREP,;t t
29274 s,@DUMPBIN@,$DUMPBIN,;t t
29275 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
29277 s,@lt_ECHO@,$lt_ECHO,;t t
29279 s,@CPPFLAGS@,$CPPFLAGS,;t t
29280 s,@CXXCPP@,$CXXCPP,;t t
29282 s,@GCJFLAGS@,$GCJFLAGS,;t t
29283 s,@GCJDEPMODE@,$GCJDEPMODE,;t t
29284 s,@am__fastdepGCJ_TRUE@,$am__fastdepGCJ_TRUE,;t t
29285 s,@am__fastdepGCJ_FALSE@,$am__fastdepGCJ_FALSE,;t t
29286 s,@subdirs@,$subdirs,;t t
29287 s,@TESTSUBDIR_TRUE@,$TESTSUBDIR_TRUE,;t t
29288 s,@TESTSUBDIR_FALSE@,$TESTSUBDIR_FALSE,;t t
29289 s,@ECJ_BUILD_JAR@,$ECJ_BUILD_JAR,;t t
29290 s,@ECJ_JAR@,$ECJ_JAR,;t t
29291 s,@BUILD_ECJ1_TRUE@,$BUILD_ECJ1_TRUE,;t t
29292 s,@BUILD_ECJ1_FALSE@,$BUILD_ECJ1_FALSE,;t t
29293 s,@INSTALL_ECJ_JAR_TRUE@,$INSTALL_ECJ_JAR_TRUE,;t t
29294 s,@INSTALL_ECJ_JAR_FALSE@,$INSTALL_ECJ_JAR_FALSE,;t t
29295 s,@JAVA_HOME_SET_TRUE@,$JAVA_HOME_SET_TRUE,;t t
29296 s,@JAVA_HOME_SET_FALSE@,$JAVA_HOME_SET_FALSE,;t t
29297 s,@JAVA_HOME@,$JAVA_HOME,;t t
29298 s,@SUPPRESS_LIBGCJ_BC_TRUE@,$SUPPRESS_LIBGCJ_BC_TRUE,;t t
29299 s,@SUPPRESS_LIBGCJ_BC_FALSE@,$SUPPRESS_LIBGCJ_BC_FALSE,;t t
29300 s,@INTERPRETER@,$INTERPRETER,;t t
29301 s,@INTERPRETER_TRUE@,$INTERPRETER_TRUE,;t t
29302 s,@INTERPRETER_FALSE@,$INTERPRETER_FALSE,;t t
29303 s,@LIBFFI@,$LIBFFI,;t t
29304 s,@LIBFFIINCS@,$LIBFFIINCS,;t t
29305 s,@PLATFORM@,$PLATFORM,;t t
29306 s,@USING_WIN32_PLATFORM_TRUE@,$USING_WIN32_PLATFORM_TRUE,;t t
29307 s,@USING_WIN32_PLATFORM_FALSE@,$USING_WIN32_PLATFORM_FALSE,;t t
29308 s,@USING_POSIX_PLATFORM_TRUE@,$USING_POSIX_PLATFORM_TRUE,;t t
29309 s,@USING_POSIX_PLATFORM_FALSE@,$USING_POSIX_PLATFORM_FALSE,;t t
29310 s,@USING_DARWIN_CRT_TRUE@,$USING_DARWIN_CRT_TRUE,;t t
29311 s,@USING_DARWIN_CRT_FALSE@,$USING_DARWIN_CRT_FALSE,;t t
29312 s,@SYSTEMSPEC@,$SYSTEMSPEC,;t t
29313 s,@ZLIBSPEC@,$ZLIBSPEC,;t t
29314 s,@ZLIBTESTSPEC@,$ZLIBTESTSPEC,;t t
29315 s,@X_CFLAGS@,$X_CFLAGS,;t t
29316 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
29317 s,@X_LIBS@,$X_LIBS,;t t
29318 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
29319 s,@extra_ldflags_libjava@,$extra_ldflags_libjava,;t t
29320 s,@extra_gij_ldflags@,$extra_gij_ldflags,;t t
29321 s,@extra_ldflags@,$extra_ldflags,;t t
29322 s,@LIBSTDCXXSPEC@,$LIBSTDCXXSPEC,;t t
29323 s,@LIBGCJTESTSPEC@,$LIBGCJTESTSPEC,;t t
29324 s,@GCLIBS@,$GCLIBS,;t t
29325 s,@GCINCS@,$GCINCS,;t t
29326 s,@GCDEPS@,$GCDEPS,;t t
29327 s,@GCSPEC@,$GCSPEC,;t t
29328 s,@JC1GCSPEC@,$JC1GCSPEC,;t t
29329 s,@GCTESTSPEC@,$GCTESTSPEC,;t t
29330 s,@USING_BOEHMGC_TRUE@,$USING_BOEHMGC_TRUE,;t t
29331 s,@USING_BOEHMGC_FALSE@,$USING_BOEHMGC_FALSE,;t t
29332 s,@USING_NOGC_TRUE@,$USING_NOGC_TRUE,;t t
29333 s,@USING_NOGC_FALSE@,$USING_NOGC_FALSE,;t t
29334 s,@THREADLIBS@,$THREADLIBS,;t t
29335 s,@THREADINCS@,$THREADINCS,;t t
29336 s,@THREADDEPS@,$THREADDEPS,;t t
29337 s,@THREADSPEC@,$THREADSPEC,;t t
29338 s,@THREADSTARTFILESPEC@,$THREADSTARTFILESPEC,;t t
29339 s,@THREADLDFLAGS@,$THREADLDFLAGS,;t t
29340 s,@THREADCXXFLAGS@,$THREADCXXFLAGS,;t t
29341 s,@USING_POSIX_THREADS_TRUE@,$USING_POSIX_THREADS_TRUE,;t t
29342 s,@USING_POSIX_THREADS_FALSE@,$USING_POSIX_THREADS_FALSE,;t t
29343 s,@USING_WIN32_THREADS_TRUE@,$USING_WIN32_THREADS_TRUE,;t t
29344 s,@USING_WIN32_THREADS_FALSE@,$USING_WIN32_THREADS_FALSE,;t t
29345 s,@USING_NO_THREADS_TRUE@,$USING_NO_THREADS_TRUE,;t t
29346 s,@USING_NO_THREADS_FALSE@,$USING_NO_THREADS_FALSE,;t t
29347 s,@USE_LIBGCJ_BC_TRUE@,$USE_LIBGCJ_BC_TRUE,;t t
29348 s,@USE_LIBGCJ_BC_FALSE@,$USE_LIBGCJ_BC_FALSE,;t t
29349 s,@LIBGCJ_SPEC@,$LIBGCJ_SPEC,;t t
29350 s,@HASH_SYNC_SPEC@,$HASH_SYNC_SPEC,;t t
29351 s,@USING_GCC_TRUE@,$USING_GCC_TRUE,;t t
29352 s,@USING_GCC_FALSE@,$USING_GCC_FALSE,;t t
29353 s,@LIBICONV@,$LIBICONV,;t t
29354 s,@LTLIBICONV@,$LTLIBICONV,;t t
29355 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
29356 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
29357 s,@GTK_LIBS@,$GTK_LIBS,;t t
29358 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
29359 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
29360 s,@LIBART_CFLAGS@,$LIBART_CFLAGS,;t t
29361 s,@LIBART_LIBS@,$LIBART_LIBS,;t t
29362 s,@CLASSPATH_SEPARATOR@,$CLASSPATH_SEPARATOR,;t t
29363 s,@ZLIBS@,$ZLIBS,;t t
29364 s,@SYS_ZLIBS@,$SYS_ZLIBS,;t t
29365 s,@ZINCS@,$ZINCS,;t t
29366 s,@DIVIDESPEC@,$DIVIDESPEC,;t t
29367 s,@CHECKREFSPEC@,$CHECKREFSPEC,;t t
29368 s,@EXCEPTIONSPEC@,$EXCEPTIONSPEC,;t t
29369 s,@BACKTRACESPEC@,$BACKTRACESPEC,;t t
29370 s,@IEEESPEC@,$IEEESPEC,;t t
29371 s,@NATIVE_TRUE@,$NATIVE_TRUE,;t t
29372 s,@NATIVE_FALSE@,$NATIVE_FALSE,;t t
29373 s,@ENABLE_SHARED_TRUE@,$ENABLE_SHARED_TRUE,;t t
29374 s,@ENABLE_SHARED_FALSE@,$ENABLE_SHARED_FALSE,;t t
29375 s,@NEEDS_DATA_START_TRUE@,$NEEDS_DATA_START_TRUE,;t t
29376 s,@NEEDS_DATA_START_FALSE@,$NEEDS_DATA_START_FALSE,;t t
29377 s,@GCC_UNWIND_INCLUDE@,$GCC_UNWIND_INCLUDE,;t t
29378 s,@toolexecdir@,$toolexecdir,;t t
29379 s,@toolexecmainlibdir@,$toolexecmainlibdir,;t t
29380 s,@toolexeclibdir@,$toolexeclibdir,;t t
29381 s,@GCJVERSION@,$GCJVERSION,;t t
29382 s,@dbexecdir@,$dbexecdir,;t t
29383 s,@gxx_include_dir@,$gxx_include_dir,;t t
29384 s,@libstdcxx_incdir@,$libstdcxx_incdir,;t t
29385 s,@PERL@,$PERL,;t t
29386 s,@SYSDEP_SOURCES@,$SYSDEP_SOURCES,;t t
29387 s,@ANONVERSCRIPT_TRUE@,$ANONVERSCRIPT_TRUE,;t t
29388 s,@ANONVERSCRIPT_FALSE@,$ANONVERSCRIPT_FALSE,;t t
29389 s,@LD_START_STATIC_SPEC@,$LD_START_STATIC_SPEC,;t t
29390 s,@LD_FINISH_STATIC_SPEC@,$LD_FINISH_STATIC_SPEC,;t t
29391 s,@here@,$here,;t t
29392 s,@LIBOBJS@,$LIBOBJS,;t t
29393 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
29398 cat >>$CONFIG_STATUS <<\_ACEOF
29399 # Split the substitutions into bite-sized pieces for seds with
29400 # small command number limits, like on Digital OSF/1 and HP-UX.
29401 ac_max_sed_lines
=48
29402 ac_sed_frag
=1 # Number of current file.
29403 ac_beg
=1 # First line for current file.
29404 ac_end
=$ac_max_sed_lines # Line after last line for current file.
29407 while $ac_more_lines; do
29408 if test $ac_beg -gt 1; then
29409 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
29411 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
29413 if test ! -s $tmp/subs.frag
; then
29414 ac_more_lines
=false
29416 # The purpose of the label and of the branching condition is to
29417 # speed up the sed processing (if there are no `@' at all, there
29418 # is no need to browse any of the substitutions).
29419 # These are the two extra sed commands mentioned above.
29421 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
29422 if test -z "$ac_sed_cmds"; then
29423 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
29425 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
29427 ac_sed_frag
=`expr $ac_sed_frag + 1`
29429 ac_end
=`expr $ac_end + $ac_max_sed_lines`
29432 if test -z "$ac_sed_cmds"; then
29435 fi # test -n "$CONFIG_FILES"
29438 cat >>$CONFIG_STATUS <<\_ACEOF
29439 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
29440 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
29442 - |
*:- |
*:-:* ) # input from stdin
29444 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29445 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29446 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29447 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29448 * ) ac_file_in
=$ac_file.
in ;;
29451 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
29452 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
29453 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29454 X"$ac_file" : 'X\(//\)[^/]' \| \
29455 X"$ac_file" : 'X\(//\)$' \| \
29456 X"$ac_file" : 'X\(/\)' \| \
29457 . : '\(.\)' 2>/dev/null ||
29459 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29460 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29461 /^X\(\/\/\)$/{ s//\1/; q; }
29462 /^X\(\/\).*/{ s//\1/; q; }
29464 { if $as_mkdir_p; then
29469 while test ! -d "$as_dir"; do
29470 as_dirs
="$as_dir $as_dirs"
29471 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
29472 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29473 X"$as_dir" : 'X\(//\)[^/]' \| \
29474 X"$as_dir" : 'X\(//\)$' \| \
29475 X"$as_dir" : 'X\(/\)' \| \
29476 . : '\(.\)' 2>/dev/null ||
29478 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29479 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29480 /^X\(\/\/\)$/{ s//\1/; q; }
29481 /^X\(\/\).*/{ s//\1/; q; }
29484 test ! -n "$as_dirs" || mkdir
$as_dirs
29485 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29486 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29487 { (exit 1); exit 1; }; }; }
29491 if test "$ac_dir" != .
; then
29492 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
29493 # A "../" for each directory in $ac_dir_suffix.
29494 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
29496 ac_dir_suffix
= ac_top_builddir
=
29500 .
) # No --srcdir option. We are building in place.
29502 if test -z "$ac_top_builddir"; then
29505 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
29507 [\\/]* | ?
:[\\/]* ) # Absolute path.
29508 ac_srcdir
=$srcdir$ac_dir_suffix;
29509 ac_top_srcdir
=$srcdir ;;
29510 *) # Relative path.
29511 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
29512 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
29515 # Do not use `cd foo && pwd` to compute absolute paths, because
29516 # the directories may not exist.
29518 .
) ac_abs_builddir
="$ac_dir";;
29521 .
) ac_abs_builddir
=`pwd`;;
29522 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
29523 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
29526 case $ac_abs_builddir in
29527 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29529 case ${ac_top_builddir}.
in
29530 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
29531 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29532 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
29535 case $ac_abs_builddir in
29536 .
) ac_abs_srcdir
=$ac_srcdir;;
29539 .
) ac_abs_srcdir
=$ac_abs_builddir;;
29540 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
29541 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
29544 case $ac_abs_builddir in
29545 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
29547 case $ac_top_srcdir in
29548 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
29549 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
29550 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
29556 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
29557 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
29560 if test x
"$ac_file" != x-
; then
29561 { echo "$as_me:$LINENO: creating $ac_file" >&5
29562 echo "$as_me: creating $ac_file" >&6;}
29565 # Let's still pretend it is `configure' which instantiates (i.e., don't
29566 # use $as_me), people would be surprised to read:
29567 # /* config.h. Generated by config.status. */
29568 if test x
"$ac_file" = x-
; then
29571 configure_input
="$ac_file. "
29573 configure_input
=$configure_input"Generated from `echo $ac_file_in |
29574 sed 's,.*/,,'` by configure."
29576 # First look for the input files in the build tree, otherwise in the
29578 ac_file_inputs
=`IFS=:
29579 for f in $ac_file_in; do
29581 -) echo $tmp/stdin ;;
29583 # Absolute (can't be DOS-style, as IFS=:)
29584 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29585 echo "$as_me: error: cannot find input file: $f" >&2;}
29586 { (exit 1); exit 1; }; }
29589 if test -f "$f"; then
29592 elif test -f "$srcdir/$f"; then
29597 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29598 echo "$as_me: error: cannot find input file: $f" >&2;}
29599 { (exit 1); exit 1; }; }
29602 done` ||
{ (exit 1); exit 1; }
29604 cat >>$CONFIG_STATUS <<_ACEOF
29608 cat >>$CONFIG_STATUS <<\_ACEOF
29610 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
29611 s
,@configure_input@
,$configure_input,;t t
29612 s
,@srcdir@
,$ac_srcdir,;t t
29613 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
29614 s
,@top_srcdir@
,$ac_top_srcdir,;t t
29615 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
29616 s
,@builddir@
,$ac_builddir,;t t
29617 s
,@abs_builddir@
,$ac_abs_builddir,;t t
29618 s
,@top_builddir@
,$ac_top_builddir,;t t
29619 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
29620 s
,@INSTALL@
,$ac_INSTALL,;t t
29621 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
29623 if test x"$ac_file" != x-; then
29624 mv $tmp/out $ac_file
29630 # Run the commands associated with the file.
29632 scripts/jar ) chmod +x scripts/jar ;;
29636 cat >>$CONFIG_STATUS <<\_ACEOF
29639 # CONFIG_HEADER section.
29642 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
29643 # NAME is the cpp macro being defined and VALUE is the value it is being given.
29645 # ac_d sets the value in "#define NAME VALUE" lines.
29646 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
29647 ac_dB
='[ ].*$,\1#\2'
29650 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
29651 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
29652 ac_uB
='$,\1#\2define\3'
29656 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
29657 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
29659 - |
*:- |
*:-:* ) # input from stdin
29661 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29662 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29663 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29664 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29665 * ) ac_file_in
=$ac_file.
in ;;
29668 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
29669 echo "$as_me: creating $ac_file" >&6;}
29671 # First look for the input files in the build tree, otherwise in the
29673 ac_file_inputs
=`IFS=:
29674 for f in $ac_file_in; do
29676 -) echo $tmp/stdin ;;
29678 # Absolute (can't be DOS-style, as IFS=:)
29679 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29680 echo "$as_me: error: cannot find input file: $f" >&2;}
29681 { (exit 1); exit 1; }; }
29682 # Do quote $f, to prevent DOS paths from being IFS'd.
29685 if test -f "$f"; then
29688 elif test -f "$srcdir/$f"; then
29693 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29694 echo "$as_me: error: cannot find input file: $f" >&2;}
29695 { (exit 1); exit 1; }; }
29698 done` ||
{ (exit 1); exit 1; }
29699 # Remove the trailing spaces.
29700 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
29704 # Transform confdefs.h into two sed scripts, `conftest.defines' and
29705 # `conftest.undefs', that substitutes the proper values into
29706 # config.h.in to produce config.h. The first handles `#define'
29707 # templates, and the second `#undef' templates.
29708 # And first: Protect against being on the right side of a sed subst in
29709 # config.status. Protect against being in an unquoted here document
29710 # in config.status.
29711 rm -f conftest.defines conftest.undefs
29712 # Using a here document instead of a string reduces the quoting nightmare.
29713 # Putting comments in sed scripts is not portable.
29715 # `end' is used to avoid that the second main sed command (meant for
29716 # 0-ary CPP macros) applies to n-ary macro definitions.
29717 # See the Autoconf documentation for `clear'.
29718 cat >confdef2sed.
sed <<\_ACEOF
29723 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
29725 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
29728 # If some macros were called several times there might be several times
29729 # the same #defines, which is useless. Nevertheless, we may not want to
29730 # sort them, since we want the *last* AC-DEFINE to be honored.
29731 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
29732 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
29733 rm -f confdef2sed.sed
29735 # This sed command replaces #undef with comments. This is necessary, for
29736 # example, in the case of _POSIX_SOURCE, which is predefined and required
29737 # on some systems where configure will not decide to define it.
29738 cat >>conftest.undefs <<\_ACEOF
29739 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
29742 # Break up conftest.defines because some shells have a limit on the size
29743 # of here documents, and old seds have small limits too (100 cmds).
29744 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
29745 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
29746 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
29747 echo ' :' >>$CONFIG_STATUS
29748 rm -f conftest.tail
29749 while grep . conftest.defines >/dev/null
29751 # Write a limited-size here document to $tmp/defines.sed.
29752 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
29753 # Speed up: don't consider the non `#define' lines.
29754 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
29755 # Work around the forget-to-reset-the-flag bug.
29756 echo 't clr' >>$CONFIG_STATUS
29757 echo ': clr' >>$CONFIG_STATUS
29758 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
29760 sed -f $tmp/defines.sed $tmp/in >$tmp/out
29762 mv $tmp/out $tmp/in
29764 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
29765 rm -f conftest.defines
29766 mv conftest.
tail conftest.defines
29768 rm -f conftest.defines
29769 echo ' fi # grep' >>$CONFIG_STATUS
29770 echo >>$CONFIG_STATUS
29772 # Break up conftest.undefs because some shells have a limit on the size
29773 # of here documents, and old seds have small limits too (100 cmds).
29774 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
29775 rm -f conftest.
tail
29776 while grep . conftest.undefs
>/dev
/null
29778 # Write a limited-size here document to $tmp/undefs.sed.
29779 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
29780 # Speed up: don't consider the non
`#undef'
29781 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
29782 # Work around the forget-to-reset-the-flag bug.
29783 echo 't clr' >>$CONFIG_STATUS
29784 echo ': clr' >>$CONFIG_STATUS
29785 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
29787 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
29789 mv $tmp/out $tmp/in
29791 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
29792 rm -f conftest.undefs
29793 mv conftest.tail conftest.undefs
29795 rm -f conftest.undefs
29797 cat >>$CONFIG_STATUS <<\_ACEOF
29798 # Let's still pretend it is `configure
' which instantiates (i.e., don't
29799 # use $as_me), people would be surprised to read:
29800 # /* config.h. Generated by config.status. */
29801 if test x
"$ac_file" = x-
; then
29802 echo "/* Generated by configure. */" >$tmp/config.h
29804 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
29806 cat $tmp/in >>$tmp/config.h
29808 if test x
"$ac_file" != x-
; then
29809 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
29810 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
29811 echo "$as_me: $ac_file is unchanged" >&6;}
29813 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
29814 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29815 X"$ac_file" : 'X\(//\)[^/]' \| \
29816 X"$ac_file" : 'X\(//\)$' \| \
29817 X"$ac_file" : 'X\(/\)' \| \
29818 . : '\(.\)' 2>/dev/null ||
29820 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29821 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29822 /^X\(\/\/\)$/{ s//\1/; q; }
29823 /^X\(\/\).*/{ s//\1/; q; }
29825 { if $as_mkdir_p; then
29830 while test ! -d "$as_dir"; do
29831 as_dirs
="$as_dir $as_dirs"
29832 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
29833 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29834 X"$as_dir" : 'X\(//\)[^/]' \| \
29835 X"$as_dir" : 'X\(//\)$' \| \
29836 X"$as_dir" : 'X\(/\)' \| \
29837 . : '\(.\)' 2>/dev/null ||
29839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29840 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29841 /^X\(\/\/\)$/{ s//\1/; q; }
29842 /^X\(\/\).*/{ s//\1/; q; }
29845 test ! -n "$as_dirs" || mkdir
$as_dirs
29846 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29847 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29848 { (exit 1); exit 1; }; }; }
29851 mv $tmp/config.h
$ac_file
29855 rm -f $tmp/config.h
29857 # Compute $ac_file's index in $config_headers.
29859 for _am_header
in $config_headers :; do
29860 case $_am_header in
29861 $ac_file |
$ac_file:* )
29864 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
29867 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
29868 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29869 X$ac_file : 'X\(//\)[^/]' \| \
29870 X$ac_file : 'X\(//\)$' \| \
29871 X$ac_file : 'X\(/\)' \| \
29872 . : '\(.\)' 2>/dev/null ||
29874 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29875 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29876 /^X\(\/\/\)$/{ s//\1/; q; }
29877 /^X\(\/\).*/{ s//\1/; q; }
29878 s/.*/./; q'`/stamp-h
$_am_stamp_count
29881 cat >>$CONFIG_STATUS <<\_ACEOF
29884 # CONFIG_LINKS section.
29887 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
29888 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
29889 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29891 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
29892 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
29894 if test ! -r $srcdir/$ac_source; then
29895 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
29896 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
29897 { (exit 1); exit 1; }; }
29901 # Make relative symlinks.
29902 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
29903 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29904 X"$ac_dest" : 'X\(//\)[^/]' \| \
29905 X"$ac_dest" : 'X\(//\)$' \| \
29906 X"$ac_dest" : 'X\(/\)' \| \
29907 . : '\(.\)' 2>/dev/null ||
29909 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29910 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29911 /^X\(\/\/\)$/{ s//\1/; q; }
29912 /^X\(\/\).*/{ s//\1/; q; }
29914 { if $as_mkdir_p; then
29915 mkdir
-p "$ac_dest_dir"
29917 as_dir
="$ac_dest_dir"
29919 while test ! -d "$as_dir"; do
29920 as_dirs
="$as_dir $as_dirs"
29921 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
29922 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29923 X"$as_dir" : 'X\(//\)[^/]' \| \
29924 X"$as_dir" : 'X\(//\)$' \| \
29925 X"$as_dir" : 'X\(/\)' \| \
29926 . : '\(.\)' 2>/dev/null ||
29928 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29929 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29930 /^X\(\/\/\)$/{ s//\1/; q; }
29931 /^X\(\/\).*/{ s//\1/; q; }
29934 test ! -n "$as_dirs" || mkdir
$as_dirs
29935 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
29936 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
29937 { (exit 1); exit 1; }; }; }
29941 if test "$ac_dest_dir" != .
; then
29942 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
29943 # A "../" for each directory in $ac_dir_suffix.
29944 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
29946 ac_dir_suffix
= ac_top_builddir
=
29950 .
) # No --srcdir option. We are building in place.
29952 if test -z "$ac_top_builddir"; then
29955 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
29957 [\\/]* | ?
:[\\/]* ) # Absolute path.
29958 ac_srcdir
=$srcdir$ac_dir_suffix;
29959 ac_top_srcdir
=$srcdir ;;
29960 *) # Relative path.
29961 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
29962 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
29965 # Do not use `cd foo && pwd` to compute absolute paths, because
29966 # the directories may not exist.
29968 .
) ac_abs_builddir
="$ac_dest_dir";;
29970 case "$ac_dest_dir" in
29971 .
) ac_abs_builddir
=`pwd`;;
29972 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
29973 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
29976 case $ac_abs_builddir in
29977 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29979 case ${ac_top_builddir}.
in
29980 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
29981 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29982 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
29985 case $ac_abs_builddir in
29986 .
) ac_abs_srcdir
=$ac_srcdir;;
29989 .
) ac_abs_srcdir
=$ac_abs_builddir;;
29990 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
29991 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
29994 case $ac_abs_builddir in
29995 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
29997 case $ac_top_srcdir in
29998 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
29999 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
30000 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
30006 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
30007 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
30010 # Try a symlink, then a hard link, then a copy.
30011 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
30012 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
30013 cp -p $srcdir/$ac_source $ac_dest ||
30014 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
30015 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
30016 { (exit 1); exit 1; }; }
30019 cat >>$CONFIG_STATUS <<\_ACEOF
30022 # CONFIG_COMMANDS section.
30024 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
30025 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
30026 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30027 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
30028 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30029 X"$ac_dest" : 'X\(//\)[^/]' \| \
30030 X"$ac_dest" : 'X\(//\)$' \| \
30031 X"$ac_dest" : 'X\(/\)' \| \
30032 . : '\(.\)' 2>/dev/null ||
30034 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30035 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30036 /^X\(\/\/\)$/{ s//\1/; q; }
30037 /^X\(\/\).*/{ s//\1/; q; }
30039 { if $as_mkdir_p; then
30044 while test ! -d "$as_dir"; do
30045 as_dirs
="$as_dir $as_dirs"
30046 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30047 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30048 X"$as_dir" : 'X\(//\)[^/]' \| \
30049 X"$as_dir" : 'X\(//\)$' \| \
30050 X"$as_dir" : 'X\(/\)' \| \
30051 . : '\(.\)' 2>/dev/null ||
30053 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30054 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30055 /^X\(\/\/\)$/{ s//\1/; q; }
30056 /^X\(\/\).*/{ s//\1/; q; }
30059 test ! -n "$as_dirs" || mkdir
$as_dirs
30060 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30061 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30062 { (exit 1); exit 1; }; }; }
30066 if test "$ac_dir" != .
; then
30067 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30068 # A "../" for each directory in $ac_dir_suffix.
30069 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30071 ac_dir_suffix
= ac_top_builddir
=
30075 .
) # No --srcdir option. We are building in place.
30077 if test -z "$ac_top_builddir"; then
30080 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
30082 [\\/]* | ?
:[\\/]* ) # Absolute path.
30083 ac_srcdir
=$srcdir$ac_dir_suffix;
30084 ac_top_srcdir
=$srcdir ;;
30085 *) # Relative path.
30086 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
30087 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
30090 # Do not use `cd foo && pwd` to compute absolute paths, because
30091 # the directories may not exist.
30093 .
) ac_abs_builddir
="$ac_dir";;
30096 .
) ac_abs_builddir
=`pwd`;;
30097 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
30098 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
30101 case $ac_abs_builddir in
30102 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30104 case ${ac_top_builddir}.
in
30105 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
30106 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30107 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
30110 case $ac_abs_builddir in
30111 .
) ac_abs_srcdir
=$ac_srcdir;;
30114 .
) ac_abs_srcdir
=$ac_abs_builddir;;
30115 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
30116 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
30119 case $ac_abs_builddir in
30120 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
30122 case $ac_top_srcdir in
30123 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
30124 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
30125 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
30130 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
30131 echo "$as_me: executing $ac_dest commands" >&6;}
30134 # Only add multilib support code if we just rebuilt the top-level
30136 case " $CONFIG_FILES " in
30138 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
30141 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
30142 # Strip MF so we end up with the name of the file.
30143 mf
=`echo "$mf" | sed -e 's/:.*$//'`
30144 # Check whether this is an Automake generated Makefile or not.
30145 # We used to match only the files named `Makefile.in', but
30146 # some people rename them; so instead we look at the file content.
30147 # Grep'ing the first line is not enough: some people post-process
30148 # each Makefile.in and add a new line on top of each file to say so.
30149 # So let's grep whole file.
30150 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
30151 dirpart
=`(dirname "$mf") 2>/dev/null ||
30152 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30153 X"$mf" : 'X\(//\)[^/]' \| \
30154 X"$mf" : 'X\(//\)$' \| \
30155 X"$mf" : 'X\(/\)' \| \
30156 . : '\(.\)' 2>/dev/null ||
30158 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30159 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30160 /^X\(\/\/\)$/{ s//\1/; q; }
30161 /^X\(\/\).*/{ s//\1/; q; }
30166 # Extract the definition of DEPDIR, am__include, and am__quote
30167 # from the Makefile without running `make'.
30168 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
30169 test -z "$DEPDIR" && continue
30170 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
30171 test -z "am__include" && continue
30172 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
30173 # When using ansi2knr, U may be empty or an underscore; expand it
30174 U
=`sed -n 's/^U = //p' < "$mf"`
30175 # Find all dependency output files, they are included files with
30176 # $(DEPDIR) in their names. We invoke sed twice because it is the
30177 # simplest approach to changing $(DEPDIR) to its actual value in the
30179 for file in `sed -n "
30180 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
30181 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
30182 # Make sure the directory exists.
30183 test -f "$dirpart/$file" && continue
30184 fdir
=`(dirname "$file") 2>/dev/null ||
30185 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30186 X"$file" : 'X\(//\)[^/]' \| \
30187 X"$file" : 'X\(//\)$' \| \
30188 X"$file" : 'X\(/\)' \| \
30189 . : '\(.\)' 2>/dev/null ||
30191 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30192 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30193 /^X\(\/\/\)$/{ s//\1/; q; }
30194 /^X\(\/\).*/{ s//\1/; q; }
30196 { if $as_mkdir_p; then
30197 mkdir
-p $dirpart/$fdir
30199 as_dir
=$dirpart/$fdir
30201 while test ! -d "$as_dir"; do
30202 as_dirs
="$as_dir $as_dirs"
30203 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30204 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30205 X"$as_dir" : 'X\(//\)[^/]' \| \
30206 X"$as_dir" : 'X\(//\)$' \| \
30207 X"$as_dir" : 'X\(/\)' \| \
30208 . : '\(.\)' 2>/dev/null ||
30210 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30211 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30212 /^X\(\/\/\)$/{ s//\1/; q; }
30213 /^X\(\/\).*/{ s//\1/; q; }
30216 test ! -n "$as_dirs" || mkdir
$as_dirs
30217 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
30218 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
30219 { (exit 1); exit 1; }; }; }
30221 # echo "creating $dirpart/$file"
30222 echo '# dummy' > "$dirpart/$file"
30228 # See if we are running on zsh, and set the options which allow our
30229 # commands through without removal of \ escapes.
30230 if test -n "${ZSH_VERSION+set}" ; then
30231 setopt NO_GLOB_SUBST
30234 cfgfile
="${ofile}T"
30235 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
30238 cat <<_LT_EOF >> "$cfgfile"
30241 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
30242 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
30243 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
30244 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
30246 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
30247 # 2006, 2007 Free Software Foundation, Inc.
30249 # This file is part of GNU Libtool:
30250 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
30252 # This program is free software; you can redistribute it and/or modify
30253 # it under the terms of the GNU General Public License as published by
30254 # the Free Software Foundation; either version 2 of the License, or
30255 # (at your option) any later version.
30257 # This program is distributed in the hope that it will be useful, but
30258 # WITHOUT ANY WARRANTY; without even the implied warranty of
30259 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
30260 # General Public License for more details.
30262 # You should have received a copy of the GNU General Public License
30263 # along with this program; if not, a copy can be downloaded from
30264 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
30265 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
30266 # MA 02110-1301, USA.
30268 # As a special exception to the GNU General Public License, if you
30269 # distribute this file as part of a program that contains a
30270 # configuration script generated by Autoconf, you may include it under
30271 # the same distribution terms that you use for the rest of that program.
30274 # The names of the tagged configurations supported by this script.
30275 available_tags="CXX GCJ "
30277 # ### BEGIN LIBTOOL CONFIG
30279 # Which release of libtool.m4 was used?
30280 macro_version=$macro_version
30281 macro_revision=$macro_revision
30283 # Whether or not to build shared libraries.
30284 build_libtool_libs=$enable_shared
30286 # Whether or not to build static libraries.
30287 build_old_libs=$enable_static
30289 # What type of objects to build.
30292 # Whether or not to optimize for fast installation.
30293 fast_install=$enable_fast_install
30296 host_alias=$host_alias
30300 # The build system.
30301 build_alias=$build_alias
30305 # A sed program that does not truncate output.
30308 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
30309 Xsed="\$SED -e 1s/^X//"
30311 # A grep program that handles long lines.
30317 # A literal string matcher.
30320 # A BSD- or MS-compatible name lister.
30323 # Whether we need soft or hard links.
30326 # What is the maximum length of a command?
30327 max_cmd_len=$max_cmd_len
30329 # Object file suffix (normally "o").
30332 # Executable file suffix (normally "").
30335 # whether the shell understands "unset".
30338 # turn spaces into newlines.
30341 # turn newlines into spaces.
30344 # How to create reloadable object files.
30345 reload_flag=$lt_reload_flag
30346 reload_cmds=$lt_reload_cmds
30348 # Method to check whether dependent libraries are shared objects.
30349 deplibs_check_method=$lt_deplibs_check_method
30351 # Command to use when deplibs_check_method == "file_magic".
30352 file_magic_cmd=$lt_file_magic_cmd
30356 AR_FLAGS=$lt_AR_FLAGS
30358 # A symbol stripping program.
30361 # Commands used to install an old-style archive.
30363 old_postinstall_cmds=$lt_old_postinstall_cmds
30364 old_postuninstall_cmds=$lt_old_postuninstall_cmds
30369 # LTCC compiler flags.
30370 LTCFLAGS=$lt_CFLAGS
30372 # Take the output of nm and produce a listing of raw symbols and C names.
30373 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
30375 # Transform the output of nm in a proper C declaration.
30376 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
30378 # Transform the output of nm in a C name address pair.
30379 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
30381 # The name of the directory that contains temporary libtool files.
30384 # Shell to use when invoking shell scripts.
30387 # An echo program that does not interpret backslashes.
30390 # Used to examine libraries when file_magic_cmd begins with "file".
30391 MAGIC_CMD=$MAGIC_CMD
30393 # Must we lock files when doing compilation?
30394 need_locks=$lt_need_locks
30396 # Old archive suffix (normally "a").
30399 # Shared library suffix (normally ".so").
30400 shrext_cmds=$lt_shrext_cmds
30402 # The commands to extract the exported symbol list from a shared archive.
30403 extract_expsyms_cmds=$lt_extract_expsyms_cmds
30405 # Variables whose values should be saved in libtool wrapper scripts and
30406 # restored at link time.
30407 variables_saved_for_relink=$lt_variables_saved_for_relink
30409 # Do we need the "lib" prefix for modules?
30410 need_lib_prefix=$need_lib_prefix
30412 # Do we need a version for libraries?
30413 need_version=$need_version
30415 # Library versioning type.
30416 version_type=$version_type
30418 # Shared library runtime path variable.
30419 runpath_var=$runpath_var
30421 # Shared library path variable.
30422 shlibpath_var=$shlibpath_var
30424 # Is shlibpath searched before the hard-coded library search path?
30425 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
30427 # Format of library name prefix.
30428 libname_spec=$lt_libname_spec
30430 # List of archive names. First name is the real one, the rest are links.
30431 # The last name is the one that the linker finds with -lNAME
30432 library_names_spec=$lt_library_names_spec
30434 # The coded name of the library, if different from the real name.
30435 soname_spec=$lt_soname_spec
30437 # Command to use after installation of a shared archive.
30438 postinstall_cmds=$lt_postinstall_cmds
30440 # Command to use after uninstallation of a shared archive.
30441 postuninstall_cmds=$lt_postuninstall_cmds
30443 # Commands used to finish a libtool library installation in a directory.
30444 finish_cmds=$lt_finish_cmds
30446 # As "finish_cmds", except a single script fragment to be evaled but
30448 finish_eval=$lt_finish_eval
30450 # Whether we should hardcode library paths into libraries.
30451 hardcode_into_libs=$hardcode_into_libs
30453 # Compile-time system search path for libraries.
30454 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
30456 # Run-time system search path for libraries.
30457 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
30459 # Whether dlopen is supported.
30460 dlopen_support=$enable_dlopen
30462 # Whether dlopen of programs is supported.
30463 dlopen_self=$enable_dlopen_self
30465 # Whether dlopen of statically linked programs is supported.
30466 dlopen_self_static=$enable_dlopen_self_static
30468 # Commands to strip libraries.
30469 old_striplib=$lt_old_striplib
30470 striplib=$lt_striplib
30473 # The linker used to build libraries.
30476 # Commands used to build an old-style archive.
30477 old_archive_cmds=$lt_old_archive_cmds
30479 # A language specific compiler.
30482 # Is the compiler the GNU compiler?
30485 # Compiler flag to turn off builtin functions.
30486 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
30488 # How to pass a linker flag through the compiler.
30489 wl=$lt_lt_prog_compiler_wl
30491 # Additional compiler flags for building library objects.
30492 pic_flag=$lt_lt_prog_compiler_pic
30494 # Compiler flag to prevent dynamic linking.
30495 link_static_flag=$lt_lt_prog_compiler_static
30497 # Does compiler simultaneously support -c and -o options?
30498 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
30500 # Whether or not to add -lc for building shared libraries.
30501 build_libtool_need_lc=$archive_cmds_need_lc
30503 # Whether or not to disallow shared libs when runtime libs are static.
30504 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
30506 # Compiler flag to allow reflexive dlopens.
30507 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
30509 # Compiler flag to generate shared objects directly from archives.
30510 whole_archive_flag_spec=$lt_whole_archive_flag_spec
30512 # Whether the compiler copes with passing no objects directly.
30513 compiler_needs_object=$lt_compiler_needs_object
30515 # Create an old-style archive from a shared archive.
30516 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
30518 # Create a temporary old-style archive to link instead of a shared archive.
30519 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
30521 # Commands used to build a shared archive.
30522 archive_cmds=$lt_archive_cmds
30523 archive_expsym_cmds=$lt_archive_expsym_cmds
30525 # Commands used to build a loadable module if different from building
30526 # a shared archive.
30527 module_cmds=$lt_module_cmds
30528 module_expsym_cmds=$lt_module_expsym_cmds
30530 # Whether we are building with GNU ld or not.
30531 with_gnu_ld=$lt_with_gnu_ld
30533 # Flag that allows shared libraries with undefined symbols to be built.
30534 allow_undefined_flag=$lt_allow_undefined_flag
30536 # Flag that enforces no undefined symbols.
30537 no_undefined_flag=$lt_no_undefined_flag
30539 # Flag to hardcode \$libdir into a binary during linking.
30540 # This must work even if \$libdir does not exist
30541 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
30543 # If ld is used when linking, flag to hardcode \$libdir into a binary
30544 # during linking. This must work even if \$libdir does not exist.
30545 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
30547 # Whether we need a single "-rpath" flag with a separated argument.
30548 hardcode_libdir_separator=$lt_hardcode_libdir_separator
30550 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30551 # DIR into the resulting binary.
30552 hardcode_direct=$hardcode_direct
30554 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30555 # DIR into the resulting binary and the resulting library dependency is
30556 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
30557 # library is relocated.
30558 hardcode_direct_absolute=$hardcode_direct_absolute
30560 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30561 # into the resulting binary.
30562 hardcode_minus_L=$hardcode_minus_L
30564 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
30565 # into the resulting binary.
30566 hardcode_shlibpath_var=$hardcode_shlibpath_var
30568 # Set to "yes" if building a shared library automatically hardcodes DIR
30569 # into the library and all subsequent libraries and executables linked
30571 hardcode_automatic=$hardcode_automatic
30573 # Set to yes if linker adds runtime paths of dependent libraries
30574 # to runtime path list.
30575 inherit_rpath=$inherit_rpath
30577 # Whether libtool must link a program against all its dependency libraries.
30578 link_all_deplibs=$link_all_deplibs
30580 # Fix the shell variable \$srcfile for the compiler.
30581 fix_srcfile_path=$lt_fix_srcfile_path
30583 # Set to "yes" if exported symbols are required.
30584 always_export_symbols=$always_export_symbols
30586 # The commands to list exported symbols.
30587 export_symbols_cmds=$lt_export_symbols_cmds
30589 # Symbols that should not be listed in the preloaded symbols.
30590 exclude_expsyms=$lt_exclude_expsyms
30592 # Symbols that must always be exported.
30593 include_expsyms=$lt_include_expsyms
30595 # Commands necessary for linking programs (against libraries) with templates.
30596 prelink_cmds=$lt_prelink_cmds
30598 # Specify filename containing input files.
30599 file_list_spec=$lt_file_list_spec
30601 # How to hardcode a shared library path into an executable.
30602 hardcode_action=$hardcode_action
30604 # Dependencies to place before and after the objects being linked to
30605 # create a shared library.
30606 predep_objects=$lt_predep_objects
30607 postdep_objects=$lt_postdep_objects
30608 predeps=$lt_predeps
30609 postdeps=$lt_postdeps
30611 # The library search path used internally by the compiler when linking
30612 # a shared library.
30613 compiler_lib_search_path=$lt_compiler_lib_search_path
30615 # ### END LIBTOOL CONFIG
30621 cat <<\_LT_EOF
>> "$cfgfile"
30622 # AIX sometimes has problems with the GCC collect2 program. For some
30623 # reason, if we set the COLLECT_NAMES environment variable, the problems
30624 # vanish in a puff of smoke.
30625 if test "X${COLLECT_NAMES+set}" != Xset
; then
30627 export COLLECT_NAMES
30634 ltmain
="$ac_aux_dir/ltmain.sh"
30637 # We use sed instead of cat because bash on DJGPP gets confused if
30638 # if finds mixed CR/LF and LF-only lines. Since sed operates in
30639 # text mode, it properly converts lines to CR/LF. This bash problem
30640 # is reportedly fixed, but why not run on old versions too?
30641 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
30642 ||
(rm -f "$cfgfile"; exit 1)
30646 cat << \_LT_EOF
>> "$cfgfile"
30647 # func_dirname file append nondir_replacement
30648 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
30649 # otherwise set result to NONDIR_REPLACEMENT.
30653 */*) func_dirname_result
="${1%/*}${2}" ;;
30654 * ) func_dirname_result
="${3}" ;;
30658 # func_basename file
30661 func_basename_result
="${1##*/}"
30664 # func_stripname prefix suffix name
30665 # strip PREFIX and SUFFIX off of NAME.
30666 # PREFIX and SUFFIX must not contain globbing or regex special
30667 # characters, hashes, percent signs, but SUFFIX may contain a leading
30668 # dot (in which case that matches only a dot).
30671 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
30672 # positional parameters, so assign one to ordinary parameter first.
30673 func_stripname_result
=${3}
30674 func_stripname_result
=${func_stripname_result#"${1}"}
30675 func_stripname_result
=${func_stripname_result%"${2}"}
30681 func_opt_split_opt
=${1%%=*}
30682 func_opt_split_arg
=${1#*=}
30689 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
30690 *) func_lo2o_result
=${1} ;;
30695 *) # Bourne compatible functions.
30696 cat << \_LT_EOF
>> "$cfgfile"
30697 # func_dirname file append nondir_replacement
30698 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
30699 # otherwise set result to NONDIR_REPLACEMENT.
30702 # Extract subdirectory from the argument.
30703 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
30704 if test "X$func_dirname_result" = "X${1}"; then
30705 func_dirname_result
="${3}"
30707 func_dirname_result
="$func_dirname_result${2}"
30711 # func_basename file
30714 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
30717 # func_stripname prefix suffix name
30718 # strip PREFIX and SUFFIX off of NAME.
30719 # PREFIX and SUFFIX must not contain globbing or regex special
30720 # characters, hashes, percent signs, but SUFFIX may contain a leading
30721 # dot (in which case that matches only a dot).
30722 # func_strip_suffix prefix name
30726 .
*) func_stripname_result
=`$ECHO "X${3}" \
30727 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
30728 *) func_stripname_result
=`$ECHO "X${3}" \
30729 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
30734 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
30735 my_sed_long_arg
='1s/^-[^=]*=//'
30740 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
30741 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
30747 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
30752 case $lt_shell_append in
30754 cat << \_LT_EOF
>> "$cfgfile"
30756 # func_append var value
30757 # Append VALUE to the end of shell variable VAR.
30765 cat << \_LT_EOF
>> "$cfgfile"
30767 # func_append var value
30768 # Append VALUE to the end of shell variable VAR.
30778 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
30779 ||
(rm -f "$cfgfile"; exit 1)
30781 mv -f "$cfgfile" "$ofile" ||
30782 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
30786 cat <<_LT_EOF >> "$ofile"
30788 # ### BEGIN LIBTOOL TAG CONFIG: CXX
30790 # The linker used to build libraries.
30793 # Commands used to build an old-style archive.
30794 old_archive_cmds=$lt_old_archive_cmds_CXX
30796 # A language specific compiler.
30797 CC=$lt_compiler_CXX
30799 # Is the compiler the GNU compiler?
30802 # Compiler flag to turn off builtin functions.
30803 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
30805 # How to pass a linker flag through the compiler.
30806 wl=$lt_lt_prog_compiler_wl_CXX
30808 # Additional compiler flags for building library objects.
30809 pic_flag=$lt_lt_prog_compiler_pic_CXX
30811 # Compiler flag to prevent dynamic linking.
30812 link_static_flag=$lt_lt_prog_compiler_static_CXX
30814 # Does compiler simultaneously support -c and -o options?
30815 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
30817 # Whether or not to add -lc for building shared libraries.
30818 build_libtool_need_lc=$archive_cmds_need_lc_CXX
30820 # Whether or not to disallow shared libs when runtime libs are static.
30821 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
30823 # Compiler flag to allow reflexive dlopens.
30824 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
30826 # Compiler flag to generate shared objects directly from archives.
30827 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
30829 # Whether the compiler copes with passing no objects directly.
30830 compiler_needs_object=$lt_compiler_needs_object_CXX
30832 # Create an old-style archive from a shared archive.
30833 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
30835 # Create a temporary old-style archive to link instead of a shared archive.
30836 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
30838 # Commands used to build a shared archive.
30839 archive_cmds=$lt_archive_cmds_CXX
30840 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
30842 # Commands used to build a loadable module if different from building
30843 # a shared archive.
30844 module_cmds=$lt_module_cmds_CXX
30845 module_expsym_cmds=$lt_module_expsym_cmds_CXX
30847 # Whether we are building with GNU ld or not.
30848 with_gnu_ld=$lt_with_gnu_ld_CXX
30850 # Flag that allows shared libraries with undefined symbols to be built.
30851 allow_undefined_flag=$lt_allow_undefined_flag_CXX
30853 # Flag that enforces no undefined symbols.
30854 no_undefined_flag=$lt_no_undefined_flag_CXX
30856 # Flag to hardcode \$libdir into a binary during linking.
30857 # This must work even if \$libdir does not exist
30858 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
30860 # If ld is used when linking, flag to hardcode \$libdir into a binary
30861 # during linking. This must work even if \$libdir does not exist.
30862 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
30864 # Whether we need a single "-rpath" flag with a separated argument.
30865 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
30867 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30868 # DIR into the resulting binary.
30869 hardcode_direct=$hardcode_direct_CXX
30871 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30872 # DIR into the resulting binary and the resulting library dependency is
30873 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
30874 # library is relocated.
30875 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
30877 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30878 # into the resulting binary.
30879 hardcode_minus_L=$hardcode_minus_L_CXX
30881 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
30882 # into the resulting binary.
30883 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
30885 # Set to "yes" if building a shared library automatically hardcodes DIR
30886 # into the library and all subsequent libraries and executables linked
30888 hardcode_automatic=$hardcode_automatic_CXX
30890 # Set to yes if linker adds runtime paths of dependent libraries
30891 # to runtime path list.
30892 inherit_rpath=$inherit_rpath_CXX
30894 # Whether libtool must link a program against all its dependency libraries.
30895 link_all_deplibs=$link_all_deplibs_CXX
30897 # Fix the shell variable \$srcfile for the compiler.
30898 fix_srcfile_path=$lt_fix_srcfile_path_CXX
30900 # Set to "yes" if exported symbols are required.
30901 always_export_symbols=$always_export_symbols_CXX
30903 # The commands to list exported symbols.
30904 export_symbols_cmds=$lt_export_symbols_cmds_CXX
30906 # Symbols that should not be listed in the preloaded symbols.
30907 exclude_expsyms=$lt_exclude_expsyms_CXX
30909 # Symbols that must always be exported.
30910 include_expsyms=$lt_include_expsyms_CXX
30912 # Commands necessary for linking programs (against libraries) with templates.
30913 prelink_cmds=$lt_prelink_cmds_CXX
30915 # Specify filename containing input files.
30916 file_list_spec=$lt_file_list_spec_CXX
30918 # How to hardcode a shared library path into an executable.
30919 hardcode_action=$hardcode_action_CXX
30921 # Dependencies to place before and after the objects being linked to
30922 # create a shared library.
30923 predep_objects=$lt_predep_objects_CXX
30924 postdep_objects=$lt_postdep_objects_CXX
30925 predeps=$lt_predeps_CXX
30926 postdeps=$lt_postdeps_CXX
30928 # The library search path used internally by the compiler when linking
30929 # a shared library.
30930 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
30932 # ### END LIBTOOL TAG CONFIG: CXX
30936 cat <<_LT_EOF >> "$ofile"
30938 # ### BEGIN LIBTOOL TAG CONFIG: GCJ
30940 # The linker used to build libraries.
30943 # Commands used to build an old-style archive.
30944 old_archive_cmds=$lt_old_archive_cmds_GCJ
30946 # A language specific compiler.
30947 CC=$lt_compiler_GCJ
30949 # Is the compiler the GNU compiler?
30952 # Compiler flag to turn off builtin functions.
30953 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
30955 # How to pass a linker flag through the compiler.
30956 wl=$lt_lt_prog_compiler_wl_GCJ
30958 # Additional compiler flags for building library objects.
30959 pic_flag=$lt_lt_prog_compiler_pic_GCJ
30961 # Compiler flag to prevent dynamic linking.
30962 link_static_flag=$lt_lt_prog_compiler_static_GCJ
30964 # Does compiler simultaneously support -c and -o options?
30965 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
30967 # Whether or not to add -lc for building shared libraries.
30968 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
30970 # Whether or not to disallow shared libs when runtime libs are static.
30971 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
30973 # Compiler flag to allow reflexive dlopens.
30974 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
30976 # Compiler flag to generate shared objects directly from archives.
30977 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
30979 # Whether the compiler copes with passing no objects directly.
30980 compiler_needs_object=$lt_compiler_needs_object_GCJ
30982 # Create an old-style archive from a shared archive.
30983 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
30985 # Create a temporary old-style archive to link instead of a shared archive.
30986 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
30988 # Commands used to build a shared archive.
30989 archive_cmds=$lt_archive_cmds_GCJ
30990 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
30992 # Commands used to build a loadable module if different from building
30993 # a shared archive.
30994 module_cmds=$lt_module_cmds_GCJ
30995 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
30997 # Whether we are building with GNU ld or not.
30998 with_gnu_ld=$lt_with_gnu_ld_GCJ
31000 # Flag that allows shared libraries with undefined symbols to be built.
31001 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
31003 # Flag that enforces no undefined symbols.
31004 no_undefined_flag=$lt_no_undefined_flag_GCJ
31006 # Flag to hardcode \$libdir into a binary during linking.
31007 # This must work even if \$libdir does not exist
31008 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
31010 # If ld is used when linking, flag to hardcode \$libdir into a binary
31011 # during linking. This must work even if \$libdir does not exist.
31012 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
31014 # Whether we need a single "-rpath" flag with a separated argument.
31015 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
31017 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
31018 # DIR into the resulting binary.
31019 hardcode_direct=$hardcode_direct_GCJ
31021 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
31022 # DIR into the resulting binary and the resulting library dependency is
31023 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
31024 # library is relocated.
31025 hardcode_direct_absolute=$hardcode_direct_absolute_GCJ
31027 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
31028 # into the resulting binary.
31029 hardcode_minus_L=$hardcode_minus_L_GCJ
31031 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
31032 # into the resulting binary.
31033 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
31035 # Set to "yes" if building a shared library automatically hardcodes DIR
31036 # into the library and all subsequent libraries and executables linked
31038 hardcode_automatic=$hardcode_automatic_GCJ
31040 # Set to yes if linker adds runtime paths of dependent libraries
31041 # to runtime path list.
31042 inherit_rpath=$inherit_rpath_GCJ
31044 # Whether libtool must link a program against all its dependency libraries.
31045 link_all_deplibs=$link_all_deplibs_GCJ
31047 # Fix the shell variable \$srcfile for the compiler.
31048 fix_srcfile_path=$lt_fix_srcfile_path_GCJ
31050 # Set to "yes" if exported symbols are required.
31051 always_export_symbols=$always_export_symbols_GCJ
31053 # The commands to list exported symbols.
31054 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
31056 # Symbols that should not be listed in the preloaded symbols.
31057 exclude_expsyms=$lt_exclude_expsyms_GCJ
31059 # Symbols that must always be exported.
31060 include_expsyms=$lt_include_expsyms_GCJ
31062 # Commands necessary for linking programs (against libraries) with templates.
31063 prelink_cmds=$lt_prelink_cmds_GCJ
31065 # Specify filename containing input files.
31066 file_list_spec=$lt_file_list_spec_GCJ
31068 # How to hardcode a shared library path into an executable.
31069 hardcode_action=$hardcode_action_GCJ
31071 # Dependencies to place before and after the objects being linked to
31072 # create a shared library.
31073 predep_objects=$lt_predep_objects_GCJ
31074 postdep_objects=$lt_postdep_objects_GCJ
31075 predeps=$lt_predeps_GCJ
31076 postdeps=$lt_postdeps_GCJ
31078 # The library search path used internally by the compiler when linking
31079 # a shared library.
31080 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
31082 # ### END LIBTOOL TAG CONFIG: GCJ
31090 cat >>$CONFIG_STATUS <<\_ACEOF
31092 { (exit 0); exit 0; }
31094 chmod +x
$CONFIG_STATUS
31095 ac_clean_files
=$ac_clean_files_save
31098 # configure is writing to config.log, and then calls config.status.
31099 # config.status does its own redirection, appending to config.log.
31100 # Unfortunately, on DOS this fails, as config.log is still kept open
31101 # by configure, so config.status won't be able to write to it; its
31102 # output is simply discarded. So we exec the FD to /dev/null,
31103 # effectively closing config.log, so it can be properly (re)opened and
31104 # appended to by config.status. When coming back to configure, we
31105 # need to make the FD available again.
31106 if test "$no_create" != yes; then
31108 ac_config_status_args
=
31109 test "$silent" = yes &&
31110 ac_config_status_args
="$ac_config_status_args --quiet"
31112 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
31114 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
31115 # would make configure fail if this is the last instruction.
31116 $ac_cs_success ||
{ (exit 1); exit 1; }
31120 # CONFIG_SUBDIRS section, as fixed in confsubdir.m4.
31122 if test "$no_recursion" != yes; then
31124 # Remove --cache-file and --srcdir arguments so they do not pile up.
31125 ac_sub_configure_args
=
31127 eval "set x $ac_configure_args"
31131 if test -n "$ac_prev"; then
31136 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
31137 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
31138 ac_prev
=cache_file
;;
31139 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
31140 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
31143 --config-cache |
-C)
31145 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
31147 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
31149 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
31151 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
31155 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
31157 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
31161 # Always prepend --prefix to ensure using the same prefix
31162 # in subdir configurations.
31163 ac_arg
="--prefix=$prefix"
31165 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
31167 ac_sub_configure_args
="$ac_arg $ac_sub_configure_args"
31170 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
31172 # Do not complain, so a configure script can configure whichever
31173 # parts of a large source tree are present.
31174 test -d "$srcdir/$ac_dir" ||
continue
31176 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
31177 echo "$as_me: configuring in $ac_dir" >&6;}
31178 { if $as_mkdir_p; then
31183 while test ! -d "$as_dir"; do
31184 as_dirs
="$as_dir $as_dirs"
31185 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31186 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31187 X"$as_dir" : 'X\(//\)[^/]' \| \
31188 X"$as_dir" : 'X\(//\)$' \| \
31189 X"$as_dir" : 'X\(/\)' \| \
31190 . : '\(.\)' 2>/dev/null ||
31192 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31193 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31194 /^X\(\/\/\)$/{ s//\1/; q; }
31195 /^X\(\/\).*/{ s//\1/; q; }
31198 test ! -n "$as_dirs" || mkdir
$as_dirs
31199 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31200 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31201 { (exit 1); exit 1; }; }; }
31205 if test "$ac_dir" != .
; then
31206 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31207 # A "../" for each directory in $ac_dir_suffix.
31208 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31210 ac_dir_suffix
= ac_top_builddir
=
31214 .
) # No --srcdir option. We are building in place.
31216 if test -z "$ac_top_builddir"; then
31219 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
31221 [\\/]* | ?
:[\\/]* ) # Absolute path.
31222 ac_srcdir
=$srcdir$ac_dir_suffix;
31223 ac_top_srcdir
=$srcdir ;;
31224 *) # Relative path.
31225 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
31226 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
31229 # Do not use `cd foo && pwd` to compute absolute paths, because
31230 # the directories may not exist.
31232 .
) ac_abs_builddir
="$ac_dir";;
31235 .
) ac_abs_builddir
=`pwd`;;
31236 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
31237 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
31240 case $ac_abs_builddir in
31241 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31243 case ${ac_top_builddir}.
in
31244 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
31245 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31246 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
31249 case $ac_abs_builddir in
31250 .
) ac_abs_srcdir
=$ac_srcdir;;
31253 .
) ac_abs_srcdir
=$ac_abs_builddir;;
31254 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
31255 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
31258 case $ac_abs_builddir in
31259 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
31261 case $ac_top_srcdir in
31262 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
31263 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
31264 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
31271 # Check for guested configure; otherwise get Cygnus style configure.
31272 if test -f "$ac_srcdir/configure.gnu"; then
31273 ac_sub_configure
=$ac_srcdir/configure.gnu
31274 elif test -f "$ac_srcdir/configure"; then
31275 ac_sub_configure
=$ac_srcdir/configure
31276 elif test -f "$ac_srcdir/configure.in"; then
31277 # This should be Cygnus configure.
31278 ac_sub_configure
=$ac_aux_dir/configure
31280 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
31281 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
31285 # The recursion is here.
31286 if test -n "$ac_sub_configure"; then
31287 # Make the cache file name correct relative to the subdirectory.
31288 case $cache_file in
31289 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
31290 *) # Relative path.
31291 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
31294 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
31295 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
31296 # The eval makes quoting arguments work.
31297 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
31298 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
31299 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
31300 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
31301 { (exit 1); exit 1; }; }