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'
465 # Initialize some variables set by options.
467 ac_init_version
=false
468 # The variables have the same names as the options, with
469 # dashes changed to underlines.
477 program_transform_name
=s
,x
,x
,
485 # Installation directory options.
486 # These are left unexpanded so users can "make install exec_prefix=/foo"
487 # and all the variables that are supposed to be based on exec_prefix
488 # by default will actually change.
489 # Use braces instead of parens because sh, perl, etc. also accept them.
490 bindir
='${exec_prefix}/bin'
491 sbindir
='${exec_prefix}/sbin'
492 libexecdir
='${exec_prefix}/libexec'
493 datadir
='${prefix}/share'
494 sysconfdir
='${prefix}/etc'
495 sharedstatedir
='${prefix}/com'
496 localstatedir
='${prefix}/var'
497 libdir
='${exec_prefix}/lib'
498 includedir
='${prefix}/include'
499 oldincludedir
='/usr/include'
500 infodir
='${prefix}/info'
501 mandir
='${prefix}/man'
506 # If the previous option needs an argument, assign it.
507 if test -n "$ac_prev"; then
508 eval "$ac_prev=\$ac_option"
513 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
515 # Accept the important Cygnus configure options, so we can diagnose typos.
519 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
521 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
524 -build |
--build |
--buil |
--bui |
--bu)
525 ac_prev
=build_alias
;;
526 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
527 build_alias
=$ac_optarg ;;
529 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
530 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
531 ac_prev
=cache_file
;;
532 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
533 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
534 cache_file
=$ac_optarg ;;
537 cache_file
=config.cache
;;
539 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
541 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
543 datadir
=$ac_optarg ;;
545 -disable-* |
--disable-*)
546 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
547 # Reject names that are not valid shell variable names.
548 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
549 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
550 { (exit 1); exit 1; }; }
551 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
552 eval "enable_$ac_feature=no" ;;
554 -enable-* |
--enable-*)
555 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
556 # Reject names that are not valid shell variable names.
557 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
558 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
559 { (exit 1); exit 1; }; }
560 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
562 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
565 eval "enable_$ac_feature='$ac_optarg'" ;;
567 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
568 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
569 |
--exec |
--exe |
--ex)
570 ac_prev
=exec_prefix
;;
571 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
572 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
573 |
--exec=* |
--exe=* |
--ex=*)
574 exec_prefix
=$ac_optarg ;;
576 -gas |
--gas |
--ga |
--g)
577 # Obsolete; use --with-gas.
580 -help |
--help |
--hel |
--he |
-h)
582 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
583 ac_init_help
=recursive
;;
584 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
585 ac_init_help
=short
;;
587 -host |
--host |
--hos |
--ho)
588 ac_prev
=host_alias
;;
589 -host=* |
--host=* |
--hos=* |
--ho=*)
590 host_alias
=$ac_optarg ;;
592 -includedir |
--includedir |
--includedi |
--included |
--include \
593 |
--includ |
--inclu |
--incl |
--inc)
594 ac_prev
=includedir
;;
595 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
596 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
597 includedir
=$ac_optarg ;;
599 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
601 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
602 infodir
=$ac_optarg ;;
604 -libdir |
--libdir |
--libdi |
--libd)
606 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
609 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
610 |
--libexe |
--libex |
--libe)
611 ac_prev
=libexecdir
;;
612 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
613 |
--libexe=* |
--libex=* |
--libe=*)
614 libexecdir
=$ac_optarg ;;
616 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
617 |
--localstate |
--localstat |
--localsta |
--localst \
618 |
--locals |
--local |
--loca |
--loc |
--lo)
619 ac_prev
=localstatedir
;;
620 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
621 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
622 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
623 localstatedir
=$ac_optarg ;;
625 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
627 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
631 # Obsolete; use --without-fp.
634 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
635 |
--no-cr |
--no-c |
-n)
638 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
639 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
642 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
643 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
644 |
--oldin |
--oldi |
--old |
--ol |
--o)
645 ac_prev
=oldincludedir
;;
646 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
647 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
648 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
649 oldincludedir
=$ac_optarg ;;
651 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
653 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
656 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
657 |
--program-pre |
--program-pr |
--program-p)
658 ac_prev
=program_prefix
;;
659 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
660 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
661 program_prefix
=$ac_optarg ;;
663 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
664 |
--program-suf |
--program-su |
--program-s)
665 ac_prev
=program_suffix
;;
666 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
667 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
668 program_suffix
=$ac_optarg ;;
670 -program-transform-name |
--program-transform-name \
671 |
--program-transform-nam |
--program-transform-na \
672 |
--program-transform-n |
--program-transform- \
673 |
--program-transform |
--program-transfor \
674 |
--program-transfo |
--program-transf \
675 |
--program-trans |
--program-tran \
676 |
--progr-tra |
--program-tr |
--program-t)
677 ac_prev
=program_transform_name
;;
678 -program-transform-name=* |
--program-transform-name=* \
679 |
--program-transform-nam=* |
--program-transform-na=* \
680 |
--program-transform-n=* |
--program-transform-=* \
681 |
--program-transform=* |
--program-transfor=* \
682 |
--program-transfo=* |
--program-transf=* \
683 |
--program-trans=* |
--program-tran=* \
684 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
685 program_transform_name
=$ac_optarg ;;
687 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
688 |
-silent |
--silent |
--silen |
--sile |
--sil)
691 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
693 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
695 sbindir
=$ac_optarg ;;
697 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
698 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
699 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
701 ac_prev
=sharedstatedir
;;
702 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
703 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
704 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
706 sharedstatedir
=$ac_optarg ;;
708 -site |
--site |
--sit)
710 -site=* |
--site=* |
--sit=*)
713 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
715 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
718 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
719 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
720 ac_prev
=sysconfdir
;;
721 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
722 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
723 sysconfdir
=$ac_optarg ;;
725 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
726 ac_prev
=target_alias
;;
727 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
728 target_alias
=$ac_optarg ;;
730 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
733 -version |
--version |
--versio |
--versi |
--vers |
-V)
737 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
738 # Reject names that are not valid shell variable names.
739 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
740 { echo "$as_me: error: invalid package name: $ac_package" >&2
741 { (exit 1); exit 1; }; }
742 ac_package
=`echo $ac_package| sed 's/-/_/g'`
744 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
747 eval "with_$ac_package='$ac_optarg'" ;;
749 -without-* |
--without-*)
750 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
751 # Reject names that are not valid shell variable names.
752 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
753 { echo "$as_me: error: invalid package name: $ac_package" >&2
754 { (exit 1); exit 1; }; }
755 ac_package
=`echo $ac_package | sed 's/-/_/g'`
756 eval "with_$ac_package=no" ;;
759 # Obsolete; use --with-x.
762 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
763 |
--x-incl |
--x-inc |
--x-in |
--x-i)
764 ac_prev
=x_includes
;;
765 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
766 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
767 x_includes
=$ac_optarg ;;
769 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
770 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
771 ac_prev
=x_libraries
;;
772 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
773 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
774 x_libraries
=$ac_optarg ;;
776 -*) { echo "$as_me: error: unrecognized option: $ac_option
777 Try \`$0 --help' for more information." >&2
778 { (exit 1); exit 1; }; }
782 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
783 # Reject names that are not valid shell variable names.
784 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
785 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
786 { (exit 1); exit 1; }; }
787 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
788 eval "$ac_envvar='$ac_optarg'"
792 # FIXME: should be removed in autoconf 3.0.
793 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
794 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
795 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
796 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
802 if test -n "$ac_prev"; then
803 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
804 { echo "$as_me: error: missing argument to $ac_option" >&2
805 { (exit 1); exit 1; }; }
808 # Be sure to have absolute paths.
809 for ac_var
in exec_prefix prefix
811 eval ac_val
=$
`echo $ac_var`
813 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
814 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
815 { (exit 1); exit 1; }; };;
819 # Be sure to have absolute paths.
820 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
821 localstatedir libdir includedir oldincludedir infodir mandir
823 eval ac_val
=$
`echo $ac_var`
825 [\\/$
]* | ?
:[\\/]* ) ;;
826 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
827 { (exit 1); exit 1; }; };;
831 # There might be people who depend on the old broken behavior: `$host'
832 # used to hold the argument of --host etc.
833 # FIXME: To remove some day.
838 # FIXME: To remove some day.
839 if test "x$host_alias" != x
; then
840 if test "x$build_alias" = x
; then
841 cross_compiling
=maybe
842 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
843 If a cross compiler is detected then cross compile mode will be used." >&2
844 elif test "x$build_alias" != "x$host_alias"; then
850 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
852 test "$silent" = yes && exec 6>/dev
/null
855 # Find the source files, if location was not specified.
856 if test -z "$srcdir"; then
857 ac_srcdir_defaulted
=yes
858 # Try the directory containing this script, then its parent.
859 ac_confdir
=`(dirname "$0") 2>/dev/null ||
860 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
861 X"$0" : 'X\(//\)[^/]' \| \
862 X"$0" : 'X\(//\)$' \| \
863 X"$0" : 'X\(/\)' \| \
864 . : '\(.\)' 2>/dev/null ||
866 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
867 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
868 /^X\(\/\/\)$/{ s//\1/; q; }
869 /^X\(\/\).*/{ s//\1/; q; }
872 if test ! -r $srcdir/$ac_unique_file; then
876 ac_srcdir_defaulted
=no
878 if test ! -r $srcdir/$ac_unique_file; then
879 if test "$ac_srcdir_defaulted" = yes; then
880 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
881 { (exit 1); exit 1; }; }
883 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
884 { (exit 1); exit 1; }; }
887 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
888 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
889 { (exit 1); exit 1; }; }
890 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
891 ac_env_build_alias_set
=${build_alias+set}
892 ac_env_build_alias_value
=$build_alias
893 ac_cv_env_build_alias_set
=${build_alias+set}
894 ac_cv_env_build_alias_value
=$build_alias
895 ac_env_host_alias_set
=${host_alias+set}
896 ac_env_host_alias_value
=$host_alias
897 ac_cv_env_host_alias_set
=${host_alias+set}
898 ac_cv_env_host_alias_value
=$host_alias
899 ac_env_target_alias_set
=${target_alias+set}
900 ac_env_target_alias_value
=$target_alias
901 ac_cv_env_target_alias_set
=${target_alias+set}
902 ac_cv_env_target_alias_value
=$target_alias
903 ac_env_CPP_set
=${CPP+set}
904 ac_env_CPP_value
=$CPP
905 ac_cv_env_CPP_set
=${CPP+set}
906 ac_cv_env_CPP_value
=$CPP
907 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
908 ac_env_CPPFLAGS_value
=$CPPFLAGS
909 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
910 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
911 ac_env_CXX_set
=${CXX+set}
912 ac_env_CXX_value
=$CXX
913 ac_cv_env_CXX_set
=${CXX+set}
914 ac_cv_env_CXX_value
=$CXX
915 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
916 ac_env_CXXFLAGS_value
=$CXXFLAGS
917 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
918 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
919 ac_env_LDFLAGS_set
=${LDFLAGS+set}
920 ac_env_LDFLAGS_value
=$LDFLAGS
921 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
922 ac_cv_env_LDFLAGS_value
=$LDFLAGS
923 ac_env_CXXCPP_set
=${CXXCPP+set}
924 ac_env_CXXCPP_value
=$CXXCPP
925 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
926 ac_cv_env_CXXCPP_value
=$CXXCPP
929 # Report the --help message.
931 if test "$ac_init_help" = "long"; then
932 # Omit some internal or obsolete options to make the list less imposing.
933 # This message is too long to be a string in the A/UX 3.1 sh.
935 \`configure' configures libjava version-unused to adapt to many kinds of systems.
937 Usage: $0 [OPTION]... [VAR=VALUE]...
939 To assign environment variables (e.g., CC, CFLAGS...), specify them as
940 VAR=VALUE. See below for descriptions of some of the useful variables.
942 Defaults for the options are specified in brackets.
945 -h, --help display this help and exit
946 --help=short display options specific to this package
947 --help=recursive display the short help of all the included packages
948 -V, --version display version information and exit
949 -q, --quiet, --silent do not print \`checking...' messages
950 --cache-file=FILE cache test results in FILE [disabled]
951 -C, --config-cache alias for \`--cache-file=config.cache'
952 -n, --no-create do not create output files
953 --srcdir=DIR find the sources in DIR [configure dir or \`..']
958 Installation directories:
959 --prefix=PREFIX install architecture-independent files in PREFIX
961 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
964 By default, \`make install' will install all the files in
965 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
966 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
967 for instance \`--prefix=\$HOME'.
969 For better control, use the options below.
971 Fine tuning of the installation directories:
972 --bindir=DIR user executables [EPREFIX/bin]
973 --sbindir=DIR system admin executables [EPREFIX/sbin]
974 --libexecdir=DIR program executables [EPREFIX/libexec]
975 --datadir=DIR read-only architecture-independent data [PREFIX/share]
976 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
977 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
978 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
979 --libdir=DIR object code libraries [EPREFIX/lib]
980 --includedir=DIR C header files [PREFIX/include]
981 --oldincludedir=DIR C header files for non-gcc [/usr/include]
982 --infodir=DIR info documentation [PREFIX/info]
983 --mandir=DIR man documentation [PREFIX/man]
989 --program-prefix=PREFIX prepend PREFIX to installed program names
990 --program-suffix=SUFFIX append SUFFIX to installed program names
991 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
994 --x-includes=DIR X include files are
in DIR
995 --x-libraries=DIR X library files are
in DIR
998 --build=BUILD configure
for building on BUILD
[guessed
]
999 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1000 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1004 if test -n "$ac_init_help"; then
1005 case $ac_init_help in
1006 short | recursive
) echo "Configuration of libjava version-unused:";;
1011 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1012 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1013 --enable-multilib build many library versions
(default
)
1014 --enable-version-specific-runtime-libs
1015 specify that runtime libraries should be installed
1016 in a compiler-specific directory
1017 --enable-plugin build gcjwebplugin web browser plugin
1018 --enable-gconf-peer compile GConf native peers
for util.preferences
1019 --enable-java-maintainer-mode
1020 allow rebuilding of .class and .h files
1021 --disable-dependency-tracking speeds up one-time build
1022 --enable-dependency-tracking do not reject slow dependency extractors
1023 --enable-maintainer-mode enable make rules and dependencies not useful
1024 (and sometimes confusing
) to the casual installer
1025 --enable-libgcj-debug enable runtime debugging code
1026 --enable-java-awt list of AWT peer implementations to be built
1027 --enable-shared[=PKGS
]
1028 build shared libraries
[default
=yes]
1029 --enable-static[=PKGS
]
1030 build static libraries
[default
=yes]
1031 --enable-fast-install[=PKGS
]
1032 optimize
for fast installation
[default
=yes]
1033 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1034 --disable-getenv-properties
1035 don
't set system properties from GCJ_PROPERTIES
1036 --enable-hash-synchronization
1037 use global hash table for monitor locks
1038 --enable-libgcj-bc enable(default) or disable BC ABI for portions of
1040 --enable-gc-debug include full support for pointer backtracing etc.
1041 --enable-interpreter enable interpreter
1042 --enable-sjlj-exceptions
1043 force use of builtin_setjmp for exceptions
1044 --disable-java-net disable java.net
1045 --disable-jvmpi disable JVMPI support
1046 --enable-java-gc=TYPE choose garbage collector (default is boehm)
1047 --disable-rpath do not hardcode runtime library paths
1048 --enable-tls Use thread-local storage [default=yes]
1051 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1052 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1053 --with-build-libsubdir=DIR Directory where to find libraries for build system
1054 --with-target-subdir=SUBDIR
1055 configure in a subdirectory
1056 --with-cross-host=HOST configure with a cross compiler from HOST
1057 --with-newlib configure with newlib
1058 --with-escher=ABS.PATH specify path to escher dir or JAR for X peers
1059 --with-pic try to use only PIC/non-PIC objects [default=use
1061 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1062 --with-ecj-jar=FILE use preinstalled ecj jar
1063 --with-java-home=DIRECTORY
1064 value of java.home system property
1065 --with-win32-nlsapi=ansi or unicows or unicode
1066 native MinGW libgcj Win32 OS API (default is ansi)
1067 --without-libffi don't use libffi
1068 --with-ecos enable runtime eCos target support
1069 --with-system-zlib use installed libz
1070 --with-x use the X Window System
1071 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1072 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1073 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1075 Some influential environment variables:
1076 CC C compiler command
1077 CFLAGS C compiler flags
1078 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1079 nonstandard directory <lib dir>
1080 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1081 headers in a nonstandard directory <include dir>
1082 CXX C++ compiler command
1083 CXXFLAGS C++ compiler flags
1085 CXXCPP C++ preprocessor
1087 Use these variables to override the choices made by `configure' or to
help
1088 it to
find libraries and programs with nonstandard names
/locations.
1093 if test "$ac_init_help" = "recursive"; then
1094 # If there are subdirs, report their specific --help.
1096 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1097 test -d $ac_dir ||
continue
1100 if test "$ac_dir" != .
; then
1101 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1102 # A "../" for each directory in $ac_dir_suffix.
1103 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1105 ac_dir_suffix
= ac_top_builddir
=
1109 .
) # No --srcdir option. We are building in place.
1111 if test -z "$ac_top_builddir"; then
1114 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1116 [\\/]* | ?
:[\\/]* ) # Absolute path.
1117 ac_srcdir
=$srcdir$ac_dir_suffix;
1118 ac_top_srcdir
=$srcdir ;;
1120 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1121 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1124 # Do not use `cd foo && pwd` to compute absolute paths, because
1125 # the directories may not exist.
1127 .
) ac_abs_builddir
="$ac_dir";;
1130 .
) ac_abs_builddir
=`pwd`;;
1131 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1132 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1135 case $ac_abs_builddir in
1136 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1138 case ${ac_top_builddir}.
in
1139 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1140 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1141 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1144 case $ac_abs_builddir in
1145 .
) ac_abs_srcdir
=$ac_srcdir;;
1148 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1149 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1150 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1153 case $ac_abs_builddir in
1154 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1156 case $ac_top_srcdir in
1157 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1158 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1159 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1164 # Check for guested configure; otherwise get Cygnus style configure.
1165 if test -f $ac_srcdir/configure.gnu
; then
1167 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1168 elif test -f $ac_srcdir/configure
; then
1170 $SHELL $ac_srcdir/configure
--help=recursive
1171 elif test -f $ac_srcdir/configure.ac ||
1172 test -f $ac_srcdir/configure.
in; then
1174 $ac_configure --help
1176 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1182 test -n "$ac_init_help" && exit 0
1183 if $ac_init_version; then
1185 libjava configure version-unused
1186 generated by GNU Autoconf
2.59
1188 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1189 This configure
script is free software
; the Free Software Foundation
1190 gives unlimited permission to copy
, distribute and modify it.
1196 This file contains any messages produced by compilers while
1197 running configure, to aid debugging if configure makes a mistake.
1199 It was created by libjava $as_me version-unused, which was
1200 generated by GNU Autoconf 2.59. Invocation command line was
1211 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1212 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1213 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1214 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1215 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1217 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1218 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1220 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1221 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1222 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1223 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1224 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1225 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1226 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1234 test -z "$as_dir" && as_dir
=.
1235 echo "PATH: $as_dir"
1250 # Keep a trace of the command line.
1251 # Strip out --no-create and --no-recursion so they do not pile up.
1252 # Strip out --silent because we don't want to record it for future runs.
1253 # Also quote any args containing shell meta-characters.
1254 # Make two passes to allow for proper duplicate-argument suppression.
1259 ac_must_keep_next
=false
1265 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1266 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1267 |
-silent |
--silent |
--silen |
--sile |
--sil)
1269 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1270 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1273 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1275 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1276 if test $ac_must_keep_next = true
; then
1277 ac_must_keep_next
=false
# Got value, back to normal.
1280 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1281 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1282 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1283 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1284 case "$ac_configure_args0 " in
1285 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1288 -* ) ac_must_keep_next
=true
;;
1291 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1292 # Get rid of the leading space.
1298 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1299 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1301 # When interrupted or exit'd, cleanup temporary files, and complete
1302 # config.log. We remove comments because anyway the quotes in there
1303 # would cause problems or look ugly.
1304 # WARNING: Be sure not to use single quotes in there, as some shells,
1305 # such as our DU 5.0 friend, will then `close' the trap.
1306 trap 'exit_status=$?
1307 # Save into config.log some information that might help in debugging.
1312 ## ---------------- ##
1313 ## Cache variables. ##
1314 ## ---------------- ##
1317 # The following way of writing the cache mishandles newlines in values,
1320 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1323 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1324 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1328 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1335 ## ----------------- ##
1336 ## Output variables. ##
1337 ## ----------------- ##
1340 for ac_var in $ac_subst_vars
1342 eval ac_val=$`echo $ac_var`
1343 echo "$ac_var='"'"'$ac_val'"'"'"
1347 if test -n "$ac_subst_files"; then
1354 for ac_var in $ac_subst_files
1356 eval ac_val=$`echo $ac_var`
1357 echo "$ac_var='"'"'$ac_val'"'"'"
1362 if test -s confdefs.h; then
1369 sed "/^$/d" confdefs.h | sort
1372 test "$ac_signal" != 0 &&
1373 echo "$as_me: caught signal $ac_signal"
1374 echo "$as_me: exit $exit_status"
1376 rm -f core *.core &&
1377 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1380 for ac_signal
in 1 2 13 15; do
1381 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1385 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1386 rm -rf conftest
* confdefs.h
1387 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1390 # Predefined preprocessor variables.
1392 cat >>confdefs.h
<<_ACEOF
1393 #define PACKAGE_NAME "$PACKAGE_NAME"
1397 cat >>confdefs.h
<<_ACEOF
1398 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1402 cat >>confdefs.h
<<_ACEOF
1403 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1407 cat >>confdefs.h
<<_ACEOF
1408 #define PACKAGE_STRING "$PACKAGE_STRING"
1412 cat >>confdefs.h
<<_ACEOF
1413 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1417 # Let the site file select an alternate cache file if it wants to.
1418 # Prefer explicitly selected file to automatically selected ones.
1419 if test -z "$CONFIG_SITE"; then
1420 if test "x$prefix" != xNONE
; then
1421 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1423 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1426 for ac_site_file
in $CONFIG_SITE; do
1427 if test -r "$ac_site_file"; then
1428 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1429 echo "$as_me: loading site script $ac_site_file" >&6;}
1430 sed 's/^/| /' "$ac_site_file" >&5
1435 if test -r "$cache_file"; then
1436 # Some versions of bash will fail to source /dev/null (special
1437 # files actually), so we avoid doing that.
1438 if test -f "$cache_file"; then
1439 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1440 echo "$as_me: loading cache $cache_file" >&6;}
1442 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1443 *) . .
/$cache_file;;
1447 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1448 echo "$as_me: creating cache $cache_file" >&6;}
1452 # Check that the precious variables saved in the cache have kept the same
1454 ac_cache_corrupted
=false
1455 for ac_var
in `(set) 2>&1 |
1456 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1457 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1458 eval ac_new_set
=\
$ac_env_${ac_var}_set
1459 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1460 eval ac_new_val
="\$ac_env_${ac_var}_value"
1461 case $ac_old_set,$ac_new_set in
1463 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1464 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1465 ac_cache_corrupted
=: ;;
1467 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1468 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1469 ac_cache_corrupted
=: ;;
1472 if test "x$ac_old_val" != "x$ac_new_val"; then
1473 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1474 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1475 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1476 echo "$as_me: former value: $ac_old_val" >&2;}
1477 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1478 echo "$as_me: current value: $ac_new_val" >&2;}
1479 ac_cache_corrupted
=:
1482 # Pass precious variables to config.status.
1483 if test "$ac_new_set" = set; then
1485 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1486 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1487 *) ac_arg
=$ac_var=$ac_new_val ;;
1489 case " $ac_configure_args " in
1490 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1491 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1495 if $ac_cache_corrupted; then
1496 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1497 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1498 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1499 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1500 { (exit 1); exit 1; }; }
1504 ac_cpp
='$CPP $CPPFLAGS'
1505 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1506 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1507 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1539 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1540 if test -f $ac_dir/install-sh
; then
1542 ac_install_sh
="$ac_aux_dir/install-sh -c"
1544 elif test -f $ac_dir/install.sh
; then
1546 ac_install_sh
="$ac_aux_dir/install.sh -c"
1548 elif test -f $ac_dir/shtool
; then
1550 ac_install_sh
="$ac_aux_dir/shtool install -c"
1554 if test -z "$ac_aux_dir"; then
1555 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1556 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1557 { (exit 1); exit 1; }; }
1559 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1560 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1561 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1563 # Make sure we can run config.sub.
1564 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1565 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1566 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1567 { (exit 1); exit 1; }; }
1569 echo "$as_me:$LINENO: checking build system type" >&5
1570 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1571 if test "${ac_cv_build+set}" = set; then
1572 echo $ECHO_N "(cached) $ECHO_C" >&6
1574 ac_cv_build_alias
=$build_alias
1575 test -z "$ac_cv_build_alias" &&
1576 ac_cv_build_alias
=`$ac_config_guess`
1577 test -z "$ac_cv_build_alias" &&
1578 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1579 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1580 { (exit 1); exit 1; }; }
1581 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1582 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1583 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1584 { (exit 1); exit 1; }; }
1587 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1588 echo "${ECHO_T}$ac_cv_build" >&6
1590 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1591 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1592 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1595 case ${build_alias} in
1596 "") build_noncanonical
=${build} ;;
1597 *) build_noncanonical
=${build_alias} ;;
1600 case ${host_alias} in
1601 "") host_noncanonical
=${build_noncanonical} ;;
1602 *) host_noncanonical
=${host_alias} ;;
1605 case ${target_alias} in
1606 "") target_noncanonical
=${host_noncanonical} ;;
1607 *) target_noncanonical
=${target_alias} ;;
1611 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1612 # have matching libraries, they should use host libraries: Makefile.tpl
1613 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1614 # However, they still use the build modules, because the corresponding
1615 # host modules (e.g. bison) are only built for the host when bootstrap
1617 # - build_subdir is where we find build modules, and never changes.
1618 # - build_libsubdir is where we find build libraries, and can be overridden.
1620 # Prefix 'build-' so this never conflicts with target_subdir.
1621 build_subdir
="build-${build_noncanonical}"
1623 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1624 if test "${with_build_libsubdir+set}" = set; then
1625 withval
="$with_build_libsubdir"
1626 build_libsubdir
="$withval"
1628 build_libsubdir
="$build_subdir"
1630 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1631 if ( test $srcdir = .
&& test -d gcc
) \
1632 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1633 host_subdir
="host-${host_noncanonical}"
1638 target_subdir
=${target_noncanonical}
1641 # We use these options to decide which functions to include.
1643 # Check whether --with-target-subdir or --without-target-subdir was given.
1644 if test "${with_target_subdir+set}" = set; then
1645 withval
="$with_target_subdir"
1649 # We may get other options which we don't document:
1650 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1652 # Find the rest of the source tree framework.
1653 # Default to --enable-multilib
1654 # Check whether --enable-multilib or --disable-multilib was given.
1655 if test "${enable_multilib+set}" = set; then
1656 enableval
="$enable_multilib"
1657 case "$enableval" in
1658 yes) multilib
=yes ;;
1660 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1661 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1662 { (exit 1); exit 1; }; } ;;
1668 # We may get other options which we leave undocumented:
1669 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1670 # See config-ml.in if you want the gory details.
1672 if test "$srcdir" = "."; then
1673 if test "$with_target_subdir" != "."; then
1674 multi_basedir
="$srcdir/$with_multisrctop../.."
1676 multi_basedir
="$srcdir/$with_multisrctop.."
1679 multi_basedir
="$srcdir/.."
1683 # Even if the default multilib is not a cross compilation,
1684 # it may be that some of the other multilibs are.
1685 if test $cross_compiling = no
&& test $multilib = yes \
1686 && test "x${with_multisubdir}" != x
; then
1687 cross_compiling
=maybe
1690 ac_config_commands
="$ac_config_commands default-1"
1693 echo "$as_me:$LINENO: checking host system type" >&5
1694 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1695 if test "${ac_cv_host+set}" = set; then
1696 echo $ECHO_N "(cached) $ECHO_C" >&6
1698 ac_cv_host_alias
=$host_alias
1699 test -z "$ac_cv_host_alias" &&
1700 ac_cv_host_alias
=$ac_cv_build_alias
1701 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1702 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1703 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1704 { (exit 1); exit 1; }; }
1707 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1708 echo "${ECHO_T}$ac_cv_host" >&6
1710 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1711 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1712 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1715 echo "$as_me:$LINENO: checking target system type" >&5
1716 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1717 if test "${ac_cv_target+set}" = set; then
1718 echo $ECHO_N "(cached) $ECHO_C" >&6
1720 ac_cv_target_alias
=$target_alias
1721 test "x$ac_cv_target_alias" = "x" &&
1722 ac_cv_target_alias
=$ac_cv_host_alias
1723 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1724 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1725 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1726 { (exit 1); exit 1; }; }
1729 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1730 echo "${ECHO_T}$ac_cv_target" >&6
1731 target
=$ac_cv_target
1732 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1733 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1734 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1737 # The aliases save the names the user supplied, while $host etc.
1738 # will get canonicalized.
1739 test -n "$target_alias" &&
1740 test "$program_prefix$program_suffix$program_transform_name" = \
1742 program_prefix
=${target_alias}-
1743 case ${build_alias} in
1744 "") build_noncanonical
=${build} ;;
1745 *) build_noncanonical
=${build_alias} ;;
1748 case ${target_alias} in
1749 "") target_noncanonical
=${host_noncanonical} ;;
1750 *) target_noncanonical
=${target_alias} ;;
1756 # This works around the fact that libtool configuration may change LD
1757 # for this particular configuration, but some shells, instead of
1758 # keeping the changes in LD private, export them just because LD is
1760 ORIGINAL_LD_FOR_MULTILIBS
=$LD
1762 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1763 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1765 if test "$LN_S" = "ln -s"; then
1766 echo "$as_me:$LINENO: result: yes" >&5
1767 echo "${ECHO_T}yes" >&6
1769 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1770 echo "${ECHO_T}no, using $LN_S" >&6
1774 # This works around an automake problem.
1775 mkinstalldirs
="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
1779 # Check whether --with-cross-host or --without-cross-host was given.
1780 if test "${with_cross_host+set}" = set; then
1781 withval
="$with_cross_host"
1786 # Check whether --with-newlib or --without-newlib was given.
1787 if test "${with_newlib+set}" = set; then
1788 withval
="$with_newlib"
1792 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1793 if test "${enable_version_specific_runtime_libs+set}" = set; then
1794 enableval
="$enable_version_specific_runtime_libs"
1795 case "$enableval" in
1796 yes) version_specific_libs
=yes ;;
1797 no
) version_specific_libs
=no
;;
1798 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1799 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1800 { (exit 1); exit 1; }; };;
1803 version_specific_libs
=no
1807 # Check whether --enable-plugin or --disable-plugin was given.
1808 if test "${enable_plugin+set}" = set; then
1809 enableval
="$enable_plugin"
1810 case "$enableval" in
1811 yes) plugin_enabled
=yes ;;
1812 no
) plugin_enabled
=no
;;
1813 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable plugin" >&5
1814 echo "$as_me: error: Unknown argument to enable/disable plugin" >&2;}
1815 { (exit 1); exit 1; }; };;
1822 # Check whether --enable-gconf-peer or --disable-gconf-peer was given.
1823 if test "${enable_gconf_peer+set}" = set; then
1824 enableval
="$enable_gconf_peer"
1825 case "$enableval" in
1826 yes) gconf_enabled
=yes ;;
1827 no
) gconf_enabled
=no
;;
1828 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable gconf-peer" >&5
1829 echo "$as_me: error: Unknown argument to enable/disable gconf-peer" >&2;}
1830 { (exit 1); exit 1; }; };;
1837 # Check whether --enable-java-maintainer-mode or --disable-java-maintainer-mode was given.
1838 if test "${enable_java_maintainer_mode+set}" = set; then
1839 enableval
="$enable_java_maintainer_mode"
1844 if test "$enable_java_maintainer_mode" = yes; then
1845 JAVA_MAINTAINER_MODE_TRUE
=
1846 JAVA_MAINTAINER_MODE_FALSE
='#'
1848 JAVA_MAINTAINER_MODE_TRUE
='#'
1849 JAVA_MAINTAINER_MODE_FALSE
=
1853 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
1856 # (1) We use an abnormal CXX (without library references), so we
1857 # must cache it under a different name.
1858 # (2) CC, CFLAGS, CXX, CXXFLAGS, LDFLAGS must not be 'precious', or
1859 # the non-multilib-adjusted value will be used in multilibs.
1860 # (3) As a side effect, we must SUBST CXXFLAGS, CFLAGS, and LDFLAGS ourselves.
1861 # (4) As another side effect, automake doesn't automatically include them
1863 # (5) For libstdc++-v3, -fno-builtin must be present here so that a
1864 # non-conflicting form of std::exit can be guessed by AC_PROG_CXX, and
1865 # used in later tests. This may not be necessary in libjava; I don't know.
1868 save_CXXFLAGS
="$CXXFLAGS"
1869 CXXFLAGS
="$CXXFLAGS -fno-builtin"
1871 ac_cpp
='$CPP $CPPFLAGS'
1872 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1873 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1874 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1875 if test -n "$ac_tool_prefix"; then
1876 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1877 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1878 echo "$as_me:$LINENO: checking for $ac_word" >&5
1879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1880 if test "${ac_cv_prog_CC+set}" = set; then
1881 echo $ECHO_N "(cached) $ECHO_C" >&6
1883 if test -n "$CC"; then
1884 ac_cv_prog_CC
="$CC" # Let the user override the test.
1886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1890 test -z "$as_dir" && as_dir
=.
1891 for ac_exec_ext
in '' $ac_executable_extensions; do
1892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1893 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1903 if test -n "$CC"; then
1904 echo "$as_me:$LINENO: result: $CC" >&5
1905 echo "${ECHO_T}$CC" >&6
1907 echo "$as_me:$LINENO: result: no" >&5
1908 echo "${ECHO_T}no" >&6
1912 if test -z "$ac_cv_prog_CC"; then
1914 # Extract the first word of "gcc", so it can be a program name with args.
1915 set dummy gcc
; ac_word
=$2
1916 echo "$as_me:$LINENO: checking for $ac_word" >&5
1917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1918 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1919 echo $ECHO_N "(cached) $ECHO_C" >&6
1921 if test -n "$ac_ct_CC"; then
1922 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1928 test -z "$as_dir" && as_dir
=.
1929 for ac_exec_ext
in '' $ac_executable_extensions; do
1930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1931 ac_cv_prog_ac_ct_CC
="gcc"
1932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1940 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1941 if test -n "$ac_ct_CC"; then
1942 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1943 echo "${ECHO_T}$ac_ct_CC" >&6
1945 echo "$as_me:$LINENO: result: no" >&5
1946 echo "${ECHO_T}no" >&6
1954 if test -z "$CC"; then
1955 if test -n "$ac_tool_prefix"; then
1956 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1957 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1958 echo "$as_me:$LINENO: checking for $ac_word" >&5
1959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1960 if test "${ac_cv_prog_CC+set}" = set; then
1961 echo $ECHO_N "(cached) $ECHO_C" >&6
1963 if test -n "$CC"; then
1964 ac_cv_prog_CC
="$CC" # Let the user override the test.
1966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1970 test -z "$as_dir" && as_dir
=.
1971 for ac_exec_ext
in '' $ac_executable_extensions; do
1972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1973 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1983 if test -n "$CC"; then
1984 echo "$as_me:$LINENO: result: $CC" >&5
1985 echo "${ECHO_T}$CC" >&6
1987 echo "$as_me:$LINENO: result: no" >&5
1988 echo "${ECHO_T}no" >&6
1992 if test -z "$ac_cv_prog_CC"; then
1994 # Extract the first word of "cc", so it can be a program name with args.
1995 set dummy cc
; ac_word
=$2
1996 echo "$as_me:$LINENO: checking for $ac_word" >&5
1997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1998 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1999 echo $ECHO_N "(cached) $ECHO_C" >&6
2001 if test -n "$ac_ct_CC"; then
2002 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2008 test -z "$as_dir" && as_dir
=.
2009 for ac_exec_ext
in '' $ac_executable_extensions; do
2010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2011 ac_cv_prog_ac_ct_CC
="cc"
2012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2020 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2021 if test -n "$ac_ct_CC"; then
2022 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2023 echo "${ECHO_T}$ac_ct_CC" >&6
2025 echo "$as_me:$LINENO: result: no" >&5
2026 echo "${ECHO_T}no" >&6
2035 if test -z "$CC"; then
2036 # Extract the first word of "cc", so it can be a program name with args.
2037 set dummy cc
; ac_word
=$2
2038 echo "$as_me:$LINENO: checking for $ac_word" >&5
2039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2040 if test "${ac_cv_prog_CC+set}" = set; then
2041 echo $ECHO_N "(cached) $ECHO_C" >&6
2043 if test -n "$CC"; then
2044 ac_cv_prog_CC
="$CC" # Let the user override the test.
2047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2051 test -z "$as_dir" && as_dir
=.
2052 for ac_exec_ext
in '' $ac_executable_extensions; do
2053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2054 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2055 ac_prog_rejected
=yes
2059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2065 if test $ac_prog_rejected = yes; then
2066 # We found a bogon in the path, so make sure we never use it.
2067 set dummy
$ac_cv_prog_CC
2069 if test $# != 0; then
2070 # We chose a different compiler from the bogus one.
2071 # However, it has the same basename, so the bogon will be chosen
2072 # first if we set CC to just the basename; use the full file name.
2074 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2080 if test -n "$CC"; then
2081 echo "$as_me:$LINENO: result: $CC" >&5
2082 echo "${ECHO_T}$CC" >&6
2084 echo "$as_me:$LINENO: result: no" >&5
2085 echo "${ECHO_T}no" >&6
2089 if test -z "$CC"; then
2090 if test -n "$ac_tool_prefix"; then
2093 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2094 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2095 echo "$as_me:$LINENO: checking for $ac_word" >&5
2096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2097 if test "${ac_cv_prog_CC+set}" = set; then
2098 echo $ECHO_N "(cached) $ECHO_C" >&6
2100 if test -n "$CC"; then
2101 ac_cv_prog_CC
="$CC" # Let the user override the test.
2103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2107 test -z "$as_dir" && as_dir
=.
2108 for ac_exec_ext
in '' $ac_executable_extensions; do
2109 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2110 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2120 if test -n "$CC"; then
2121 echo "$as_me:$LINENO: result: $CC" >&5
2122 echo "${ECHO_T}$CC" >&6
2124 echo "$as_me:$LINENO: result: no" >&5
2125 echo "${ECHO_T}no" >&6
2128 test -n "$CC" && break
2131 if test -z "$CC"; then
2135 # Extract the first word of "$ac_prog", so it can be a program name with args.
2136 set dummy
$ac_prog; ac_word
=$2
2137 echo "$as_me:$LINENO: checking for $ac_word" >&5
2138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2139 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2140 echo $ECHO_N "(cached) $ECHO_C" >&6
2142 if test -n "$ac_ct_CC"; then
2143 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2149 test -z "$as_dir" && as_dir
=.
2150 for ac_exec_ext
in '' $ac_executable_extensions; do
2151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2152 ac_cv_prog_ac_ct_CC
="$ac_prog"
2153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2161 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2162 if test -n "$ac_ct_CC"; then
2163 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2164 echo "${ECHO_T}$ac_ct_CC" >&6
2166 echo "$as_me:$LINENO: result: no" >&5
2167 echo "${ECHO_T}no" >&6
2170 test -n "$ac_ct_CC" && break
2179 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2180 See \`config.log' for more details." >&5
2181 echo "$as_me: error: no acceptable C compiler found in \$PATH
2182 See \`config.log' for more details." >&2;}
2183 { (exit 1); exit 1; }; }
2185 # Provide some information about the compiler.
2186 echo "$as_me:$LINENO:" \
2187 "checking for C compiler version" >&5
2188 ac_compiler
=`set X $ac_compile; echo $2`
2189 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2190 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2193 (exit $ac_status); }
2194 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2195 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2198 (exit $ac_status); }
2199 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2200 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2203 (exit $ac_status); }
2205 cat >conftest.
$ac_ext <<_ACEOF
2208 cat confdefs.h
>>conftest.
$ac_ext
2209 cat >>conftest.
$ac_ext <<_ACEOF
2210 /* end confdefs.h. */
2221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2222 (eval $ac_link) 2>&5
2224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2225 (exit $ac_status); }; then
2231 if test x
$gcc_no_link = xyes
; then
2232 # Setting cross_compile will disable run tests; it will
2233 # also disable AC_CHECK_FILE but that's generally
2234 # correct if we can't link.
2238 cat >conftest.
$ac_ext <<_ACEOF
2241 cat confdefs.h
>>conftest.
$ac_ext
2242 cat >>conftest.
$ac_ext <<_ACEOF
2243 /* end confdefs.h. */
2253 ac_clean_files_save
=$ac_clean_files
2254 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2255 # Try to create an executable without -o first, disregard a.out.
2256 # It will help us diagnose broken compilers, and finding out an intuition
2258 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2259 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2260 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2261 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2262 (eval $ac_link_default) 2>&5
2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265 (exit $ac_status); }; then
2266 # Find the output, starting from the most likely. This scheme is
2267 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2270 # Be careful to initialize this variable, since it used to be cached.
2271 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2273 # b.out is created by i960 compilers.
2274 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2276 test -f "$ac_file" ||
continue
2278 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2281 # This is the source file.
2284 # We found the default executable, but exeext='' is most
2288 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2289 # FIXME: I believe we export ac_cv_exeext for Libtool,
2290 # but it would be cool to find out if it's true. Does anybody
2291 # maintain Libtool? --akim.
2299 echo "$as_me: failed program was:" >&5
2300 sed 's/^/| /' conftest.
$ac_ext >&5
2302 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2303 See \`config.log' for more details." >&5
2304 echo "$as_me: error: C compiler cannot create executables
2305 See \`config.log' for more details." >&2;}
2306 { (exit 77); exit 77; }; }
2309 ac_exeext
=$ac_cv_exeext
2310 echo "$as_me:$LINENO: result: $ac_file" >&5
2311 echo "${ECHO_T}$ac_file" >&6
2313 # Check the compiler produces executables we can run. If not, either
2314 # the compiler is broken, or we cross compile.
2315 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2316 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2317 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2318 # If not cross compiling, check that we can run a simple program.
2319 if test "$cross_compiling" != yes; then
2320 if { ac_try
='./$ac_file'
2321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325 (exit $ac_status); }; }; then
2328 if test "$cross_compiling" = maybe
; then
2331 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2332 If you meant to cross compile, use \`--host'.
2333 See \`config.log' for more details." >&5
2334 echo "$as_me: error: cannot run C compiled programs.
2335 If you meant to cross compile, use \`--host'.
2336 See \`config.log' for more details." >&2;}
2337 { (exit 1); exit 1; }; }
2341 echo "$as_me:$LINENO: result: yes" >&5
2342 echo "${ECHO_T}yes" >&6
2344 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2345 ac_clean_files
=$ac_clean_files_save
2346 # Check the compiler produces executables we can run. If not, either
2347 # the compiler is broken, or we cross compile.
2348 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2349 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2350 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2351 echo "${ECHO_T}$cross_compiling" >&6
2353 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2354 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2356 (eval $ac_link) 2>&5
2358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359 (exit $ac_status); }; then
2360 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2361 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2362 # work properly (i.e., refer to `conftest.exe'), while it won't with
2364 for ac_file
in conftest.exe conftest conftest.
*; do
2365 test -f "$ac_file" ||
continue
2367 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2368 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2375 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2376 See \`config.log' for more details." >&5
2377 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2378 See \`config.log' for more details." >&2;}
2379 { (exit 1); exit 1; }; }
2382 rm -f conftest
$ac_cv_exeext
2383 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2384 echo "${ECHO_T}$ac_cv_exeext" >&6
2386 rm -f conftest.
$ac_ext
2387 EXEEXT
=$ac_cv_exeext
2390 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2391 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2392 if test "${ac_cv_objext+set}" = set; then
2393 echo $ECHO_N "(cached) $ECHO_C" >&6
2395 cat >conftest.
$ac_ext <<_ACEOF
2398 cat confdefs.h
>>conftest.
$ac_ext
2399 cat >>conftest.
$ac_ext <<_ACEOF
2400 /* end confdefs.h. */
2410 rm -f conftest.o conftest.obj
2411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2412 (eval $ac_compile) 2>&5
2414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2415 (exit $ac_status); }; then
2416 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2418 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2419 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2424 echo "$as_me: failed program was:" >&5
2425 sed 's/^/| /' conftest.
$ac_ext >&5
2427 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2428 See \`config.log' for more details." >&5
2429 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2430 See \`config.log' for more details." >&2;}
2431 { (exit 1); exit 1; }; }
2434 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2436 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2437 echo "${ECHO_T}$ac_cv_objext" >&6
2438 OBJEXT
=$ac_cv_objext
2440 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2441 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2442 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2443 echo $ECHO_N "(cached) $ECHO_C" >&6
2445 cat >conftest.
$ac_ext <<_ACEOF
2448 cat confdefs.h
>>conftest.
$ac_ext
2449 cat >>conftest.
$ac_ext <<_ACEOF
2450 /* end confdefs.h. */
2463 rm -f conftest.
$ac_objext
2464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2465 (eval $ac_compile) 2>conftest.er1
2467 grep -v '^ *+' conftest.er1
>conftest.err
2469 cat conftest.err
>&5
2470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2471 (exit $ac_status); } &&
2472 { ac_try
='test -z "$ac_c_werror_flag"
2473 || test ! -s conftest.err'
2474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2478 (exit $ac_status); }; } &&
2479 { ac_try
='test -s conftest.$ac_objext'
2480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2484 (exit $ac_status); }; }; then
2487 echo "$as_me: failed program was:" >&5
2488 sed 's/^/| /' conftest.
$ac_ext >&5
2492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2493 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2496 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2497 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2498 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2499 ac_test_CFLAGS
=${CFLAGS+set}
2500 ac_save_CFLAGS
=$CFLAGS
2502 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2503 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2504 if test "${ac_cv_prog_cc_g+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 cat >conftest.
$ac_ext <<_ACEOF
2510 cat confdefs.h
>>conftest.
$ac_ext
2511 cat >>conftest.
$ac_ext <<_ACEOF
2512 /* end confdefs.h. */
2522 rm -f conftest.
$ac_objext
2523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2524 (eval $ac_compile) 2>conftest.er1
2526 grep -v '^ *+' conftest.er1
>conftest.err
2528 cat conftest.err
>&5
2529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2530 (exit $ac_status); } &&
2531 { ac_try
='test -z "$ac_c_werror_flag"
2532 || test ! -s conftest.err'
2533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537 (exit $ac_status); }; } &&
2538 { ac_try
='test -s conftest.$ac_objext'
2539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2543 (exit $ac_status); }; }; then
2546 echo "$as_me: failed program was:" >&5
2547 sed 's/^/| /' conftest.
$ac_ext >&5
2551 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2553 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2554 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2555 if test "$ac_test_CFLAGS" = set; then
2556 CFLAGS
=$ac_save_CFLAGS
2557 elif test $ac_cv_prog_cc_g = yes; then
2558 if test "$GCC" = yes; then
2564 if test "$GCC" = yes; then
2570 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2571 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2572 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2573 echo $ECHO_N "(cached) $ECHO_C" >&6
2575 ac_cv_prog_cc_stdc
=no
2577 cat >conftest.
$ac_ext <<_ACEOF
2580 cat confdefs.h
>>conftest.
$ac_ext
2581 cat >>conftest.
$ac_ext <<_ACEOF
2582 /* end confdefs.h. */
2585 #include <sys/types.h>
2586 #include <sys/stat.h>
2587 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2588 struct buf { int x; };
2589 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2590 static char *e (p, i)
2596 static char *f (char * (*g) (char **, int), char **p, ...)
2601 s = g (p, va_arg (v,int));
2606 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2607 function prototypes and stuff, but not '\xHH' hex character constants.
2608 These don't provoke an error unfortunately, instead are silently treated
2609 as 'x'. The following induces an error, until -std1 is added to get
2610 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2611 array size at least. It's necessary to write '\x00'==0 to get something
2612 that's true only with -std1. */
2613 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2615 int test (int i, double x);
2616 struct s1 {int (*f) (int a);};
2617 struct s2 {int (*f) (double a);};
2618 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2624 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2629 # Don't try gcc -ansi; that turns off useful extensions and
2630 # breaks some systems' header files.
2631 # AIX -qlanglvl=ansi
2632 # Ultrix and OSF/1 -std1
2633 # HP-UX 10.20 and later -Ae
2634 # HP-UX older versions -Aa -D_HPUX_SOURCE
2635 # SVR4 -Xc -D__EXTENSIONS__
2636 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2638 CC
="$ac_save_CC $ac_arg"
2639 rm -f conftest.
$ac_objext
2640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2641 (eval $ac_compile) 2>conftest.er1
2643 grep -v '^ *+' conftest.er1
>conftest.err
2645 cat conftest.err
>&5
2646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647 (exit $ac_status); } &&
2648 { ac_try
='test -z "$ac_c_werror_flag"
2649 || test ! -s conftest.err'
2650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654 (exit $ac_status); }; } &&
2655 { ac_try
='test -s conftest.$ac_objext'
2656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); }; }; then
2661 ac_cv_prog_cc_stdc
=$ac_arg
2664 echo "$as_me: failed program was:" >&5
2665 sed 's/^/| /' conftest.
$ac_ext >&5
2668 rm -f conftest.err conftest.
$ac_objext
2670 rm -f conftest.
$ac_ext conftest.
$ac_objext
2675 case "x$ac_cv_prog_cc_stdc" in
2677 echo "$as_me:$LINENO: result: none needed" >&5
2678 echo "${ECHO_T}none needed" >&6 ;;
2680 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2681 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2682 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2685 # Some people use a C++ compiler to compile C. Since we use `exit',
2686 # in C++ we need to declare it. In case someone uses the same compiler
2687 # for both compiling C and C++ we need to have the C++ compiler decide
2688 # the declaration of exit, since it's the most demanding environment.
2689 cat >conftest.
$ac_ext <<_ACEOF
2694 rm -f conftest.
$ac_objext
2695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2696 (eval $ac_compile) 2>conftest.er1
2698 grep -v '^ *+' conftest.er1
>conftest.err
2700 cat conftest.err
>&5
2701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2702 (exit $ac_status); } &&
2703 { ac_try
='test -z "$ac_c_werror_flag"
2704 || test ! -s conftest.err'
2705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709 (exit $ac_status); }; } &&
2710 { ac_try
='test -s conftest.$ac_objext'
2711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715 (exit $ac_status); }; }; then
2716 for ac_declaration
in \
2718 'extern "C" void std::exit (int) throw (); using std::exit;' \
2719 'extern "C" void std::exit (int); using std::exit;' \
2720 'extern "C" void exit (int) throw ();' \
2721 'extern "C" void exit (int);' \
2724 cat >conftest.
$ac_ext <<_ACEOF
2727 cat confdefs.h
>>conftest.
$ac_ext
2728 cat >>conftest.
$ac_ext <<_ACEOF
2729 /* end confdefs.h. */
2740 rm -f conftest.
$ac_objext
2741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2742 (eval $ac_compile) 2>conftest.er1
2744 grep -v '^ *+' conftest.er1
>conftest.err
2746 cat conftest.err
>&5
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); } &&
2749 { ac_try
='test -z "$ac_c_werror_flag"
2750 || test ! -s conftest.err'
2751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755 (exit $ac_status); }; } &&
2756 { ac_try
='test -s conftest.$ac_objext'
2757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); }; }; then
2764 echo "$as_me: failed program was:" >&5
2765 sed 's/^/| /' conftest.
$ac_ext >&5
2769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2770 cat >conftest.
$ac_ext <<_ACEOF
2773 cat confdefs.h
>>conftest.
$ac_ext
2774 cat >>conftest.
$ac_ext <<_ACEOF
2775 /* end confdefs.h. */
2785 rm -f conftest.
$ac_objext
2786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2787 (eval $ac_compile) 2>conftest.er1
2789 grep -v '^ *+' conftest.er1
>conftest.err
2791 cat conftest.err
>&5
2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 (exit $ac_status); } &&
2794 { ac_try
='test -z "$ac_c_werror_flag"
2795 || test ! -s conftest.err'
2796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800 (exit $ac_status); }; } &&
2801 { ac_try
='test -s conftest.$ac_objext'
2802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2806 (exit $ac_status); }; }; then
2809 echo "$as_me: failed program was:" >&5
2810 sed 's/^/| /' conftest.
$ac_ext >&5
2813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2816 if test -n "$ac_declaration"; then
2817 echo '#ifdef __cplusplus' >>confdefs.h
2818 echo $ac_declaration >>confdefs.h
2819 echo '#endif' >>confdefs.h
2823 echo "$as_me: failed program was:" >&5
2824 sed 's/^/| /' conftest.
$ac_ext >&5
2827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2829 ac_cpp
='$CPP $CPPFLAGS'
2830 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2831 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2832 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2835 ac_cpp
='$CXXCPP $CPPFLAGS'
2836 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2837 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2838 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2839 if test -n "$ac_tool_prefix"; then
2840 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2842 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2843 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2844 echo "$as_me:$LINENO: checking for $ac_word" >&5
2845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2846 if test "${ac_cv_prog_CXX+set}" = set; then
2847 echo $ECHO_N "(cached) $ECHO_C" >&6
2849 if test -n "$CXX"; then
2850 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2856 test -z "$as_dir" && as_dir
=.
2857 for ac_exec_ext
in '' $ac_executable_extensions; do
2858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2859 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2869 if test -n "$CXX"; then
2870 echo "$as_me:$LINENO: result: $CXX" >&5
2871 echo "${ECHO_T}$CXX" >&6
2873 echo "$as_me:$LINENO: result: no" >&5
2874 echo "${ECHO_T}no" >&6
2877 test -n "$CXX" && break
2880 if test -z "$CXX"; then
2882 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2884 # Extract the first word of "$ac_prog", so it can be a program name with args.
2885 set dummy
$ac_prog; ac_word
=$2
2886 echo "$as_me:$LINENO: checking for $ac_word" >&5
2887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2888 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2889 echo $ECHO_N "(cached) $ECHO_C" >&6
2891 if test -n "$ac_ct_CXX"; then
2892 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2898 test -z "$as_dir" && as_dir
=.
2899 for ac_exec_ext
in '' $ac_executable_extensions; do
2900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2901 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2910 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2911 if test -n "$ac_ct_CXX"; then
2912 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2913 echo "${ECHO_T}$ac_ct_CXX" >&6
2915 echo "$as_me:$LINENO: result: no" >&5
2916 echo "${ECHO_T}no" >&6
2919 test -n "$ac_ct_CXX" && break
2921 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2927 # Provide some information about the compiler.
2928 echo "$as_me:$LINENO:" \
2929 "checking for C++ compiler version" >&5
2930 ac_compiler
=`set X $ac_compile; echo $2`
2931 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2932 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935 (exit $ac_status); }
2936 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2937 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); }
2941 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2942 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945 (exit $ac_status); }
2947 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2948 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2949 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2950 echo $ECHO_N "(cached) $ECHO_C" >&6
2952 cat >conftest.
$ac_ext <<_ACEOF
2955 cat confdefs.h
>>conftest.
$ac_ext
2956 cat >>conftest.
$ac_ext <<_ACEOF
2957 /* end confdefs.h. */
2970 rm -f conftest.
$ac_objext
2971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2972 (eval $ac_compile) 2>conftest.er1
2974 grep -v '^ *+' conftest.er1
>conftest.err
2976 cat conftest.err
>&5
2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); } &&
2979 { ac_try
='test -z "$ac_cxx_werror_flag"
2980 || test ! -s conftest.err'
2981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985 (exit $ac_status); }; } &&
2986 { ac_try
='test -s conftest.$ac_objext'
2987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991 (exit $ac_status); }; }; then
2994 echo "$as_me: failed program was:" >&5
2995 sed 's/^/| /' conftest.
$ac_ext >&5
2999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3000 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3003 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3004 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3005 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3006 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3007 ac_save_CXXFLAGS
=$CXXFLAGS
3009 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3010 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3011 if test "${ac_cv_prog_cxx_g+set}" = set; then
3012 echo $ECHO_N "(cached) $ECHO_C" >&6
3014 cat >conftest.
$ac_ext <<_ACEOF
3017 cat confdefs.h
>>conftest.
$ac_ext
3018 cat >>conftest.
$ac_ext <<_ACEOF
3019 /* end confdefs.h. */
3029 rm -f conftest.
$ac_objext
3030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3031 (eval $ac_compile) 2>conftest.er1
3033 grep -v '^ *+' conftest.er1
>conftest.err
3035 cat conftest.err
>&5
3036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3037 (exit $ac_status); } &&
3038 { ac_try
='test -z "$ac_cxx_werror_flag"
3039 || test ! -s conftest.err'
3040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3044 (exit $ac_status); }; } &&
3045 { ac_try
='test -s conftest.$ac_objext'
3046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); }; }; then
3051 ac_cv_prog_cxx_g
=yes
3053 echo "$as_me: failed program was:" >&5
3054 sed 's/^/| /' conftest.
$ac_ext >&5
3058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3060 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3061 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3062 if test "$ac_test_CXXFLAGS" = set; then
3063 CXXFLAGS
=$ac_save_CXXFLAGS
3064 elif test $ac_cv_prog_cxx_g = yes; then
3065 if test "$GXX" = yes; then
3071 if test "$GXX" = yes; then
3077 for ac_declaration
in \
3079 'extern "C" void std::exit (int) throw (); using std::exit;' \
3080 'extern "C" void std::exit (int); using std::exit;' \
3081 'extern "C" void exit (int) throw ();' \
3082 'extern "C" void exit (int);' \
3085 cat >conftest.
$ac_ext <<_ACEOF
3088 cat confdefs.h
>>conftest.
$ac_ext
3089 cat >>conftest.
$ac_ext <<_ACEOF
3090 /* end confdefs.h. */
3101 rm -f conftest.
$ac_objext
3102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3103 (eval $ac_compile) 2>conftest.er1
3105 grep -v '^ *+' conftest.er1
>conftest.err
3107 cat conftest.err
>&5
3108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3109 (exit $ac_status); } &&
3110 { ac_try
='test -z "$ac_cxx_werror_flag"
3111 || test ! -s conftest.err'
3112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3116 (exit $ac_status); }; } &&
3117 { ac_try
='test -s conftest.$ac_objext'
3118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3122 (exit $ac_status); }; }; then
3125 echo "$as_me: failed program was:" >&5
3126 sed 's/^/| /' conftest.
$ac_ext >&5
3130 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3131 cat >conftest.
$ac_ext <<_ACEOF
3134 cat confdefs.h
>>conftest.
$ac_ext
3135 cat >>conftest.
$ac_ext <<_ACEOF
3136 /* end confdefs.h. */
3146 rm -f conftest.
$ac_objext
3147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3148 (eval $ac_compile) 2>conftest.er1
3150 grep -v '^ *+' conftest.er1
>conftest.err
3152 cat conftest.err
>&5
3153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3154 (exit $ac_status); } &&
3155 { ac_try
='test -z "$ac_cxx_werror_flag"
3156 || test ! -s conftest.err'
3157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161 (exit $ac_status); }; } &&
3162 { ac_try
='test -s conftest.$ac_objext'
3163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3167 (exit $ac_status); }; }; then
3170 echo "$as_me: failed program was:" >&5
3171 sed 's/^/| /' conftest.
$ac_ext >&5
3174 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3177 if test -n "$ac_declaration"; then
3178 echo '#ifdef __cplusplus' >>confdefs.h
3179 echo $ac_declaration >>confdefs.h
3180 echo '#endif' >>confdefs.h
3184 ac_cpp
='$CPP $CPPFLAGS'
3185 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3186 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3187 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3189 CXXFLAGS
="$save_CXXFLAGS"
3195 am__api_version
="1.9"
3196 # Find a good install program. We prefer a C program (faster),
3197 # so one script is as good as another. But avoid the broken or
3198 # incompatible versions:
3199 # SysV /etc/install, /usr/sbin/install
3200 # SunOS /usr/etc/install
3201 # IRIX /sbin/install
3203 # AmigaOS /C/install, which installs bootblocks on floppy discs
3204 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3205 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3206 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3207 # OS/2's system install, which has a completely different semantic
3208 # ./install, which can be erroneously created by make from ./install.sh.
3209 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3210 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3211 if test -z "$INSTALL"; then
3212 if test "${ac_cv_path_install+set}" = set; then
3213 echo $ECHO_N "(cached) $ECHO_C" >&6
3215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3219 test -z "$as_dir" && as_dir
=.
3220 # Account for people who put trailing slashes in PATH elements.
3222 .
/ | .
// |
/cC
/* | \
3223 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3224 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3227 # OSF1 and SCO ODT 3.0 have their own names for install.
3228 # Don't use installbsd from OSF since it installs stuff as root
3230 for ac_prog
in ginstall scoinst
install; do
3231 for ac_exec_ext
in '' $ac_executable_extensions; do
3232 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3233 if test $ac_prog = install &&
3234 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3235 # AIX install. It has an incompatible calling convention.
3237 elif test $ac_prog = install &&
3238 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3239 # program-specific install script used by HP pwplus--don't use.
3242 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3254 if test "${ac_cv_path_install+set}" = set; then
3255 INSTALL
=$ac_cv_path_install
3257 # As a last resort, use the slow shell script. We don't cache a
3258 # path for INSTALL within a source directory, because that will
3259 # break other packages using the cache if that directory is
3260 # removed, or if the path is relative.
3261 INSTALL
=$ac_install_sh
3264 echo "$as_me:$LINENO: result: $INSTALL" >&5
3265 echo "${ECHO_T}$INSTALL" >&6
3267 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3268 # It thinks the first close brace ends the variable substitution.
3269 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3271 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3273 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3275 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3276 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
3279 echo timestamp
> conftest.
file
3280 # Do `set' in a subshell so we don't clobber the current shell's
3281 # arguments. Must try -L first in case configure is actually a
3282 # symlink; some systems play weird games with the mod time of symlinks
3283 # (eg FreeBSD returns the mod time of the symlink's containing
3286 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
3287 if test "$*" = "X"; then
3289 set X
`ls -t $srcdir/configure conftest.file`
3292 if test "$*" != "X $srcdir/configure conftest.file" \
3293 && test "$*" != "X conftest.file $srcdir/configure"; then
3295 # If neither matched, then we have a broken ls. This can happen
3296 # if, for instance, CONFIG_SHELL is bash and it inherits a
3297 # broken ls alias from the environment. This has actually
3298 # happened. Such a system could not be considered "sane".
3299 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
3300 alias in your environment" >&5
3301 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
3302 alias in your environment" >&2;}
3303 { (exit 1); exit 1; }; }
3306 test "$2" = conftest.
file
3312 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
3313 Check your system clock" >&5
3314 echo "$as_me: error: newly created file is older than distributed files!
3315 Check your system clock" >&2;}
3316 { (exit 1); exit 1; }; }
3318 echo "$as_me:$LINENO: result: yes" >&5
3319 echo "${ECHO_T}yes" >&6
3320 test "$program_prefix" != NONE
&&
3321 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
3322 # Use a double $ so make ignores it.
3323 test "$program_suffix" != NONE
&&
3324 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
3325 # Double any \ or $. echo might interpret backslashes.
3326 # By default was `s,x,x', remove it if useless.
3327 cat <<\_ACEOF
>conftest.
sed
3328 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
3330 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
3333 # expand $ac_aux_dir to an absolute path
3334 am_aux_dir
=`cd $ac_aux_dir && pwd`
3336 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
3337 # Use eval to expand $SHELL
3338 if eval "$MISSING --run true"; then
3339 am_missing_run
="$MISSING --run "
3342 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
3343 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3346 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
3347 # We used to keeping the `.' as first argument, in order to
3348 # allow $(mkdir_p) to be used without argument. As in
3349 # $(mkdir_p) $(somedir)
3350 # where $(somedir) is conditionally defined. However this is wrong
3352 # 1. if the package is installed by a user who cannot write `.'
3353 # make install will fail,
3354 # 2. the above comment should most certainly read
3355 # $(mkdir_p) $(DESTDIR)$(somedir)
3356 # so it does not work when $(somedir) is undefined and
3357 # $(DESTDIR) is not.
3358 # To support the latter case, we have to write
3359 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
3360 # so the `.' trick is pointless.
3361 mkdir_p
='mkdir -p --'
3363 # On NextStep and OpenStep, the `mkdir' command does not
3364 # recognize any option. It will interpret all options as
3365 # directories to create, and then abort because `.' already
3367 for d
in .
/-p .
/--version;
3369 test -d $d && rmdir $d
3371 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
3372 if test -f "$ac_aux_dir/mkinstalldirs"; then
3373 mkdir_p
='$(mkinstalldirs)'
3375 mkdir_p
='$(install_sh) -d'
3379 for ac_prog
in gawk mawk nawk
awk
3381 # Extract the first word of "$ac_prog", so it can be a program name with args.
3382 set dummy
$ac_prog; ac_word
=$2
3383 echo "$as_me:$LINENO: checking for $ac_word" >&5
3384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3385 if test "${ac_cv_prog_AWK+set}" = set; then
3386 echo $ECHO_N "(cached) $ECHO_C" >&6
3388 if test -n "$AWK"; then
3389 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3395 test -z "$as_dir" && as_dir
=.
3396 for ac_exec_ext
in '' $ac_executable_extensions; do
3397 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3398 ac_cv_prog_AWK
="$ac_prog"
3399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3408 if test -n "$AWK"; then
3409 echo "$as_me:$LINENO: result: $AWK" >&5
3410 echo "${ECHO_T}$AWK" >&6
3412 echo "$as_me:$LINENO: result: no" >&5
3413 echo "${ECHO_T}no" >&6
3416 test -n "$AWK" && break
3419 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3420 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3421 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3422 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3423 echo $ECHO_N "(cached) $ECHO_C" >&6
3425 cat >conftest.
make <<\_ACEOF
3427 @
echo 'ac_maketemp="$(MAKE)"'
3429 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3430 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3431 if test -n "$ac_maketemp"; then
3432 eval ac_cv_prog_make_
${ac_make}_set
=yes
3434 eval ac_cv_prog_make_
${ac_make}_set
=no
3438 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3439 echo "$as_me:$LINENO: result: yes" >&5
3440 echo "${ECHO_T}yes" >&6
3443 echo "$as_me:$LINENO: result: no" >&5
3444 echo "${ECHO_T}no" >&6
3445 SET_MAKE
="MAKE=${MAKE-make}"
3448 rm -rf .tst
2>/dev
/null
3449 mkdir .tst
2>/dev
/null
3450 if test -d .tst
; then
3455 rmdir .tst
2>/dev
/null
3457 DEPDIR
="${am__leading_dot}deps"
3459 ac_config_commands
="$ac_config_commands depfiles"
3462 am_make
=${MAKE-make}
3463 cat > confinc
<< 'END'
3468 # If we don't find an include directive, just comment out the code.
3469 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3470 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3474 # First try GNU make style include.
3475 echo "include confinc" > confmf
3476 # We grep out `Entering directory' and `Leaving directory'
3477 # messages which can occur if `w' ends up in MAKEFLAGS.
3478 # In particular we don't look at `^make:' because GNU make might
3479 # be invoked under some other name (usually "gmake"), in which
3480 # case it prints its new name instead of `make'.
3481 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3486 # Now try BSD make style include.
3487 if test "$am__include" = "#"; then
3488 echo '.include "confinc"' > confmf
3489 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3490 am__include
=.include
3497 echo "$as_me:$LINENO: result: $_am_result" >&5
3498 echo "${ECHO_T}$_am_result" >&6
3499 rm -f confinc confmf
3501 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3502 if test "${enable_dependency_tracking+set}" = set; then
3503 enableval
="$enable_dependency_tracking"
3506 if test "x$enable_dependency_tracking" != xno
; then
3507 am_depcomp
="$ac_aux_dir/depcomp"
3512 if test "x$enable_dependency_tracking" != xno; then
3522 # test to see if srcdir already configured
3523 if test "`cd $srcdir && pwd`" != "`pwd`" &&
3524 test -f $srcdir/config.status
; then
3525 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3526 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3527 { (exit 1); exit 1; }; }
3530 # test whether we have cygpath
3531 if test -z "$CYGPATH_W"; then
3532 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3533 CYGPATH_W
='cygpath -w'
3540 # Define the identity of the package.
3542 VERSION
='version-unused'
3545 cat >>confdefs.h
<<_ACEOF
3546 #define PACKAGE "$PACKAGE"
3550 cat >>confdefs.h
<<_ACEOF
3551 #define VERSION "$VERSION"
3554 # Some tools Automake needs.
3556 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3559 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3562 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3565 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3568 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3570 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3572 # Installed binaries are usually stripped using `strip' when the user
3573 # run `make install-strip'. However `strip' might not be the right
3574 # tool to use in cross-compilation environments, therefore Automake
3575 # will honor the `STRIP' environment variable to overrule this program.
3576 if test "$cross_compiling" != no
; then
3577 if test -n "$ac_tool_prefix"; then
3578 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3579 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3580 echo "$as_me:$LINENO: checking for $ac_word" >&5
3581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3582 if test "${ac_cv_prog_STRIP+set}" = set; then
3583 echo $ECHO_N "(cached) $ECHO_C" >&6
3585 if test -n "$STRIP"; then
3586 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3592 test -z "$as_dir" && as_dir
=.
3593 for ac_exec_ext
in '' $ac_executable_extensions; do
3594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3595 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3604 STRIP
=$ac_cv_prog_STRIP
3605 if test -n "$STRIP"; then
3606 echo "$as_me:$LINENO: result: $STRIP" >&5
3607 echo "${ECHO_T}$STRIP" >&6
3609 echo "$as_me:$LINENO: result: no" >&5
3610 echo "${ECHO_T}no" >&6
3614 if test -z "$ac_cv_prog_STRIP"; then
3616 # Extract the first word of "strip", so it can be a program name with args.
3617 set dummy strip
; ac_word
=$2
3618 echo "$as_me:$LINENO: checking for $ac_word" >&5
3619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3620 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3621 echo $ECHO_N "(cached) $ECHO_C" >&6
3623 if test -n "$ac_ct_STRIP"; then
3624 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3630 test -z "$as_dir" && as_dir
=.
3631 for ac_exec_ext
in '' $ac_executable_extensions; do
3632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3633 ac_cv_prog_ac_ct_STRIP
="strip"
3634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3640 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3643 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3644 if test -n "$ac_ct_STRIP"; then
3645 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3646 echo "${ECHO_T}$ac_ct_STRIP" >&6
3648 echo "$as_me:$LINENO: result: no" >&5
3649 echo "${ECHO_T}no" >&6
3654 STRIP
="$ac_cv_prog_STRIP"
3658 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3660 # We need awk for the "check" target. The system "awk" is bad on
3662 # Always define AMTAR for backward compatibility.
3664 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3666 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3671 depcc
="$CC" am_compiler_list
=
3673 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3674 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3675 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3676 echo $ECHO_N "(cached) $ECHO_C" >&6
3678 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3679 # We make a subdir and do the tests there. Otherwise we can end up
3680 # making bogus files that we don't know about and never remove. For
3681 # instance it was reported that on HP-UX the gcc test will end up
3682 # making a dummy file named `D' -- because `-MD' means `put the output
3685 # Copy depcomp to subdir because otherwise we won't find it if we're
3686 # using a relative directory.
3687 cp "$am_depcomp" conftest.dir
3689 # We will build objects and dependencies in a subdirectory because
3690 # it helps to detect inapplicable dependency modes. For instance
3691 # both Tru64's cc and ICC support -MD to output dependencies as a
3692 # side effect of compilation, but ICC will put the dependencies in
3693 # the current directory while Tru64 will put them in the object
3697 am_cv_CC_dependencies_compiler_type
=none
3698 if test "$am_compiler_list" = ""; then
3699 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3701 for depmode
in $am_compiler_list; do
3702 # Setup a source with many dependencies, because some compilers
3703 # like to wrap large dependency lists on column 80 (with \), and
3704 # we should not choose a depcomp mode which is confused by this.
3706 # We need to recreate these files for each test, as the compiler may
3707 # overwrite some of them when testing with obscure command lines.
3708 # This happens at least with the AIX C compiler.
3710 for i
in 1 2 3 4 5 6; do
3711 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3712 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3713 # Solaris 8's {/usr,}/bin/sh.
3714 touch sub
/conftst
$i.h
3716 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3720 # after this tag, mechanisms are not by side-effect, so they'll
3721 # only be used when explicitly requested
3722 if test "x$enable_dependency_tracking" = xyes
; then
3730 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3731 # mode. It turns out that the SunPro C++ compiler does not properly
3732 # handle `-M -o', and we need to detect this.
3733 if depmode
=$depmode \
3734 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3735 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3736 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3737 >/dev
/null
2>conftest.err
&&
3738 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3739 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3740 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3741 # icc doesn't choke on unknown options, it will just issue warnings
3742 # or remarks (even with -Werror). So we grep stderr for any message
3743 # that says an option was ignored or not supported.
3744 # When given -MP, icc 7.0 and 7.1 complain thusly:
3745 # icc: Command line warning: ignoring option '-M'; no argument required
3746 # The diagnosis changed in icc 8.0:
3747 # icc: Command line remark: option '-MP' not supported
3748 if (grep 'ignoring option' conftest.err ||
3749 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3750 am_cv_CC_dependencies_compiler_type
=$depmode
3759 am_cv_CC_dependencies_compiler_type
=none
3763 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3764 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3765 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3770 test "x$enable_dependency_tracking" != xno \
3771 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3773 am__fastdepCC_FALSE
='#'
3775 am__fastdepCC_TRUE
='#'
3776 am__fastdepCC_FALSE
=
3780 depcc
="$CXX" am_compiler_list
=
3782 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3783 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3784 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3785 echo $ECHO_N "(cached) $ECHO_C" >&6
3787 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3788 # We make a subdir and do the tests there. Otherwise we can end up
3789 # making bogus files that we don't know about and never remove. For
3790 # instance it was reported that on HP-UX the gcc test will end up
3791 # making a dummy file named `D' -- because `-MD' means `put the output
3794 # Copy depcomp to subdir because otherwise we won't find it if we're
3795 # using a relative directory.
3796 cp "$am_depcomp" conftest.dir
3798 # We will build objects and dependencies in a subdirectory because
3799 # it helps to detect inapplicable dependency modes. For instance
3800 # both Tru64's cc and ICC support -MD to output dependencies as a
3801 # side effect of compilation, but ICC will put the dependencies in
3802 # the current directory while Tru64 will put them in the object
3806 am_cv_CXX_dependencies_compiler_type
=none
3807 if test "$am_compiler_list" = ""; then
3808 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3810 for depmode
in $am_compiler_list; do
3811 # Setup a source with many dependencies, because some compilers
3812 # like to wrap large dependency lists on column 80 (with \), and
3813 # we should not choose a depcomp mode which is confused by this.
3815 # We need to recreate these files for each test, as the compiler may
3816 # overwrite some of them when testing with obscure command lines.
3817 # This happens at least with the AIX C compiler.
3819 for i
in 1 2 3 4 5 6; do
3820 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3821 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3822 # Solaris 8's {/usr,}/bin/sh.
3823 touch sub
/conftst
$i.h
3825 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3829 # after this tag, mechanisms are not by side-effect, so they'll
3830 # only be used when explicitly requested
3831 if test "x$enable_dependency_tracking" = xyes
; then
3839 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3840 # mode. It turns out that the SunPro C++ compiler does not properly
3841 # handle `-M -o', and we need to detect this.
3842 if depmode
=$depmode \
3843 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3844 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3845 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3846 >/dev
/null
2>conftest.err
&&
3847 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3848 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3849 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3850 # icc doesn't choke on unknown options, it will just issue warnings
3851 # or remarks (even with -Werror). So we grep stderr for any message
3852 # that says an option was ignored or not supported.
3853 # When given -MP, icc 7.0 and 7.1 complain thusly:
3854 # icc: Command line warning: ignoring option '-M'; no argument required
3855 # The diagnosis changed in icc 8.0:
3856 # icc: Command line remark: option '-MP' not supported
3857 if (grep 'ignoring option' conftest.err ||
3858 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3859 am_cv_CXX_dependencies_compiler_type
=$depmode
3868 am_cv_CXX_dependencies_compiler_type
=none
3872 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3873 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3874 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3879 test "x$enable_dependency_tracking" != xno \
3880 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3881 am__fastdepCXX_TRUE
=
3882 am__fastdepCXX_FALSE
='#'
3884 am__fastdepCXX_TRUE
='#'
3885 am__fastdepCXX_FALSE
=
3891 if test -n "$ac_tool_prefix"; then
3892 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3893 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3894 echo "$as_me:$LINENO: checking for $ac_word" >&5
3895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3896 if test "${ac_cv_prog_AS+set}" = set; then
3897 echo $ECHO_N "(cached) $ECHO_C" >&6
3899 if test -n "$AS"; then
3900 ac_cv_prog_AS
="$AS" # Let the user override the test.
3902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3906 test -z "$as_dir" && as_dir
=.
3907 for ac_exec_ext
in '' $ac_executable_extensions; do
3908 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3909 ac_cv_prog_AS
="${ac_tool_prefix}as"
3910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3919 if test -n "$AS"; then
3920 echo "$as_me:$LINENO: result: $AS" >&5
3921 echo "${ECHO_T}$AS" >&6
3923 echo "$as_me:$LINENO: result: no" >&5
3924 echo "${ECHO_T}no" >&6
3928 if test -z "$ac_cv_prog_AS"; then
3930 # Extract the first word of "as", so it can be a program name with args.
3931 set dummy as
; ac_word
=$2
3932 echo "$as_me:$LINENO: checking for $ac_word" >&5
3933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3934 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3935 echo $ECHO_N "(cached) $ECHO_C" >&6
3937 if test -n "$ac_ct_AS"; then
3938 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3944 test -z "$as_dir" && as_dir
=.
3945 for ac_exec_ext
in '' $ac_executable_extensions; do
3946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3947 ac_cv_prog_ac_ct_AS
="as"
3948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3956 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3957 if test -n "$ac_ct_AS"; then
3958 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3959 echo "${ECHO_T}$ac_ct_AS" >&6
3961 echo "$as_me:$LINENO: result: no" >&5
3962 echo "${ECHO_T}no" >&6
3970 if test -n "$ac_tool_prefix"; then
3971 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
3972 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
3973 echo "$as_me:$LINENO: checking for $ac_word" >&5
3974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3975 if test "${ac_cv_prog_LD+set}" = set; then
3976 echo $ECHO_N "(cached) $ECHO_C" >&6
3978 if test -n "$LD"; then
3979 ac_cv_prog_LD
="$LD" # Let the user override the test.
3981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3985 test -z "$as_dir" && as_dir
=.
3986 for ac_exec_ext
in '' $ac_executable_extensions; do
3987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3988 ac_cv_prog_LD
="${ac_tool_prefix}ld"
3989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3998 if test -n "$LD"; then
3999 echo "$as_me:$LINENO: result: $LD" >&5
4000 echo "${ECHO_T}$LD" >&6
4002 echo "$as_me:$LINENO: result: no" >&5
4003 echo "${ECHO_T}no" >&6
4007 if test -z "$ac_cv_prog_LD"; then
4009 # Extract the first word of "ld", so it can be a program name with args.
4010 set dummy ld
; ac_word
=$2
4011 echo "$as_me:$LINENO: checking for $ac_word" >&5
4012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4013 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4014 echo $ECHO_N "(cached) $ECHO_C" >&6
4016 if test -n "$ac_ct_LD"; then
4017 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4023 test -z "$as_dir" && as_dir
=.
4024 for ac_exec_ext
in '' $ac_executable_extensions; do
4025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4026 ac_cv_prog_ac_ct_LD
="ld"
4027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4035 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4036 if test -n "$ac_ct_LD"; then
4037 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4038 echo "${ECHO_T}$ac_ct_LD" >&6
4040 echo "$as_me:$LINENO: result: no" >&5
4041 echo "${ECHO_T}no" >&6
4049 if test -n "$ac_tool_prefix"; then
4050 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4051 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4052 echo "$as_me:$LINENO: checking for $ac_word" >&5
4053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4054 if test "${ac_cv_prog_AR+set}" = set; then
4055 echo $ECHO_N "(cached) $ECHO_C" >&6
4057 if test -n "$AR"; then
4058 ac_cv_prog_AR
="$AR" # Let the user override the test.
4060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4064 test -z "$as_dir" && as_dir
=.
4065 for ac_exec_ext
in '' $ac_executable_extensions; do
4066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4067 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4077 if test -n "$AR"; then
4078 echo "$as_me:$LINENO: result: $AR" >&5
4079 echo "${ECHO_T}$AR" >&6
4081 echo "$as_me:$LINENO: result: no" >&5
4082 echo "${ECHO_T}no" >&6
4086 if test -z "$ac_cv_prog_AR"; then
4088 # Extract the first word of "ar", so it can be a program name with args.
4089 set dummy
ar; ac_word
=$2
4090 echo "$as_me:$LINENO: checking for $ac_word" >&5
4091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4092 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4093 echo $ECHO_N "(cached) $ECHO_C" >&6
4095 if test -n "$ac_ct_AR"; then
4096 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4102 test -z "$as_dir" && as_dir
=.
4103 for ac_exec_ext
in '' $ac_executable_extensions; do
4104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4105 ac_cv_prog_ac_ct_AR
="ar"
4106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4114 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4115 if test -n "$ac_ct_AR"; then
4116 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4117 echo "${ECHO_T}$ac_ct_AR" >&6
4119 echo "$as_me:$LINENO: result: no" >&5
4120 echo "${ECHO_T}no" >&6
4128 if test -n "$ac_tool_prefix"; then
4129 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4130 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4131 echo "$as_me:$LINENO: checking for $ac_word" >&5
4132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4133 if test "${ac_cv_prog_RANLIB+set}" = set; then
4134 echo $ECHO_N "(cached) $ECHO_C" >&6
4136 if test -n "$RANLIB"; then
4137 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4143 test -z "$as_dir" && as_dir
=.
4144 for ac_exec_ext
in '' $ac_executable_extensions; do
4145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4146 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4155 RANLIB
=$ac_cv_prog_RANLIB
4156 if test -n "$RANLIB"; then
4157 echo "$as_me:$LINENO: result: $RANLIB" >&5
4158 echo "${ECHO_T}$RANLIB" >&6
4160 echo "$as_me:$LINENO: result: no" >&5
4161 echo "${ECHO_T}no" >&6
4165 if test -z "$ac_cv_prog_RANLIB"; then
4166 ac_ct_RANLIB
=$RANLIB
4167 # Extract the first word of "ranlib", so it can be a program name with args.
4168 set dummy ranlib
; ac_word
=$2
4169 echo "$as_me:$LINENO: checking for $ac_word" >&5
4170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4171 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4172 echo $ECHO_N "(cached) $ECHO_C" >&6
4174 if test -n "$ac_ct_RANLIB"; then
4175 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4181 test -z "$as_dir" && as_dir
=.
4182 for ac_exec_ext
in '' $ac_executable_extensions; do
4183 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4184 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4191 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4194 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4195 if test -n "$ac_ct_RANLIB"; then
4196 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4197 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4199 echo "$as_me:$LINENO: result: no" >&5
4200 echo "${ECHO_T}no" >&6
4203 RANLIB
=$ac_ct_RANLIB
4205 RANLIB
="$ac_cv_prog_RANLIB"
4208 for ac_prog
in gawk mawk nawk
awk
4210 # Extract the first word of "$ac_prog", so it can be a program name with args.
4211 set dummy
$ac_prog; ac_word
=$2
4212 echo "$as_me:$LINENO: checking for $ac_word" >&5
4213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4214 if test "${ac_cv_prog_AWK+set}" = set; then
4215 echo $ECHO_N "(cached) $ECHO_C" >&6
4217 if test -n "$AWK"; then
4218 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4224 test -z "$as_dir" && as_dir
=.
4225 for ac_exec_ext
in '' $ac_executable_extensions; do
4226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4227 ac_cv_prog_AWK
="$ac_prog"
4228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4237 if test -n "$AWK"; then
4238 echo "$as_me:$LINENO: result: $AWK" >&5
4239 echo "${ECHO_T}$AWK" >&6
4241 echo "$as_me:$LINENO: result: no" >&5
4242 echo "${ECHO_T}no" >&6
4245 test -n "$AWK" && break
4248 for ac_prog
in jar fastjar gjar
4250 # Extract the first word of "$ac_prog", so it can be a program name with args.
4251 set dummy
$ac_prog; ac_word
=$2
4252 echo "$as_me:$LINENO: checking for $ac_word" >&5
4253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4254 if test "${ac_cv_prog_JAR+set}" = set; then
4255 echo $ECHO_N "(cached) $ECHO_C" >&6
4257 if test -n "$JAR"; then
4258 ac_cv_prog_JAR
="$JAR" # Let the user override the test.
4260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4264 test -z "$as_dir" && as_dir
=.
4265 for ac_exec_ext
in '' $ac_executable_extensions; do
4266 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4267 ac_cv_prog_JAR
="$ac_prog"
4268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4277 if test -n "$JAR"; then
4278 echo "$as_me:$LINENO: result: $JAR" >&5
4279 echo "${ECHO_T}$JAR" >&6
4281 echo "$as_me:$LINENO: result: no" >&5
4282 echo "${ECHO_T}no" >&6
4285 test -n "$JAR" && break
4287 test -n "$JAR" || JAR
="no"
4289 # Extract the first word of "zip", so it can be a program name with args.
4290 set dummy
zip; ac_word
=$2
4291 echo "$as_me:$LINENO: checking for $ac_word" >&5
4292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4293 if test "${ac_cv_path_ZIP+set}" = set; then
4294 echo $ECHO_N "(cached) $ECHO_C" >&6
4298 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
4301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4305 test -z "$as_dir" && as_dir
=.
4306 for ac_exec_ext
in '' $ac_executable_extensions; do
4307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4308 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
4309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4315 test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP
="no"
4321 if test -n "$ZIP"; then
4322 echo "$as_me:$LINENO: result: $ZIP" >&5
4323 echo "${ECHO_T}$ZIP" >&6
4325 echo "$as_me:$LINENO: result: no" >&5
4326 echo "${ECHO_T}no" >&6
4329 # Extract the first word of "unzip", so it can be a program name with args.
4330 set dummy
unzip; ac_word
=$2
4331 echo "$as_me:$LINENO: checking for $ac_word" >&5
4332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4333 if test "${ac_cv_path_UNZIP+set}" = set; then
4334 echo $ECHO_N "(cached) $ECHO_C" >&6
4338 ac_cv_path_UNZIP
="$UNZIP" # Let the user override the test with a path.
4341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4345 test -z "$as_dir" && as_dir
=.
4346 for ac_exec_ext
in '' $ac_executable_extensions; do
4347 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4348 ac_cv_path_UNZIP
="$as_dir/$ac_word$ac_exec_ext"
4349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4355 test -z "$ac_cv_path_UNZIP" && ac_cv_path_UNZIP
="unzip"
4359 UNZIP
=$ac_cv_path_UNZIP
4361 if test -n "$UNZIP"; then
4362 echo "$as_me:$LINENO: result: $UNZIP" >&5
4363 echo "${ECHO_T}$UNZIP" >&6
4365 echo "$as_me:$LINENO: result: no" >&5
4366 echo "${ECHO_T}no" >&6
4370 # We need a jar that supports -@. This is a GNU extension.
4371 if test "$JAR" != no
; then
4372 rm -f config-test.jar
4373 echo $srcdir/configure.ac |
$JAR -cf@ config-test.jar
4374 if test -f config-test.jar
; then
4375 rm -f config-test.jar
4381 # Prefer the jar we found, but fall back to our jar script.
4382 if test "$JAR" = no
; then
4383 if test "$ZIP" = no
; then
4384 { { echo "$as_me:$LINENO: error: cannot find neither zip nor jar, cannot continue" >&5
4385 echo "$as_me: error: cannot find neither zip nor jar, cannot continue" >&2;}
4386 { (exit 1); exit 1; }; }
4388 # InfoZIP available, use the 'guaranteed' Bourne-shell JAR to build libjava
4389 JAR
=`pwd`/scripts
/jar
4393 # Find a good install program. We prefer a C program (faster),
4394 # so one script is as good as another. But avoid the broken or
4395 # incompatible versions:
4396 # SysV /etc/install, /usr/sbin/install
4397 # SunOS /usr/etc/install
4398 # IRIX /sbin/install
4400 # AmigaOS /C/install, which installs bootblocks on floppy discs
4401 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4402 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4403 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4404 # OS/2's system install, which has a completely different semantic
4405 # ./install, which can be erroneously created by make from ./install.sh.
4406 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4407 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4408 if test -z "$INSTALL"; then
4409 if test "${ac_cv_path_install+set}" = set; then
4410 echo $ECHO_N "(cached) $ECHO_C" >&6
4412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4416 test -z "$as_dir" && as_dir
=.
4417 # Account for people who put trailing slashes in PATH elements.
4419 .
/ | .
// |
/cC
/* | \
4420 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4421 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4424 # OSF1 and SCO ODT 3.0 have their own names for install.
4425 # Don't use installbsd from OSF since it installs stuff as root
4427 for ac_prog
in ginstall scoinst
install; do
4428 for ac_exec_ext
in '' $ac_executable_extensions; do
4429 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4430 if test $ac_prog = install &&
4431 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4432 # AIX install. It has an incompatible calling convention.
4434 elif test $ac_prog = install &&
4435 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4436 # program-specific install script used by HP pwplus--don't use.
4439 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4451 if test "${ac_cv_path_install+set}" = set; then
4452 INSTALL
=$ac_cv_path_install
4454 # As a last resort, use the slow shell script. We don't cache a
4455 # path for INSTALL within a source directory, because that will
4456 # break other packages using the cache if that directory is
4457 # removed, or if the path is relative.
4458 INSTALL
=$ac_install_sh
4461 echo "$as_me:$LINENO: result: $INSTALL" >&5
4462 echo "${ECHO_T}$INSTALL" >&6
4464 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4465 # It thinks the first close brace ends the variable substitution.
4466 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4468 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4470 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4473 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4474 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4475 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4476 if test "${enable_maintainer_mode+set}" = set; then
4477 enableval
="$enable_maintainer_mode"
4478 USE_MAINTAINER_MODE
=$enableval
4480 USE_MAINTAINER_MODE
=no
4482 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4483 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4486 if test $USE_MAINTAINER_MODE = yes; then
4487 MAINTAINER_MODE_TRUE
=
4488 MAINTAINER_MODE_FALSE
='#'
4490 MAINTAINER_MODE_TRUE
='#'
4491 MAINTAINER_MODE_FALSE
=
4494 MAINT
=$MAINTAINER_MODE_TRUE
4500 # configure.host sets the following important variables
4501 # libgcj_cflags - host specific C compiler flags
4502 # libgcj_cxxflags - host specific C++ compiler flags
4503 # libgcj_javaflags - host specific Java compiler flags
4509 .
${srcdir}/configure.
host
4511 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4512 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4513 if test "${acl_cv_prog_gnu_ld+set}" = set; then
4514 echo $ECHO_N "(cached) $ECHO_C" >&6
4516 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4517 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4518 acl_cv_prog_gnu_ld
=yes
4520 acl_cv_prog_gnu_ld
=no
4523 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
4524 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
4525 with_gnu_ld
=$acl_cv_prog_gnu_ld
4527 echo "$as_me:$LINENO: checking if the GNU linker ($LD) supports -Bsymbolic-functions" >&5
4528 echo $ECHO_N "checking if the GNU linker ($LD) supports -Bsymbolic-functions... $ECHO_C" >&6
4529 if test "${acl_cv_prog_gnu_ld_symbolic+set}" = set; then
4530 echo $ECHO_N "(cached) $ECHO_C" >&6
4533 acl_cv_prog_gnu_ld_symbolic
=no
4535 if test x
"$with_gnu_ld" = x
"yes"; then
4536 if $LD --help 2>&1 </dev
/null |
grep Bsymbolic-functions
1>&5; then
4537 acl_cv_prog_gnu_ld_symbolic
=yes
4541 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld_symbolic" >&5
4542 echo "${ECHO_T}$acl_cv_prog_gnu_ld_symbolic" >&6
4543 if test x
"$acl_cv_prog_gnu_ld_symbolic" = x
"yes"; then
4544 SYMBOLIC_LDFLAGS
="-Wl,-Bsymbolic-functions"
4549 libgcj_ld_symbolic_functions
=$SYMBOLIC_LDFLAGS
4550 if test -z "$libgcj_ld_symbolic"; then
4551 libgcj_ld_symbolic
=$SYMBOLIC_LDFLAGS
4554 LIBGCJ_CFLAGS
="${libgcj_cflags}"
4555 LIBGCJ_CXXFLAGS
="${libgcj_cxxflags}"
4556 LIBGCJ_JAVAFLAGS
="${libgcj_javaflags}"
4557 LIBGCJ_LD_SYMBOLIC
="${libgcj_ld_symbolic}"
4558 LIBGCJ_LD_SYMBOLIC_FUNCTIONS
="${libgcj_ld_symbolic_functions}"
4565 # Only use libltdl for non-newlib builds.
4566 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
4567 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
4568 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
4570 libname_spec
='lib$name'
4578 shlibpath_overrides_runpath
=unknown
4580 dynamic_linker
="$host_os ld.so"
4581 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
4582 if test "$GCC" = yes; then
4583 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
4584 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
4585 # if the path contains ";" then we assume it to be the separator
4586 # otherwise default to the standard path separator (i.e. ":") - it is
4587 # assumed that no part of a normal pathname contains ";" but that should
4588 # okay in the real world where ";" in dirpaths is itself problematic.
4589 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
4591 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
4594 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
4596 need_lib_prefix
=unknown
4597 hardcode_into_libs
=no
4599 # when you set need_version to no, make sure it does not cause -set_version
4600 # flags to be left without arguments
4601 need_version
=unknown
4606 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
4607 shlibpath_var
=LIBPATH
4609 # AIX 3 has no versioning support, so we append a major version to the name.
4610 soname_spec
='${libname}${release}${shared_ext}$major'
4617 hardcode_into_libs
=yes
4618 if test "$host_cpu" = ia64
; then
4619 # AIX 5 supports IA64
4620 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
4621 shlibpath_var
=LD_LIBRARY_PATH
4623 # With GCC up to 2.95.x, collect2 would create an import file
4624 # for dependence libraries. The import file would start with
4625 # the line `#! .'. This would cause the generated library to
4626 # depend on `.', always an invalid library. This was fixed in
4627 # development snapshots of GCC prior to 3.0.
4629 aix4 | aix4.
[01] | aix4.
[01].
*)
4630 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
4632 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
4639 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
4640 # soname into executable. Probably we can add versioning support to
4641 # collect2, so additional links can be useful in future.
4642 if test "$aix_use_runtimelinking" = yes; then
4643 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
4644 # instead of lib<name>.a to let people know that these are not
4645 # typical AIX shared libraries.
4646 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4648 # We preserve .a as extension for shared libraries through AIX4.2
4649 # and later when we are not doing run time linking.
4650 library_names_spec
='${libname}${release}.a $libname.a'
4651 soname_spec
='${libname}${release}${shared_ext}$major'
4653 shlibpath_var
=LIBPATH
4658 library_names_spec
='$libname.ixlibrary $libname.a'
4659 # Create ${libname}_ixlibrary.a entries in /sys/libs.
4660 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'
4664 library_names_spec
='${libname}${shared_ext}'
4665 dynamic_linker
="$host_os ld.so"
4666 shlibpath_var
=LIBRARY_PATH
4672 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4673 soname_spec
='${libname}${release}${shared_ext}$major'
4674 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
4675 shlibpath_var
=LD_LIBRARY_PATH
4676 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
4677 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
4678 # the default ld.so.conf also contains /usr/contrib/lib and
4679 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
4680 # libtool to hard-code these into programs
4683 cygwin
* | mingw
* | pw32
*)
4684 version_type
=windows
4689 case $GCC,$host_os in
4690 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
4691 library_names_spec
='$libname.dll.a'
4692 # DLL is installed to $(libdir)/../bin by postinstall_cmds
4693 postinstall_cmds
='base_file=`basename \${file}`~
4694 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
4695 dldir=$destdir/`dirname \$dlpath`~
4696 test -d \$dldir || mkdir -p \$dldir~
4697 $install_prog $dir/$dlname \$dldir/$dlname'
4698 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
4699 dlpath=$dir/\$dldll~
4701 shlibpath_overrides_runpath
=yes
4705 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
4706 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
4707 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
4710 # MinGW DLLs use traditional 'lib' prefix
4711 soname_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
4712 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
4713 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
4714 # It is most probably a Windows format PATH printed by
4715 # mingw gcc, but we are running on Cygwin. Gcc prints its search
4716 # path with ; separators, and with drive letters. We can handle the
4717 # drive letters (cygwin fileutils understands them), so leave them,
4718 # especially as we might pass files found there to a mingw objdump,
4719 # which wouldn't understand a cygwinified path. Ahh.
4720 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
4722 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
4726 # pw32 DLLs use 'pw' prefix rather than 'lib'
4727 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}${shared_ext}'
4733 library_names_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
4736 dynamic_linker
='Win32 ld.exe'
4737 # FIXME: first we should search . and the directory the executable is in
4741 darwin
* | rhapsody
*)
4742 dynamic_linker
="$host_os dyld"
4746 # FIXME: Relying on posixy $() will cause problems for
4747 # cross-compilation, but unfortunately the echo tests do not
4748 # yet detect zsh echo's removal of \ escapes.
4749 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
4750 soname_spec
='${libname}${release}${major}$shared_ext'
4751 shlibpath_overrides_runpath
=yes
4752 shlibpath_var
=DYLD_LIBRARY_PATH
4753 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
4754 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
4755 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
4756 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"`
4758 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
4765 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
4766 soname_spec
='${libname}${release}${shared_ext}$major'
4767 shlibpath_var
=LD_LIBRARY_PATH
4775 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
4776 version_type
=freebsd-
$objformat
4777 case $version_type in
4779 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
4784 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
4788 shlibpath_var
=LD_LIBRARY_PATH
4791 shlibpath_overrides_runpath
=yes
4793 freebsd3.01
* | freebsdelf3.01
*)
4794 shlibpath_overrides_runpath
=yes
4795 hardcode_into_libs
=yes
4798 shlibpath_overrides_runpath
=no
4799 hardcode_into_libs
=yes
4808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
4809 soname_spec
='${libname}${release}${shared_ext}$major'
4810 shlibpath_var
=LD_LIBRARY_PATH
4811 hardcode_into_libs
=yes
4814 hpux9
* | hpux10
* | hpux11
*)
4815 # Give a soname corresponding to the major version so that dld.sl refuses to
4816 # link against other versions.
4823 hardcode_into_libs
=yes
4824 dynamic_linker
="$host_os dld.so"
4825 shlibpath_var
=LD_LIBRARY_PATH
4826 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
4827 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4828 soname_spec
='${libname}${release}${shared_ext}$major'
4829 if test "X$HPUX_IA64_MODE" = X32
; then
4830 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
4832 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
4834 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
4838 hardcode_into_libs
=yes
4839 dynamic_linker
="$host_os dld.sl"
4840 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
4841 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
4842 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4843 soname_spec
='${libname}${release}${shared_ext}$major'
4844 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
4845 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
4849 dynamic_linker
="$host_os dld.sl"
4850 shlibpath_var
=SHLIB_PATH
4851 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
4852 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4853 soname_spec
='${libname}${release}${shared_ext}$major'
4856 # HP-UX runs *really* slowly unless shared libraries are mode 555.
4857 postinstall_cmds
='chmod 555 $lib'
4860 irix5
* | irix6
* | nonstopux
*)
4862 nonstopux
*) version_type
=nonstopux
;;
4864 if test "$lt_cv_prog_gnu_ld" = yes; then
4872 soname_spec
='${libname}${release}${shared_ext}$major'
4873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
4875 irix5
* | nonstopux
*)
4879 case $LD in # libtool.m4 will add one of these switches to LD
4880 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
4881 libsuff
= shlibsuff
= libmagic
=32-bit;;
4882 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
4883 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
4884 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
4885 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
4886 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
4890 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
4891 shlibpath_overrides_runpath
=no
4892 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
4893 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
4894 hardcode_into_libs
=yes
4897 # No shared lib support for Linux oldld, aout, or coff.
4898 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
4902 # This must be Linux ELF.
4907 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4908 soname_spec
='${libname}${release}${shared_ext}$major'
4909 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
4910 shlibpath_var
=LD_LIBRARY_PATH
4911 shlibpath_overrides_runpath
=no
4912 # This implies no fast_install, which is unacceptable.
4913 # Some rework will be needed to allow for fast_install
4914 # before this can be enabled.
4915 hardcode_into_libs
=yes
4917 # We used to test for /lib/ld.so.1 and disable shared libraries on
4918 # powerpc, because MkLinux only supported shared libraries with the
4919 # GNU dynamic linker. Since this was broken with cross compilers,
4920 # most powerpc-linux boxes support dynamic linking these days and
4921 # people can always --disable-shared, the test was removed, and we
4922 # assume the GNU/Linux dynamic linker is in use.
4923 dynamic_linker
='GNU/Linux ld.so'
4930 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
4931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4932 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4933 dynamic_linker
='NetBSD (a.out) ld.so'
4935 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
4936 soname_spec
='${libname}${release}${shared_ext}$major'
4937 dynamic_linker
='NetBSD ld.elf_so'
4939 shlibpath_var
=LD_LIBRARY_PATH
4940 shlibpath_overrides_runpath
=yes
4941 hardcode_into_libs
=yes
4946 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4947 shlibpath_var
=LD_LIBRARY_PATH
4948 shlibpath_overrides_runpath
=yes
4955 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4956 soname_spec
='${libname}${release}${shared_ext}$major'
4957 shlibpath_var
=LD_LIBRARY_PATH
4958 shlibpath_overrides_runpath
=yes
4965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4966 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4967 shlibpath_var
=LD_LIBRARY_PATH
4968 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4970 openbsd2.
[89] | openbsd2.
[89].
*)
4971 shlibpath_overrides_runpath
=no
4974 shlibpath_overrides_runpath
=yes
4978 shlibpath_overrides_runpath
=yes
4983 libname_spec
='$name'
4986 library_names_spec
='$libname${shared_ext} $libname.a'
4987 dynamic_linker
='OS/2 ld.exe'
4988 shlibpath_var
=LIBPATH
4991 osf3
* | osf4
* | osf5
*)
4995 soname_spec
='${libname}${release}${shared_ext}$major'
4996 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4997 shlibpath_var
=LD_LIBRARY_PATH
4998 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
4999 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
5004 soname_spec
='${libname}${release}${shared_ext}$major'
5005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5006 shlibpath_var
=LD_LIBRARY_PATH
5013 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5014 soname_spec
='${libname}${release}${shared_ext}$major'
5015 shlibpath_var
=LD_LIBRARY_PATH
5016 shlibpath_overrides_runpath
=yes
5017 hardcode_into_libs
=yes
5018 # ldd complains unless libraries are executable
5019 postinstall_cmds
='chmod +x $lib'
5024 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5025 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
5026 shlibpath_var
=LD_LIBRARY_PATH
5027 shlibpath_overrides_runpath
=yes
5028 if test "$with_gnu_ld" = yes; then
5034 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
5036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5037 soname_spec
='${libname}${release}${shared_ext}$major'
5038 shlibpath_var
=LD_LIBRARY_PATH
5039 case $host_vendor in
5041 shlibpath_overrides_runpath
=no
5043 export_dynamic_flag_spec
='${wl}-Blargedynsym'
5044 runpath_var
=LD_RUN_PATH
5052 shlibpath_overrides_runpath
=no
5053 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
5059 if test -d /usr
/nec
;then
5061 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
5062 soname_spec
='$libname${shared_ext}.$major'
5063 shlibpath_var
=LD_LIBRARY_PATH
5069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5070 soname_spec
='${libname}${release}${shared_ext}$major'
5071 shlibpath_var
=LD_LIBRARY_PATH
5078 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
5079 echo "${ECHO_T}$dynamic_linker" >&6
5080 test "$dynamic_linker" = no
&& can_build_shared
=no
5083 echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
5084 echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6
5085 if test "${libltdl_cv_shlibpath_var+set}" = set; then
5086 echo $ECHO_N "(cached) $ECHO_C" >&6
5088 libltdl_cv_shlibpath_var
="$shlibpath_var"
5090 echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
5091 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6
5092 if test -n "$libltdl_cv_shlibpath_var"; then
5094 cat >>confdefs.h
<<_ACEOF
5095 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
5102 ac_config_headers
="$ac_config_headers include/config.h gcj/libgcj-config.h"
5105 # See if the user has requested runtime debugging.
5106 LIBGCJDEBUG
="disable"
5108 # Check whether --enable-libgcj-debug or --disable-libgcj-debug was given.
5109 if test "${enable_libgcj_debug+set}" = set; then
5110 enableval
="$enable_libgcj_debug"
5111 if test "$enable_libgcj_debug" = yes; then
5113 cat >>confdefs.h
<<\_ACEOF
5117 LIBGCJDEBUG
="enable"
5122 # Check whether --with-escher or --without-escher was given.
5123 if test "${with_escher+set}" = set; then
5124 withval
="$with_escher"
5127 case "$with_escher" in
5135 { { echo "$as_me:$LINENO: error: Please supply an absolute path to Escher library" >&5
5136 echo "$as_me: error: Please supply an absolute path to Escher library" >&2;}
5137 { (exit 1); exit 1; }; }
5144 # Determine which AWT peer libraries to build
5145 # Check whether --enable-java-awt or --disable-java-awt was given.
5146 if test "${enable_java_awt+set}" = set; then
5147 enableval
="$enable_java_awt"
5151 peerlibs
="`echo ${enable_java_awt} | tr ',' ' '`"
5156 # The default toolkit to use is the first one specified.
5160 for peer
in $peerlibs ; do
5163 if test "$no_x" = yes; then
5164 echo "*** xlib peers requested but no X library available" 1>&2
5168 if test -z "$TOOLKIT"; then
5169 TOOLKIT
=gnu.awt.xlib.XToolkit
5174 if test "$no_x" = yes; then
5175 echo "*** gtk peers requested but no X library available" 1>&2
5179 if test -z "$TOOLKIT"; then
5180 TOOLKIT
=gnu.java.awt.peer.gtk.GtkToolkit
5185 if test "$no_x" = yes; then
5186 # Perhaps we should admit the possibility of embedded Qt.
5187 echo "*** Qt peers requested but no X library available" 1>&2
5191 if test -z "$TOOLKIT"; then
5192 TOOLKIT
=gnu.java.awt.peer.qt.QtToolkit
5198 if test -z "$TOOLKIT"; then
5199 TOOLKIT
=gnu.java.awt.peer.x.XToolkit
5210 echo "*** unrecognised argument \"${peer}\" for --enable-java-awt" 1>&2
5217 if test "$use_xlib_awt" = yes; then
5227 if test "$use_x_awt" = yes; then
5237 cat >>confdefs.h
<<_ACEOF
5238 #define AWT_TOOLKIT "$TOOLKIT"
5243 cat >>confdefs.h
<<_ACEOF
5244 #define LIBGCJ_PREFIX "$prefix"
5248 # Create standard.omit based on decisions we just made.
5249 cp $srcdir/standard.omit.
in standard.omit
5250 if test "$use_xlib_awt" != yes; then
5251 echo gnu
/awt
/xlib
>> standard.omit
5252 echo gnu
/gcj
/xlib
>> standard.omit
5254 if test "$use_x_awt" != yes; then
5255 echo gnu
/java
/awt
/peer
/x
>> standard.omit
5258 # Tools that need to be compiled against classpath's tools classes
5259 : > vm-tools-packages
5260 for package
in gnu
/gcj
/tools
/gc_analyze
; do
5261 echo $package >> standard.omit
5262 echo $package >> vm-tools-packages
5265 if test -z "${with_multisubdir}"; then
5268 builddotdot
=`echo ${with_multisubdir} | sed -e 's:[^/][^/]*:..:g'`
5273 # Which gcj and host gcj (for ecjx) do we use?
5275 host_exeext
=${ac_exeext}
5277 built_gcc_dir
="`cd ${builddotdot}/../../${host_subdir}/gcc && ${PWDCMD-pwd}`"
5278 if test -n "${with_cross_host}"; then
5279 # We are being configured with a cross compiler. We can't
5280 # use ac_exeext, because that is for the target platform.
5283 GCJ_FOR_ECJX
="${with_cross_host}-gcj"
5284 case "${with_cross_host}" in
5286 cross_host_exeext
=.exe
5289 host_exeext
=${cross_host_exeext}
5290 if test -x "${built_gcc_dir}/gcj${cross_host_exeext}"; then
5291 if test x
"$build_noncanonical" = x
"$with_cross_host"; then
5292 # Ordinary cross (host!=target and host=build)
5295 # Canadian cross (host!=target and host!=build)
5302 # We are being configured with a native or crossed-native compiler
5303 if test -x "${built_gcc_dir}/gcj${ac_exeext}"; then
5304 if test x
"$build" = x
"$host"; then
5305 # True native build (host=target and host=build)
5308 # Crossed-native build (host=target and host!=build)
5315 case "${which_gcj}" in
5317 GCJ
="$built_gcc_dir/gcj -B`${PWDCMD-pwd}`/ -B$built_gcc_dir/"
5318 GCJH
='$(top_builddir)/$(MULTIBUILDTOP)../../$(host_subdir)/gcc/gcjh'
5321 if test "x${with_newlib}" = "xyes"; then
5322 # FIXME (comment): Why is this needed?
5324 GCJ
="${target_noncanonical}-gcj"
5326 GCJ
="${target_noncanonical}-gcj -B`${PWDCMD-pwd}`/"
5328 GCJH
='$(target_noncanonical)-gcjh'
5331 GCJ
="gcj -B`${PWDCMD-pwd}`/"
5340 # Create it, so that compile/link tests don't fail
5341 test -f libgcj.spec ||
touch libgcj.spec
5345 # Set up to configure Classpath.
5346 # FIXME: no supported way to pass args in autoconf.
5347 ac_configure_args
="$ac_configure_args --with-fastjar=$JAR"
5348 # Disable tool wrappers to avoid ltdl.h configure check.
5349 ac_configure_args
="$ac_configure_args --disable-tool-wrappers"
5350 ac_configure_args
="$ac_configure_args --disable-load-library"
5351 ac_configure_args
="$ac_configure_args --${LIBGCJDEBUG}-debug"
5352 ac_configure_args
="$ac_configure_args --enable-default-toolkit=$TOOLKIT"
5353 dir1
=`cd $srcdir && pwd`
5355 ac_configure_args
="$ac_configure_args --with-vm-classes=$dir1:$dir2"
5356 ac_configure_args
="$ac_configure_args --disable-core-jni"
5357 ac_configure_args
="$ac_configure_args --disable-examples"
5358 ac_configure_args
="$ac_configure_args --with-glibj=build"
5359 if test "$plugin_enabled" != yes; then
5360 ac_configure_args
="$ac_configure_args --disable-plugin"
5362 if test "$gconf_enabled" != yes; then
5363 ac_configure_args
="$ac_configure_args --disable-gconf-peer"
5364 ac_configure_args
="$ac_configure_args --enable-default-preferences-peer=gnu.java.util.prefs.FileBasedFactory"
5366 if test "$use_gtk_awt" != yes; then
5367 ac_configure_args
="$ac_configure_args --disable-gtk-peer --disable-plugin"
5369 if test "$use_qt_awt" != yes; then
5370 ac_configure_args
="$ac_configure_args --disable-qt-peer"
5372 # We need this as qt is disabled by default in classpath.
5373 ac_configure_args
="$ac_configure_args --enable-qt-peer"
5375 if test "$use_x_awt" != yes; then
5376 ac_configure_args
="$ac_configure_args --without-escher"
5378 # We need this as escher is disabled by default in classpath.
5379 if test "$use_escher" != true
; then
5380 { { echo "$as_me:$LINENO: error: Please supply an absolute path to the Escher library" >&5
5381 echo "$as_me: error: Please supply an absolute path to the Escher library" >&2;}
5382 { (exit 1); exit 1; }; }
5384 ac_configure_args
="$ac_configure_args --with-escher=$with_escher"
5387 # -Werror causes unavoidable problems in code using alsa.
5388 ac_configure_args
="$ac_configure_args --disable-Werror"
5390 # Only use libltdl for non-newlib builds.
5391 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
5392 case $enable_ltdl_convenience in
5393 no
) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
5394 echo "$as_me: error: this package needs a convenience libltdl" >&2;}
5395 { (exit 1); exit 1; }; } ;;
5396 "") enable_ltdl_convenience
=yes
5397 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
5399 LIBLTDL
='${top_builddir}/''libltdl'/libltdlc.la
5400 LTDLINCL
='-I${top_srcdir}/''libltdl'
5401 # For backwards non-gettext consistent compatibility...
5410 cat >>confdefs.h
<<\_ACEOF
5414 # Sigh. Libtool's macro doesn't do the right thing.
5415 INCLTDL
="-I\$(top_srcdir)/libltdl $INCLTDL"
5416 # FIXME: this is a hack.
5417 sub_auxdir
="`cd $ac_aux_dir && ${PWDCMD-pwd}`"
5418 ac_configure_args
="$ac_configure_args --with-auxdir=$sub_auxdir"
5425 macro_version
='2.1a'
5426 macro_revision
='1.2435'
5439 ltmain
="$ac_aux_dir/ltmain.sh"
5447 # Check whether --enable-shared or --disable-shared was given.
5448 if test "${enable_shared+set}" = set; then
5449 enableval
="$enable_shared"
5450 p
=${PACKAGE-default}
5452 yes) enable_shared
=yes ;;
5453 no
) enable_shared
=no
;;
5456 # Look at the argument we got. We use all the common list separators.
5457 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5458 for pkg
in $enableval; do
5460 if test "X$pkg" = "X$p"; then
5478 # Check whether --enable-static or --disable-static was given.
5479 if test "${enable_static+set}" = set; then
5480 enableval
="$enable_static"
5481 p
=${PACKAGE-default}
5483 yes) enable_static
=yes ;;
5484 no
) enable_static
=no
;;
5487 # Look at the argument we got. We use all the common list separators.
5488 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5489 for pkg
in $enableval; do
5491 if test "X$pkg" = "X$p"; then
5510 # Check whether --with-pic or --without-pic was given.
5511 if test "${with_pic+set}" = set; then
5518 test -z "$pic_mode" && pic_mode
=default
5526 # Check whether --enable-fast-install or --disable-fast-install was given.
5527 if test "${enable_fast_install+set}" = set; then
5528 enableval
="$enable_fast_install"
5529 p
=${PACKAGE-default}
5531 yes) enable_fast_install
=yes ;;
5532 no
) enable_fast_install
=no
;;
5534 enable_fast_install
=no
5535 # Look at the argument we got. We use all the common list separators.
5536 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5537 for pkg
in $enableval; do
5539 if test "X$pkg" = "X$p"; then
5540 enable_fast_install
=yes
5547 enable_fast_install
=yes
5557 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5558 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
5559 if test "${lt_cv_path_SED+set}" = set; then
5560 echo $ECHO_N "(cached) $ECHO_C" >&6
5562 # Loop through the user's path and test for sed and gsed.
5563 # Then use that list of sed's as ones to test for truncation.
5564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5568 test -z "$as_dir" && as_dir
=.
5569 for lt_ac_prog
in sed gsed
; do
5570 for ac_exec_ext
in '' $ac_executable_extensions; do
5571 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5572 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5580 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5581 # along with /bin/sed that truncates output.
5582 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
5583 test ! -f $lt_ac_sed && continue
5584 cat /dev
/null
> conftest.
in
5586 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
5587 # Check for GNU sed and select it if it is found.
5588 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
5589 lt_cv_path_SED
=$lt_ac_sed
5593 cat conftest.
in conftest.
in >conftest.tmp
5594 mv conftest.tmp conftest.
in
5595 cp conftest.
in conftest.
nl
5597 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
5598 cmp -s conftest.out conftest.
nl ||
break
5599 # 10000 chars as input seems more than enough
5600 test $lt_ac_count -gt 10 && break
5601 lt_ac_count
=`expr $lt_ac_count + 1`
5602 if test $lt_ac_count -gt $lt_ac_max; then
5603 lt_ac_max
=$lt_ac_count
5604 lt_cv_path_SED
=$lt_ac_sed
5613 echo "$as_me:$LINENO: result: $SED" >&5
5614 echo "${ECHO_T}$SED" >&6
5616 test -z "$SED" && SED
=sed
5617 Xsed
="$SED -e 1s/^X//"
5629 echo "$as_me:$LINENO: checking for egrep" >&5
5630 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5631 if test "${ac_cv_prog_egrep+set}" = set; then
5632 echo $ECHO_N "(cached) $ECHO_C" >&6
5634 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5635 then ac_cv_prog_egrep
='grep -E'
5636 else ac_cv_prog_egrep
='egrep'
5639 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5640 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5641 EGREP
=$ac_cv_prog_egrep
5644 echo "$as_me:$LINENO: checking for fgrep" >&5
5645 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
5646 if test "${ac_cv_prog_fgrep+set}" = set; then
5647 echo $ECHO_N "(cached) $ECHO_C" >&6
5649 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
5650 then ac_cv_prog_fgrep
='grep -F'
5651 else ac_cv_prog_fgrep
='fgrep'
5654 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
5655 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
5656 FGREP
=$ac_cv_prog_fgrep
5659 test -z "$GREP" && GREP
=grep
5679 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5680 if test "${with_gnu_ld+set}" = set; then
5681 withval
="$with_gnu_ld"
5682 test "$withval" = no || with_gnu_ld
=yes
5687 if test "$GCC" = yes; then
5688 # Check if gcc -print-prog-name=ld gives a path.
5689 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5690 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5693 # gcc leaves a trailing carriage return which upsets mingw
5694 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5696 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5699 # Accept absolute paths.
5701 re_direlt
='/[^/][^/]*/\.\./'
5702 # Canonicalize the pathname of ld
5703 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5704 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5705 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5707 test -z "$LD" && LD
="$ac_prog"
5710 # If it fails, then pretend we aren't using GCC.
5714 # If it is relative, then search for the first ld in PATH.
5718 elif test "$with_gnu_ld" = yes; then
5719 echo "$as_me:$LINENO: checking for GNU ld" >&5
5720 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5722 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5723 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5725 if test "${lt_cv_path_LD+set}" = set; then
5726 echo $ECHO_N "(cached) $ECHO_C" >&6
5728 if test -z "$LD"; then
5729 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5730 for ac_dir
in $PATH; do
5732 test -z "$ac_dir" && ac_dir
=.
5733 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5734 lt_cv_path_LD
="$ac_dir/$ac_prog"
5735 # Check to see if the program is GNU ld. I'd rather use --version,
5736 # but apparently some variants of GNU ld only accept -v.
5737 # Break only if it was the GNU/non-GNU ld that we prefer.
5738 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5739 *GNU
* |
*'with BFD'*)
5740 test "$with_gnu_ld" != no
&& break
5743 test "$with_gnu_ld" != yes && break
5750 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5755 if test -n "$LD"; then
5756 echo "$as_me:$LINENO: result: $LD" >&5
5757 echo "${ECHO_T}$LD" >&6
5759 echo "$as_me:$LINENO: result: no" >&5
5760 echo "${ECHO_T}no" >&6
5762 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5763 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5764 { (exit 1); exit 1; }; }
5765 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5766 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5767 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5768 echo $ECHO_N "(cached) $ECHO_C" >&6
5770 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5771 case `$LD -v 2>&1 </dev/null` in
5772 *GNU
* |
*'with BFD'*)
5773 lt_cv_prog_gnu_ld
=yes
5776 lt_cv_prog_gnu_ld
=no
5780 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5781 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5782 with_gnu_ld
=$lt_cv_prog_gnu_ld
5793 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5794 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
5795 if test "${lt_cv_path_NM+set}" = set; then
5796 echo $ECHO_N "(cached) $ECHO_C" >&6
5798 if test -n "$NM"; then
5799 # Let the user override the test.
5802 lt_nm_to_check
="${ac_tool_prefix}nm"
5803 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5804 lt_nm_to_check
="$lt_nm_to_check nm"
5806 for lt_tmp_nm
in $lt_nm_to_check; do
5807 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5808 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5810 test -z "$ac_dir" && ac_dir
=.
5811 tmp_nm
="$ac_dir/$lt_tmp_nm"
5812 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5813 # Check to see if the nm accepts a BSD-compat flag.
5814 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5815 # nm: unknown option "B" ignored
5816 # Tru64's nm complains that /dev/null is an invalid object file
5817 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5818 */dev
/null
* |
*'Invalid file or object type'*)
5819 lt_cv_path_NM
="$tmp_nm -B"
5823 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5825 lt_cv_path_NM
="$tmp_nm -p"
5829 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5830 continue # so that we can try to find one that supports BSD flags
5839 : ${lt_cv_path_NM=no}
5842 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5843 echo "${ECHO_T}$lt_cv_path_NM" >&6
5844 if test "$lt_cv_path_NM" != "no"; then
5847 # Didn't find any BSD compatible name lister, look for dumpbin.
5848 if test -n "$ac_tool_prefix"; then
5849 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5851 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5852 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5853 echo "$as_me:$LINENO: checking for $ac_word" >&5
5854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5855 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5856 echo $ECHO_N "(cached) $ECHO_C" >&6
5858 if test -n "$DUMPBIN"; then
5859 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5865 test -z "$as_dir" && as_dir
=.
5866 for ac_exec_ext
in '' $ac_executable_extensions; do
5867 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5868 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5877 DUMPBIN
=$ac_cv_prog_DUMPBIN
5878 if test -n "$DUMPBIN"; then
5879 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5880 echo "${ECHO_T}$DUMPBIN" >&6
5882 echo "$as_me:$LINENO: result: no" >&5
5883 echo "${ECHO_T}no" >&6
5886 test -n "$DUMPBIN" && break
5889 if test -z "$DUMPBIN"; then
5890 ac_ct_DUMPBIN
=$DUMPBIN
5891 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5893 # Extract the first word of "$ac_prog", so it can be a program name with args.
5894 set dummy
$ac_prog; ac_word
=$2
5895 echo "$as_me:$LINENO: checking for $ac_word" >&5
5896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5897 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5898 echo $ECHO_N "(cached) $ECHO_C" >&6
5900 if test -n "$ac_ct_DUMPBIN"; then
5901 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5907 test -z "$as_dir" && as_dir
=.
5908 for ac_exec_ext
in '' $ac_executable_extensions; do
5909 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5910 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5919 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5920 if test -n "$ac_ct_DUMPBIN"; then
5921 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5922 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
5924 echo "$as_me:$LINENO: result: no" >&5
5925 echo "${ECHO_T}no" >&6
5928 test -n "$ac_ct_DUMPBIN" && break
5930 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
5932 DUMPBIN
=$ac_ct_DUMPBIN
5936 if test "$DUMPBIN" != ":"; then
5940 test -z "$NM" && NM
=nm
5947 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5948 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
5949 if test "${lt_cv_nm_interface+set}" = set; then
5950 echo $ECHO_N "(cached) $ECHO_C" >&6
5952 lt_cv_nm_interface
="BSD nm"
5953 echo "int some_variable = 0;" > conftest.
$ac_ext
5954 (eval echo "\"\$as_me:5954: $ac_compile\"" >&5)
5955 (eval "$ac_compile" 2>conftest.err
)
5956 cat conftest.err
>&5
5957 (eval echo "\"\$as_me:5957: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5958 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5959 cat conftest.err
>&5
5960 (eval echo "\"\$as_me:5960: output\"" >&5)
5961 cat conftest.out
>&5
5962 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5963 lt_cv_nm_interface
="MS dumpbin"
5967 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5968 echo "${ECHO_T}$lt_cv_nm_interface" >&6
5970 # find the maximum length of command line arguments
5971 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5972 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5973 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5974 echo $ECHO_N "(cached) $ECHO_C" >&6
5981 # On DJGPP, this test can blow up pretty badly due to problems in libc
5982 # (any single argument exceeding 2000 bytes causes a buffer overrun
5983 # during glob expansion). Even if it were fixed, the result of this
5984 # check would be larger than it should be.
5985 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5989 # Under GNU Hurd, this test is not required because there is
5990 # no limit to the length of command line arguments.
5991 # Libtool will interpret -1 as no limit whatsoever
5992 lt_cv_sys_max_cmd_len
=-1;
5996 # On Win9x/ME, this test blows up -- it succeeds, but takes
5997 # about 5 minutes as the teststring grows exponentially.
5998 # Worse, since 9x/ME are not pre-emptively multitasking,
5999 # you end up with a "frozen" computer, even though with patience
6000 # the test eventually succeeds (with a max line length of 256k).
6001 # Instead, let's just punt: use the minimum linelength reported by
6002 # all of the supported platforms: 8192 (on NT/2K/XP).
6003 lt_cv_sys_max_cmd_len
=8192;
6007 # On AmigaOS with pdksh, this test takes hours, literally.
6008 # So we just punt and use a minimum line length of 8192.
6009 lt_cv_sys_max_cmd_len
=8192;
6012 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6013 # This has been around since 386BSD, at least. Likely further.
6014 if test -x /sbin
/sysctl
; then
6015 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6016 elif test -x /usr
/sbin
/sysctl
; then
6017 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6019 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6021 # And add a safety zone
6022 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6023 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6027 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6028 lt_cv_sys_max_cmd_len
=196608
6032 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6033 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6034 # nice to cause kernel panics so lets avoid the loop below.
6035 # First set a reasonable default.
6036 lt_cv_sys_max_cmd_len
=16384
6038 if test -x /sbin
/sysconfig
; then
6039 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6040 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6045 lt_cv_sys_max_cmd_len
=102400
6047 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6048 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6049 if test -n "$kargmax"; then
6050 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6052 lt_cv_sys_max_cmd_len
=32768
6056 lt_cv_sys_max_cmd_len
=`getconf ARG_MAX 2> /dev/null`
6057 if test -n $lt_cv_sys_max_cmd_len; then
6058 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6059 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6061 # Make teststring a little bigger before we do anything with it.
6062 # a 1K string should be a reasonable start.
6063 for i
in 1 2 3 4 5 6 7 8 ; do
6064 teststring
=$teststring$teststring
6066 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6067 # If test is not a shell built-in, we'll probably end up computing a
6068 # maximum length that is only half of the actual maximum length, but
6070 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6071 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
6072 test $i != 17 # 1/2 MB should be enough
6075 teststring
=$teststring$teststring
6077 # Only check the string length outside the loop.
6078 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6080 # Add a significant safety factor because C++ compilers can tack on
6081 # massive amounts of additional arguments before passing them to the
6082 # linker. It appears as though 1/2 is a usable value.
6083 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6090 if test -n $lt_cv_sys_max_cmd_len ; then
6091 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6092 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
6094 echo "$as_me:$LINENO: result: none" >&5
6095 echo "${ECHO_T}none" >&6
6097 max_cmd_len
=$lt_cv_sys_max_cmd_len
6108 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6109 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
6110 # Try some XSI features
6113 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6114 = c,a/b,, ) >/dev/null 2>&1 \
6116 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
6117 echo "${ECHO_T}$xsi_shell" >&6
6120 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
6121 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
6123 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6125 && lt_shell_append=yes
6126 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
6127 echo "${ECHO_T}$lt_shell_append" >&6
6130 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6140 # test EBCDIC or ASCII
6141 case `echo X|tr X '\101'` in
6142 A) # ASCII based system
6143 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6144 lt_SP2NL='tr \040 \012'
6145 lt_NL2SP='tr \015\012 \040\040'
6147 *) # EBCDIC based system
6148 lt_SP2NL='tr \100 \n'
6149 lt_NL2SP='tr \r\n \100\100'
6161 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
6162 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
6163 if test "${lt_cv_ld_reload_flag+set}" = set; then
6164 echo $ECHO_N "(cached
) $ECHO_C" >&6
6166 lt_cv_ld_reload_flag='-r'
6168 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
6169 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
6170 reload_flag=$lt_cv_ld_reload_flag
6171 case $reload_flag in
6173 *) reload_flag=" $reload_flag" ;;
6175 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6178 if test "$GCC" = yes; then
6179 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6181 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6195 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
6196 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
6197 if test "${lt_cv_deplibs_check_method+set}" = set; then
6198 echo $ECHO_N "(cached
) $ECHO_C" >&6
6200 lt_cv_file_magic_cmd='$MAGIC_CMD'
6201 lt_cv_file_magic_test_file=
6202 lt_cv_deplibs_check_method='unknown'
6203 # Need to set the preceding variable on all platforms that support
6204 # interlibrary dependencies.
6205 # 'none' -- dependencies not supported.
6206 # `unknown' -- same as none, but documents that we really don't know.
6207 # 'pass_all' -- all dependencies passed with no checks.
6208 # 'test_compile' -- check by making test program.
6209 # 'file_magic [[regex]]' -- check by looking for files in library path
6210 # which responds to the $file_magic_cmd with a given extended regex.
6211 # If you have `file' or equivalent on your system and you're not sure
6212 # whether `pass_all' will *always* work, you probably want this one.
6216 lt_cv_deplibs_check_method=pass_all
6220 lt_cv_deplibs_check_method=pass_all
6224 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6225 lt_cv_file_magic_cmd='/usr/bin/file -L'
6226 lt_cv_file_magic_test_file=/shlib/libc.so
6230 # func_win32_libid is a shell function defined in ltmain.sh
6231 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6232 lt_cv_file_magic_cmd='func_win32_libid'
6236 # Base MSYS/MinGW do not provide the 'file' command needed by
6237 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6238 # unless we find 'file', for example because we are cross-compiling.
6239 if ( file / ) >/dev/null 2>&1; then
6240 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6241 lt_cv_file_magic_cmd='func_win32_libid'
6243 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6244 lt_cv_file_magic_cmd='$OBJDUMP -f'
6248 darwin* | rhapsody*)
6249 lt_cv_deplibs_check_method=pass_all
6252 freebsd* | dragonfly*)
6253 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6256 # Not sure whether the presence of OpenBSD here was a mistake.
6257 # Let's accept both of them until this is cleared up.
6258 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6259 lt_cv_file_magic_cmd=/usr/bin/file
6260 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6264 lt_cv_deplibs_check_method=pass_all
6269 lt_cv_deplibs_check_method=pass_all
6272 hpux10.20* | hpux11*)
6273 lt_cv_file_magic_cmd=/usr/bin/file
6276 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6277 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6280 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]'
6281 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6284 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6285 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6291 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6292 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6295 irix5* | irix6* | nonstopux*)
6297 *-32|*"-32 ") libmagic=32-bit;;
6298 *-n32|*"-n32 ") libmagic=N32;;
6299 *-64|*"-64 ") libmagic=64-bit;;
6300 *) libmagic=never-match;;
6302 lt_cv_deplibs_check_method=pass_all
6305 # This must be Linux ELF.
6306 linux* | k*bsd*-gnu)
6307 lt_cv_deplibs_check_method=pass_all
6311 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6312 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6314 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6319 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6320 lt_cv_file_magic_cmd=/usr/bin/file
6321 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6325 lt_cv_deplibs_check_method=pass_all
6329 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6330 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6332 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6336 osf3* | osf4* | osf5*)
6337 lt_cv_deplibs_check_method=pass_all
6341 lt_cv_deplibs_check_method=pass_all
6345 lt_cv_deplibs_check_method=pass_all
6348 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6349 lt_cv_deplibs_check_method=pass_all
6353 case $host_vendor in
6355 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]'
6356 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6359 lt_cv_deplibs_check_method=pass_all
6362 lt_cv_file_magic_cmd='/bin/file'
6363 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6366 lt_cv_file_magic_cmd='/bin/file'
6367 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6368 lt_cv_file_magic_test_file=/lib/libc.so
6371 lt_cv_deplibs_check_method=pass_all
6374 lt_cv_deplibs_check_method=pass_all
6380 lt_cv_deplibs_check_method=pass_all
6385 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
6386 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
6387 file_magic_cmd=$lt_cv_file_magic_cmd
6388 deplibs_check_method=$lt_cv_deplibs_check_method
6389 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6402 if test -n "$ac_tool_prefix"; then
6403 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6404 set dummy ${ac_tool_prefix}ar; ac_word=$2
6405 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6406 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6407 if test "${ac_cv_prog_AR+set}" = set; then
6408 echo $ECHO_N "(cached
) $ECHO_C" >&6
6410 if test -n "$AR"; then
6411 ac_cv_prog_AR="$AR" # Let the user override the test.
6413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6417 test -z "$as_dir" && as_dir=.
6418 for ac_exec_ext in '' $ac_executable_extensions; do
6419 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6420 ac_cv_prog_AR="${ac_tool_prefix}ar"
6421 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6430 if test -n "$AR"; then
6431 echo "$as_me:$LINENO: result
: $AR" >&5
6432 echo "${ECHO_T}$AR" >&6
6434 echo "$as_me:$LINENO: result
: no
" >&5
6435 echo "${ECHO_T}no
" >&6
6439 if test -z "$ac_cv_prog_AR"; then
6441 # Extract the first word of "ar", so it can be a program name with args.
6442 set dummy ar; ac_word=$2
6443 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6444 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6445 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6446 echo $ECHO_N "(cached
) $ECHO_C" >&6
6448 if test -n "$ac_ct_AR"; then
6449 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6455 test -z "$as_dir" && as_dir=.
6456 for ac_exec_ext in '' $ac_executable_extensions; do
6457 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6458 ac_cv_prog_ac_ct_AR="ar"
6459 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6465 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
6468 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6469 if test -n "$ac_ct_AR"; then
6470 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
6471 echo "${ECHO_T}$ac_ct_AR" >&6
6473 echo "$as_me:$LINENO: result
: no
" >&5
6474 echo "${ECHO_T}no
" >&6
6482 test -z "$AR" && AR=ar
6483 test -z "$AR_FLAGS" && AR_FLAGS=cru
6495 if test -n "$ac_tool_prefix"; then
6496 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6497 set dummy ${ac_tool_prefix}strip; ac_word=$2
6498 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6499 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6500 if test "${ac_cv_prog_STRIP+set}" = set; then
6501 echo $ECHO_N "(cached
) $ECHO_C" >&6
6503 if test -n "$STRIP"; then
6504 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6510 test -z "$as_dir" && as_dir=.
6511 for ac_exec_ext in '' $ac_executable_extensions; do
6512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6513 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6514 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6522 STRIP=$ac_cv_prog_STRIP
6523 if test -n "$STRIP"; then
6524 echo "$as_me:$LINENO: result
: $STRIP" >&5
6525 echo "${ECHO_T}$STRIP" >&6
6527 echo "$as_me:$LINENO: result
: no
" >&5
6528 echo "${ECHO_T}no
" >&6
6532 if test -z "$ac_cv_prog_STRIP"; then
6534 # Extract the first word of "strip
", so it can be a program name with args.
6535 set dummy strip; ac_word=$2
6536 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6537 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6538 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6539 echo $ECHO_N "(cached
) $ECHO_C" >&6
6541 if test -n "$ac_ct_STRIP"; then
6542 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6548 test -z "$as_dir" && as_dir=.
6549 for ac_exec_ext in '' $ac_executable_extensions; do
6550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6551 ac_cv_prog_ac_ct_STRIP="strip
"
6552 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6558 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6561 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6562 if test -n "$ac_ct_STRIP"; then
6563 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
6564 echo "${ECHO_T}$ac_ct_STRIP" >&6
6566 echo "$as_me:$LINENO: result
: no
" >&5
6567 echo "${ECHO_T}no
" >&6
6572 STRIP="$ac_cv_prog_STRIP"
6575 test -z "$STRIP" && STRIP=:
6582 if test -n "$ac_tool_prefix"; then
6583 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6584 set dummy ${ac_tool_prefix}ranlib; 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_RANLIB+set}" = set; then
6588 echo $ECHO_N "(cached
) $ECHO_C" >&6
6590 if test -n "$RANLIB"; then
6591 ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="${ac_tool_prefix}ranlib
"
6601 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6609 RANLIB=$ac_cv_prog_RANLIB
6610 if test -n "$RANLIB"; then
6611 echo "$as_me:$LINENO: result
: $RANLIB" >&5
6612 echo "${ECHO_T}$RANLIB" >&6
6614 echo "$as_me:$LINENO: result
: no
" >&5
6615 echo "${ECHO_T}no
" >&6
6619 if test -z "$ac_cv_prog_RANLIB"; then
6620 ac_ct_RANLIB=$RANLIB
6621 # Extract the first word of "ranlib
", so it can be a program name with args.
6622 set dummy ranlib; ac_word=$2
6623 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6624 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6625 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6626 echo $ECHO_N "(cached
) $ECHO_C" >&6
6628 if test -n "$ac_ct_RANLIB"; then
6629 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6635 test -z "$as_dir" && as_dir=.
6636 for ac_exec_ext in '' $ac_executable_extensions; do
6637 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6638 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6639 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6645 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6648 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6649 if test -n "$ac_ct_RANLIB"; then
6650 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
6651 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6653 echo "$as_me:$LINENO: result
: no
" >&5
6654 echo "${ECHO_T}no
" >&6
6657 RANLIB=$ac_ct_RANLIB
6659 RANLIB="$ac_cv_prog_RANLIB"
6662 test -z "$RANLIB" && RANLIB=:
6669 # Determine commands to create old-style static archives.
6670 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6671 old_postinstall_cmds='chmod 644 $oldlib'
6672 old_postuninstall_cmds=
6674 if test -n "$RANLIB"; then
6677 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6680 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6683 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6719 # If no C compiler was specified, use CC.
6722 # If no C compiler flags were specified, use CFLAGS.
6723 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6725 # Allow CC to be a program name with arguments.
6729 # Check for command to grab the raw symbol name followed by C symbol from nm.
6730 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
6731 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
6732 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6733 echo $ECHO_N "(cached
) $ECHO_C" >&6
6736 # These are sane defaults that work on at least a few old systems.
6737 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6739 # Character class describing NM global symbol codes.
6740 symcode='[BCDEGRST]'
6742 # Regexp to match symbols that can be accessed directly from C.
6743 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6745 # Define system-specific variables.
6750 cygwin* | mingw* | pw32*)
6751 symcode='[ABCDGISTW]'
6754 if test "$host_cpu" = ia64; then
6755 symcode='[ABCDEGRST]'
6759 symcode='[BCDEGRST]'
6762 symcode='[BCDEGQRST]'
6773 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6781 # If we're using GNU nm, then use its standard symbol codes.
6782 case `$NM -V 2>&1` in
6783 *GNU* | *'with BFD'*)
6784 symcode='[ABCDGIRSTW]' ;;
6787 # Transform an extracted symbol line into a proper C declaration.
6788 # Some systems (esp. on ia64) link data and code symbols differently,
6789 # so use this general approach.
6790 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6792 # Transform an extracted symbol line into symbol name and symbol address
6793 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6795 # Handle CRLF in mingw tool chain
6799 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6803 # Try without a prefix underscore, then with it.
6804 for ac_symprfx in "" "_
"; do
6806 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6807 symxfrm="\\1 $ac_symprfx\\2 \\2"
6809 # Write the raw and C identifiers.
6810 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6811 # Fake it for dumpbin and say T for any non-static function
6812 # and D for any global variable.
6813 # Also find C++ and __fastcall symbols from MSVC++,
6814 # which start with @ or ?.
6815 lt_cv_sys_global_symbol_pipe="$AWK '"\
6816 " {last_section=section; section=\$ 3};"\
6817 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6818 " \$ 0!~/External *\|/{next};"\
6819 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6820 " {if(hide[section]) next};"\
6821 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6822 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6823 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6824 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6825 " ' prfx
=^
$ac_symprfx"
6827 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6830 # Check to see that the pipe works correctly.
6834 cat > conftest.$ac_ext <<_LT_EOF
6839 void nm_test_func(void);
6840 void nm_test_func(void){}
6844 int main(){nm_test_var='a';nm_test_func();return(0);}
6847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6848 (eval $ac_compile) 2>&5
6850 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6851 (exit $ac_status); }; then
6852 # Now try to grab the symbols.
6854 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
6855 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6857 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6858 (exit $ac_status); } && test -s "$nlist"; then
6859 # Try sorting and uniquifying the output.
6860 if sort "$nlist" | uniq > "$nlist"T; then
6861 mv -f "$nlist"T "$nlist"
6866 # Make sure that we snagged all the symbols we need.
6867 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6868 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6869 cat <<_LT_EOF > conftest.$ac_ext
6875 # Now generate the symbol file.
6876 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6878 cat <<_LT_EOF >> conftest.$ac_ext
6880 /* The mapping between symbol names and symbols. */
6885 lt__PROGRAM__LTX_preloaded_symbols[] =
6887 { "@PROGRAM@
", (void *) 0 },
6889 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6890 cat <<\_LT_EOF >> conftest.$ac_ext
6894 /* This works around a problem in FreeBSD linker */
6895 #ifdef FREEBSD_WORKAROUND
6896 static const void *lt_preloaded_setup() {
6897 return lt__PROGRAM__LTX_preloaded_symbols;
6905 # Now try linking the two files.
6906 mv conftest.$ac_objext conftstm.$ac_objext
6907 lt_save_LIBS="$LIBS"
6908 lt_save_CFLAGS="$CFLAGS"
6909 LIBS="conftstm.
$ac_objext"
6910 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6912 (eval $ac_link) 2>&5
6914 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6915 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6918 LIBS="$lt_save_LIBS"
6919 CFLAGS="$lt_save_CFLAGS"
6921 echo "cannot
find nm_test_func
in $nlist" >&5
6924 echo "cannot
find nm_test_var
in $nlist" >&5
6927 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6930 echo "$progname: failed program was
:" >&5
6931 cat conftest.$ac_ext >&5
6933 rm -f conftest* conftst*
6935 # Do not use the global_symbol_pipe unless it works.
6936 if test "$pipe_works" = yes; then
6939 lt_cv_sys_global_symbol_pipe=
6945 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6946 lt_cv_sys_global_symbol_to_cdecl=
6948 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6949 echo "$as_me:$LINENO: result
: failed
" >&5
6950 echo "${ECHO_T}failed
" >&6
6952 echo "$as_me:$LINENO: result
: ok
" >&5
6953 echo "${ECHO_T}ok
" >&6
6973 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6974 if test "${enable_libtool_lock+set}" = set; then
6975 enableval="$enable_libtool_lock"
6978 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6980 # Some flags need to be propagated to the compiler or linker for good
6984 # Find out which ABI we are using.
6985 echo 'int i;' > conftest.$ac_ext
6986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6987 (eval $ac_compile) 2>&5
6989 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6990 (exit $ac_status); }; then
6991 case `/usr/bin/file conftest.$ac_objext` in
7003 # Find out which ABI we are using.
7004 echo '#line 7004 "configure
"' > conftest.$ac_ext
7005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7006 (eval $ac_compile) 2>&5
7008 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7009 (exit $ac_status); }; then
7010 if test "$lt_cv_prog_gnu_ld" = yes; then
7011 case `/usr/bin/file conftest.$ac_objext` in
7013 LD="${LD-ld} -melf32bsmip"
7016 LD="${LD-ld} -melf32bmipn32"
7019 LD="${LD-ld} -melf64bmip"
7023 case `/usr/bin/file conftest.$ac_objext` in
7039 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7040 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7041 # Find out which ABI we are using.
7042 echo 'int i;' > conftest.$ac_ext
7043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7044 (eval $ac_compile) 2>&5
7046 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7047 (exit $ac_status); }; then
7048 case `/usr/bin/file conftest.o` in
7051 x86_64-*kfreebsd*-gnu)
7052 LD="${LD-ld} -m elf_i386_fbsd
"
7055 LD="${LD-ld} -m elf_i386
"
7057 ppc64-*linux*|powerpc64-*linux*)
7058 LD="${LD-ld} -m elf32ppclinux
"
7061 LD="${LD-ld} -m elf_s390
"
7064 LD="${LD-ld} -m elf32_sparc
"
7070 x86_64-*kfreebsd*-gnu)
7071 LD="${LD-ld} -m elf_x86_64_fbsd
"
7074 LD="${LD-ld} -m elf_x86_64
"
7076 ppc*-*linux*|powerpc*-*linux*)
7077 LD="${LD-ld} -m elf64ppc
"
7079 s390*-*linux*|s390*-*tpf*)
7080 LD="${LD-ld} -m elf64_s390
"
7083 LD="${LD-ld} -m elf64_sparc
"
7093 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7094 SAVE_CFLAGS="$CFLAGS"
7095 CFLAGS="$CFLAGS -belf"
7096 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
7097 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
7098 if test "${lt_cv_cc_needs_belf+set}" = set; then
7099 echo $ECHO_N "(cached
) $ECHO_C" >&6
7102 ac_cpp='$CPP $CPPFLAGS'
7103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7107 if test x$gcc_no_link = xyes; then
7108 { { echo "$as_me:$LINENO: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&5
7109 echo "$as_me: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&2;}
7110 { (exit 1); exit 1; }; }
7112 cat >conftest.$ac_ext <<_ACEOF
7115 cat confdefs.h >>conftest.$ac_ext
7116 cat >>conftest.$ac_ext <<_ACEOF
7117 /* end confdefs.h. */
7127 rm -f conftest.$ac_objext conftest$ac_exeext
7128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7129 (eval $ac_link) 2>conftest.er1
7131 grep -v '^ *+' conftest.er1 >conftest.err
7133 cat conftest.err >&5
7134 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7135 (exit $ac_status); } &&
7136 { ac_try='test -z "$ac_c_werror_flag"
7137 || test ! -s conftest.err'
7138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7141 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7142 (exit $ac_status); }; } &&
7143 { ac_try='test -s conftest$ac_exeext'
7144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7147 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7148 (exit $ac_status); }; }; then
7149 lt_cv_cc_needs_belf=yes
7151 echo "$as_me: failed program was
:" >&5
7152 sed 's/^/| /' conftest.$ac_ext >&5
7154 lt_cv_cc_needs_belf=no
7156 rm -f conftest.err conftest.$ac_objext \
7157 conftest$ac_exeext conftest.$ac_ext
7159 ac_cpp='$CPP $CPPFLAGS'
7160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7165 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
7166 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
7167 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7168 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7169 CFLAGS="$SAVE_CFLAGS"
7173 # Find out which ABI we are using.
7174 echo 'int i;' > conftest.$ac_ext
7175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7176 (eval $ac_compile) 2>&5
7178 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7179 (exit $ac_status); }; then
7180 case `/usr/bin/file conftest.o` in
7182 case $lt_cv_prog_gnu_ld in
7183 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7184 *) LD="${LD-ld} -64" ;;
7193 need_locks="$enable_libtool_lock"
7196 ac_cpp='$CPP $CPPFLAGS'
7197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7200 echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
7201 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6
7202 # On Suns, sometimes $CPP names a directory.
7203 if test -n "$CPP" && test -d "$CPP"; then
7206 if test -z "$CPP"; then
7207 if test "${ac_cv_prog_CPP+set}" = set; then
7208 echo $ECHO_N "(cached
) $ECHO_C" >&6
7210 # Double quotes because CPP needs to be expanded
7211 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7214 for ac_c_preproc_warn_flag in '' yes
7216 # Use a header file that comes with gcc, so configuring glibc
7217 # with a fresh cross-compiler works.
7218 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7219 # <limits.h> exists even on freestanding compilers.
7220 # On the NeXT, cc -E runs the code through the compiler's parser,
7221 # not just through cpp. "Syntax error
" is here to catch this case.
7222 cat >conftest.$ac_ext <<_ACEOF
7225 cat confdefs.h >>conftest.$ac_ext
7226 cat >>conftest.$ac_ext <<_ACEOF
7227 /* end confdefs.h. */
7229 # include <limits.h>
7231 # include <assert.h>
7235 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7236 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7238 grep -v '^ *+' conftest.er1 >conftest.err
7240 cat conftest.err >&5
7241 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7242 (exit $ac_status); } >/dev/null; then
7243 if test -s conftest.err; then
7244 ac_cpp_err=$ac_c_preproc_warn_flag
7245 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7252 if test -z "$ac_cpp_err"; then
7255 echo "$as_me: failed program was
:" >&5
7256 sed 's/^/| /' conftest.$ac_ext >&5
7258 # Broken: fails on valid input.
7261 rm -f conftest.err conftest.$ac_ext
7263 # OK, works on sane cases. Now check whether non-existent headers
7264 # can be detected and how.
7265 cat >conftest.$ac_ext <<_ACEOF
7268 cat confdefs.h >>conftest.$ac_ext
7269 cat >>conftest.$ac_ext <<_ACEOF
7270 /* end confdefs.h. */
7271 #include <ac_nonexistent.h>
7273 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7274 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7276 grep -v '^ *+' conftest.er1 >conftest.err
7278 cat conftest.err >&5
7279 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7280 (exit $ac_status); } >/dev/null; then
7281 if test -s conftest.err; then
7282 ac_cpp_err=$ac_c_preproc_warn_flag
7283 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7290 if test -z "$ac_cpp_err"; then
7291 # Broken: success on invalid input.
7294 echo "$as_me: failed program was
:" >&5
7295 sed 's/^/| /' conftest.$ac_ext >&5
7297 # Passes both tests.
7301 rm -f conftest.err conftest.$ac_ext
7304 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7305 rm -f conftest.err conftest.$ac_ext
7306 if $ac_preproc_ok; then
7318 echo "$as_me:$LINENO: result
: $CPP" >&5
7319 echo "${ECHO_T}$CPP" >&6
7321 for ac_c_preproc_warn_flag in '' yes
7323 # Use a header file that comes with gcc, so configuring glibc
7324 # with a fresh cross-compiler works.
7325 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7326 # <limits.h> exists even on freestanding compilers.
7327 # On the NeXT, cc -E runs the code through the compiler's parser,
7328 # not just through cpp. "Syntax error
" is here to catch this case.
7329 cat >conftest.$ac_ext <<_ACEOF
7332 cat confdefs.h >>conftest.$ac_ext
7333 cat >>conftest.$ac_ext <<_ACEOF
7334 /* end confdefs.h. */
7336 # include <limits.h>
7338 # include <assert.h>
7342 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7343 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7345 grep -v '^ *+' conftest.er1 >conftest.err
7347 cat conftest.err >&5
7348 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7349 (exit $ac_status); } >/dev/null; then
7350 if test -s conftest.err; then
7351 ac_cpp_err=$ac_c_preproc_warn_flag
7352 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7359 if test -z "$ac_cpp_err"; then
7362 echo "$as_me: failed program was
:" >&5
7363 sed 's/^/| /' conftest.$ac_ext >&5
7365 # Broken: fails on valid input.
7368 rm -f conftest.err conftest.$ac_ext
7370 # OK, works on sane cases. Now check whether non-existent headers
7371 # can be detected and how.
7372 cat >conftest.$ac_ext <<_ACEOF
7375 cat confdefs.h >>conftest.$ac_ext
7376 cat >>conftest.$ac_ext <<_ACEOF
7377 /* end confdefs.h. */
7378 #include <ac_nonexistent.h>
7380 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7381 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7383 grep -v '^ *+' conftest.er1 >conftest.err
7385 cat conftest.err >&5
7386 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7387 (exit $ac_status); } >/dev/null; then
7388 if test -s conftest.err; then
7389 ac_cpp_err=$ac_c_preproc_warn_flag
7390 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7397 if test -z "$ac_cpp_err"; then
7398 # Broken: success on invalid input.
7401 echo "$as_me: failed program was
:" >&5
7402 sed 's/^/| /' conftest.$ac_ext >&5
7404 # Passes both tests.
7408 rm -f conftest.err conftest.$ac_ext
7411 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7412 rm -f conftest.err conftest.$ac_ext
7413 if $ac_preproc_ok; then
7416 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
7417 See \
`config.log' for more details." >&5
7418 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7419 See \`config.log
' for more details." >&2;}
7420 { (exit 1); exit 1; }; }
7424 ac_cpp='$CPP $CPPFLAGS'
7425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
7426 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
7427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7430 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7431 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7432 if test "${ac_cv_header_stdc+set}" = set; then
7433 echo $ECHO_N "(cached) $ECHO_C" >&6
7435 cat >conftest.$ac_ext <<_ACEOF
7438 cat confdefs.h >>conftest.$ac_ext
7439 cat >>conftest.$ac_ext <<_ACEOF
7440 /* end confdefs.h. */
7454 rm -f conftest.$ac_objext
7455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7456 (eval $ac_compile) 2>conftest.er1
7458 grep -v '^
*+' conftest.er1 >conftest.err
7460 cat conftest.err >&5
7461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7462 (exit $ac_status); } &&
7463 { ac_try='test -z "$ac_c_werror_flag"
7464 ||
test ! -s conftest.err
'
7465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7469 (exit $ac_status); }; } &&
7470 { ac_try='test -s conftest.
$ac_objext'
7471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7475 (exit $ac_status); }; }; then
7476 ac_cv_header_stdc=yes
7478 echo "$as_me: failed program was:" >&5
7479 sed 's
/^
/|
/' conftest.$ac_ext >&5
7481 ac_cv_header_stdc=no
7483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7485 if test $ac_cv_header_stdc = yes; then
7486 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7487 cat >conftest.$ac_ext <<_ACEOF
7490 cat confdefs.h >>conftest.$ac_ext
7491 cat >>conftest.$ac_ext <<_ACEOF
7492 /* end confdefs.h. */
7496 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7497 $EGREP "memchr" >/dev/null 2>&1; then
7500 ac_cv_header_stdc=no
7506 if test $ac_cv_header_stdc = yes; then
7507 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7508 cat >conftest.$ac_ext <<_ACEOF
7511 cat confdefs.h >>conftest.$ac_ext
7512 cat >>conftest.$ac_ext <<_ACEOF
7513 /* end confdefs.h. */
7517 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7518 $EGREP "free" >/dev/null 2>&1; then
7521 ac_cv_header_stdc=no
7527 if test $ac_cv_header_stdc = yes; then
7528 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7529 if test "$cross_compiling" = yes; then
7532 cat >conftest.$ac_ext <<_ACEOF
7535 cat confdefs.h >>conftest.$ac_ext
7536 cat >>conftest.$ac_ext <<_ACEOF
7537 /* end confdefs.h. */
7539 #if ((' ' & 0x0FF) == 0x020)
7540 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
7541 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
7543 # define ISLOWER(c) \
7544 (('a
' <= (c) && (c) <= 'i
') \
7545 || ('j
' <= (c) && (c) <= 'r
') \
7546 || ('s
' <= (c) && (c) <= 'z
'))
7547 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7550 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7555 for (i = 0; i < 256; i++)
7556 if (XOR (islower (i), ISLOWER (i))
7557 || toupper (i) != TOUPPER (i))
7562 rm -f conftest$ac_exeext
7563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7564 (eval $ac_link) 2>&5
7566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7567 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
7568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7572 (exit $ac_status); }; }; then
7575 echo "$as_me: program exited with status $ac_status" >&5
7576 echo "$as_me: failed program was:" >&5
7577 sed 's
/^
/|
/' conftest.$ac_ext >&5
7580 ac_cv_header_stdc=no
7582 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7586 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7587 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7588 if test $ac_cv_header_stdc = yes; then
7590 cat >>confdefs.h <<\_ACEOF
7591 #define STDC_HEADERS 1
7596 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7606 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7607 inttypes.h stdint.h unistd.h
7609 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7610 echo "$as_me:$LINENO: checking for $ac_header" >&5
7611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7613 echo $ECHO_N "(cached) $ECHO_C" >&6
7615 cat >conftest.$ac_ext <<_ACEOF
7618 cat confdefs.h >>conftest.$ac_ext
7619 cat >>conftest.$ac_ext <<_ACEOF
7620 /* end confdefs.h. */
7621 $ac_includes_default
7623 #include <$ac_header>
7625 rm -f conftest.$ac_objext
7626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7627 (eval $ac_compile) 2>conftest.er1
7629 grep -v '^
*+' conftest.er1 >conftest.err
7631 cat conftest.err >&5
7632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7633 (exit $ac_status); } &&
7634 { ac_try='test -z "$ac_c_werror_flag"
7635 ||
test ! -s conftest.err
'
7636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7640 (exit $ac_status); }; } &&
7641 { ac_try='test -s conftest.
$ac_objext'
7642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7646 (exit $ac_status); }; }; then
7647 eval "$as_ac_Header=yes"
7649 echo "$as_me: failed program was:" >&5
7650 sed 's
/^
/|
/' conftest.$ac_ext >&5
7652 eval "$as_ac_Header=no"
7654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7658 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7659 cat >>confdefs.h <<_ACEOF
7660 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7669 for ac_header in dlfcn.h
7671 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7672 echo "$as_me:$LINENO: checking for $ac_header" >&5
7673 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7675 echo $ECHO_N "(cached) $ECHO_C" >&6
7677 cat >conftest.$ac_ext <<_ACEOF
7680 cat confdefs.h >>conftest.$ac_ext
7681 cat >>conftest.$ac_ext <<_ACEOF
7682 /* end confdefs.h. */
7683 $ac_includes_default
7685 #include <$ac_header>
7687 rm -f conftest.$ac_objext
7688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7689 (eval $ac_compile) 2>conftest.er1
7691 grep -v '^
*+' conftest.er1 >conftest.err
7693 cat conftest.err >&5
7694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7695 (exit $ac_status); } &&
7696 { ac_try='test -z "$ac_c_werror_flag"
7697 ||
test ! -s conftest.err
'
7698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7702 (exit $ac_status); }; } &&
7703 { ac_try='test -s conftest.
$ac_objext'
7704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7708 (exit $ac_status); }; }; then
7709 eval "$as_ac_Header=yes"
7711 echo "$as_me: failed program was:" >&5
7712 sed 's
/^
/|
/' conftest.$ac_ext >&5
7714 eval "$as_ac_Header=no"
7716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7719 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7720 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7721 cat >>confdefs.h <<_ACEOF
7722 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7732 ac_cpp='$CXXCPP $CPPFLAGS'
7733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
7734 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
7735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7736 if test -n "$ac_tool_prefix"; then
7737 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7739 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7740 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7741 echo "$as_me:$LINENO: checking for $ac_word" >&5
7742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7743 if test "${ac_cv_prog_CXX+set}" = set; then
7744 echo $ECHO_N "(cached) $ECHO_C" >&6
7746 if test -n "$CXX"; then
7747 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7753 test -z "$as_dir" && as_dir=.
7754 for ac_exec_ext in '' $ac_executable_extensions; do
7755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7756 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7766 if test -n "$CXX"; then
7767 echo "$as_me:$LINENO: result: $CXX" >&5
7768 echo "${ECHO_T}$CXX" >&6
7770 echo "$as_me:$LINENO: result: no" >&5
7771 echo "${ECHO_T}no" >&6
7774 test -n "$CXX" && break
7777 if test -z "$CXX"; then
7779 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7781 # Extract the first word of "$ac_prog", so it can be a program name with args.
7782 set dummy $ac_prog; ac_word=$2
7783 echo "$as_me:$LINENO: checking for $ac_word" >&5
7784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7785 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7786 echo $ECHO_N "(cached) $ECHO_C" >&6
7788 if test -n "$ac_ct_CXX"; then
7789 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7795 test -z "$as_dir" && as_dir=.
7796 for ac_exec_ext in '' $ac_executable_extensions; do
7797 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7798 ac_cv_prog_ac_ct_CXX="$ac_prog"
7799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7807 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7808 if test -n "$ac_ct_CXX"; then
7809 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7810 echo "${ECHO_T}$ac_ct_CXX" >&6
7812 echo "$as_me:$LINENO: result: no" >&5
7813 echo "${ECHO_T}no" >&6
7816 test -n "$ac_ct_CXX" && break
7818 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
7824 # Provide some information about the compiler.
7825 echo "$as_me:$LINENO:" \
7826 "checking for C++ compiler version" >&5
7827 ac_compiler=`set X $ac_compile; echo $2`
7828 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7829 (eval $ac_compiler --version </dev/null >&5) 2>&5
7831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7832 (exit $ac_status); }
7833 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7834 (eval $ac_compiler -v </dev/null >&5) 2>&5
7836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7837 (exit $ac_status); }
7838 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7839 (eval $ac_compiler -V </dev/null >&5) 2>&5
7841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7842 (exit $ac_status); }
7844 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7845 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
7846 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7847 echo $ECHO_N "(cached) $ECHO_C" >&6
7849 cat >conftest.$ac_ext <<_ACEOF
7852 cat confdefs.h >>conftest.$ac_ext
7853 cat >>conftest.$ac_ext <<_ACEOF
7854 /* end confdefs.h. */
7867 rm -f conftest.$ac_objext
7868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7869 (eval $ac_compile) 2>conftest.er1
7871 grep -v '^
*+' conftest.er1 >conftest.err
7873 cat conftest.err >&5
7874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7875 (exit $ac_status); } &&
7876 { ac_try='test -z "$ac_cxx_werror_flag"
7877 ||
test ! -s conftest.err
'
7878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7882 (exit $ac_status); }; } &&
7883 { ac_try='test -s conftest.
$ac_objext'
7884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7888 (exit $ac_status); }; }; then
7891 echo "$as_me: failed program was:" >&5
7892 sed 's
/^
/|
/' conftest.$ac_ext >&5
7896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7897 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7900 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7901 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
7902 GXX=`test $ac_compiler_gnu = yes && echo yes`
7903 ac_test_CXXFLAGS=${CXXFLAGS+set}
7904 ac_save_CXXFLAGS=$CXXFLAGS
7906 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7907 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
7908 if test "${ac_cv_prog_cxx_g+set}" = set; then
7909 echo $ECHO_N "(cached) $ECHO_C" >&6
7911 cat >conftest.$ac_ext <<_ACEOF
7914 cat confdefs.h >>conftest.$ac_ext
7915 cat >>conftest.$ac_ext <<_ACEOF
7916 /* end confdefs.h. */
7926 rm -f conftest.$ac_objext
7927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7928 (eval $ac_compile) 2>conftest.er1
7930 grep -v '^
*+' conftest.er1 >conftest.err
7932 cat conftest.err >&5
7933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7934 (exit $ac_status); } &&
7935 { ac_try='test -z "$ac_cxx_werror_flag"
7936 ||
test ! -s conftest.err
'
7937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7941 (exit $ac_status); }; } &&
7942 { ac_try='test -s conftest.
$ac_objext'
7943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7947 (exit $ac_status); }; }; then
7948 ac_cv_prog_cxx_g=yes
7950 echo "$as_me: failed program was:" >&5
7951 sed 's
/^
/|
/' conftest.$ac_ext >&5
7955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7957 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7958 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
7959 if test "$ac_test_CXXFLAGS" = set; then
7960 CXXFLAGS=$ac_save_CXXFLAGS
7961 elif test $ac_cv_prog_cxx_g = yes; then
7962 if test "$GXX" = yes; then
7968 if test "$GXX" = yes; then
7974 for ac_declaration in \
7976 'extern
"C" void std
::exit (int
) throw
(); using std
::exit;' \
7977 'extern
"C" void std
::exit (int
); using std
::exit;' \
7978 'extern
"C" void
exit (int
) throw
();' \
7979 'extern
"C" void
exit (int
);' \
7982 cat >conftest.$ac_ext <<_ACEOF
7985 cat confdefs.h >>conftest.$ac_ext
7986 cat >>conftest.$ac_ext <<_ACEOF
7987 /* end confdefs.h. */
7998 rm -f conftest.$ac_objext
7999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8000 (eval $ac_compile) 2>conftest.er1
8002 grep -v '^
*+' conftest.er1 >conftest.err
8004 cat conftest.err >&5
8005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8006 (exit $ac_status); } &&
8007 { ac_try='test -z "$ac_cxx_werror_flag"
8008 ||
test ! -s conftest.err
'
8009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8013 (exit $ac_status); }; } &&
8014 { ac_try='test -s conftest.
$ac_objext'
8015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8019 (exit $ac_status); }; }; then
8022 echo "$as_me: failed program was:" >&5
8023 sed 's
/^
/|
/' conftest.$ac_ext >&5
8027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8028 cat >conftest.$ac_ext <<_ACEOF
8031 cat confdefs.h >>conftest.$ac_ext
8032 cat >>conftest.$ac_ext <<_ACEOF
8033 /* end confdefs.h. */
8043 rm -f conftest.$ac_objext
8044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8045 (eval $ac_compile) 2>conftest.er1
8047 grep -v '^
*+' conftest.er1 >conftest.err
8049 cat conftest.err >&5
8050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8051 (exit $ac_status); } &&
8052 { ac_try='test -z "$ac_cxx_werror_flag"
8053 ||
test ! -s conftest.err
'
8054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8058 (exit $ac_status); }; } &&
8059 { ac_try='test -s conftest.
$ac_objext'
8060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8064 (exit $ac_status); }; }; then
8067 echo "$as_me: failed program was:" >&5
8068 sed 's
/^
/|
/' conftest.$ac_ext >&5
8071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8074 if test -n "$ac_declaration"; then
8075 echo '#ifdef __cplusplus' >>confdefs.h
8076 echo $ac_declaration >>confdefs.h
8077 echo '#endif' >>confdefs.h
8081 ac_cpp
='$CPP $CPPFLAGS'
8082 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8083 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8084 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8086 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8087 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
8088 (test "X$CXX" != "Xg++"))) ; then
8090 ac_cpp
='$CXXCPP $CPPFLAGS'
8091 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8092 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8093 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
8094 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
8095 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
8096 if test -z "$CXXCPP"; then
8097 if test "${ac_cv_prog_CXXCPP+set}" = set; then
8098 echo $ECHO_N "(cached) $ECHO_C" >&6
8100 # Double quotes because CXXCPP needs to be expanded
8101 for CXXCPP
in "$CXX -E" "/lib/cpp"
8104 for ac_cxx_preproc_warn_flag
in '' yes
8106 # Use a header file that comes with gcc, so configuring glibc
8107 # with a fresh cross-compiler works.
8108 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8109 # <limits.h> exists even on freestanding compilers.
8110 # On the NeXT, cc -E runs the code through the compiler's parser,
8111 # not just through cpp. "Syntax error" is here to catch this case.
8112 cat >conftest.
$ac_ext <<_ACEOF
8115 cat confdefs.h
>>conftest.
$ac_ext
8116 cat >>conftest.
$ac_ext <<_ACEOF
8117 /* end confdefs.h. */
8119 # include <limits.h>
8121 # include <assert.h>
8125 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8126 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8128 grep -v '^ *+' conftest.er1
>conftest.err
8130 cat conftest.err
>&5
8131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8132 (exit $ac_status); } >/dev
/null
; then
8133 if test -s conftest.err
; then
8134 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8135 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8142 if test -z "$ac_cpp_err"; then
8145 echo "$as_me: failed program was:" >&5
8146 sed 's/^/| /' conftest.
$ac_ext >&5
8148 # Broken: fails on valid input.
8151 rm -f conftest.err conftest.
$ac_ext
8153 # OK, works on sane cases. Now check whether non-existent headers
8154 # can be detected and how.
8155 cat >conftest.
$ac_ext <<_ACEOF
8158 cat confdefs.h
>>conftest.
$ac_ext
8159 cat >>conftest.
$ac_ext <<_ACEOF
8160 /* end confdefs.h. */
8161 #include <ac_nonexistent.h>
8163 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8164 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8166 grep -v '^ *+' conftest.er1
>conftest.err
8168 cat conftest.err
>&5
8169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8170 (exit $ac_status); } >/dev
/null
; then
8171 if test -s conftest.err
; then
8172 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8173 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8180 if test -z "$ac_cpp_err"; then
8181 # Broken: success on invalid input.
8184 echo "$as_me: failed program was:" >&5
8185 sed 's/^/| /' conftest.
$ac_ext >&5
8187 # Passes both tests.
8191 rm -f conftest.err conftest.
$ac_ext
8194 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8195 rm -f conftest.err conftest.
$ac_ext
8196 if $ac_preproc_ok; then
8201 ac_cv_prog_CXXCPP
=$CXXCPP
8204 CXXCPP
=$ac_cv_prog_CXXCPP
8206 ac_cv_prog_CXXCPP
=$CXXCPP
8208 echo "$as_me:$LINENO: result: $CXXCPP" >&5
8209 echo "${ECHO_T}$CXXCPP" >&6
8211 for ac_cxx_preproc_warn_flag
in '' yes
8213 # Use a header file that comes with gcc, so configuring glibc
8214 # with a fresh cross-compiler works.
8215 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8216 # <limits.h> exists even on freestanding compilers.
8217 # On the NeXT, cc -E runs the code through the compiler's parser,
8218 # not just through cpp. "Syntax error" is here to catch this case.
8219 cat >conftest.
$ac_ext <<_ACEOF
8222 cat confdefs.h
>>conftest.
$ac_ext
8223 cat >>conftest.
$ac_ext <<_ACEOF
8224 /* end confdefs.h. */
8226 # include <limits.h>
8228 # include <assert.h>
8232 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8233 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8235 grep -v '^ *+' conftest.er1
>conftest.err
8237 cat conftest.err
>&5
8238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8239 (exit $ac_status); } >/dev
/null
; then
8240 if test -s conftest.err
; then
8241 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8242 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8249 if test -z "$ac_cpp_err"; then
8252 echo "$as_me: failed program was:" >&5
8253 sed 's/^/| /' conftest.
$ac_ext >&5
8255 # Broken: fails on valid input.
8258 rm -f conftest.err conftest.
$ac_ext
8260 # OK, works on sane cases. Now check whether non-existent headers
8261 # can be detected and how.
8262 cat >conftest.
$ac_ext <<_ACEOF
8265 cat confdefs.h
>>conftest.
$ac_ext
8266 cat >>conftest.
$ac_ext <<_ACEOF
8267 /* end confdefs.h. */
8268 #include <ac_nonexistent.h>
8270 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8271 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8273 grep -v '^ *+' conftest.er1
>conftest.err
8275 cat conftest.err
>&5
8276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8277 (exit $ac_status); } >/dev
/null
; then
8278 if test -s conftest.err
; then
8279 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8280 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8287 if test -z "$ac_cpp_err"; then
8288 # Broken: success on invalid input.
8291 echo "$as_me: failed program was:" >&5
8292 sed 's/^/| /' conftest.
$ac_ext >&5
8294 # Passes both tests.
8298 rm -f conftest.err conftest.
$ac_ext
8301 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8302 rm -f conftest.err conftest.
$ac_ext
8303 if $ac_preproc_ok; then
8306 _lt_caught_CXX_error
=yes
8310 ac_cpp
='$CPP $CPPFLAGS'
8311 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8312 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8313 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8316 _lt_caught_CXX_error
=yes
8323 # This can be used to rebuild libtool when needed
8324 LIBTOOL_DEPS
="$ltmain"
8326 # Always use our own libtool.
8327 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8353 test -z "$LN_S" && LN_S
="ln -s"
8368 if test -n "${ZSH_VERSION+set}" ; then
8369 setopt NO_GLOB_SUBST
8372 echo "$as_me:$LINENO: checking for objdir" >&5
8373 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
8374 if test "${lt_cv_objdir+set}" = set; then
8375 echo $ECHO_N "(cached) $ECHO_C" >&6
8377 rm -f .libs
2>/dev
/null
8378 mkdir .libs
2>/dev
/null
8379 if test -d .libs
; then
8382 # MS-DOS does not allow filenames that begin with a dot.
8385 rmdir .libs
2>/dev
/null
8387 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8388 echo "${ECHO_T}$lt_cv_objdir" >&6
8389 objdir
=$lt_cv_objdir
8395 cat >>confdefs.h
<<_ACEOF
8396 #define LT_OBJDIR "$lt_cv_objdir/"
8417 # AIX sometimes has problems with the GCC collect2 program. For some
8418 # reason, if we set the COLLECT_NAMES environment variable, the problems
8419 # vanish in a puff of smoke.
8420 if test "X${COLLECT_NAMES+set}" != Xset
; then
8422 export COLLECT_NAMES
8427 # Sed substitution that helps us do robust quoting. It backslashifies
8428 # metacharacters that are still active within double-quoted strings.
8429 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
8431 # Same as above, but do not quote variable references.
8432 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
8434 # Sed substitution to delay expansion of an escaped shell variable in a
8435 # double_quote_subst'ed string.
8436 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8438 # Sed substitution to delay expansion of an escaped single quote.
8439 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
8441 # Sed substitution to avoid accidental globbing in evaled expressions
8442 no_glob_subst
='s/\*/\\\*/g'
8446 can_build_shared
=yes
8448 # All known linkers require a `.a' archive for static linking (except MSVC,
8449 # which needs '.lib').
8452 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8455 old_CFLAGS
="$CFLAGS"
8457 # Set sane defaults for various variables
8458 test -z "$CC" && CC
=cc
8459 test -z "$LTCC" && LTCC
=$CC
8460 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8461 test -z "$LD" && LD
=ld
8462 test -z "$ac_objext" && ac_objext
=o
8464 for cc_temp
in $compiler""; do
8466 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8467 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8472 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8475 # Only perform the check for file, if the check method requires it
8476 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8477 case $deplibs_check_method in
8479 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8480 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8481 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
8482 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8483 echo $ECHO_N "(cached) $ECHO_C" >&6
8487 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8490 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8491 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8492 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8493 for ac_dir
in $ac_dummy; do
8495 test -z "$ac_dir" && ac_dir
=.
8496 if test -f $ac_dir/${ac_tool_prefix}file; then
8497 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8498 if test -n "$file_magic_test_file"; then
8499 case $deplibs_check_method in
8501 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8502 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8503 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8504 $EGREP "$file_magic_regex" > /dev
/null
; then
8509 *** Warning: the command libtool uses to detect shared libraries,
8510 *** $file_magic_cmd, produces output that libtool cannot recognize.
8511 *** The result is that libtool may fail to recognize shared libraries
8512 *** as such. This will affect the creation of libtool libraries that
8513 *** depend on shared libraries, but programs linked with such libtool
8514 *** libraries will work regardless of this problem. Nevertheless, you
8515 *** may want to report the problem to your system manager and/or to
8516 *** bug-libtool@gnu.org
8526 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8531 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8532 if test -n "$MAGIC_CMD"; then
8533 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8534 echo "${ECHO_T}$MAGIC_CMD" >&6
8536 echo "$as_me:$LINENO: result: no" >&5
8537 echo "${ECHO_T}no" >&6
8544 if test -z "$lt_cv_path_MAGIC_CMD"; then
8545 if test -n "$ac_tool_prefix"; then
8546 echo "$as_me:$LINENO: checking for file" >&5
8547 echo $ECHO_N "checking for file... $ECHO_C" >&6
8548 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8549 echo $ECHO_N "(cached) $ECHO_C" >&6
8553 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8556 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8557 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8558 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8559 for ac_dir
in $ac_dummy; do
8561 test -z "$ac_dir" && ac_dir
=.
8562 if test -f $ac_dir/file; then
8563 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8564 if test -n "$file_magic_test_file"; then
8565 case $deplibs_check_method in
8567 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8568 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8569 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8570 $EGREP "$file_magic_regex" > /dev
/null
; then
8575 *** Warning: the command libtool uses to detect shared libraries,
8576 *** $file_magic_cmd, produces output that libtool cannot recognize.
8577 *** The result is that libtool may fail to recognize shared libraries
8578 *** as such. This will affect the creation of libtool libraries that
8579 *** depend on shared libraries, but programs linked with such libtool
8580 *** libraries will work regardless of this problem. Nevertheless, you
8581 *** may want to report the problem to your system manager and/or to
8582 *** bug-libtool@gnu.org
8592 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8597 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8598 if test -n "$MAGIC_CMD"; then
8599 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8600 echo "${ECHO_T}$MAGIC_CMD" >&6
8602 echo "$as_me:$LINENO: result: no" >&5
8603 echo "${ECHO_T}no" >&6
8616 # Use C for the default configuration in the libtool script
8620 ac_cpp
='$CPP $CPPFLAGS'
8621 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8622 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8623 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8626 # Source file extension for C test sources.
8629 # Object file extension for compiled C test sources.
8633 # Code to be used in simple compile tests
8634 lt_simple_compile_test_code
="int some_variable = 0;"
8636 # Code to be used in simple link tests
8637 lt_simple_link_test_code
='int main(){return(0);}'
8645 # If no C compiler was specified, use CC.
8648 # If no C compiler flags were specified, use CFLAGS.
8649 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8651 # Allow CC to be a program name with arguments.
8654 # Save the default compiler, since it gets overwritten when the other
8655 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8656 compiler_DEFAULT
=$CC
8658 # save warnings/boilerplate of simple test code
8659 ac_outfile
=conftest.
$ac_objext
8660 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8661 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8662 _lt_compiler_boilerplate
=`cat conftest.err`
8665 ac_outfile
=conftest.
$ac_objext
8666 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8667 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8668 _lt_linker_boilerplate
=`cat conftest.err`
8673 ## There is no encapsulation within the following macros, do not change
8674 ## the running order or otherwise move them around unless you know exactly
8675 ## what you are doing...
8676 if test -n "$compiler"; then
8678 lt_prog_compiler_no_builtin_flag
=
8680 if test "$GCC" = yes; then
8681 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8683 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8684 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
8685 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8686 echo $ECHO_N "(cached) $ECHO_C" >&6
8688 lt_cv_prog_compiler_rtti_exceptions
=no
8689 ac_outfile
=conftest.
$ac_objext
8690 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8691 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8692 # Insert the option either (1) after the last *FLAGS variable, or
8693 # (2) before a word containing "conftest.", or (3) at the end.
8694 # Note that $ac_compile itself does not contain backslashes and begins
8695 # with a dollar sign (not a hyphen), so the echo should work correctly.
8696 # The option is referenced via a variable to avoid confusing sed.
8697 lt_compile
=`echo "$ac_compile" | $SED \
8698 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8699 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8700 -e 's:$: $lt_compiler_flag:'`
8701 (eval echo "\"\$as_me:8701: $lt_compile\"" >&5)
8702 (eval "$lt_compile" 2>conftest.err
)
8704 cat conftest.err
>&5
8705 echo "$as_me:8705: \$? = $ac_status" >&5
8706 if (exit $ac_status) && test -s "$ac_outfile"; then
8707 # The compiler can only warn and ignore the option if not recognized
8708 # So say no if there are warnings other than the usual output.
8709 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8710 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8711 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8712 lt_cv_prog_compiler_rtti_exceptions
=yes
8718 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8719 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
8721 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8722 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8734 lt_prog_compiler_wl
=
8735 lt_prog_compiler_pic
=
8736 lt_prog_compiler_static
=
8738 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8739 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
8741 if test "$GCC" = yes; then
8742 lt_prog_compiler_wl
='-Wl,'
8743 lt_prog_compiler_static
='-static'
8747 # All AIX code is PIC.
8748 if test "$host_cpu" = ia64
; then
8749 # AIX 5 now supports IA64 processor
8750 lt_prog_compiler_static
='-Bstatic'
8755 if test "$host_cpu" = m68k
; then
8756 # FIXME: we need at least 68020 code to build shared libraries, but
8757 # adding the `-m68020' flag to GCC prevents building anything better,
8759 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8763 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8764 # PIC is the default for these OSes.
8767 mingw
* | cygwin
* | pw32
* | os2
*)
8768 # This hack is so that the source file can tell whether it is being
8769 # built for inclusion in a dll (and should export symbols for example).
8770 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8771 # (--disable-auto-import) libraries
8772 lt_prog_compiler_pic
='-DDLL_EXPORT'
8775 darwin
* | rhapsody
*)
8776 # PIC is the default on this platform
8777 # Common symbols not allowed in MH_DYLIB files
8778 lt_prog_compiler_pic
='-fno-common'
8782 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8789 lt_prog_compiler_pic
='-fPIC'
8795 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8796 # Instead, we relocate shared libraries at runtime.
8800 # Just because we use GCC doesn't mean we suddenly get shared libraries
8801 # on systems that don't support them.
8802 lt_prog_compiler_can_build_shared
=no
8807 # QNX uses GNU C++, but need to define -shared option too, otherwise
8809 lt_prog_compiler_pic
='-fPIC -shared'
8813 if test -d /usr
/nec
; then
8814 lt_prog_compiler_pic
=-Kconform_pic
8819 lt_prog_compiler_pic
='-fPIC'
8823 # PORTME Check for flag to pass linker flags through the system compiler.
8826 lt_prog_compiler_wl
='-Wl,'
8827 if test "$host_cpu" = ia64
; then
8828 # AIX 5 now supports IA64 processor
8829 lt_prog_compiler_static
='-Bstatic'
8831 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8835 # PIC is the default on this platform
8836 # Common symbols not allowed in MH_DYLIB files
8837 case $cc_basename in
8839 lt_prog_compiler_pic
='-qnocommon'
8840 lt_prog_compiler_wl
='-Wl,'
8845 mingw
* | cygwin
* | pw32
* | os2
*)
8846 # This hack is so that the source file can tell whether it is being
8847 # built for inclusion in a dll (and should export symbols for example).
8848 lt_prog_compiler_pic
='-DDLL_EXPORT'
8851 hpux9
* | hpux10
* | hpux11
*)
8852 lt_prog_compiler_wl
='-Wl,'
8853 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8860 lt_prog_compiler_pic
='+Z'
8863 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8864 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8867 irix5
* | irix6
* | nonstopux
*)
8868 lt_prog_compiler_wl
='-Wl,'
8869 # PIC (with -KPIC) is the default.
8870 lt_prog_compiler_static
='-non_shared'
8873 linux
* | k
*bsd
*-gnu)
8874 case $cc_basename in
8876 lt_prog_compiler_wl
='-Wl,'
8877 lt_prog_compiler_pic
='-KPIC'
8878 lt_prog_compiler_static
='-static'
8880 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8881 # Portland Group compilers (*not* the Pentium gcc compiler,
8882 # which looks to be a dead project)
8883 lt_prog_compiler_wl
='-Wl,'
8884 lt_prog_compiler_pic
='-fpic'
8885 lt_prog_compiler_static
='-Bstatic'
8888 lt_prog_compiler_wl
='-Wl,'
8889 # All Alpha code is PIC.
8890 lt_prog_compiler_static
='-non_shared'
8893 case `$CC -V 2>&1 | sed 5q` in
8896 lt_prog_compiler_pic
='-KPIC'
8897 lt_prog_compiler_static
='-Bstatic'
8898 lt_prog_compiler_wl
='-Wl,'
8901 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8902 lt_prog_compiler_pic
='-KPIC'
8903 lt_prog_compiler_static
='-Bstatic'
8904 lt_prog_compiler_wl
=''
8912 lt_prog_compiler_pic
='-KPIC'
8913 lt_prog_compiler_static
='-Bstatic'
8917 # QNX uses GNU C++, but need to define -shared option too, otherwise
8919 lt_prog_compiler_pic
='-fPIC -shared'
8922 osf3
* | osf4
* | osf5
*)
8923 lt_prog_compiler_wl
='-Wl,'
8924 # All OSF/1 code is PIC.
8925 lt_prog_compiler_static
='-non_shared'
8929 lt_prog_compiler_static
='-non_shared'
8933 lt_prog_compiler_pic
='-KPIC'
8934 lt_prog_compiler_static
='-Bstatic'
8935 case $cc_basename in
8937 lt_prog_compiler_wl
='-Qoption ld ';;
8939 lt_prog_compiler_wl
='-Wl,';;
8944 lt_prog_compiler_wl
='-Qoption ld '
8945 lt_prog_compiler_pic
='-PIC'
8946 lt_prog_compiler_static
='-Bstatic'
8949 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8950 lt_prog_compiler_wl
='-Wl,'
8951 lt_prog_compiler_pic
='-KPIC'
8952 lt_prog_compiler_static
='-Bstatic'
8956 if test -d /usr
/nec
;then
8957 lt_prog_compiler_pic
='-Kconform_pic'
8958 lt_prog_compiler_static
='-Bstatic'
8962 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8963 lt_prog_compiler_wl
='-Wl,'
8964 lt_prog_compiler_pic
='-KPIC'
8965 lt_prog_compiler_static
='-Bstatic'
8969 lt_prog_compiler_wl
='-Wl,'
8970 lt_prog_compiler_can_build_shared
=no
8974 lt_prog_compiler_pic
='-pic'
8975 lt_prog_compiler_static
='-Bstatic'
8979 lt_prog_compiler_can_build_shared
=no
8985 # For platforms which do not support PIC, -DPIC is meaningless:
8987 lt_prog_compiler_pic
=
8990 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8993 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8994 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
9002 # Check to make sure the PIC flag actually works.
9004 if test -n "$lt_prog_compiler_pic"; then
9005 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9006 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
9007 if test "${lt_prog_compiler_pic_works+set}" = set; then
9008 echo $ECHO_N "(cached) $ECHO_C" >&6
9010 lt_prog_compiler_pic_works
=no
9011 ac_outfile
=conftest.
$ac_objext
9012 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9013 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9014 # Insert the option either (1) after the last *FLAGS variable, or
9015 # (2) before a word containing "conftest.", or (3) at the end.
9016 # Note that $ac_compile itself does not contain backslashes and begins
9017 # with a dollar sign (not a hyphen), so the echo should work correctly.
9018 # The option is referenced via a variable to avoid confusing sed.
9019 lt_compile
=`echo "$ac_compile" | $SED \
9020 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9021 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9022 -e 's:$: $lt_compiler_flag:'`
9023 (eval echo "\"\$as_me:9023: $lt_compile\"" >&5)
9024 (eval "$lt_compile" 2>conftest.err
)
9026 cat conftest.err
>&5
9027 echo "$as_me:9027: \$? = $ac_status" >&5
9028 if (exit $ac_status) && test -s "$ac_outfile"; then
9029 # The compiler can only warn and ignore the option if not recognized
9030 # So say no if there are warnings other than the usual output.
9031 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
9032 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9033 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9034 lt_prog_compiler_pic_works
=yes
9040 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
9041 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
9043 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
9044 case $lt_prog_compiler_pic in
9046 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9049 lt_prog_compiler_pic
=
9050 lt_prog_compiler_can_build_shared
=no
9061 # Check to make sure the static flag actually works.
9063 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9064 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9065 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
9066 if test "${lt_prog_compiler_static_works+set}" = set; then
9067 echo $ECHO_N "(cached) $ECHO_C" >&6
9069 lt_prog_compiler_static_works
=no
9070 save_LDFLAGS
="$LDFLAGS"
9071 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9072 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9073 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9074 # The linker can only warn and ignore the option if not recognized
9075 # So say no if there are warnings
9076 if test -s conftest.err
; then
9077 # Append any errors to the config.log.
9078 cat conftest.err
1>&5
9079 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
9080 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9081 if diff conftest.exp conftest.er2
>/dev
/null
; then
9082 lt_prog_compiler_static_works
=yes
9085 lt_prog_compiler_static_works
=yes
9089 LDFLAGS
="$save_LDFLAGS"
9092 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
9093 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
9095 if test x
"$lt_prog_compiler_static_works" = xyes
; then
9098 lt_prog_compiler_static
=
9107 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9108 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
9109 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9110 echo $ECHO_N "(cached) $ECHO_C" >&6
9112 lt_cv_prog_compiler_c_o
=no
9113 $RM -r conftest
2>/dev
/null
9117 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9119 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9120 # Insert the option either (1) after the last *FLAGS variable, or
9121 # (2) before a word containing "conftest.", or (3) at the end.
9122 # Note that $ac_compile itself does not contain backslashes and begins
9123 # with a dollar sign (not a hyphen), so the echo should work correctly.
9124 lt_compile
=`echo "$ac_compile" | $SED \
9125 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9126 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9127 -e 's:$: $lt_compiler_flag:'`
9128 (eval echo "\"\$as_me:9128: $lt_compile\"" >&5)
9129 (eval "$lt_compile" 2>out
/conftest.err
)
9131 cat out
/conftest.err
>&5
9132 echo "$as_me:9132: \$? = $ac_status" >&5
9133 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9135 # The compiler can only warn and ignore the option if not recognized
9136 # So say no if there are warnings
9137 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9138 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9139 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9140 lt_cv_prog_compiler_c_o
=yes
9145 # SGI C++ compiler will create directory out/ii_files/ for
9146 # template instantiation
9147 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9148 $RM out
/* && rmdir out
9154 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9155 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
9162 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9163 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
9164 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9165 echo $ECHO_N "(cached) $ECHO_C" >&6
9167 lt_cv_prog_compiler_c_o
=no
9168 $RM -r conftest
2>/dev
/null
9172 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9174 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9175 # Insert the option either (1) after the last *FLAGS variable, or
9176 # (2) before a word containing "conftest.", or (3) at the end.
9177 # Note that $ac_compile itself does not contain backslashes and begins
9178 # with a dollar sign (not a hyphen), so the echo should work correctly.
9179 lt_compile
=`echo "$ac_compile" | $SED \
9180 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9181 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9182 -e 's:$: $lt_compiler_flag:'`
9183 (eval echo "\"\$as_me:9183: $lt_compile\"" >&5)
9184 (eval "$lt_compile" 2>out
/conftest.err
)
9186 cat out
/conftest.err
>&5
9187 echo "$as_me:9187: \$? = $ac_status" >&5
9188 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9190 # The compiler can only warn and ignore the option if not recognized
9191 # So say no if there are warnings
9192 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9193 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9194 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9195 lt_cv_prog_compiler_c_o
=yes
9200 # SGI C++ compiler will create directory out/ii_files/ for
9201 # template instantiation
9202 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9203 $RM out
/* && rmdir out
9209 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9210 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
9215 hard_links
="nottested"
9216 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9217 # do not overwrite the value of need_locks provided by the user
9218 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9219 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
9222 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9224 ln conftest.a conftest.b
2>&5 || hard_links
=no
9225 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9226 echo "$as_me:$LINENO: result: $hard_links" >&5
9227 echo "${ECHO_T}$hard_links" >&6
9228 if test "$hard_links" = no
; then
9229 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9230 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9242 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9243 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9246 allow_undefined_flag
=
9247 always_export_symbols
=no
9249 archive_expsym_cmds
=
9250 compiler_needs_object
=no
9251 enable_shared_with_static_runtimes
=no
9252 export_dynamic_flag_spec
=
9253 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9254 hardcode_automatic
=no
9256 hardcode_direct_absolute
=no
9257 hardcode_libdir_flag_spec
=
9258 hardcode_libdir_flag_spec_ld
=
9259 hardcode_libdir_separator
=
9261 hardcode_shlibpath_var
=unsupported
9263 link_all_deplibs
=unknown
9266 old_archive_from_new_cmds
=
9267 old_archive_from_expsyms_cmds
=
9268 thread_safe_flag_spec
=
9269 whole_archive_flag_spec
=
9270 # include_expsyms should be a list of space-separated symbols to be *always*
9271 # included in the symbol list
9273 # exclude_expsyms can be an extended regexp of symbols to exclude
9274 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9275 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9276 # as well as any symbol that contains `d'.
9277 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
9278 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9279 # platforms (ab)use it in PIC code, but their linkers get confused if
9280 # the symbol is explicitly referenced. Since portable code cannot
9281 # rely on this symbol name, it's probably fine to never include it in
9282 # preloaded symbol tables.
9283 extract_expsyms_cmds
=
9286 cygwin
* | mingw
* | pw32
*)
9287 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9288 # When not using gcc, we currently assume that we are using
9289 # Microsoft Visual C++.
9290 if test "$GCC" != yes; then
9295 # we just hope/assume this is gcc and not c89 (= MSVC++)
9304 if test "$with_gnu_ld" = yes; then
9305 # If archive_cmds runs LD, not CC, wlarc should be empty
9308 # Set some defaults for GNU ld with shared library support. These
9309 # are reset later if shared libraries are not supported. Putting them
9310 # here allows them to be overridden if necessary.
9311 runpath_var
=LD_RUN_PATH
9312 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9313 export_dynamic_flag_spec
='${wl}--export-dynamic'
9314 # ancient GNU ld didn't support --whole-archive et. al.
9315 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9316 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9318 whole_archive_flag_spec
=
9320 supports_anon_versioning
=no
9321 case `$LD -v 2>&1` in
9322 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9323 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9324 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9325 *\
2.11.
*) ;; # other 2.11 versions
9326 *) supports_anon_versioning
=yes ;;
9329 # See if GNU ld supports shared libraries.
9332 # On AIX/PPC, the GNU linker is very broken
9333 if test "$host_cpu" != ia64
; then
9337 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9338 *** to be unable to reliably create shared libraries on AIX.
9339 *** Therefore, libtool is disabling shared libraries support. If you
9340 *** really care for shared libraries, you may want to modify your PATH
9341 *** so that a non-GNU linker is found, and then restart.
9348 if test "$host_cpu" = m68k
; then
9349 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)'
9350 hardcode_libdir_flag_spec
='-L$libdir'
9351 hardcode_minus_L
=yes
9354 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9355 # that the semantics of dynamic libraries on AmigaOS, at least up
9356 # to version 4, is to share data among multiple programs linked
9357 # with the same dynamic library. Since this doesn't match the
9358 # behavior of shared libraries on other platforms, we can't use
9364 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9365 allow_undefined_flag
=unsupported
9366 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9367 # support --undefined. This deserves some investigation. FIXME
9368 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9374 cygwin
* | mingw
* | pw32
*)
9375 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9376 # as there is no search path for DLLs.
9377 hardcode_libdir_flag_spec
='-L$libdir'
9378 allow_undefined_flag
=unsupported
9379 always_export_symbols
=no
9380 enable_shared_with_static_runtimes
=yes
9381 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9383 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9384 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9385 # If the export-symbols file already is a .def file (1st line
9386 # is EXPORTS), use it as is; otherwise, prepend...
9387 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9388 cp $export_symbols $output_objdir/$soname.def;
9390 echo EXPORTS > $output_objdir/$soname.def;
9391 cat $export_symbols >> $output_objdir/$soname.def;
9393 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9401 hardcode_shlibpath_var
=no
9402 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9403 export_dynamic_flag_spec
='${wl}-E'
9404 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9405 # Instead, shared libraries are loaded at an image base (0x10000000 by
9406 # default) and relocated if they conflict, which is a slow very memory
9407 # consuming and fragmenting process. To avoid this, we pick a random,
9408 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9409 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9410 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9411 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'
9414 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
9416 if test "$host_os" = linux-dietlibc
; then
9417 case $cc_basename in
9418 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9421 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9422 && test "$tmp_diet" = no
9425 case $cc_basename,$host_cpu in
9426 pgcc
*) # Portland Group C compiler
9427 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'
9428 tmp_addflag
=' $pic_flag'
9430 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9431 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'
9432 tmp_addflag
=' $pic_flag -Mnomain' ;;
9433 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9434 tmp_addflag
=' -i_dynamic' ;;
9435 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9436 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9437 ifc
* | ifort
*) # Intel Fortran compiler
9438 tmp_addflag
=' -nofor_main' ;;
9440 case `$CC -V 2>&1 | sed 5q` in
9441 *Sun\ C
*) # Sun C 5.9
9442 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'
9443 compiler_needs_object
=yes
9444 tmp_sharedflag
='-G' ;;
9445 *Sun\ F
*) # Sun Fortran 8.3
9446 tmp_sharedflag
='-G' ;;
9448 tmp_sharedflag
='-shared' ;;
9450 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9452 if test "x$supports_anon_versioning" = xyes
; then
9453 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9454 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9455 echo "local: *; };" >> $output_objdir/$libname.ver~
9456 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9464 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9465 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9468 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9469 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9474 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9478 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9479 *** create shared libraries on Solaris systems. Therefore, libtool
9480 *** is disabling shared libraries support. We urge you to upgrade GNU
9481 *** binutils to release 2.9.1 or newer. Another option is to modify
9482 *** your PATH or compiler configuration so that the native linker is
9483 *** used, and then restart.
9486 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9487 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9488 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9494 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9495 case `$LD -v 2>&1` in
9496 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9500 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9501 *** reliably create shared libraries on SCO systems. Therefore, libtool
9502 *** is disabling shared libraries support. We urge you to upgrade GNU
9503 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9504 *** your PATH or compiler configuration so that the native linker is
9505 *** used, and then restart.
9510 # For security reasons, it is highly recommended that you always
9511 # use absolute paths for naming shared libraries, and exclude the
9512 # DT_RUNPATH tag from executables and libraries. But doing so
9513 # requires that you compile everything twice, which is a pain.
9514 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9515 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9516 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9517 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9526 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9529 hardcode_shlibpath_var
=no
9533 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9534 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9535 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9542 if test "$ld_shlibs" = no
; then
9544 hardcode_libdir_flag_spec
=
9545 export_dynamic_flag_spec
=
9546 whole_archive_flag_spec
=
9549 # PORTME fill in a description of your system's linker (not GNU ld)
9552 allow_undefined_flag
=unsupported
9553 always_export_symbols
=yes
9554 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'
9555 # Note: this linker hardcodes the directories in LIBPATH if there
9556 # are no directories specified by -L.
9557 hardcode_minus_L
=yes
9558 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9559 # Neither direct hardcoding nor static linking is supported with a
9561 hardcode_direct
=unsupported
9566 if test "$host_cpu" = ia64
; then
9567 # On IA64, the linker does run time linking by default, so we don't
9568 # have to do anything special.
9569 aix_use_runtimelinking
=no
9570 exp_sym_flag
='-Bexport'
9573 # If we're using GNU nm, then we don't want the "-C" option.
9574 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9575 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9576 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'
9578 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'
9580 aix_use_runtimelinking
=no
9582 # Test if we are trying to use run time linking or normal
9583 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9584 # need to do runtime linking.
9585 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9586 for ld_flag
in $LDFLAGS; do
9587 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9588 aix_use_runtimelinking
=yes
9595 exp_sym_flag
='-bexport'
9596 no_entry_flag
='-bnoentry'
9599 # When large executables or shared objects are built, AIX ld can
9600 # have problems creating the table of contents. If linking a library
9601 # or program results in "error TOC overflow" add -mminimal-toc to
9602 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9603 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9607 hardcode_direct_absolute
=yes
9608 hardcode_libdir_separator
=':'
9609 link_all_deplibs
=yes
9610 file_list_spec
='${wl}-f,'
9612 if test "$GCC" = yes; then
9613 case $host_os in aix4.
[012]|aix4.
[012].
*)
9614 # We only want to do this on AIX 4.2 and lower, the check
9615 # below for broken collect2 doesn't work under 4.3+
9616 collect2name
=`${CC} -print-prog-name=collect2`
9617 if test -f "$collect2name" &&
9618 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9620 # We have reworked collect2
9623 # We have old collect2
9624 hardcode_direct
=unsupported
9625 # It fails to find uninstalled libraries when the uninstalled
9626 # path is not listed in the libpath. Setting hardcode_minus_L
9627 # to unsupported forces relinking
9628 hardcode_minus_L
=yes
9629 hardcode_libdir_flag_spec
='-L$libdir'
9630 hardcode_libdir_separator
=
9634 shared_flag
='-shared'
9635 if test "$aix_use_runtimelinking" = yes; then
9636 shared_flag
="$shared_flag "'${wl}-G'
9640 if test "$host_cpu" = ia64
; then
9641 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9642 # chokes on -Wl,-G. The following line is correct:
9645 if test "$aix_use_runtimelinking" = yes; then
9646 shared_flag
='${wl}-G'
9648 shared_flag
='${wl}-bM:SRE'
9653 # It seems that -bexpall does not export symbols beginning with
9654 # underscore (_), so it is better to generate a list of symbols to export.
9655 always_export_symbols
=yes
9656 if test "$aix_use_runtimelinking" = yes; then
9657 # Warning - without using the other runtime loading flags (-brtl),
9658 # -berok will link without error, but may produce a broken library.
9659 allow_undefined_flag
='-berok'
9660 # Determine the default libpath from the value encoded in an
9662 if test x
$gcc_no_link = xyes
; then
9663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9665 { (exit 1); exit 1; }; }
9667 cat >conftest.
$ac_ext <<_ACEOF
9670 cat confdefs.h
>>conftest.
$ac_ext
9671 cat >>conftest.
$ac_ext <<_ACEOF
9672 /* end confdefs.h. */
9682 rm -f conftest.
$ac_objext conftest
$ac_exeext
9683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9684 (eval $ac_link) 2>conftest.er1
9686 grep -v '^ *+' conftest.er1
>conftest.err
9688 cat conftest.err
>&5
9689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9690 (exit $ac_status); } &&
9691 { ac_try
='test -z "$ac_c_werror_flag"
9692 || test ! -s conftest.err'
9693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9697 (exit $ac_status); }; } &&
9698 { ac_try
='test -s conftest$ac_exeext'
9699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9703 (exit $ac_status); }; }; then
9705 lt_aix_libpath_sed
='
9706 /Import File Strings/,/^$/ {
9712 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9713 # Check for a 64-bit object if we didn't find anything.
9714 if test -z "$aix_libpath"; then
9715 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9718 echo "$as_me: failed program was:" >&5
9719 sed 's/^/| /' conftest.
$ac_ext >&5
9722 rm -f conftest.err conftest.
$ac_objext \
9723 conftest
$ac_exeext conftest.
$ac_ext
9724 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9726 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9727 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"
9729 if test "$host_cpu" = ia64
; then
9730 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9731 allow_undefined_flag
="-z nodefs"
9732 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"
9734 # Determine the default libpath from the value encoded in an
9736 if test x
$gcc_no_link = xyes
; then
9737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9739 { (exit 1); exit 1; }; }
9741 cat >conftest.
$ac_ext <<_ACEOF
9744 cat confdefs.h
>>conftest.
$ac_ext
9745 cat >>conftest.
$ac_ext <<_ACEOF
9746 /* end confdefs.h. */
9756 rm -f conftest.
$ac_objext conftest
$ac_exeext
9757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9758 (eval $ac_link) 2>conftest.er1
9760 grep -v '^ *+' conftest.er1
>conftest.err
9762 cat conftest.err
>&5
9763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9764 (exit $ac_status); } &&
9765 { ac_try
='test -z "$ac_c_werror_flag"
9766 || test ! -s conftest.err'
9767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9771 (exit $ac_status); }; } &&
9772 { ac_try
='test -s conftest$ac_exeext'
9773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9777 (exit $ac_status); }; }; then
9779 lt_aix_libpath_sed
='
9780 /Import File Strings/,/^$/ {
9786 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9787 # Check for a 64-bit object if we didn't find anything.
9788 if test -z "$aix_libpath"; then
9789 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9792 echo "$as_me: failed program was:" >&5
9793 sed 's/^/| /' conftest.
$ac_ext >&5
9796 rm -f conftest.err conftest.
$ac_objext \
9797 conftest
$ac_exeext conftest.
$ac_ext
9798 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9800 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9801 # Warning - without using the other run time loading flags,
9802 # -berok will link without error, but may produce a broken library.
9803 no_undefined_flag
=' ${wl}-bernotok'
9804 allow_undefined_flag
=' ${wl}-berok'
9805 # Exported symbols can be pulled into shared objects from archives
9806 whole_archive_flag_spec
='$convenience'
9807 archive_cmds_need_lc
=yes
9808 # This is similar to how AIX traditionally builds its shared libraries.
9809 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'
9815 if test "$host_cpu" = m68k
; then
9816 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)'
9817 hardcode_libdir_flag_spec
='-L$libdir'
9818 hardcode_minus_L
=yes
9820 # see comment about different semantics on the GNU ld section
9825 export_dynamic_flag_spec
=-rdynamic
9828 cygwin
* | mingw
* | pw32
*)
9829 # When not using gcc, we currently assume that we are using
9830 # Microsoft Visual C++.
9831 # hardcode_libdir_flag_spec is actually meaningless, as there is
9832 # no search path for DLLs.
9833 hardcode_libdir_flag_spec
=' '
9834 allow_undefined_flag
=unsupported
9835 # Tell ltmain to make .lib files, not .a files.
9837 # Tell ltmain to make .dll files, not .so files.
9839 # FIXME: Setting linknames here is a bad hack.
9840 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9841 # The linker will automatically build a .lib file if we build a DLL.
9842 old_archive_from_new_cmds
='true'
9843 # FIXME: Should let the user specify the lib program.
9844 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9845 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9846 enable_shared_with_static_runtimes
=yes
9849 darwin
* | rhapsody
*)
9851 rhapsody
* | darwin1.
[012])
9852 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
9855 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
9857 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9860 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
9865 archive_cmds_need_lc
=no
9867 hardcode_automatic
=yes
9868 hardcode_shlibpath_var
=unsupported
9869 whole_archive_flag_spec
=''
9870 link_all_deplibs
=yes
9871 if test "$GCC" = yes ; then
9872 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
9873 echo $ECHO_N "(cached) $ECHO_C" >&6
9875 lt_cv_apple_cc_single_mod
=no
9876 if test -z "${LT_MULTI_MODULE}"; then
9877 # By default we will add the -single_module flag. You can override
9878 # by either setting the environment variable LT_MULTI_MODULE
9879 # non-empty at configure time, or by adding -multi-module to the
9881 echo "int foo(void){return 1;}" > conftest.c
9882 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9883 -dynamiclib ${wl}-single_module conftest.c
9884 if test -f libconftest.dylib
; then
9885 lt_cv_apple_cc_single_mod
=yes
9886 rm libconftest.dylib
9892 output_verbose_link_cmd
=echo
9893 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
9894 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9895 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}'
9897 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9898 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}'
9900 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9901 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}'
9903 case $cc_basename in
9905 output_verbose_link_cmd
=echo
9906 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
9907 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9908 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9909 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}'
9910 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}'
9920 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9921 hardcode_libdir_flag_spec
='-L$libdir'
9922 hardcode_shlibpath_var
=no
9929 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9930 # support. Future versions do this automatically, but an explicit c++rt0.o
9931 # does not break anything, and helps significantly (at the cost of a little
9934 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9935 hardcode_libdir_flag_spec
='-R$libdir'
9937 hardcode_shlibpath_var
=no
9940 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9942 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9944 hardcode_minus_L
=yes
9945 hardcode_shlibpath_var
=no
9948 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9949 freebsd
* | dragonfly
*)
9950 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9951 hardcode_libdir_flag_spec
='-R$libdir'
9953 hardcode_shlibpath_var
=no
9957 if test "$GCC" = yes; then
9958 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'
9960 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'
9962 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9963 hardcode_libdir_separator
=:
9966 # hardcode_minus_L: Not really in the search PATH,
9967 # but as the default location of the library.
9968 hardcode_minus_L
=yes
9969 export_dynamic_flag_spec
='${wl}-E'
9973 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9974 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9976 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9978 if test "$with_gnu_ld" = no
; then
9979 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9980 hardcode_libdir_flag_spec_ld
='+b $libdir'
9981 hardcode_libdir_separator
=:
9983 hardcode_direct_absolute
=yes
9984 export_dynamic_flag_spec
='${wl}-E'
9985 # hardcode_minus_L: Not really in the search PATH,
9986 # but as the default location of the library.
9987 hardcode_minus_L
=yes
9992 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9995 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9998 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10001 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10007 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10010 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10013 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10017 if test "$with_gnu_ld" = no
; then
10018 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10019 hardcode_libdir_separator
=:
10024 hardcode_shlibpath_var
=no
10027 hardcode_direct
=yes
10028 hardcode_direct_absolute
=yes
10029 export_dynamic_flag_spec
='${wl}-E'
10031 # hardcode_minus_L: Not really in the search PATH,
10032 # but as the default location of the library.
10033 hardcode_minus_L
=yes
10039 irix5
* | irix6
* | nonstopux
*)
10040 if test "$GCC" = yes; then
10041 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'
10042 # Try to use the -exported_symbol ld option, if it does not
10043 # work, assume that -exports_file does not work either and
10044 # implicitly export all symbols.
10045 save_LDFLAGS
="$LDFLAGS"
10046 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10047 if test x
$gcc_no_link = xyes
; then
10048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10050 { (exit 1); exit 1; }; }
10052 cat >conftest.
$ac_ext <<_ACEOF
10055 rm -f conftest.
$ac_objext conftest
$ac_exeext
10056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10057 (eval $ac_link) 2>conftest.er1
10059 grep -v '^ *+' conftest.er1
>conftest.err
10061 cat conftest.err
>&5
10062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10063 (exit $ac_status); } &&
10064 { ac_try
='test -z "$ac_c_werror_flag"
10065 || test ! -s conftest.err'
10066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10067 (eval $ac_try) 2>&5
10069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10070 (exit $ac_status); }; } &&
10071 { ac_try
='test -s conftest$ac_exeext'
10072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10073 (eval $ac_try) 2>&5
10075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10076 (exit $ac_status); }; }; then
10077 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'
10080 echo "$as_me: failed program was:" >&5
10081 sed 's/^/| /' conftest.
$ac_ext >&5
10084 rm -f conftest.err conftest.
$ac_objext \
10085 conftest
$ac_exeext conftest.
$ac_ext
10086 LDFLAGS
="$save_LDFLAGS"
10088 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'
10089 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'
10091 archive_cmds_need_lc
='no'
10092 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10093 hardcode_libdir_separator
=:
10095 link_all_deplibs
=yes
10099 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10100 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10102 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10104 hardcode_libdir_flag_spec
='-R$libdir'
10105 hardcode_direct
=yes
10106 hardcode_shlibpath_var
=no
10110 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10111 hardcode_direct
=yes
10112 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10113 hardcode_libdir_separator
=:
10114 hardcode_shlibpath_var
=no
10121 hardcode_direct
=yes
10122 hardcode_shlibpath_var
=no
10123 hardcode_direct_absolute
=yes
10124 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10125 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10126 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10127 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10128 export_dynamic_flag_spec
='${wl}-E'
10131 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10132 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10133 hardcode_libdir_flag_spec
='-R$libdir'
10136 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10137 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10144 hardcode_libdir_flag_spec
='-L$libdir'
10145 hardcode_minus_L
=yes
10146 allow_undefined_flag
=unsupported
10147 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'
10148 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10152 if test "$GCC" = yes; then
10153 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10154 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'
10156 allow_undefined_flag
=' -expect_unresolved \*'
10157 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'
10159 archive_cmds_need_lc
='no'
10160 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10161 hardcode_libdir_separator
=:
10164 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10165 if test "$GCC" = yes; then
10166 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10167 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'
10168 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10170 allow_undefined_flag
=' -expect_unresolved \*'
10171 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'
10172 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~
10173 $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'
10175 # Both c and cxx compiler support -rpath directly
10176 hardcode_libdir_flag_spec
='-rpath $libdir'
10178 archive_cmds_need_lc
='no'
10179 hardcode_libdir_separator
=:
10183 no_undefined_flag
=' -z defs'
10184 if test "$GCC" = yes; then
10186 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10187 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10188 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10190 case `$CC -V 2>&1` in
10193 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10194 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10195 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10199 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10200 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10201 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10205 hardcode_libdir_flag_spec
='-R$libdir'
10206 hardcode_shlibpath_var
=no
10208 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10210 # The compiler driver will combine and reorder linker options,
10211 # but understands `-z linker_flag'. GCC discards it without `$wl',
10212 # but is careful enough not to reorder.
10213 # Supported since Solaris 2.6 (maybe 2.5.1?)
10214 if test "$GCC" = yes; then
10215 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10217 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10221 link_all_deplibs
=yes
10225 if test "x$host_vendor" = xsequent
; then
10226 # Use $CC to link under sequent, because it throws in some extra .o
10227 # files that make .init and .fini sections work.
10228 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10230 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10232 hardcode_libdir_flag_spec
='-L$libdir'
10233 hardcode_direct
=yes
10234 hardcode_minus_L
=yes
10235 hardcode_shlibpath_var
=no
10239 case $host_vendor in
10241 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10242 hardcode_direct
=yes # is this really true???
10245 ## LD is ld it makes a PLAMLIB
10246 ## CC just makes a GrossModule.
10247 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10248 reload_cmds
='$CC -r -o $output$reload_objs'
10252 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10253 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10256 runpath_var
='LD_RUN_PATH'
10257 hardcode_shlibpath_var
=no
10261 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10262 hardcode_shlibpath_var
=no
10263 export_dynamic_flag_spec
='-Bexport'
10267 if test -d /usr
/nec
; then
10268 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10269 hardcode_shlibpath_var
=no
10270 runpath_var
=LD_RUN_PATH
10271 hardcode_runpath_var
=yes
10276 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10277 no_undefined_flag
='${wl}-z,text'
10278 archive_cmds_need_lc
=no
10279 hardcode_shlibpath_var
=no
10280 runpath_var
='LD_RUN_PATH'
10282 if test "$GCC" = yes; then
10283 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10284 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10286 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10287 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10291 sysv5
* | sco3.2v5
* | sco5v6
*)
10292 # Note: We can NOT use -z defs as we might desire, because we do not
10293 # link with -lc, and that would cause any symbols used from libc to
10294 # always be unresolved, which means just about no library would
10295 # ever link correctly. If we're not using GNU ld we use -z text
10296 # though, which does catch some bad symbols but isn't as heavy-handed
10298 no_undefined_flag
='${wl}-z,text'
10299 allow_undefined_flag
='${wl}-z,nodefs'
10300 archive_cmds_need_lc
=no
10301 hardcode_shlibpath_var
=no
10302 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10303 hardcode_libdir_separator
=':'
10304 link_all_deplibs
=yes
10305 export_dynamic_flag_spec
='${wl}-Bexport'
10306 runpath_var
='LD_RUN_PATH'
10308 if test "$GCC" = yes; then
10309 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10310 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10312 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10313 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10318 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10319 hardcode_libdir_flag_spec
='-L$libdir'
10320 hardcode_shlibpath_var
=no
10328 if test x
$host_vendor = xsni
; then
10330 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10331 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10337 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10338 echo "${ECHO_T}$ld_shlibs" >&6
10339 test "$ld_shlibs" = no
&& can_build_shared
=no
10341 with_gnu_ld
=$with_gnu_ld
10358 # Do we need to explicitly link libc?
10360 case "x$archive_cmds_need_lc" in
10362 # Assume -lc should be added
10363 archive_cmds_need_lc
=yes
10365 if test "$enable_shared" = yes && test "$GCC" = yes; then
10366 case $archive_cmds in
10368 # FIXME: we may have to deal with multi-command sequences.
10371 # Test whether the compiler implicitly links with -lc since on some
10372 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10373 # to ld, don't add -lc before -lgcc.
10374 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10375 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10377 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10380 (eval $ac_compile) 2>&5
10382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10383 (exit $ac_status); } 2>conftest.err
; then
10386 libobjs
=conftest.
$ac_objext
10388 wl
=$lt_prog_compiler_wl
10389 pic_flag
=$lt_prog_compiler_pic
10395 lt_save_allow_undefined_flag
=$allow_undefined_flag
10396 allow_undefined_flag
=
10397 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
10398 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10401 (exit $ac_status); }
10403 archive_cmds_need_lc
=no
10405 archive_cmds_need_lc
=yes
10407 allow_undefined_flag
=$lt_save_allow_undefined_flag
10409 cat conftest.err
1>&5
10412 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10413 echo "${ECHO_T}$archive_cmds_need_lc" >&6
10576 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10577 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
10579 if test "$withGCC" = yes; then
10581 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10582 *) lt_awk_arg
="/^libraries:/" ;;
10584 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10585 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
10586 # if the path contains ";" then we assume it to be the separator
10587 # otherwise default to the standard path separator (i.e. ":") - it is
10588 # assumed that no part of a normal pathname contains ";" but that should
10589 # okay in the real world where ";" in dirpaths is itself problematic.
10590 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10592 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10594 # Ok, now we have the path, separated by spaces, we can step through it
10595 # and add multilib dir if necessary.
10596 lt_tmp_lt_search_path_spec
=
10597 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10598 for lt_sys_path
in $lt_search_path_spec; do
10599 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10600 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10602 test -d "$lt_sys_path" && \
10603 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10606 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10607 BEGIN {RS=" "; FS="/|\n";} {
10610 for (lt_i = NF; lt_i > 0; lt_i--) {
10611 if ($lt_i != "" && $lt_i != ".") {
10612 if ($lt_i == "..") {
10615 if (lt_count == 0) {
10616 lt_foo="/" $lt_i lt_foo;
10623 if (lt_foo != "") { lt_freq[lt_foo]++; }
10624 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10626 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10628 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10630 library_names_spec
=
10631 libname_spec
='lib$name'
10635 postuninstall_cmds
=
10639 shlibpath_overrides_runpath
=unknown
10641 dynamic_linker
="$host_os ld.so"
10642 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10643 need_lib_prefix
=unknown
10644 hardcode_into_libs
=no
10646 # when you set need_version to no, make sure it does not cause -set_version
10647 # flags to be left without arguments
10648 need_version
=unknown
10653 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10654 shlibpath_var
=LIBPATH
10656 # AIX 3 has no versioning support, so we append a major version to the name.
10657 soname_spec
='${libname}${release}${shared_ext}$major'
10664 hardcode_into_libs
=yes
10665 if test "$host_cpu" = ia64
; then
10666 # AIX 5 supports IA64
10667 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10668 shlibpath_var
=LD_LIBRARY_PATH
10670 # With GCC up to 2.95.x, collect2 would create an import file
10671 # for dependence libraries. The import file would start with
10672 # the line `#! .'. This would cause the generated library to
10673 # depend on `.', always an invalid library. This was fixed in
10674 # development snapshots of GCC prior to 3.0.
10676 aix4 | aix4.
[01] | aix4.
[01].
*)
10677 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10679 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10682 can_build_shared
=no
10686 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10687 # soname into executable. Probably we can add versioning support to
10688 # collect2, so additional links can be useful in future.
10689 if test "$aix_use_runtimelinking" = yes; then
10690 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10691 # instead of lib<name>.a to let people know that these are not
10692 # typical AIX shared libraries.
10693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10695 # We preserve .a as extension for shared libraries through AIX4.2
10696 # and later when we are not doing run time linking.
10697 library_names_spec
='${libname}${release}.a $libname.a'
10698 soname_spec
='${libname}${release}${shared_ext}$major'
10700 shlibpath_var
=LIBPATH
10705 if test "$host_cpu" = m68k
; then
10706 library_names_spec
='$libname.ixlibrary $libname.a'
10707 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10708 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'
10715 library_names_spec
='${libname}${shared_ext}'
10716 dynamic_linker
="$host_os ld.so"
10717 shlibpath_var
=LIBRARY_PATH
10723 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10724 soname_spec
='${libname}${release}${shared_ext}$major'
10725 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10726 shlibpath_var
=LD_LIBRARY_PATH
10727 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10728 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10729 # the default ld.so.conf also contains /usr/contrib/lib and
10730 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10731 # libtool to hard-code these into programs
10734 cygwin
* | mingw
* | pw32
*)
10735 version_type
=windows
10740 case $withGCC,$host_os in
10741 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
10742 library_names_spec
='$libname.dll.a'
10743 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10744 postinstall_cmds
='base_file=`basename \${file}`~
10745 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10746 dldir=$destdir/`dirname \$dlpath`~
10747 test -d \$dldir || mkdir -p \$dldir~
10748 $install_prog $dir/$dlname \$dldir/$dlname~
10749 chmod a+x \$dldir/$dlname~
10750 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10751 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10753 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10754 dlpath=$dir/\$dldll~
10756 shlibpath_overrides_runpath
=yes
10760 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10761 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10762 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10765 # MinGW DLLs use traditional 'lib' prefix
10766 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10767 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10768 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10769 # It is most probably a Windows format PATH printed by
10770 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10771 # path with ; separators, and with drive letters. We can handle the
10772 # drive letters (cygwin fileutils understands them), so leave them,
10773 # especially as we might pass files found there to a mingw objdump,
10774 # which wouldn't understand a cygwinified path. Ahh.
10775 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10777 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10781 # pw32 DLLs use 'pw' prefix rather than 'lib'
10782 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10788 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10791 dynamic_linker
='Win32 ld.exe'
10792 # FIXME: first we should search . and the directory the executable is in
10796 darwin
* | rhapsody
*)
10797 dynamic_linker
="$host_os dyld"
10798 version_type
=darwin
10801 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10802 soname_spec
='${libname}${release}${major}$shared_ext'
10803 shlibpath_overrides_runpath
=yes
10804 shlibpath_var
=DYLD_LIBRARY_PATH
10805 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10807 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10808 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10815 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10816 soname_spec
='${libname}${release}${shared_ext}$major'
10817 shlibpath_var
=LD_LIBRARY_PATH
10824 freebsd
* | dragonfly
*)
10825 # DragonFly does not have aout. When/if they implement a new
10826 # versioning mechanism, adjust this.
10827 if test -x /usr
/bin
/objformat
; then
10828 objformat
=`/usr/bin/objformat`
10831 freebsd
[123]*) objformat
=aout
;;
10832 *) objformat
=elf
;;
10835 version_type
=freebsd-
$objformat
10836 case $version_type in
10838 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10843 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10847 shlibpath_var
=LD_LIBRARY_PATH
10850 shlibpath_overrides_runpath
=yes
10852 freebsd3.
[01]* | freebsdelf3.
[01]*)
10853 shlibpath_overrides_runpath
=yes
10854 hardcode_into_libs
=yes
10856 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10857 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10858 shlibpath_overrides_runpath
=no
10859 hardcode_into_libs
=yes
10861 *) # from 4.6 on, and DragonFly
10862 shlibpath_overrides_runpath
=yes
10863 hardcode_into_libs
=yes
10872 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10873 soname_spec
='${libname}${release}${shared_ext}$major'
10874 shlibpath_var
=LD_LIBRARY_PATH
10875 hardcode_into_libs
=yes
10878 hpux9
* | hpux10
* | hpux11
*)
10879 # Give a soname corresponding to the major version so that dld.sl refuses to
10880 # link against other versions.
10887 hardcode_into_libs
=yes
10888 dynamic_linker
="$host_os dld.so"
10889 shlibpath_var
=LD_LIBRARY_PATH
10890 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10891 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10892 soname_spec
='${libname}${release}${shared_ext}$major'
10893 if test "X$HPUX_IA64_MODE" = X32
; then
10894 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10896 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10898 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10902 hardcode_into_libs
=yes
10903 dynamic_linker
="$host_os dld.sl"
10904 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10905 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10906 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10907 soname_spec
='${libname}${release}${shared_ext}$major'
10908 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10909 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10913 dynamic_linker
="$host_os dld.sl"
10914 shlibpath_var
=SHLIB_PATH
10915 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10916 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10917 soname_spec
='${libname}${release}${shared_ext}$major'
10920 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10921 postinstall_cmds
='chmod 555 $lib'
10928 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10929 soname_spec
='${libname}${release}${shared_ext}$major'
10930 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10931 shlibpath_var
=LD_LIBRARY_PATH
10932 shlibpath_overrides_runpath
=no
10933 hardcode_into_libs
=yes
10936 irix5
* | irix6
* | nonstopux
*)
10938 nonstopux
*) version_type
=nonstopux
;;
10940 if test "$lt_cv_prog_gnu_ld" = yes; then
10948 soname_spec
='${libname}${release}${shared_ext}$major'
10949 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10951 irix5
* | nonstopux
*)
10952 libsuff
= shlibsuff
=
10955 case $LD in # libtool.m4 will add one of these switches to LD
10956 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10957 libsuff
= shlibsuff
= libmagic
=32-bit;;
10958 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10959 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10960 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10961 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10962 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10966 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10967 shlibpath_overrides_runpath
=no
10968 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10969 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10970 hardcode_into_libs
=yes
10973 # No shared lib support for Linux oldld, aout, or coff.
10974 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10978 # This must be Linux ELF.
10979 linux
* | k
*bsd
*-gnu)
10983 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10984 soname_spec
='${libname}${release}${shared_ext}$major'
10985 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10986 shlibpath_var
=LD_LIBRARY_PATH
10987 shlibpath_overrides_runpath
=no
10988 # Some binutils ld are patched to set DT_RUNPATH
10989 save_LDFLAGS
=$LDFLAGS
10990 save_libdir
=$libdir
10991 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10992 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10993 if test x
$gcc_no_link = xyes
; then
10994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10996 { (exit 1); exit 1; }; }
10998 cat >conftest.
$ac_ext <<_ACEOF
11001 cat confdefs.h
>>conftest.
$ac_ext
11002 cat >>conftest.
$ac_ext <<_ACEOF
11003 /* end confdefs.h. */
11013 rm -f conftest.
$ac_objext conftest
$ac_exeext
11014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11015 (eval $ac_link) 2>conftest.er1
11017 grep -v '^ *+' conftest.er1
>conftest.err
11019 cat conftest.err
>&5
11020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11021 (exit $ac_status); } &&
11022 { ac_try
='test -z "$ac_c_werror_flag"
11023 || test ! -s conftest.err'
11024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11025 (eval $ac_try) 2>&5
11027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11028 (exit $ac_status); }; } &&
11029 { ac_try
='test -s conftest$ac_exeext'
11030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11031 (eval $ac_try) 2>&5
11033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11034 (exit $ac_status); }; }; then
11035 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
11036 shlibpath_overrides_runpath
=yes
11040 echo "$as_me: failed program was:" >&5
11041 sed 's/^/| /' conftest.
$ac_ext >&5
11044 rm -f conftest.err conftest.
$ac_objext \
11045 conftest
$ac_exeext conftest.
$ac_ext
11046 LDFLAGS
=$save_LDFLAGS
11047 libdir
=$save_libdir
11049 # This implies no fast_install, which is unacceptable.
11050 # Some rework will be needed to allow for fast_install
11051 # before this can be enabled.
11052 hardcode_into_libs
=yes
11054 # Append ld.so.conf contents to the search path
11055 if test -f /etc
/ld.so.conf
; then
11056 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' ' '`
11057 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11060 # We used to test for /lib/ld.so.1 and disable shared libraries on
11061 # powerpc, because MkLinux only supported shared libraries with the
11062 # GNU dynamic linker. Since this was broken with cross compilers,
11063 # most powerpc-linux boxes support dynamic linking these days and
11064 # people can always --disable-shared, the test was removed, and we
11065 # assume the GNU/Linux dynamic linker is in use.
11066 dynamic_linker
='GNU/Linux ld.so'
11073 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11075 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11076 dynamic_linker
='NetBSD (a.out) ld.so'
11078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11079 soname_spec
='${libname}${release}${shared_ext}$major'
11080 dynamic_linker
='NetBSD ld.elf_so'
11082 shlibpath_var
=LD_LIBRARY_PATH
11083 shlibpath_overrides_runpath
=yes
11084 hardcode_into_libs
=yes
11089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11090 shlibpath_var
=LD_LIBRARY_PATH
11091 shlibpath_overrides_runpath
=yes
11098 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11099 soname_spec
='${libname}${release}${shared_ext}$major'
11100 shlibpath_var
=LD_LIBRARY_PATH
11101 shlibpath_overrides_runpath
=no
11102 hardcode_into_libs
=yes
11103 dynamic_linker
='ldqnx.so'
11108 sys_lib_dlsearch_path_spec
="/usr/lib"
11110 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11112 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11113 *) need_version
=no
;;
11115 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11116 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11117 shlibpath_var
=LD_LIBRARY_PATH
11118 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11120 openbsd2.
[89] | openbsd2.
[89].
*)
11121 shlibpath_overrides_runpath
=no
11124 shlibpath_overrides_runpath
=yes
11128 shlibpath_overrides_runpath
=yes
11133 libname_spec
='$name'
11136 library_names_spec
='$libname${shared_ext} $libname.a'
11137 dynamic_linker
='OS/2 ld.exe'
11138 shlibpath_var
=LIBPATH
11141 osf3
* | osf4
* | osf5
*)
11145 soname_spec
='${libname}${release}${shared_ext}$major'
11146 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11147 shlibpath_var
=LD_LIBRARY_PATH
11148 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11149 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11160 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11161 soname_spec
='${libname}${release}${shared_ext}$major'
11162 shlibpath_var
=LD_LIBRARY_PATH
11163 shlibpath_overrides_runpath
=yes
11164 hardcode_into_libs
=yes
11165 # ldd complains unless libraries are executable
11166 postinstall_cmds
='chmod +x $lib'
11171 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11172 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11173 shlibpath_var
=LD_LIBRARY_PATH
11174 shlibpath_overrides_runpath
=yes
11175 if test "$with_gnu_ld" = yes; then
11183 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11184 soname_spec
='${libname}${release}${shared_ext}$major'
11185 shlibpath_var
=LD_LIBRARY_PATH
11186 case $host_vendor in
11188 shlibpath_overrides_runpath
=no
11190 runpath_var
=LD_RUN_PATH
11198 shlibpath_overrides_runpath
=no
11199 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11205 if test -d /usr
/nec
;then
11207 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11208 soname_spec
='$libname${shared_ext}.$major'
11209 shlibpath_var
=LD_LIBRARY_PATH
11213 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11214 version_type
=freebsd-elf
11217 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11218 soname_spec
='${libname}${release}${shared_ext}$major'
11219 shlibpath_var
=LD_LIBRARY_PATH
11220 shlibpath_overrides_runpath
=yes
11221 hardcode_into_libs
=yes
11222 if test "$with_gnu_ld" = yes; then
11223 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11225 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11228 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11232 sys_lib_dlsearch_path_spec
='/usr/lib'
11236 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11240 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11241 shlibpath_var
=LD_LIBRARY_PATH
11242 shlibpath_overrides_runpath
=no
11243 hardcode_into_libs
=yes
11248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11249 soname_spec
='${libname}${release}${shared_ext}$major'
11250 shlibpath_var
=LD_LIBRARY_PATH
11257 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11258 echo "${ECHO_T}$dynamic_linker" >&6
11259 test "$dynamic_linker" = no
&& can_build_shared
=no
11261 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11262 if test "$GCC" = yes; then
11263 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11352 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11353 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11355 if test -n "$hardcode_libdir_flag_spec" ||
11356 test -n "$runpath_var" ||
11357 test "X$hardcode_automatic" = "Xyes" ; then
11359 # We can hardcode non-existent directories.
11360 if test "$hardcode_direct" != no
&&
11361 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11362 # have to relink, otherwise we might link with an installed library
11363 # when we should be linking with a yet-to-be-installed one
11364 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11365 test "$hardcode_minus_L" != no
; then
11366 # Linking always hardcodes the temporary library directory.
11367 hardcode_action
=relink
11369 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11370 hardcode_action
=immediate
11373 # We cannot hardcode anything, or else we can only hardcode existing
11375 hardcode_action
=unsupported
11377 echo "$as_me:$LINENO: result: $hardcode_action" >&5
11378 echo "${ECHO_T}$hardcode_action" >&6
11380 if test "$hardcode_action" = relink ||
11381 test "$inherit_rpath" = yes; then
11382 # Fast installation is not supported
11383 enable_fast_install
=no
11384 elif test "$shlibpath_overrides_runpath" = yes ||
11385 test "$enable_shared" = no
; then
11386 # Fast installation is not necessary
11387 enable_fast_install
=needless
11395 if test "x$enable_dlopen" != xyes
; then
11396 enable_dlopen
=unknown
11397 enable_dlopen_self
=unknown
11398 enable_dlopen_self_static
=unknown
11405 lt_cv_dlopen
="load_add_on"
11407 lt_cv_dlopen_self
=yes
11411 lt_cv_dlopen
="LoadLibrary"
11416 lt_cv_dlopen
="dlopen"
11421 # if libdl is installed we need to link against it
11422 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11423 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11424 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11425 echo $ECHO_N "(cached) $ECHO_C" >&6
11427 ac_check_lib_save_LIBS
=$LIBS
11429 if test x
$gcc_no_link = xyes
; then
11430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11432 { (exit 1); exit 1; }; }
11434 cat >conftest.
$ac_ext <<_ACEOF
11437 cat confdefs.h
>>conftest.
$ac_ext
11438 cat >>conftest.
$ac_ext <<_ACEOF
11439 /* end confdefs.h. */
11441 /* Override any gcc2 internal prototype to avoid an error. */
11445 /* We use char because int might match the return type of a gcc2
11446 builtin and then its argument prototype would still apply. */
11456 rm -f conftest.
$ac_objext conftest
$ac_exeext
11457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11458 (eval $ac_link) 2>conftest.er1
11460 grep -v '^ *+' conftest.er1
>conftest.err
11462 cat conftest.err
>&5
11463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11464 (exit $ac_status); } &&
11465 { ac_try
='test -z "$ac_c_werror_flag"
11466 || test ! -s conftest.err'
11467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11468 (eval $ac_try) 2>&5
11470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11471 (exit $ac_status); }; } &&
11472 { ac_try
='test -s conftest$ac_exeext'
11473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11474 (eval $ac_try) 2>&5
11476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11477 (exit $ac_status); }; }; then
11478 ac_cv_lib_dl_dlopen
=yes
11480 echo "$as_me: failed program was:" >&5
11481 sed 's/^/| /' conftest.
$ac_ext >&5
11483 ac_cv_lib_dl_dlopen
=no
11485 rm -f conftest.err conftest.
$ac_objext \
11486 conftest
$ac_exeext conftest.
$ac_ext
11487 LIBS
=$ac_check_lib_save_LIBS
11489 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11490 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11491 if test $ac_cv_lib_dl_dlopen = yes; then
11492 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11495 lt_cv_dlopen
="dyld"
11497 lt_cv_dlopen_self
=yes
11504 echo "$as_me:$LINENO: checking for shl_load" >&5
11505 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11506 if test "${ac_cv_func_shl_load+set}" = set; then
11507 echo $ECHO_N "(cached) $ECHO_C" >&6
11509 if test x
$gcc_no_link = xyes
; then
11510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11512 { (exit 1); exit 1; }; }
11514 cat >conftest.
$ac_ext <<_ACEOF
11517 cat confdefs.h
>>conftest.
$ac_ext
11518 cat >>conftest.
$ac_ext <<_ACEOF
11519 /* end confdefs.h. */
11520 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11522 #define shl_load innocuous_shl_load
11524 /* System header to define __stub macros and hopefully few prototypes,
11525 which can conflict with char shl_load (); below.
11526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11527 <limits.h> exists even on freestanding compilers. */
11530 # include <limits.h>
11532 # include <assert.h>
11537 /* Override any gcc2 internal prototype to avoid an error. */
11542 /* We use char because int might match the return type of a gcc2
11543 builtin and then its argument prototype would still apply. */
11545 /* The GNU C library defines this for functions which it implements
11546 to always fail with ENOSYS. Some functions are actually named
11547 something starting with __ and the normal name is an alias. */
11548 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11551 char (*f) () = shl_load;
11560 return f != shl_load;
11565 rm -f conftest.
$ac_objext conftest
$ac_exeext
11566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11567 (eval $ac_link) 2>conftest.er1
11569 grep -v '^ *+' conftest.er1
>conftest.err
11571 cat conftest.err
>&5
11572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11573 (exit $ac_status); } &&
11574 { ac_try
='test -z "$ac_c_werror_flag"
11575 || test ! -s conftest.err'
11576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11577 (eval $ac_try) 2>&5
11579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11580 (exit $ac_status); }; } &&
11581 { ac_try
='test -s conftest$ac_exeext'
11582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11583 (eval $ac_try) 2>&5
11585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11586 (exit $ac_status); }; }; then
11587 ac_cv_func_shl_load
=yes
11589 echo "$as_me: failed program was:" >&5
11590 sed 's/^/| /' conftest.
$ac_ext >&5
11592 ac_cv_func_shl_load
=no
11594 rm -f conftest.err conftest.
$ac_objext \
11595 conftest
$ac_exeext conftest.
$ac_ext
11597 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11598 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11599 if test $ac_cv_func_shl_load = yes; then
11600 lt_cv_dlopen
="shl_load"
11602 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11603 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11604 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11605 echo $ECHO_N "(cached) $ECHO_C" >&6
11607 ac_check_lib_save_LIBS
=$LIBS
11609 if test x
$gcc_no_link = xyes
; then
11610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11612 { (exit 1); exit 1; }; }
11614 cat >conftest.
$ac_ext <<_ACEOF
11617 cat confdefs.h
>>conftest.
$ac_ext
11618 cat >>conftest.
$ac_ext <<_ACEOF
11619 /* end confdefs.h. */
11621 /* Override any gcc2 internal prototype to avoid an error. */
11625 /* We use char because int might match the return type of a gcc2
11626 builtin and then its argument prototype would still apply. */
11636 rm -f conftest.
$ac_objext conftest
$ac_exeext
11637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11638 (eval $ac_link) 2>conftest.er1
11640 grep -v '^ *+' conftest.er1
>conftest.err
11642 cat conftest.err
>&5
11643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11644 (exit $ac_status); } &&
11645 { ac_try
='test -z "$ac_c_werror_flag"
11646 || test ! -s conftest.err'
11647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11648 (eval $ac_try) 2>&5
11650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11651 (exit $ac_status); }; } &&
11652 { ac_try
='test -s conftest$ac_exeext'
11653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11654 (eval $ac_try) 2>&5
11656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11657 (exit $ac_status); }; }; then
11658 ac_cv_lib_dld_shl_load
=yes
11660 echo "$as_me: failed program was:" >&5
11661 sed 's/^/| /' conftest.
$ac_ext >&5
11663 ac_cv_lib_dld_shl_load
=no
11665 rm -f conftest.err conftest.
$ac_objext \
11666 conftest
$ac_exeext conftest.
$ac_ext
11667 LIBS
=$ac_check_lib_save_LIBS
11669 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11670 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11671 if test $ac_cv_lib_dld_shl_load = yes; then
11672 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
11674 echo "$as_me:$LINENO: checking for dlopen" >&5
11675 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11676 if test "${ac_cv_func_dlopen+set}" = set; then
11677 echo $ECHO_N "(cached) $ECHO_C" >&6
11679 if test x
$gcc_no_link = xyes
; then
11680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11682 { (exit 1); exit 1; }; }
11684 cat >conftest.
$ac_ext <<_ACEOF
11687 cat confdefs.h
>>conftest.
$ac_ext
11688 cat >>conftest.
$ac_ext <<_ACEOF
11689 /* end confdefs.h. */
11690 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11692 #define dlopen innocuous_dlopen
11694 /* System header to define __stub macros and hopefully few prototypes,
11695 which can conflict with char dlopen (); below.
11696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11697 <limits.h> exists even on freestanding compilers. */
11700 # include <limits.h>
11702 # include <assert.h>
11707 /* Override any gcc2 internal prototype to avoid an error. */
11712 /* We use char because int might match the return type of a gcc2
11713 builtin and then its argument prototype would still apply. */
11715 /* The GNU C library defines this for functions which it implements
11716 to always fail with ENOSYS. Some functions are actually named
11717 something starting with __ and the normal name is an alias. */
11718 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11721 char (*f) () = dlopen;
11730 return f != dlopen;
11735 rm -f conftest.
$ac_objext conftest
$ac_exeext
11736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11737 (eval $ac_link) 2>conftest.er1
11739 grep -v '^ *+' conftest.er1
>conftest.err
11741 cat conftest.err
>&5
11742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11743 (exit $ac_status); } &&
11744 { ac_try
='test -z "$ac_c_werror_flag"
11745 || test ! -s conftest.err'
11746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11747 (eval $ac_try) 2>&5
11749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11750 (exit $ac_status); }; } &&
11751 { ac_try
='test -s conftest$ac_exeext'
11752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11753 (eval $ac_try) 2>&5
11755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11756 (exit $ac_status); }; }; then
11757 ac_cv_func_dlopen
=yes
11759 echo "$as_me: failed program was:" >&5
11760 sed 's/^/| /' conftest.
$ac_ext >&5
11762 ac_cv_func_dlopen
=no
11764 rm -f conftest.err conftest.
$ac_objext \
11765 conftest
$ac_exeext conftest.
$ac_ext
11767 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11768 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11769 if test $ac_cv_func_dlopen = yes; then
11770 lt_cv_dlopen
="dlopen"
11772 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11773 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11774 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11775 echo $ECHO_N "(cached) $ECHO_C" >&6
11777 ac_check_lib_save_LIBS
=$LIBS
11779 if test x
$gcc_no_link = xyes
; then
11780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11782 { (exit 1); exit 1; }; }
11784 cat >conftest.
$ac_ext <<_ACEOF
11787 cat confdefs.h
>>conftest.
$ac_ext
11788 cat >>conftest.
$ac_ext <<_ACEOF
11789 /* end confdefs.h. */
11791 /* Override any gcc2 internal prototype to avoid an error. */
11795 /* We use char because int might match the return type of a gcc2
11796 builtin and then its argument prototype would still apply. */
11806 rm -f conftest.
$ac_objext conftest
$ac_exeext
11807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11808 (eval $ac_link) 2>conftest.er1
11810 grep -v '^ *+' conftest.er1
>conftest.err
11812 cat conftest.err
>&5
11813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11814 (exit $ac_status); } &&
11815 { ac_try
='test -z "$ac_c_werror_flag"
11816 || test ! -s conftest.err'
11817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11818 (eval $ac_try) 2>&5
11820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11821 (exit $ac_status); }; } &&
11822 { ac_try
='test -s conftest$ac_exeext'
11823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11824 (eval $ac_try) 2>&5
11826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11827 (exit $ac_status); }; }; then
11828 ac_cv_lib_dl_dlopen
=yes
11830 echo "$as_me: failed program was:" >&5
11831 sed 's/^/| /' conftest.
$ac_ext >&5
11833 ac_cv_lib_dl_dlopen
=no
11835 rm -f conftest.err conftest.
$ac_objext \
11836 conftest
$ac_exeext conftest.
$ac_ext
11837 LIBS
=$ac_check_lib_save_LIBS
11839 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11840 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11841 if test $ac_cv_lib_dl_dlopen = yes; then
11842 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11844 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11845 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11846 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11847 echo $ECHO_N "(cached) $ECHO_C" >&6
11849 ac_check_lib_save_LIBS
=$LIBS
11850 LIBS
="-lsvld $LIBS"
11851 if test x
$gcc_no_link = xyes
; then
11852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11854 { (exit 1); exit 1; }; }
11856 cat >conftest.
$ac_ext <<_ACEOF
11859 cat confdefs.h
>>conftest.
$ac_ext
11860 cat >>conftest.
$ac_ext <<_ACEOF
11861 /* end confdefs.h. */
11863 /* Override any gcc2 internal prototype to avoid an error. */
11867 /* We use char because int might match the return type of a gcc2
11868 builtin and then its argument prototype would still apply. */
11878 rm -f conftest.
$ac_objext conftest
$ac_exeext
11879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11880 (eval $ac_link) 2>conftest.er1
11882 grep -v '^ *+' conftest.er1
>conftest.err
11884 cat conftest.err
>&5
11885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11886 (exit $ac_status); } &&
11887 { ac_try
='test -z "$ac_c_werror_flag"
11888 || test ! -s conftest.err'
11889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11890 (eval $ac_try) 2>&5
11892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11893 (exit $ac_status); }; } &&
11894 { ac_try
='test -s conftest$ac_exeext'
11895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11896 (eval $ac_try) 2>&5
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); }; }; then
11900 ac_cv_lib_svld_dlopen
=yes
11902 echo "$as_me: failed program was:" >&5
11903 sed 's/^/| /' conftest.
$ac_ext >&5
11905 ac_cv_lib_svld_dlopen
=no
11907 rm -f conftest.err conftest.
$ac_objext \
11908 conftest
$ac_exeext conftest.
$ac_ext
11909 LIBS
=$ac_check_lib_save_LIBS
11911 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11912 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11913 if test $ac_cv_lib_svld_dlopen = yes; then
11914 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11916 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11917 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11918 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11919 echo $ECHO_N "(cached) $ECHO_C" >&6
11921 ac_check_lib_save_LIBS
=$LIBS
11923 if test x
$gcc_no_link = xyes
; then
11924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11926 { (exit 1); exit 1; }; }
11928 cat >conftest.
$ac_ext <<_ACEOF
11931 cat confdefs.h
>>conftest.
$ac_ext
11932 cat >>conftest.
$ac_ext <<_ACEOF
11933 /* end confdefs.h. */
11935 /* Override any gcc2 internal prototype to avoid an error. */
11939 /* We use char because int might match the return type of a gcc2
11940 builtin and then its argument prototype would still apply. */
11950 rm -f conftest.
$ac_objext conftest
$ac_exeext
11951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11952 (eval $ac_link) 2>conftest.er1
11954 grep -v '^ *+' conftest.er1
>conftest.err
11956 cat conftest.err
>&5
11957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11958 (exit $ac_status); } &&
11959 { ac_try
='test -z "$ac_c_werror_flag"
11960 || test ! -s conftest.err'
11961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11962 (eval $ac_try) 2>&5
11964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11965 (exit $ac_status); }; } &&
11966 { ac_try
='test -s conftest$ac_exeext'
11967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11968 (eval $ac_try) 2>&5
11970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11971 (exit $ac_status); }; }; then
11972 ac_cv_lib_dld_dld_link
=yes
11974 echo "$as_me: failed program was:" >&5
11975 sed 's/^/| /' conftest.
$ac_ext >&5
11977 ac_cv_lib_dld_dld_link
=no
11979 rm -f conftest.err conftest.
$ac_objext \
11980 conftest
$ac_exeext conftest.
$ac_ext
11981 LIBS
=$ac_check_lib_save_LIBS
11983 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11984 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
11985 if test $ac_cv_lib_dld_dld_link = yes; then
11986 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
12007 if test "x$lt_cv_dlopen" != xno
; then
12013 case $lt_cv_dlopen in
12015 save_CPPFLAGS
="$CPPFLAGS"
12016 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12018 save_LDFLAGS
="$LDFLAGS"
12019 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12022 LIBS
="$lt_cv_dlopen_libs $LIBS"
12024 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12025 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12026 if test "${lt_cv_dlopen_self+set}" = set; then
12027 echo $ECHO_N "(cached) $ECHO_C" >&6
12029 if test "$cross_compiling" = yes; then :
12030 lt_cv_dlopen_self
=cross
12032 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12033 lt_status
=$lt_dlunknown
12034 cat > conftest.
$ac_ext <<_LT_EOF
12035 #line 12035 "configure"
12036 #include "confdefs.h"
12045 # define LT_DLGLOBAL RTLD_GLOBAL
12048 # define LT_DLGLOBAL DL_GLOBAL
12050 # define LT_DLGLOBAL 0
12054 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12055 find out it does not work in some platform. */
12056 #ifndef LT_DLLAZY_OR_NOW
12058 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12061 # define LT_DLLAZY_OR_NOW DL_LAZY
12064 # define LT_DLLAZY_OR_NOW RTLD_NOW
12067 # define LT_DLLAZY_OR_NOW DL_NOW
12069 # define LT_DLLAZY_OR_NOW 0
12077 extern "C" void exit (int);
12080 void fnord() { int i=42;}
12083 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12084 int status = $lt_dlunknown;
12088 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12089 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12090 /* dlclose (self); */
12098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12099 (eval $ac_link) 2>&5
12101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12102 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12103 (.
/conftest
; exit; ) >&5 2>/dev
/null
12105 case x
$lt_status in
12106 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12107 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12108 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12111 # compilation failed
12112 lt_cv_dlopen_self
=no
12119 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12120 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12122 if test "x$lt_cv_dlopen_self" = xyes
; then
12123 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12124 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12125 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12126 if test "${lt_cv_dlopen_self_static+set}" = set; then
12127 echo $ECHO_N "(cached) $ECHO_C" >&6
12129 if test "$cross_compiling" = yes; then :
12130 lt_cv_dlopen_self_static
=cross
12132 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12133 lt_status
=$lt_dlunknown
12134 cat > conftest.
$ac_ext <<_LT_EOF
12135 #line 12135 "configure"
12136 #include "confdefs.h"
12145 # define LT_DLGLOBAL RTLD_GLOBAL
12148 # define LT_DLGLOBAL DL_GLOBAL
12150 # define LT_DLGLOBAL 0
12154 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12155 find out it does not work in some platform. */
12156 #ifndef LT_DLLAZY_OR_NOW
12158 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12161 # define LT_DLLAZY_OR_NOW DL_LAZY
12164 # define LT_DLLAZY_OR_NOW RTLD_NOW
12167 # define LT_DLLAZY_OR_NOW DL_NOW
12169 # define LT_DLLAZY_OR_NOW 0
12177 extern "C" void exit (int);
12180 void fnord() { int i=42;}
12183 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12184 int status = $lt_dlunknown;
12188 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12189 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12190 /* dlclose (self); */
12198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12199 (eval $ac_link) 2>&5
12201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12202 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12203 (.
/conftest
; exit; ) >&5 2>/dev
/null
12205 case x
$lt_status in
12206 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12207 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12208 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12211 # compilation failed
12212 lt_cv_dlopen_self_static
=no
12219 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12220 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12223 CPPFLAGS
="$save_CPPFLAGS"
12224 LDFLAGS
="$save_LDFLAGS"
12229 case $lt_cv_dlopen_self in
12230 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12231 *) enable_dlopen_self
=unknown
;;
12234 case $lt_cv_dlopen_self_static in
12235 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12236 *) enable_dlopen_self_static
=unknown
;;
12258 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12259 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
12260 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12261 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12262 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12263 echo "$as_me:$LINENO: result: yes" >&5
12264 echo "${ECHO_T}yes" >&6
12266 # FIXME - insert some real tests, host_os isn't really good enough
12269 if test -n "$STRIP" ; then
12270 striplib
="$STRIP -x"
12271 old_striplib
="$STRIP -S"
12272 echo "$as_me:$LINENO: result: yes" >&5
12273 echo "${ECHO_T}yes" >&6
12275 echo "$as_me:$LINENO: result: no" >&5
12276 echo "${ECHO_T}no" >&6
12280 echo "$as_me:$LINENO: result: no" >&5
12281 echo "${ECHO_T}no" >&6
12297 # Report which library types will actually be built
12298 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12299 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12300 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12301 echo "${ECHO_T}$can_build_shared" >&6
12303 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12304 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12305 test "$can_build_shared" = "no" && enable_shared
=no
12307 # On AIX, shared libraries and static libraries use the same namespace, and
12308 # are all built from PIC.
12311 test "$enable_shared" = yes && enable_static
=no
12312 if test -n "$RANLIB"; then
12313 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12314 postinstall_cmds
='$RANLIB $lib'
12319 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12320 test "$enable_shared" = yes && enable_static
=no
12324 echo "$as_me:$LINENO: result: $enable_shared" >&5
12325 echo "${ECHO_T}$enable_shared" >&6
12327 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12328 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12329 # Make sure either enable_shared or enable_static is yes.
12330 test "$enable_shared" = yes || enable_static
=yes
12331 echo "$as_me:$LINENO: result: $enable_static" >&5
12332 echo "${ECHO_T}$enable_static" >&6
12339 ac_cpp
='$CPP $CPPFLAGS'
12340 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12341 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12342 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12348 ac_cpp
='$CXXCPP $CPPFLAGS'
12349 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12350 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12351 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12353 archive_cmds_need_lc_CXX
=no
12354 allow_undefined_flag_CXX
=
12355 always_export_symbols_CXX
=no
12356 archive_expsym_cmds_CXX
=
12357 compiler_needs_object_CXX
=no
12358 export_dynamic_flag_spec_CXX
=
12359 hardcode_direct_CXX
=no
12360 hardcode_direct_absolute_CXX
=no
12361 hardcode_libdir_flag_spec_CXX
=
12362 hardcode_libdir_flag_spec_ld_CXX
=
12363 hardcode_libdir_separator_CXX
=
12364 hardcode_minus_L_CXX
=no
12365 hardcode_shlibpath_var_CXX
=unsupported
12366 hardcode_automatic_CXX
=no
12367 inherit_rpath_CXX
=no
12369 module_expsym_cmds_CXX
=
12370 link_all_deplibs_CXX
=unknown
12371 old_archive_cmds_CXX
=$old_archive_cmds
12372 no_undefined_flag_CXX
=
12373 whole_archive_flag_spec_CXX
=
12374 enable_shared_with_static_runtimes_CXX
=no
12376 # Source file extension for C++ test sources.
12379 # Object file extension for compiled C++ test sources.
12383 # No sense in running all these tests if we already determined that
12384 # the CXX compiler isn't working. Some variables (like enable_shared)
12385 # are currently assumed to apply to all compilers on this platform,
12386 # and will be corrupted by setting them based on a non-working compiler.
12387 if test "$_lt_caught_CXX_error" != yes; then
12388 # Code to be used in simple compile tests
12389 lt_simple_compile_test_code
="int some_variable = 0;"
12391 # Code to be used in simple link tests
12392 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12394 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12401 # If no C compiler was specified, use CC.
12404 # If no C compiler flags were specified, use CFLAGS.
12405 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12407 # Allow CC to be a program name with arguments.
12411 # save warnings/boilerplate of simple test code
12412 ac_outfile
=conftest.
$ac_objext
12413 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12414 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12415 _lt_compiler_boilerplate
=`cat conftest.err`
12418 ac_outfile
=conftest.
$ac_objext
12419 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12420 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12421 _lt_linker_boilerplate
=`cat conftest.err`
12425 # Allow CC to be a program name with arguments.
12430 lt_save_with_gnu_ld
=$with_gnu_ld
12431 lt_save_path_LD
=$lt_cv_path_LD
12432 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12433 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12435 $as_unset lt_cv_prog_gnu_ld
12437 if test -n "${lt_cv_path_LDCXX+set}"; then
12438 lt_cv_path_LD
=$lt_cv_path_LDCXX
12440 $as_unset lt_cv_path_LD
12442 test -z "${LDCXX+set}" || LD
=$LDCXX
12446 for cc_temp
in $compiler""; do
12448 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12449 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12454 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12457 if test -n "$compiler"; then
12458 # We don't want -fno-exception when compiling C++ code, so set the
12459 # no_builtin_flag separately
12460 if test "$GXX" = yes; then
12461 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12463 lt_prog_compiler_no_builtin_flag_CXX
=
12466 if test "$GXX" = yes; then
12467 # Set up default GNU C++ configuration
12471 # Check whether --with-gnu-ld or --without-gnu-ld was given.
12472 if test "${with_gnu_ld+set}" = set; then
12473 withval
="$with_gnu_ld"
12474 test "$withval" = no || with_gnu_ld
=yes
12479 if test "$GCC" = yes; then
12480 # Check if gcc -print-prog-name=ld gives a path.
12481 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12482 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
12485 # gcc leaves a trailing carriage return which upsets mingw
12486 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12488 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12491 # Accept absolute paths.
12493 re_direlt
='/[^/][^/]*/\.\./'
12494 # Canonicalize the pathname of ld
12495 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12496 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12497 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12499 test -z "$LD" && LD
="$ac_prog"
12502 # If it fails, then pretend we aren't using GCC.
12506 # If it is relative, then search for the first ld in PATH.
12507 with_gnu_ld
=unknown
12510 elif test "$with_gnu_ld" = yes; then
12511 echo "$as_me:$LINENO: checking for GNU ld" >&5
12512 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
12514 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12515 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
12517 if test "${lt_cv_path_LD+set}" = set; then
12518 echo $ECHO_N "(cached) $ECHO_C" >&6
12520 if test -z "$LD"; then
12521 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12522 for ac_dir
in $PATH; do
12524 test -z "$ac_dir" && ac_dir
=.
12525 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12526 lt_cv_path_LD
="$ac_dir/$ac_prog"
12527 # Check to see if the program is GNU ld. I'd rather use --version,
12528 # but apparently some variants of GNU ld only accept -v.
12529 # Break only if it was the GNU/non-GNU ld that we prefer.
12530 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12531 *GNU
* |
*'with BFD'*)
12532 test "$with_gnu_ld" != no
&& break
12535 test "$with_gnu_ld" != yes && break
12542 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12546 LD
="$lt_cv_path_LD"
12547 if test -n "$LD"; then
12548 echo "$as_me:$LINENO: result: $LD" >&5
12549 echo "${ECHO_T}$LD" >&6
12551 echo "$as_me:$LINENO: result: no" >&5
12552 echo "${ECHO_T}no" >&6
12554 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12555 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12556 { (exit 1); exit 1; }; }
12557 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12558 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
12559 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12560 echo $ECHO_N "(cached) $ECHO_C" >&6
12562 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12563 case `$LD -v 2>&1 </dev/null` in
12564 *GNU
* |
*'with BFD'*)
12565 lt_cv_prog_gnu_ld
=yes
12568 lt_cv_prog_gnu_ld
=no
12572 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12573 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
12574 with_gnu_ld
=$lt_cv_prog_gnu_ld
12582 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12583 # archiving commands below assume that GNU ld is being used.
12584 if test "$with_gnu_ld" = yes; then
12585 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12586 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'
12588 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12589 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12591 # If archive_cmds runs LD, not CC, wlarc should be empty
12592 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12593 # investigate it a little bit more. (MM)
12596 # ancient GNU ld didn't support --whole-archive et. al.
12597 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12598 $GREP 'no-whole-archive' > /dev
/null
; then
12599 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12601 whole_archive_flag_spec_CXX
=
12607 # A generic and very simple default shared library creation
12608 # command for GNU C++ for the case where it uses the native
12609 # linker, instead of GNU ld. If possible, this setting should
12610 # overridden to take advantage of the native linker features on
12611 # the platform it is being used on.
12612 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12615 # Commands to make compiler produce verbose output that lists
12616 # what "hidden" libraries, object files and flags are used when
12617 # linking a shared library.
12618 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12626 # PORTME: fill in a description of your system's C++ link characteristics
12627 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12628 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12632 # FIXME: insert proper C++ library support
12636 if test "$host_cpu" = ia64
; then
12637 # On IA64, the linker does run time linking by default, so we don't
12638 # have to do anything special.
12639 aix_use_runtimelinking
=no
12640 exp_sym_flag
='-Bexport'
12643 aix_use_runtimelinking
=no
12645 # Test if we are trying to use run time linking or normal
12646 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12647 # need to do runtime linking.
12648 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12649 for ld_flag
in $LDFLAGS; do
12652 aix_use_runtimelinking
=yes
12660 exp_sym_flag
='-bexport'
12661 no_entry_flag
='-bnoentry'
12664 # When large executables or shared objects are built, AIX ld can
12665 # have problems creating the table of contents. If linking a library
12666 # or program results in "error TOC overflow" add -mminimal-toc to
12667 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12668 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12670 archive_cmds_CXX
=''
12671 hardcode_direct_CXX
=yes
12672 hardcode_direct_absolute_CXX
=yes
12673 hardcode_libdir_separator_CXX
=':'
12674 link_all_deplibs_CXX
=yes
12675 file_list_spec_CXX
='${wl}-f,'
12677 if test "$GXX" = yes; then
12678 case $host_os in aix4.
[012]|aix4.
[012].
*)
12679 # We only want to do this on AIX 4.2 and lower, the check
12680 # below for broken collect2 doesn't work under 4.3+
12681 collect2name
=`${CC} -print-prog-name=collect2`
12682 if test -f "$collect2name" &&
12683 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12685 # We have reworked collect2
12688 # We have old collect2
12689 hardcode_direct_CXX
=unsupported
12690 # It fails to find uninstalled libraries when the uninstalled
12691 # path is not listed in the libpath. Setting hardcode_minus_L
12692 # to unsupported forces relinking
12693 hardcode_minus_L_CXX
=yes
12694 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12695 hardcode_libdir_separator_CXX
=
12698 shared_flag
='-shared'
12699 if test "$aix_use_runtimelinking" = yes; then
12700 shared_flag
="$shared_flag "'${wl}-G'
12704 if test "$host_cpu" = ia64
; then
12705 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12706 # chokes on -Wl,-G. The following line is correct:
12709 if test "$aix_use_runtimelinking" = yes; then
12710 shared_flag
='${wl}-G'
12712 shared_flag
='${wl}-bM:SRE'
12717 # It seems that -bexpall does not export symbols beginning with
12718 # underscore (_), so it is better to generate a list of symbols to
12720 always_export_symbols_CXX
=yes
12721 if test "$aix_use_runtimelinking" = yes; then
12722 # Warning - without using the other runtime loading flags (-brtl),
12723 # -berok will link without error, but may produce a broken library.
12724 allow_undefined_flag_CXX
='-berok'
12725 # Determine the default libpath from the value encoded in an empty
12727 if test x
$gcc_no_link = xyes
; then
12728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12730 { (exit 1); exit 1; }; }
12732 cat >conftest.
$ac_ext <<_ACEOF
12735 cat confdefs.h
>>conftest.
$ac_ext
12736 cat >>conftest.
$ac_ext <<_ACEOF
12737 /* end confdefs.h. */
12747 rm -f conftest.
$ac_objext conftest
$ac_exeext
12748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12749 (eval $ac_link) 2>conftest.er1
12751 grep -v '^ *+' conftest.er1
>conftest.err
12753 cat conftest.err
>&5
12754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12755 (exit $ac_status); } &&
12756 { ac_try
='test -z "$ac_cxx_werror_flag"
12757 || test ! -s conftest.err'
12758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12759 (eval $ac_try) 2>&5
12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762 (exit $ac_status); }; } &&
12763 { ac_try
='test -s conftest$ac_exeext'
12764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12765 (eval $ac_try) 2>&5
12767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12768 (exit $ac_status); }; }; then
12770 lt_aix_libpath_sed
='
12771 /Import File Strings/,/^$/ {
12777 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12778 # Check for a 64-bit object if we didn't find anything.
12779 if test -z "$aix_libpath"; then
12780 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12783 echo "$as_me: failed program was:" >&5
12784 sed 's/^/| /' conftest.
$ac_ext >&5
12787 rm -f conftest.err conftest.
$ac_objext \
12788 conftest
$ac_exeext conftest.
$ac_ext
12789 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12791 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12793 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"
12795 if test "$host_cpu" = ia64
; then
12796 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12797 allow_undefined_flag_CXX
="-z nodefs"
12798 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"
12800 # Determine the default libpath from the value encoded in an
12801 # empty executable.
12802 if test x
$gcc_no_link = xyes
; then
12803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12805 { (exit 1); exit 1; }; }
12807 cat >conftest.
$ac_ext <<_ACEOF
12810 cat confdefs.h
>>conftest.
$ac_ext
12811 cat >>conftest.
$ac_ext <<_ACEOF
12812 /* end confdefs.h. */
12822 rm -f conftest.
$ac_objext conftest
$ac_exeext
12823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12824 (eval $ac_link) 2>conftest.er1
12826 grep -v '^ *+' conftest.er1
>conftest.err
12828 cat conftest.err
>&5
12829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12830 (exit $ac_status); } &&
12831 { ac_try
='test -z "$ac_cxx_werror_flag"
12832 || test ! -s conftest.err'
12833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12834 (eval $ac_try) 2>&5
12836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12837 (exit $ac_status); }; } &&
12838 { ac_try
='test -s conftest$ac_exeext'
12839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12840 (eval $ac_try) 2>&5
12842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843 (exit $ac_status); }; }; then
12845 lt_aix_libpath_sed
='
12846 /Import File Strings/,/^$/ {
12852 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12853 # Check for a 64-bit object if we didn't find anything.
12854 if test -z "$aix_libpath"; then
12855 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12858 echo "$as_me: failed program was:" >&5
12859 sed 's/^/| /' conftest.
$ac_ext >&5
12862 rm -f conftest.err conftest.
$ac_objext \
12863 conftest
$ac_exeext conftest.
$ac_ext
12864 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12866 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12867 # Warning - without using the other run time loading flags,
12868 # -berok will link without error, but may produce a broken library.
12869 no_undefined_flag_CXX
=' ${wl}-bernotok'
12870 allow_undefined_flag_CXX
=' ${wl}-berok'
12871 # Exported symbols can be pulled into shared objects from archives
12872 whole_archive_flag_spec_CXX
='$convenience'
12873 archive_cmds_need_lc_CXX
=yes
12874 # This is similar to how AIX traditionally builds its shared
12876 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'
12882 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12883 allow_undefined_flag_CXX
=unsupported
12884 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12885 # support --undefined. This deserves some investigation. FIXME
12886 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12893 case $cc_basename in
12895 # FIXME: insert proper C++ library support
12901 cygwin
* | mingw
* | pw32
*)
12902 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12903 # as there is no search path for DLLs.
12904 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12905 allow_undefined_flag_CXX
=unsupported
12906 always_export_symbols_CXX
=no
12907 enable_shared_with_static_runtimes_CXX
=yes
12909 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12910 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'
12911 # If the export-symbols file already is a .def file (1st line
12912 # is EXPORTS), use it as is; otherwise, prepend...
12913 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12914 cp $export_symbols $output_objdir/$soname.def;
12916 echo EXPORTS > $output_objdir/$soname.def;
12917 cat $export_symbols >> $output_objdir/$soname.def;
12919 $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'
12924 darwin
* | rhapsody
*)
12926 rhapsody
* | darwin1.
[012])
12927 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
12930 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
12932 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12935 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
12940 archive_cmds_need_lc_CXX
=no
12941 hardcode_direct_CXX
=no
12942 hardcode_automatic_CXX
=yes
12943 hardcode_shlibpath_var_CXX
=unsupported
12944 whole_archive_flag_spec_CXX
=''
12945 link_all_deplibs_CXX
=yes
12947 if test "$GXX" = yes ; then
12948 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
12949 echo $ECHO_N "(cached) $ECHO_C" >&6
12951 lt_cv_apple_cc_single_mod
=no
12952 if test -z "${LT_MULTI_MODULE}"; then
12953 # By default we will add the -single_module flag. You can override
12954 # by either setting the environment variable LT_MULTI_MODULE
12955 # non-empty at configure time, or by adding -multi-module to the
12957 echo "int foo(void){return 1;}" > conftest.c
12958 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
12959 -dynamiclib ${wl}-single_module conftest.c
12960 if test -f libconftest.dylib
; then
12961 lt_cv_apple_cc_single_mod
=yes
12962 rm libconftest.dylib
12964 rm conftest.
$ac_ext
12968 output_verbose_link_cmd
=echo
12969 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
12970 archive_cmds_CXX
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12971 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}'
12973 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'
12974 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}'
12976 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12977 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}'
12979 case $cc_basename in
12981 output_verbose_link_cmd
=echo
12982 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'
12983 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12984 # Don't fix this by using the ld -exported_symbols_list flag,
12985 # it doesn't exist in older darwin lds
12986 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}'
12987 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}'
12997 case $cc_basename in
12999 # FIXME: insert proper C++ library support
13003 # Green Hills C++ Compiler
13004 # FIXME: insert proper C++ library support
13008 # FIXME: insert proper C++ library support
13015 # C++ shared libraries reported to be fairly broken before
13021 archive_cmds_need_lc_CXX
=no
13024 freebsd
* | dragonfly
*)
13025 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13034 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13035 hardcode_libdir_separator_CXX
=:
13036 export_dynamic_flag_spec_CXX
='${wl}-E'
13037 hardcode_direct_CXX
=yes
13038 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13039 # but as the default
13040 # location of the library.
13042 case $cc_basename in
13044 # FIXME: insert proper C++ library support
13048 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'
13049 # Commands to make compiler produce verbose output that lists
13050 # what "hidden" libraries, object files and flags are used when
13051 # linking a shared library.
13053 # There doesn't appear to be a way to prevent this compiler from
13054 # explicitly linking system object files so we need to strip them
13055 # from the output so that they don't get included in the library
13057 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'
13060 if test "$GXX" = yes; then
13061 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'
13063 # FIXME: insert proper C++ library support
13071 if test $with_gnu_ld = no
; then
13072 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13073 hardcode_libdir_separator_CXX
=:
13079 export_dynamic_flag_spec_CXX
='${wl}-E'
13085 hardcode_direct_CXX
=no
13086 hardcode_shlibpath_var_CXX
=no
13089 hardcode_direct_CXX
=yes
13090 hardcode_direct_absolute_CXX
=yes
13091 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13092 # but as the default
13093 # location of the library.
13097 case $cc_basename in
13099 # FIXME: insert proper C++ library support
13105 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13108 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13111 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13114 # Commands to make compiler produce verbose output that lists
13115 # what "hidden" libraries, object files and flags are used when
13116 # linking a shared library.
13118 # There doesn't appear to be a way to prevent this compiler from
13119 # explicitly linking system object files so we need to strip them
13120 # from the output so that they don't get included in the library
13122 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'
13125 if test "$GXX" = yes; then
13126 if test $with_gnu_ld = no
; then
13129 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13132 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13135 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'
13140 # FIXME: insert proper C++ library support
13148 hardcode_direct_CXX
=no
13149 hardcode_shlibpath_var_CXX
=no
13150 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13151 export_dynamic_flag_spec_CXX
='${wl}-E'
13152 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13153 # Instead, shared libraries are loaded at an image base (0x10000000 by
13154 # default) and relocated if they conflict, which is a slow very memory
13155 # consuming and fragmenting process. To avoid this, we pick a random,
13156 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13157 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13158 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'
13159 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'
13162 case $cc_basename in
13165 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'
13167 # Archives containing C++ object files must be created using
13168 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13169 # necessary to make sure instantiated templates are included
13171 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13174 if test "$GXX" = yes; then
13175 if test "$with_gnu_ld" = no
; then
13176 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'
13178 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'
13181 link_all_deplibs_CXX
=yes
13184 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13185 hardcode_libdir_separator_CXX
=:
13186 inherit_rpath_CXX
=yes
13189 linux
* | k
*bsd
*-gnu)
13190 case $cc_basename in
13192 # Kuck and Associates, Inc. (KAI) C++ Compiler
13194 # KCC will only create a shared library if the output file
13195 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13196 # to its proper name (with version) after linking.
13197 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'
13198 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'
13199 # Commands to make compiler produce verbose output that lists
13200 # what "hidden" libraries, object files and flags are used when
13201 # linking a shared library.
13203 # There doesn't appear to be a way to prevent this compiler from
13204 # explicitly linking system object files so we need to strip them
13205 # from the output so that they don't get included in the library
13207 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'
13209 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13210 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13212 # Archives containing C++ object files must be created using
13213 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13214 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13219 # version 8.0 and above of icpc choke on multiply defined symbols
13220 # if we add $predep_objects and $postdep_objects, however 7.1 and
13221 # earlier do not add the objects themselves.
13222 case `$CC -V 2>&1` in
13224 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13225 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'
13227 *) # Version 8.0 or newer
13230 ia64
*) tmp_idyn
=' -i_dynamic';;
13232 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13233 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'
13236 archive_cmds_need_lc_CXX
=no
13237 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13238 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13239 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13242 # Portland Group C++ compiler
13245 prelink_cmds_CXX
='tpldir=Template.dir~
13247 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13248 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13249 old_archive_cmds_CXX
='tpldir=Template.dir~
13251 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13252 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13254 archive_cmds_CXX
='tpldir=Template.dir~
13256 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13257 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13258 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13260 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13261 $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'
13263 *) # Version 6 will use weak symbols
13264 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13265 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'
13269 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13270 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13271 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'
13275 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13276 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'
13278 runpath_var
=LD_RUN_PATH
13279 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13280 hardcode_libdir_separator_CXX
=:
13282 # Commands to make compiler produce verbose output that lists
13283 # what "hidden" libraries, object files and flags are used when
13284 # linking a shared library.
13286 # There doesn't appear to be a way to prevent this compiler from
13287 # explicitly linking system object files so we need to strip them
13288 # from the output so that they don't get included in the library
13290 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'
13293 case `$CC -V 2>&1 | sed 5q` in
13296 no_undefined_flag_CXX
=' -zdefs'
13297 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13298 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'
13299 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13300 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'
13301 compiler_needs_object_CXX
=yes
13303 # Not sure whether something based on
13304 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13306 output_verbose_link_cmd
='echo'
13308 # Archives containing C++ object files must be created using
13309 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13310 # necessary to make sure instantiated templates are included
13312 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13320 # FIXME: insert proper C++ library support
13325 # FIXME: insert proper C++ library support
13330 case $cc_basename in
13332 # FIXME: insert proper C++ library support
13336 # FIXME: insert proper C++ library support
13343 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13344 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13346 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13347 hardcode_direct_CXX
=yes
13348 hardcode_shlibpath_var_CXX
=no
13350 # Workaround some broken pre-1.5 toolchains
13351 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13359 # C++ shared libraries are fairly broken
13364 hardcode_direct_CXX
=yes
13365 hardcode_shlibpath_var_CXX
=no
13366 hardcode_direct_absolute_CXX
=yes
13367 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13368 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13369 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13370 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13371 export_dynamic_flag_spec_CXX
='${wl}-E'
13372 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13374 output_verbose_link_cmd
=echo
13377 osf3
* | osf4
* | osf5
*)
13378 case $cc_basename in
13380 # Kuck and Associates, Inc. (KAI) C++ Compiler
13382 # KCC will only create a shared library if the output file
13383 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13384 # to its proper name (with version) after linking.
13385 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'
13387 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13388 hardcode_libdir_separator_CXX
=:
13390 # Archives containing C++ object files must be created using
13391 # the KAI C++ compiler.
13393 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13394 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13398 # Rational C++ 2.4.1
13399 # FIXME: insert proper C++ library support
13405 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13406 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'
13407 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13410 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13411 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'
13412 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13413 echo "-hidden">> $lib.exp~
13414 $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~
13416 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13420 hardcode_libdir_separator_CXX
=:
13422 # Commands to make compiler produce verbose output that lists
13423 # what "hidden" libraries, object files and flags are used when
13424 # linking a shared library.
13426 # There doesn't appear to be a way to prevent this compiler from
13427 # explicitly linking system object files so we need to strip them
13428 # from the output so that they don't get included in the library
13430 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'
13433 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13434 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13437 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'
13440 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'
13444 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13445 hardcode_libdir_separator_CXX
=:
13447 # Commands to make compiler produce verbose output that lists
13448 # what "hidden" libraries, object files and flags are used when
13449 # linking a shared library.
13450 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13453 # FIXME: insert proper C++ library support
13461 # FIXME: insert proper C++ library support
13466 case $cc_basename in
13469 # FIXME: insert proper C++ library support
13474 # FIXME: insert proper C++ library support
13478 # FIXME: insert proper C++ library support
13485 case $cc_basename in
13487 # Sun C++ 4.2, 5.x and Centerline C++
13488 archive_cmds_need_lc_CXX
=yes
13489 no_undefined_flag_CXX
=' -zdefs'
13490 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13491 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13492 $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'
13494 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13495 hardcode_shlibpath_var_CXX
=no
13497 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13499 # The compiler driver will combine and reorder linker options,
13500 # but understands `-z linker_flag'.
13501 # Supported since Solaris 2.6 (maybe 2.5.1?)
13502 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13505 link_all_deplibs_CXX
=yes
13507 output_verbose_link_cmd
='echo'
13509 # Archives containing C++ object files must be created using
13510 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13511 # necessary to make sure instantiated templates are included
13513 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13516 # Green Hills C++ Compiler
13517 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13519 # The C++ compiler must be used to create the archive.
13520 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13523 # GNU C++ compiler with Solaris linker
13524 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13525 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13526 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13527 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13528 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13529 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13531 # Commands to make compiler produce verbose output that lists
13532 # what "hidden" libraries, object files and flags are used when
13533 # linking a shared library.
13534 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13536 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13538 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13539 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13540 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13542 # Commands to make compiler produce verbose output that lists
13543 # what "hidden" libraries, object files and flags are used when
13544 # linking a shared library.
13545 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13548 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13550 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13552 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13560 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13561 no_undefined_flag_CXX
='${wl}-z,text'
13562 archive_cmds_need_lc_CXX
=no
13563 hardcode_shlibpath_var_CXX
=no
13564 runpath_var
='LD_RUN_PATH'
13566 case $cc_basename in
13568 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13569 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13572 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13573 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13578 sysv5
* | sco3.2v5
* | sco5v6
*)
13579 # Note: We can NOT use -z defs as we might desire, because we do not
13580 # link with -lc, and that would cause any symbols used from libc to
13581 # always be unresolved, which means just about no library would
13582 # ever link correctly. If we're not using GNU ld we use -z text
13583 # though, which does catch some bad symbols but isn't as heavy-handed
13585 no_undefined_flag_CXX
='${wl}-z,text'
13586 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13587 archive_cmds_need_lc_CXX
=no
13588 hardcode_shlibpath_var_CXX
=no
13589 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13590 hardcode_libdir_separator_CXX
=':'
13591 link_all_deplibs_CXX
=yes
13592 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13593 runpath_var
='LD_RUN_PATH'
13595 case $cc_basename in
13597 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13598 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13601 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13602 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13608 case $cc_basename in
13610 # NonStop-UX NCC 3.20
13611 # FIXME: insert proper C++ library support
13615 # FIXME: insert proper C++ library support
13622 # FIXME: insert proper C++ library support
13627 # FIXME: insert proper C++ library support
13632 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13633 echo "${ECHO_T}$ld_shlibs_CXX" >&6
13634 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13640 ## There is no encapsulation within the following macros, do not change
13641 ## the running order or otherwise move them around unless you know exactly
13642 ## what you are doing...
13643 # Dependencies to place before and after the object being linked:
13644 predep_objects_CXX
=
13645 postdep_objects_CXX
=
13648 compiler_lib_search_path_CXX
=
13650 cat > conftest.
$ac_ext <<_LT_EOF
13654 Foo (void) { a = 0; }
13660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13661 (eval $ac_compile) 2>&5
13663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13664 (exit $ac_status); }; then
13665 # Parse the compiler output and extract the necessary
13666 # objects, libraries and library flags.
13668 # Sentinel used to keep track of whether or not we are before
13669 # the conftest object file.
13670 pre_test_object_deps_done
=no
13672 # The `*' in the case matches for architectures that use `case' in
13673 # $output_verbose_cmd can trigger glob expansion during the loop
13674 # eval without this substitution.
13675 output_verbose_link_cmd
=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
13677 for p
in `eval $output_verbose_link_cmd`; do
13681 # Some compilers place space between "-{L,R}" and the path.
13682 # Remove the space.
13683 if test $p = "-L" ||
13684 test $p = "-R"; then
13691 if test "$pre_test_object_deps_done" = no
; then
13694 # Internal compiler library paths should come after those
13695 # provided the user. The postdeps already come after the
13696 # user supplied libs so there is no need to process them.
13697 if test -z "$compiler_lib_search_path_CXX"; then
13698 compiler_lib_search_path_CXX
="${prev}${p}"
13700 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13703 # The "-l" case would never come before the object being
13704 # linked, so don't bother handling this case.
13707 if test -z "$postdeps_CXX"; then
13708 postdeps_CXX
="${prev}${p}"
13710 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13716 # This assumes that the test object file only shows up
13717 # once in the compiler output.
13718 if test "$p" = "conftest.$objext"; then
13719 pre_test_object_deps_done
=yes
13723 if test "$pre_test_object_deps_done" = no
; then
13724 if test -z "$predep_objects_CXX"; then
13725 predep_objects_CXX
="$p"
13727 predep_objects_CXX
="$predep_objects_CXX $p"
13730 if test -z "$postdep_objects_CXX"; then
13731 postdep_objects_CXX
="$p"
13733 postdep_objects_CXX
="$postdep_objects_CXX $p"
13738 *) ;; # Ignore the rest.
13746 echo "libtool.m4: error: problem compiling CXX test program"
13749 $RM -f confest.
$objext
13751 # PORTME: override above test on systems where it is broken
13754 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13755 # hack all around it, let's just trust "g++" to DTRT.
13756 predep_objects_CXX
=
13757 postdep_objects_CXX
=
13762 case `$CC -V 2>&1 | sed 5q` in
13766 # The more standards-conforming stlport4 library is
13767 # incompatible with the Cstd library. Avoid specifying
13768 # it if it's in CXXFLAGS. Ignore libCrun as
13769 # -library=stlport4 depends on it.
13770 case " $CXX $CXXFLAGS " in
13771 *" -library=stlport4 "*)
13772 solaris_use_stlport4
=yes
13776 if test "$solaris_use_stlport4" != yes; then
13777 postdeps_CXX
='-library=Cstd -library=Crun'
13784 case $cc_basename in
13786 # The more standards-conforming stlport4 library is
13787 # incompatible with the Cstd library. Avoid specifying
13788 # it if it's in CXXFLAGS. Ignore libCrun as
13789 # -library=stlport4 depends on it.
13790 case " $CXX $CXXFLAGS " in
13791 *" -library=stlport4 "*)
13792 solaris_use_stlport4
=yes
13796 # Adding this requires a known-good setup of shared libraries for
13797 # Sun compiler versions before 5.6, else PIC objects from an old
13798 # archive will be linked into the output, leading to subtle bugs.
13799 if test "$solaris_use_stlport4" != yes; then
13800 postdeps_CXX
='-library=Cstd -library=Crun'
13808 case " $postdeps_CXX " in
13809 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13837 lt_prog_compiler_wl_CXX
=
13838 lt_prog_compiler_pic_CXX
=
13839 lt_prog_compiler_static_CXX
=
13841 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13842 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13844 # C++ specific cases for pic, static, wl, etc.
13845 if test "$GXX" = yes; then
13846 lt_prog_compiler_wl_CXX
='-Wl,'
13847 lt_prog_compiler_static_CXX
='-static'
13851 # All AIX code is PIC.
13852 if test "$host_cpu" = ia64
; then
13853 # AIX 5 now supports IA64 processor
13854 lt_prog_compiler_static_CXX
='-Bstatic'
13858 if test "$host_cpu" = m68k
; then
13859 # FIXME: we need at least 68020 code to build shared libraries, but
13860 # adding the `-m68020' flag to GCC prevents building anything better,
13862 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13865 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13866 # PIC is the default for these OSes.
13868 mingw
* | cygwin
* | os2
* | pw32
*)
13869 # This hack is so that the source file can tell whether it is being
13870 # built for inclusion in a dll (and should export symbols for example).
13871 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13872 # (--disable-auto-import) libraries
13873 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13875 darwin
* | rhapsody
*)
13876 # PIC is the default on this platform
13877 # Common symbols not allowed in MH_DYLIB files
13878 lt_prog_compiler_pic_CXX
='-fno-common'
13881 # DJGPP does not support shared libraries at all
13882 lt_prog_compiler_pic_CXX
=
13885 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13886 # Instead, we relocate shared libraries at runtime.
13889 if test -d /usr
/nec
; then
13890 lt_prog_compiler_pic_CXX
=-Kconform_pic
13894 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13895 # not for PA HP-UX.
13900 lt_prog_compiler_pic_CXX
='-fPIC'
13905 # QNX uses GNU C++, but need to define -shared option too, otherwise
13906 # it will coredump.
13907 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13910 lt_prog_compiler_pic_CXX
='-fPIC'
13916 # All AIX code is PIC.
13917 if test "$host_cpu" = ia64
; then
13918 # AIX 5 now supports IA64 processor
13919 lt_prog_compiler_static_CXX
='-Bstatic'
13921 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13925 case $cc_basename in
13927 # Green Hills C++ Compiler
13928 # _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"
13933 # PIC is the default on this platform
13934 # Common symbols not allowed in MH_DYLIB files
13935 case $cc_basename in
13937 lt_prog_compiler_pic_CXX
='-qnocommon'
13938 lt_prog_compiler_wl_CXX
='-Wl,'
13943 case $cc_basename in
13945 lt_prog_compiler_pic_CXX
='-KPIC'
13948 # Green Hills C++ Compiler
13949 lt_prog_compiler_pic_CXX
='-pic'
13955 freebsd
* | dragonfly
*)
13956 # FreeBSD uses GNU C++
13958 hpux9
* | hpux10
* | hpux11
*)
13959 case $cc_basename in
13961 lt_prog_compiler_wl_CXX
='-Wl,'
13962 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13963 if test "$host_cpu" != ia64
; then
13964 lt_prog_compiler_pic_CXX
='+Z'
13968 lt_prog_compiler_wl_CXX
='-Wl,'
13969 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13975 lt_prog_compiler_pic_CXX
='+Z'
13984 # This is c89, which is MS Visual C++ (no shared libs)
13985 # Anyone wants to do a port?
13987 irix5
* | irix6
* | nonstopux
*)
13988 case $cc_basename in
13990 lt_prog_compiler_wl_CXX
='-Wl,'
13991 lt_prog_compiler_static_CXX
='-non_shared'
13992 # CC pic flag -KPIC is the default.
13998 linux
* | k
*bsd
*-gnu)
13999 case $cc_basename in
14002 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14003 lt_prog_compiler_pic_CXX
='-fPIC'
14007 lt_prog_compiler_wl_CXX
='-Wl,'
14008 lt_prog_compiler_pic_CXX
='-KPIC'
14009 lt_prog_compiler_static_CXX
='-static'
14012 # Portland Group C++ compiler
14013 lt_prog_compiler_wl_CXX
='-Wl,'
14014 lt_prog_compiler_pic_CXX
='-fpic'
14015 lt_prog_compiler_static_CXX
='-Bstatic'
14019 # Make sure the PIC flag is empty. It appears that all Alpha
14020 # Linux and Compaq Tru64 Unix objects are PIC.
14021 lt_prog_compiler_pic_CXX
=
14022 lt_prog_compiler_static_CXX
='-non_shared'
14025 case `$CC -V 2>&1 | sed 5q` in
14028 lt_prog_compiler_pic_CXX
='-KPIC'
14029 lt_prog_compiler_static_CXX
='-Bstatic'
14030 lt_prog_compiler_wl_CXX
='-Qoption ld '
14041 case $cc_basename in
14043 lt_prog_compiler_pic_CXX
='-W c,exportall'
14052 # QNX uses GNU C++, but need to define -shared option too, otherwise
14053 # it will coredump.
14054 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14056 osf3
* | osf4
* | osf5
*)
14057 case $cc_basename in
14059 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14062 # Rational C++ 2.4.1
14063 lt_prog_compiler_pic_CXX
='-pic'
14066 # Digital/Compaq C++
14067 lt_prog_compiler_wl_CXX
='-Wl,'
14068 # Make sure the PIC flag is empty. It appears that all Alpha
14069 # Linux and Compaq Tru64 Unix objects are PIC.
14070 lt_prog_compiler_pic_CXX
=
14071 lt_prog_compiler_static_CXX
='-non_shared'
14080 case $cc_basename in
14082 # Sun C++ 4.2, 5.x and Centerline C++
14083 lt_prog_compiler_pic_CXX
='-KPIC'
14084 lt_prog_compiler_static_CXX
='-Bstatic'
14085 lt_prog_compiler_wl_CXX
='-Qoption ld '
14088 # Green Hills C++ Compiler
14089 lt_prog_compiler_pic_CXX
='-PIC'
14096 case $cc_basename in
14099 lt_prog_compiler_pic_CXX
='-pic'
14100 lt_prog_compiler_static_CXX
='-Bstatic'
14104 lt_prog_compiler_pic_CXX
='-pic'
14110 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14111 case $cc_basename in
14113 lt_prog_compiler_wl_CXX
='-Wl,'
14114 lt_prog_compiler_pic_CXX
='-KPIC'
14115 lt_prog_compiler_static_CXX
='-Bstatic'
14120 case $cc_basename in
14122 # NonStop-UX NCC 3.20
14123 lt_prog_compiler_pic_CXX
='-KPIC'
14132 lt_prog_compiler_can_build_shared_CXX
=no
14138 # For platforms which do not support PIC, -DPIC is meaningless:
14140 lt_prog_compiler_pic_CXX
=
14143 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14146 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14147 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
14152 # Check to make sure the PIC flag actually works.
14154 if test -n "$lt_prog_compiler_pic_CXX"; then
14155 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14156 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
14157 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
14158 echo $ECHO_N "(cached) $ECHO_C" >&6
14160 lt_prog_compiler_pic_works_CXX
=no
14161 ac_outfile
=conftest.
$ac_objext
14162 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14163 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14164 # Insert the option either (1) after the last *FLAGS variable, or
14165 # (2) before a word containing "conftest.", or (3) at the end.
14166 # Note that $ac_compile itself does not contain backslashes and begins
14167 # with a dollar sign (not a hyphen), so the echo should work correctly.
14168 # The option is referenced via a variable to avoid confusing sed.
14169 lt_compile
=`echo "$ac_compile" | $SED \
14170 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14171 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14172 -e 's:$: $lt_compiler_flag:'`
14173 (eval echo "\"\$as_me:14173: $lt_compile\"" >&5)
14174 (eval "$lt_compile" 2>conftest.err
)
14176 cat conftest.err
>&5
14177 echo "$as_me:14177: \$? = $ac_status" >&5
14178 if (exit $ac_status) && test -s "$ac_outfile"; then
14179 # The compiler can only warn and ignore the option if not recognized
14180 # So say no if there are warnings other than the usual output.
14181 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14182 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14183 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14184 lt_prog_compiler_pic_works_CXX
=yes
14190 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
14191 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
14193 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
14194 case $lt_prog_compiler_pic_CXX in
14196 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14199 lt_prog_compiler_pic_CXX
=
14200 lt_prog_compiler_can_build_shared_CXX
=no
14208 # Check to make sure the static flag actually works.
14210 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14211 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14212 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
14213 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
14214 echo $ECHO_N "(cached) $ECHO_C" >&6
14216 lt_prog_compiler_static_works_CXX
=no
14217 save_LDFLAGS
="$LDFLAGS"
14218 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14219 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14220 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14221 # The linker can only warn and ignore the option if not recognized
14222 # So say no if there are warnings
14223 if test -s conftest.err
; then
14224 # Append any errors to the config.log.
14225 cat conftest.err
1>&5
14226 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14227 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14228 if diff conftest.exp conftest.er2
>/dev
/null
; then
14229 lt_prog_compiler_static_works_CXX
=yes
14232 lt_prog_compiler_static_works_CXX
=yes
14236 LDFLAGS
="$save_LDFLAGS"
14239 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
14240 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
14242 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
14245 lt_prog_compiler_static_CXX
=
14251 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14252 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
14253 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14254 echo $ECHO_N "(cached) $ECHO_C" >&6
14256 lt_cv_prog_compiler_c_o_CXX
=no
14257 $RM -r conftest
2>/dev
/null
14261 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14263 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14264 # Insert the option either (1) after the last *FLAGS variable, or
14265 # (2) before a word containing "conftest.", or (3) at the end.
14266 # Note that $ac_compile itself does not contain backslashes and begins
14267 # with a dollar sign (not a hyphen), so the echo should work correctly.
14268 lt_compile
=`echo "$ac_compile" | $SED \
14269 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14270 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14271 -e 's:$: $lt_compiler_flag:'`
14272 (eval echo "\"\$as_me:14272: $lt_compile\"" >&5)
14273 (eval "$lt_compile" 2>out
/conftest.err
)
14275 cat out
/conftest.err
>&5
14276 echo "$as_me:14276: \$? = $ac_status" >&5
14277 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14279 # The compiler can only warn and ignore the option if not recognized
14280 # So say no if there are warnings
14281 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14282 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14283 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14284 lt_cv_prog_compiler_c_o_CXX
=yes
14289 # SGI C++ compiler will create directory out/ii_files/ for
14290 # template instantiation
14291 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14292 $RM out
/* && rmdir out
14298 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14299 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
14303 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14304 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
14305 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14306 echo $ECHO_N "(cached) $ECHO_C" >&6
14308 lt_cv_prog_compiler_c_o_CXX
=no
14309 $RM -r conftest
2>/dev
/null
14313 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14315 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14316 # Insert the option either (1) after the last *FLAGS variable, or
14317 # (2) before a word containing "conftest.", or (3) at the end.
14318 # Note that $ac_compile itself does not contain backslashes and begins
14319 # with a dollar sign (not a hyphen), so the echo should work correctly.
14320 lt_compile
=`echo "$ac_compile" | $SED \
14321 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14322 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14323 -e 's:$: $lt_compiler_flag:'`
14324 (eval echo "\"\$as_me:14324: $lt_compile\"" >&5)
14325 (eval "$lt_compile" 2>out
/conftest.err
)
14327 cat out
/conftest.err
>&5
14328 echo "$as_me:14328: \$? = $ac_status" >&5
14329 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14331 # The compiler can only warn and ignore the option if not recognized
14332 # So say no if there are warnings
14333 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14334 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14335 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14336 lt_cv_prog_compiler_c_o_CXX
=yes
14341 # SGI C++ compiler will create directory out/ii_files/ for
14342 # template instantiation
14343 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14344 $RM out
/* && rmdir out
14350 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14351 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
14356 hard_links
="nottested"
14357 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14358 # do not overwrite the value of need_locks provided by the user
14359 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14360 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
14363 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14365 ln conftest.a conftest.b
2>&5 || hard_links
=no
14366 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14367 echo "$as_me:$LINENO: result: $hard_links" >&5
14368 echo "${ECHO_T}$hard_links" >&6
14369 if test "$hard_links" = no
; then
14370 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14371 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14380 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14381 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
14383 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14386 # If we're using GNU nm, then we don't want the "-C" option.
14387 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14388 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14389 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'
14391 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'
14395 export_symbols_cmds_CXX
="$ltdll_cmds"
14398 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'
14401 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14405 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14406 echo "${ECHO_T}$ld_shlibs_CXX" >&6
14407 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14409 with_gnu_ld_CXX
=$with_gnu_ld
14417 # Do we need to explicitly link libc?
14419 case "x$archive_cmds_need_lc_CXX" in
14421 # Assume -lc should be added
14422 archive_cmds_need_lc_CXX
=yes
14424 if test "$enable_shared" = yes && test "$GCC" = yes; then
14425 case $archive_cmds_CXX in
14427 # FIXME: we may have to deal with multi-command sequences.
14430 # Test whether the compiler implicitly links with -lc since on some
14431 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14432 # to ld, don't add -lc before -lgcc.
14433 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14434 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14436 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14439 (eval $ac_compile) 2>&5
14441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14442 (exit $ac_status); } 2>conftest.err
; then
14445 libobjs
=conftest.
$ac_objext
14447 wl
=$lt_prog_compiler_wl_CXX
14448 pic_flag
=$lt_prog_compiler_pic_CXX
14454 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14455 allow_undefined_flag_CXX
=
14456 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
14457 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14460 (exit $ac_status); }
14462 archive_cmds_need_lc_CXX
=no
14464 archive_cmds_need_lc_CXX
=yes
14466 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14468 cat conftest.err
1>&5
14471 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14472 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
14542 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14543 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14545 library_names_spec
=
14546 libname_spec
='lib$name'
14550 postuninstall_cmds
=
14554 shlibpath_overrides_runpath
=unknown
14556 dynamic_linker
="$host_os ld.so"
14557 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14558 need_lib_prefix
=unknown
14559 hardcode_into_libs
=no
14561 # when you set need_version to no, make sure it does not cause -set_version
14562 # flags to be left without arguments
14563 need_version
=unknown
14568 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14569 shlibpath_var
=LIBPATH
14571 # AIX 3 has no versioning support, so we append a major version to the name.
14572 soname_spec
='${libname}${release}${shared_ext}$major'
14579 hardcode_into_libs
=yes
14580 if test "$host_cpu" = ia64
; then
14581 # AIX 5 supports IA64
14582 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14583 shlibpath_var
=LD_LIBRARY_PATH
14585 # With GCC up to 2.95.x, collect2 would create an import file
14586 # for dependence libraries. The import file would start with
14587 # the line `#! .'. This would cause the generated library to
14588 # depend on `.', always an invalid library. This was fixed in
14589 # development snapshots of GCC prior to 3.0.
14591 aix4 | aix4.
[01] | aix4.
[01].
*)
14592 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14594 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14597 can_build_shared
=no
14601 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14602 # soname into executable. Probably we can add versioning support to
14603 # collect2, so additional links can be useful in future.
14604 if test "$aix_use_runtimelinking" = yes; then
14605 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14606 # instead of lib<name>.a to let people know that these are not
14607 # typical AIX shared libraries.
14608 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14610 # We preserve .a as extension for shared libraries through AIX4.2
14611 # and later when we are not doing run time linking.
14612 library_names_spec
='${libname}${release}.a $libname.a'
14613 soname_spec
='${libname}${release}${shared_ext}$major'
14615 shlibpath_var
=LIBPATH
14620 if test "$host_cpu" = m68k
; then
14621 library_names_spec
='$libname.ixlibrary $libname.a'
14622 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14623 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'
14630 library_names_spec
='${libname}${shared_ext}'
14631 dynamic_linker
="$host_os ld.so"
14632 shlibpath_var
=LIBRARY_PATH
14638 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14639 soname_spec
='${libname}${release}${shared_ext}$major'
14640 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14641 shlibpath_var
=LD_LIBRARY_PATH
14642 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14643 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14644 # the default ld.so.conf also contains /usr/contrib/lib and
14645 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14646 # libtool to hard-code these into programs
14649 cygwin
* | mingw
* | pw32
*)
14650 version_type
=windows
14655 case $withGCC,$host_os in
14656 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14657 library_names_spec
='$libname.dll.a'
14658 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14659 postinstall_cmds
='base_file=`basename \${file}`~
14660 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14661 dldir=$destdir/`dirname \$dlpath`~
14662 test -d \$dldir || mkdir -p \$dldir~
14663 $install_prog $dir/$dlname \$dldir/$dlname~
14664 chmod a+x \$dldir/$dlname~
14665 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14666 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14668 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14669 dlpath=$dir/\$dldll~
14671 shlibpath_overrides_runpath
=yes
14675 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14676 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14677 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14680 # MinGW DLLs use traditional 'lib' prefix
14681 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14682 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14683 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
14684 # It is most probably a Windows format PATH printed by
14685 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14686 # path with ; separators, and with drive letters. We can handle the
14687 # drive letters (cygwin fileutils understands them), so leave them,
14688 # especially as we might pass files found there to a mingw objdump,
14689 # which wouldn't understand a cygwinified path. Ahh.
14690 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14692 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14696 # pw32 DLLs use 'pw' prefix rather than 'lib'
14697 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14703 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14706 dynamic_linker
='Win32 ld.exe'
14707 # FIXME: first we should search . and the directory the executable is in
14711 darwin
* | rhapsody
*)
14712 dynamic_linker
="$host_os dyld"
14713 version_type
=darwin
14716 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14717 soname_spec
='${libname}${release}${major}$shared_ext'
14718 shlibpath_overrides_runpath
=yes
14719 shlibpath_var
=DYLD_LIBRARY_PATH
14720 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14722 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14729 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14730 soname_spec
='${libname}${release}${shared_ext}$major'
14731 shlibpath_var
=LD_LIBRARY_PATH
14738 freebsd
* | dragonfly
*)
14739 # DragonFly does not have aout. When/if they implement a new
14740 # versioning mechanism, adjust this.
14741 if test -x /usr
/bin
/objformat
; then
14742 objformat
=`/usr/bin/objformat`
14745 freebsd
[123]*) objformat
=aout
;;
14746 *) objformat
=elf
;;
14749 version_type
=freebsd-
$objformat
14750 case $version_type in
14752 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14757 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14761 shlibpath_var
=LD_LIBRARY_PATH
14764 shlibpath_overrides_runpath
=yes
14766 freebsd3.
[01]* | freebsdelf3.
[01]*)
14767 shlibpath_overrides_runpath
=yes
14768 hardcode_into_libs
=yes
14770 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14771 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14772 shlibpath_overrides_runpath
=no
14773 hardcode_into_libs
=yes
14775 *) # from 4.6 on, and DragonFly
14776 shlibpath_overrides_runpath
=yes
14777 hardcode_into_libs
=yes
14786 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14787 soname_spec
='${libname}${release}${shared_ext}$major'
14788 shlibpath_var
=LD_LIBRARY_PATH
14789 hardcode_into_libs
=yes
14792 hpux9
* | hpux10
* | hpux11
*)
14793 # Give a soname corresponding to the major version so that dld.sl refuses to
14794 # link against other versions.
14801 hardcode_into_libs
=yes
14802 dynamic_linker
="$host_os dld.so"
14803 shlibpath_var
=LD_LIBRARY_PATH
14804 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14805 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14806 soname_spec
='${libname}${release}${shared_ext}$major'
14807 if test "X$HPUX_IA64_MODE" = X32
; then
14808 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14810 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14812 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14816 hardcode_into_libs
=yes
14817 dynamic_linker
="$host_os dld.sl"
14818 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14819 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14820 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14821 soname_spec
='${libname}${release}${shared_ext}$major'
14822 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14823 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14827 dynamic_linker
="$host_os dld.sl"
14828 shlibpath_var
=SHLIB_PATH
14829 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14830 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14831 soname_spec
='${libname}${release}${shared_ext}$major'
14834 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14835 postinstall_cmds
='chmod 555 $lib'
14842 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14843 soname_spec
='${libname}${release}${shared_ext}$major'
14844 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14845 shlibpath_var
=LD_LIBRARY_PATH
14846 shlibpath_overrides_runpath
=no
14847 hardcode_into_libs
=yes
14850 irix5
* | irix6
* | nonstopux
*)
14852 nonstopux
*) version_type
=nonstopux
;;
14854 if test "$lt_cv_prog_gnu_ld" = yes; then
14862 soname_spec
='${libname}${release}${shared_ext}$major'
14863 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14865 irix5
* | nonstopux
*)
14866 libsuff
= shlibsuff
=
14869 case $LD in # libtool.m4 will add one of these switches to LD
14870 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14871 libsuff
= shlibsuff
= libmagic
=32-bit;;
14872 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14873 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14874 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14875 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14876 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14880 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14881 shlibpath_overrides_runpath
=no
14882 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14883 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14884 hardcode_into_libs
=yes
14887 # No shared lib support for Linux oldld, aout, or coff.
14888 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14892 # This must be Linux ELF.
14893 linux
* | k
*bsd
*-gnu)
14897 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14898 soname_spec
='${libname}${release}${shared_ext}$major'
14899 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14900 shlibpath_var
=LD_LIBRARY_PATH
14901 shlibpath_overrides_runpath
=no
14902 # Some binutils ld are patched to set DT_RUNPATH
14903 save_LDFLAGS
=$LDFLAGS
14904 save_libdir
=$libdir
14905 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14906 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14907 if test x
$gcc_no_link = xyes
; then
14908 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14910 { (exit 1); exit 1; }; }
14912 cat >conftest.
$ac_ext <<_ACEOF
14915 cat confdefs.h
>>conftest.
$ac_ext
14916 cat >>conftest.
$ac_ext <<_ACEOF
14917 /* end confdefs.h. */
14927 rm -f conftest.
$ac_objext conftest
$ac_exeext
14928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14929 (eval $ac_link) 2>conftest.er1
14931 grep -v '^ *+' conftest.er1
>conftest.err
14933 cat conftest.err
>&5
14934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14935 (exit $ac_status); } &&
14936 { ac_try
='test -z "$ac_cxx_werror_flag"
14937 || test ! -s conftest.err'
14938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14939 (eval $ac_try) 2>&5
14941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14942 (exit $ac_status); }; } &&
14943 { ac_try
='test -s conftest$ac_exeext'
14944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14945 (eval $ac_try) 2>&5
14947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948 (exit $ac_status); }; }; then
14949 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
14950 shlibpath_overrides_runpath
=yes
14954 echo "$as_me: failed program was:" >&5
14955 sed 's/^/| /' conftest.
$ac_ext >&5
14958 rm -f conftest.err conftest.
$ac_objext \
14959 conftest
$ac_exeext conftest.
$ac_ext
14960 LDFLAGS
=$save_LDFLAGS
14961 libdir
=$save_libdir
14963 # This implies no fast_install, which is unacceptable.
14964 # Some rework will be needed to allow for fast_install
14965 # before this can be enabled.
14966 hardcode_into_libs
=yes
14968 # Append ld.so.conf contents to the search path
14969 if test -f /etc
/ld.so.conf
; then
14970 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' ' '`
14971 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14974 # We used to test for /lib/ld.so.1 and disable shared libraries on
14975 # powerpc, because MkLinux only supported shared libraries with the
14976 # GNU dynamic linker. Since this was broken with cross compilers,
14977 # most powerpc-linux boxes support dynamic linking these days and
14978 # people can always --disable-shared, the test was removed, and we
14979 # assume the GNU/Linux dynamic linker is in use.
14980 dynamic_linker
='GNU/Linux ld.so'
14987 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14988 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14989 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14990 dynamic_linker
='NetBSD (a.out) ld.so'
14992 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14993 soname_spec
='${libname}${release}${shared_ext}$major'
14994 dynamic_linker
='NetBSD ld.elf_so'
14996 shlibpath_var
=LD_LIBRARY_PATH
14997 shlibpath_overrides_runpath
=yes
14998 hardcode_into_libs
=yes
15003 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15004 shlibpath_var
=LD_LIBRARY_PATH
15005 shlibpath_overrides_runpath
=yes
15012 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15013 soname_spec
='${libname}${release}${shared_ext}$major'
15014 shlibpath_var
=LD_LIBRARY_PATH
15015 shlibpath_overrides_runpath
=no
15016 hardcode_into_libs
=yes
15017 dynamic_linker
='ldqnx.so'
15022 sys_lib_dlsearch_path_spec
="/usr/lib"
15024 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15026 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15027 *) need_version
=no
;;
15029 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15030 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15031 shlibpath_var
=LD_LIBRARY_PATH
15032 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15034 openbsd2.
[89] | openbsd2.
[89].
*)
15035 shlibpath_overrides_runpath
=no
15038 shlibpath_overrides_runpath
=yes
15042 shlibpath_overrides_runpath
=yes
15047 libname_spec
='$name'
15050 library_names_spec
='$libname${shared_ext} $libname.a'
15051 dynamic_linker
='OS/2 ld.exe'
15052 shlibpath_var
=LIBPATH
15055 osf3
* | osf4
* | osf5
*)
15059 soname_spec
='${libname}${release}${shared_ext}$major'
15060 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15061 shlibpath_var
=LD_LIBRARY_PATH
15062 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15063 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15075 soname_spec
='${libname}${release}${shared_ext}$major'
15076 shlibpath_var
=LD_LIBRARY_PATH
15077 shlibpath_overrides_runpath
=yes
15078 hardcode_into_libs
=yes
15079 # ldd complains unless libraries are executable
15080 postinstall_cmds
='chmod +x $lib'
15085 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15086 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15087 shlibpath_var
=LD_LIBRARY_PATH
15088 shlibpath_overrides_runpath
=yes
15089 if test "$with_gnu_ld" = yes; then
15097 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15098 soname_spec
='${libname}${release}${shared_ext}$major'
15099 shlibpath_var
=LD_LIBRARY_PATH
15100 case $host_vendor in
15102 shlibpath_overrides_runpath
=no
15104 runpath_var
=LD_RUN_PATH
15112 shlibpath_overrides_runpath
=no
15113 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15119 if test -d /usr
/nec
;then
15121 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15122 soname_spec
='$libname${shared_ext}.$major'
15123 shlibpath_var
=LD_LIBRARY_PATH
15127 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15128 version_type
=freebsd-elf
15131 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15132 soname_spec
='${libname}${release}${shared_ext}$major'
15133 shlibpath_var
=LD_LIBRARY_PATH
15134 shlibpath_overrides_runpath
=yes
15135 hardcode_into_libs
=yes
15136 if test "$with_gnu_ld" = yes; then
15137 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15139 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15142 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15146 sys_lib_dlsearch_path_spec
='/usr/lib'
15150 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15154 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15155 shlibpath_var
=LD_LIBRARY_PATH
15156 shlibpath_overrides_runpath
=no
15157 hardcode_into_libs
=yes
15162 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15163 soname_spec
='${libname}${release}${shared_ext}$major'
15164 shlibpath_var
=LD_LIBRARY_PATH
15171 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15172 echo "${ECHO_T}$dynamic_linker" >&6
15173 test "$dynamic_linker" = no
&& can_build_shared
=no
15175 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15176 if test "$GCC" = yes; then
15177 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15215 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15216 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15217 hardcode_action_CXX
=
15218 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15219 test -n "$runpath_var_CXX" ||
15220 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15222 # We can hardcode non-existent directories.
15223 if test "$hardcode_direct_CXX" != no
&&
15224 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15225 # have to relink, otherwise we might link with an installed library
15226 # when we should be linking with a yet-to-be-installed one
15227 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15228 test "$hardcode_minus_L_CXX" != no
; then
15229 # Linking always hardcodes the temporary library directory.
15230 hardcode_action_CXX
=relink
15232 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15233 hardcode_action_CXX
=immediate
15236 # We cannot hardcode anything, or else we can only hardcode existing
15238 hardcode_action_CXX
=unsupported
15240 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15241 echo "${ECHO_T}$hardcode_action_CXX" >&6
15243 if test "$hardcode_action_CXX" = relink ||
15244 test "$inherit_rpath_CXX" = yes; then
15245 # Fast installation is not supported
15246 enable_fast_install
=no
15247 elif test "$shlibpath_overrides_runpath" = yes ||
15248 test "$enable_shared" = no
; then
15249 # Fast installation is not necessary
15250 enable_fast_install
=needless
15259 fi # test -n "$compiler"
15265 with_gnu_ld
=$lt_save_with_gnu_ld
15266 lt_cv_path_LDCXX
=$lt_cv_path_LD
15267 lt_cv_path_LD
=$lt_save_path_LD
15268 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15269 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15270 fi # test "$_lt_caught_CXX_error" != yes
15273 ac_cpp
='$CPP $CPPFLAGS'
15274 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15275 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15276 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15290 ac_config_commands
="$ac_config_commands libtool"
15295 # Only expand once:
15301 # Extract the first word of "$ac_prog", so it can be a program name with args.
15302 set dummy
$ac_prog; ac_word
=$2
15303 echo "$as_me:$LINENO: checking for $ac_word" >&5
15304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15305 if test "${ac_cv_prog_GCJ+set}" = set; then
15306 echo $ECHO_N "(cached) $ECHO_C" >&6
15308 if test -n "$GCJ"; then
15309 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
15311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15312 for as_dir
in $PATH
15315 test -z "$as_dir" && as_dir
=.
15316 for ac_exec_ext
in '' $ac_executable_extensions; do
15317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15318 ac_cv_prog_GCJ
="$ac_prog"
15319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15327 GCJ
=$ac_cv_prog_GCJ
15328 if test -n "$GCJ"; then
15329 echo "$as_me:$LINENO: result: $GCJ" >&5
15330 echo "${ECHO_T}$GCJ" >&6
15332 echo "$as_me:$LINENO: result: no" >&5
15333 echo "${ECHO_T}no" >&6
15336 test -n "$GCJ" && break
15338 test -n "$GCJ" || GCJ
="gcj"
15340 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
15341 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
15342 { (exit 1); exit 1; }; }
15343 if test "x${GCJFLAGS-unset}" = xunset
; then
15348 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
15350 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
15351 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
15352 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
15353 echo $ECHO_N "(cached) $ECHO_C" >&6
15355 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15356 # We make a subdir and do the tests there. Otherwise we can end up
15357 # making bogus files that we don't know about and never remove. For
15358 # instance it was reported that on HP-UX the gcc test will end up
15359 # making a dummy file named `D' -- because `-MD' means `put the output
15362 # Copy depcomp to subdir because otherwise we won't find it if we're
15363 # using a relative directory.
15364 cp "$am_depcomp" conftest.dir
15366 # We will build objects and dependencies in a subdirectory because
15367 # it helps to detect inapplicable dependency modes. For instance
15368 # both Tru64's cc and ICC support -MD to output dependencies as a
15369 # side effect of compilation, but ICC will put the dependencies in
15370 # the current directory while Tru64 will put them in the object
15374 am_cv_GCJ_dependencies_compiler_type
=none
15375 if test "$am_compiler_list" = ""; then
15376 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15378 for depmode
in $am_compiler_list; do
15379 # Setup a source with many dependencies, because some compilers
15380 # like to wrap large dependency lists on column 80 (with \), and
15381 # we should not choose a depcomp mode which is confused by this.
15383 # We need to recreate these files for each test, as the compiler may
15384 # overwrite some of them when testing with obscure command lines.
15385 # This happens at least with the AIX C compiler.
15387 for i
in 1 2 3 4 5 6; do
15388 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
15389 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15390 # Solaris 8's {/usr,}/bin/sh.
15391 touch sub
/conftst
$i.h
15393 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15397 # after this tag, mechanisms are not by side-effect, so they'll
15398 # only be used when explicitly requested
15399 if test "x$enable_dependency_tracking" = xyes
; then
15407 # We check with `-c' and `-o' for the sake of the "dashmstdout"
15408 # mode. It turns out that the SunPro C++ compiler does not properly
15409 # handle `-M -o', and we need to detect this.
15410 if depmode
=$depmode \
15411 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
15412 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
15413 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
15414 >/dev
/null
2>conftest.err
&&
15415 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
15416 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
15417 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
15418 # icc doesn't choke on unknown options, it will just issue warnings
15419 # or remarks (even with -Werror). So we grep stderr for any message
15420 # that says an option was ignored or not supported.
15421 # When given -MP, icc 7.0 and 7.1 complain thusly:
15422 # icc: Command line warning: ignoring option '-M'; no argument required
15423 # The diagnosis changed in icc 8.0:
15424 # icc: Command line remark: option '-MP' not supported
15425 if (grep 'ignoring option' conftest.err ||
15426 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
15427 am_cv_GCJ_dependencies_compiler_type
=$depmode
15434 rm -rf conftest.dir
15436 am_cv_GCJ_dependencies_compiler_type
=none
15440 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
15441 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
15442 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
15447 test "x$enable_dependency_tracking" != xno \
15448 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
15449 am__fastdepGCJ_TRUE
=
15450 am__fastdepGCJ_FALSE
='#'
15452 am__fastdepGCJ_TRUE
='#'
15453 am__fastdepGCJ_FALSE
=
15460 # Extract the first word of "$ac_prog", so it can be a program name with args.
15461 set dummy
$ac_prog; ac_word
=$2
15462 echo "$as_me:$LINENO: checking for $ac_word" >&5
15463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15464 if test "${ac_cv_prog_GCJ+set}" = set; then
15465 echo $ECHO_N "(cached) $ECHO_C" >&6
15467 if test -n "$GCJ"; then
15468 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
15470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15471 for as_dir
in $PATH
15474 test -z "$as_dir" && as_dir
=.
15475 for ac_exec_ext
in '' $ac_executable_extensions; do
15476 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15477 ac_cv_prog_GCJ
="$ac_prog"
15478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15486 GCJ
=$ac_cv_prog_GCJ
15487 if test -n "$GCJ"; then
15488 echo "$as_me:$LINENO: result: $GCJ" >&5
15489 echo "${ECHO_T}$GCJ" >&6
15491 echo "$as_me:$LINENO: result: no" >&5
15492 echo "${ECHO_T}no" >&6
15495 test -n "$GCJ" && break
15497 test -n "$GCJ" || GCJ
="gcj"
15499 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
15500 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
15501 { (exit 1); exit 1; }; }
15502 if test "x${GCJFLAGS-unset}" = xunset
; then
15507 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
15509 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
15510 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
15511 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
15512 echo $ECHO_N "(cached) $ECHO_C" >&6
15514 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15515 # We make a subdir and do the tests there. Otherwise we can end up
15516 # making bogus files that we don't know about and never remove. For
15517 # instance it was reported that on HP-UX the gcc test will end up
15518 # making a dummy file named `D' -- because `-MD' means `put the output
15521 # Copy depcomp to subdir because otherwise we won't find it if we're
15522 # using a relative directory.
15523 cp "$am_depcomp" conftest.dir
15525 # We will build objects and dependencies in a subdirectory because
15526 # it helps to detect inapplicable dependency modes. For instance
15527 # both Tru64's cc and ICC support -MD to output dependencies as a
15528 # side effect of compilation, but ICC will put the dependencies in
15529 # the current directory while Tru64 will put them in the object
15533 am_cv_GCJ_dependencies_compiler_type
=none
15534 if test "$am_compiler_list" = ""; then
15535 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15537 for depmode
in $am_compiler_list; do
15538 # Setup a source with many dependencies, because some compilers
15539 # like to wrap large dependency lists on column 80 (with \), and
15540 # we should not choose a depcomp mode which is confused by this.
15542 # We need to recreate these files for each test, as the compiler may
15543 # overwrite some of them when testing with obscure command lines.
15544 # This happens at least with the AIX C compiler.
15546 for i
in 1 2 3 4 5 6; do
15547 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
15548 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15549 # Solaris 8's {/usr,}/bin/sh.
15550 touch sub
/conftst
$i.h
15552 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15556 # after this tag, mechanisms are not by side-effect, so they'll
15557 # only be used when explicitly requested
15558 if test "x$enable_dependency_tracking" = xyes
; then
15566 # We check with `-c' and `-o' for the sake of the "dashmstdout"
15567 # mode. It turns out that the SunPro C++ compiler does not properly
15568 # handle `-M -o', and we need to detect this.
15569 if depmode
=$depmode \
15570 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
15571 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
15572 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
15573 >/dev
/null
2>conftest.err
&&
15574 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
15575 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
15576 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
15577 # icc doesn't choke on unknown options, it will just issue warnings
15578 # or remarks (even with -Werror). So we grep stderr for any message
15579 # that says an option was ignored or not supported.
15580 # When given -MP, icc 7.0 and 7.1 complain thusly:
15581 # icc: Command line warning: ignoring option '-M'; no argument required
15582 # The diagnosis changed in icc 8.0:
15583 # icc: Command line remark: option '-MP' not supported
15584 if (grep 'ignoring option' conftest.err ||
15585 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
15586 am_cv_GCJ_dependencies_compiler_type
=$depmode
15593 rm -rf conftest.dir
15595 am_cv_GCJ_dependencies_compiler_type
=none
15599 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
15600 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
15601 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
15606 test "x$enable_dependency_tracking" != xno \
15607 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
15608 am__fastdepGCJ_TRUE
=
15609 am__fastdepGCJ_FALSE
='#'
15611 am__fastdepGCJ_TRUE
='#'
15612 am__fastdepGCJ_FALSE
=
15620 # Source file extension for Java test sources.
15623 # Object file extension for compiled Java test sources.
15627 # Code to be used in simple compile tests
15628 lt_simple_compile_test_code
="int some_variable = 0;"
15630 # Code to be used in simple link tests
15631 lt_simple_link_test_code
='int main(){return(0);}'
15633 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15640 # If no C compiler was specified, use CC.
15643 # If no C compiler flags were specified, use CFLAGS.
15644 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15646 # Allow CC to be a program name with arguments.
15650 # save warnings/boilerplate of simple test code
15651 ac_outfile
=conftest.
$ac_objext
15652 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
15653 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15654 _lt_compiler_boilerplate
=`cat conftest.err`
15657 ac_outfile
=conftest.
$ac_objext
15658 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
15659 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15660 _lt_linker_boilerplate
=`cat conftest.err`
15664 # Allow CC to be a program name with arguments.
15667 for cc_temp
in $compiler""; do
15669 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15670 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15675 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15678 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15679 archive_cmds_need_lc_GCJ
=no
15681 old_archive_cmds_GCJ
=$old_archive_cmds
15684 ## There is no encapsulation within the following macros, do not change
15685 ## the running order or otherwise move them around unless you know exactly
15686 ## what you are doing...
15687 if test -n "$compiler"; then
15689 lt_prog_compiler_no_builtin_flag_GCJ
=
15691 if test "$GCC" = yes; then
15692 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15694 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15695 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15696 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15697 echo $ECHO_N "(cached) $ECHO_C" >&6
15699 lt_cv_prog_compiler_rtti_exceptions
=no
15700 ac_outfile
=conftest.
$ac_objext
15701 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15702 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15703 # Insert the option either (1) after the last *FLAGS variable, or
15704 # (2) before a word containing "conftest.", or (3) at the end.
15705 # Note that $ac_compile itself does not contain backslashes and begins
15706 # with a dollar sign (not a hyphen), so the echo should work correctly.
15707 # The option is referenced via a variable to avoid confusing sed.
15708 lt_compile
=`echo "$ac_compile" | $SED \
15709 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15710 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15711 -e 's:$: $lt_compiler_flag:'`
15712 (eval echo "\"\$as_me:15712: $lt_compile\"" >&5)
15713 (eval "$lt_compile" 2>conftest.err
)
15715 cat conftest.err
>&5
15716 echo "$as_me:15716: \$? = $ac_status" >&5
15717 if (exit $ac_status) && test -s "$ac_outfile"; then
15718 # The compiler can only warn and ignore the option if not recognized
15719 # So say no if there are warnings other than the usual output.
15720 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15721 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15722 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15723 lt_cv_prog_compiler_rtti_exceptions
=yes
15729 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15730 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15732 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15733 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15742 lt_prog_compiler_wl_GCJ
=
15743 lt_prog_compiler_pic_GCJ
=
15744 lt_prog_compiler_static_GCJ
=
15746 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15747 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15749 if test "$GCC" = yes; then
15750 lt_prog_compiler_wl_GCJ
='-Wl,'
15751 lt_prog_compiler_static_GCJ
='-static'
15755 # All AIX code is PIC.
15756 if test "$host_cpu" = ia64
; then
15757 # AIX 5 now supports IA64 processor
15758 lt_prog_compiler_static_GCJ
='-Bstatic'
15763 if test "$host_cpu" = m68k
; then
15764 # FIXME: we need at least 68020 code to build shared libraries, but
15765 # adding the `-m68020' flag to GCC prevents building anything better,
15767 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
15771 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15772 # PIC is the default for these OSes.
15775 mingw
* | cygwin
* | pw32
* | os2
*)
15776 # This hack is so that the source file can tell whether it is being
15777 # built for inclusion in a dll (and should export symbols for example).
15778 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15779 # (--disable-auto-import) libraries
15783 darwin
* | rhapsody
*)
15784 # PIC is the default on this platform
15785 # Common symbols not allowed in MH_DYLIB files
15786 lt_prog_compiler_pic_GCJ
='-fno-common'
15790 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15791 # not for PA HP-UX.
15797 lt_prog_compiler_pic_GCJ
='-fPIC'
15803 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15804 # Instead, we relocate shared libraries at runtime.
15808 # Just because we use GCC doesn't mean we suddenly get shared libraries
15809 # on systems that don't support them.
15810 lt_prog_compiler_can_build_shared_GCJ
=no
15815 # QNX uses GNU C++, but need to define -shared option too, otherwise
15816 # it will coredump.
15817 lt_prog_compiler_pic_GCJ
='-fPIC -shared'
15821 if test -d /usr
/nec
; then
15822 lt_prog_compiler_pic_GCJ
=-Kconform_pic
15827 lt_prog_compiler_pic_GCJ
='-fPIC'
15831 # PORTME Check for flag to pass linker flags through the system compiler.
15834 lt_prog_compiler_wl_GCJ
='-Wl,'
15835 if test "$host_cpu" = ia64
; then
15836 # AIX 5 now supports IA64 processor
15837 lt_prog_compiler_static_GCJ
='-Bstatic'
15839 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
15843 # PIC is the default on this platform
15844 # Common symbols not allowed in MH_DYLIB files
15845 case $cc_basename in
15847 lt_prog_compiler_pic_GCJ
='-qnocommon'
15848 lt_prog_compiler_wl_GCJ
='-Wl,'
15853 mingw
* | cygwin
* | pw32
* | os2
*)
15854 # This hack is so that the source file can tell whether it is being
15855 # built for inclusion in a dll (and should export symbols for example).
15859 hpux9
* | hpux10
* | hpux11
*)
15860 lt_prog_compiler_wl_GCJ
='-Wl,'
15861 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15862 # not for PA HP-UX.
15868 lt_prog_compiler_pic_GCJ
='+Z'
15871 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15872 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
15875 irix5
* | irix6
* | nonstopux
*)
15876 lt_prog_compiler_wl_GCJ
='-Wl,'
15877 # PIC (with -KPIC) is the default.
15878 lt_prog_compiler_static_GCJ
='-non_shared'
15881 linux
* | k
*bsd
*-gnu)
15882 case $cc_basename in
15884 lt_prog_compiler_wl_GCJ
='-Wl,'
15885 lt_prog_compiler_pic_GCJ
='-KPIC'
15886 lt_prog_compiler_static_GCJ
='-static'
15888 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
15889 # Portland Group compilers (*not* the Pentium gcc compiler,
15890 # which looks to be a dead project)
15891 lt_prog_compiler_wl_GCJ
='-Wl,'
15892 lt_prog_compiler_pic_GCJ
='-fpic'
15893 lt_prog_compiler_static_GCJ
='-Bstatic'
15896 lt_prog_compiler_wl_GCJ
='-Wl,'
15897 # All Alpha code is PIC.
15898 lt_prog_compiler_static_GCJ
='-non_shared'
15901 case `$CC -V 2>&1 | sed 5q` in
15904 lt_prog_compiler_pic_GCJ
='-KPIC'
15905 lt_prog_compiler_static_GCJ
='-Bstatic'
15906 lt_prog_compiler_wl_GCJ
='-Wl,'
15909 # Sun Fortran 8.3 passes all unrecognized flags to the linker
15910 lt_prog_compiler_pic_GCJ
='-KPIC'
15911 lt_prog_compiler_static_GCJ
='-Bstatic'
15912 lt_prog_compiler_wl_GCJ
=''
15920 lt_prog_compiler_pic_GCJ
='-KPIC'
15921 lt_prog_compiler_static_GCJ
='-Bstatic'
15925 # QNX uses GNU C++, but need to define -shared option too, otherwise
15926 # it will coredump.
15927 lt_prog_compiler_pic_GCJ
='-fPIC -shared'
15930 osf3
* | osf4
* | osf5
*)
15931 lt_prog_compiler_wl_GCJ
='-Wl,'
15932 # All OSF/1 code is PIC.
15933 lt_prog_compiler_static_GCJ
='-non_shared'
15937 lt_prog_compiler_static_GCJ
='-non_shared'
15941 lt_prog_compiler_pic_GCJ
='-KPIC'
15942 lt_prog_compiler_static_GCJ
='-Bstatic'
15943 case $cc_basename in
15944 f77
* | f90
* | f95
*)
15945 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
15947 lt_prog_compiler_wl_GCJ
='-Wl,';;
15952 lt_prog_compiler_wl_GCJ
='-Qoption ld '
15953 lt_prog_compiler_pic_GCJ
='-PIC'
15954 lt_prog_compiler_static_GCJ
='-Bstatic'
15957 sysv4 | sysv4.2uw2
* | sysv4.3
*)
15958 lt_prog_compiler_wl_GCJ
='-Wl,'
15959 lt_prog_compiler_pic_GCJ
='-KPIC'
15960 lt_prog_compiler_static_GCJ
='-Bstatic'
15964 if test -d /usr
/nec
;then
15965 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
15966 lt_prog_compiler_static_GCJ
='-Bstatic'
15970 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15971 lt_prog_compiler_wl_GCJ
='-Wl,'
15972 lt_prog_compiler_pic_GCJ
='-KPIC'
15973 lt_prog_compiler_static_GCJ
='-Bstatic'
15977 lt_prog_compiler_wl_GCJ
='-Wl,'
15978 lt_prog_compiler_can_build_shared_GCJ
=no
15982 lt_prog_compiler_pic_GCJ
='-pic'
15983 lt_prog_compiler_static_GCJ
='-Bstatic'
15987 lt_prog_compiler_can_build_shared_GCJ
=no
15993 # For platforms which do not support PIC, -DPIC is meaningless:
15995 lt_prog_compiler_pic_GCJ
=
15998 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16001 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16002 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
16007 # Check to make sure the PIC flag actually works.
16009 if test -n "$lt_prog_compiler_pic_GCJ"; then
16010 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16011 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
16012 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16013 echo $ECHO_N "(cached) $ECHO_C" >&6
16015 lt_prog_compiler_pic_works_GCJ
=no
16016 ac_outfile
=conftest.
$ac_objext
16017 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16018 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16019 # Insert the option either (1) after the last *FLAGS variable, or
16020 # (2) before a word containing "conftest.", or (3) at the end.
16021 # Note that $ac_compile itself does not contain backslashes and begins
16022 # with a dollar sign (not a hyphen), so the echo should work correctly.
16023 # The option is referenced via a variable to avoid confusing sed.
16024 lt_compile
=`echo "$ac_compile" | $SED \
16025 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16026 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16027 -e 's:$: $lt_compiler_flag:'`
16028 (eval echo "\"\$as_me:16028: $lt_compile\"" >&5)
16029 (eval "$lt_compile" 2>conftest.err
)
16031 cat conftest.err
>&5
16032 echo "$as_me:16032: \$? = $ac_status" >&5
16033 if (exit $ac_status) && test -s "$ac_outfile"; then
16034 # The compiler can only warn and ignore the option if not recognized
16035 # So say no if there are warnings other than the usual output.
16036 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16037 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16038 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16039 lt_prog_compiler_pic_works_GCJ
=yes
16045 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16046 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
16048 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16049 case $lt_prog_compiler_pic_GCJ in
16051 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16054 lt_prog_compiler_pic_GCJ
=
16055 lt_prog_compiler_can_build_shared_GCJ
=no
16063 # Check to make sure the static flag actually works.
16065 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16066 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16067 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
16068 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16069 echo $ECHO_N "(cached) $ECHO_C" >&6
16071 lt_prog_compiler_static_works_GCJ
=no
16072 save_LDFLAGS
="$LDFLAGS"
16073 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16074 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16075 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16076 # The linker can only warn and ignore the option if not recognized
16077 # So say no if there are warnings
16078 if test -s conftest.err
; then
16079 # Append any errors to the config.log.
16080 cat conftest.err
1>&5
16081 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16082 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16083 if diff conftest.exp conftest.er2
>/dev
/null
; then
16084 lt_prog_compiler_static_works_GCJ
=yes
16087 lt_prog_compiler_static_works_GCJ
=yes
16091 LDFLAGS
="$save_LDFLAGS"
16094 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16095 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
16097 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16100 lt_prog_compiler_static_GCJ
=
16106 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16107 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16108 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16109 echo $ECHO_N "(cached) $ECHO_C" >&6
16111 lt_cv_prog_compiler_c_o_GCJ
=no
16112 $RM -r conftest
2>/dev
/null
16116 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16118 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16119 # Insert the option either (1) after the last *FLAGS variable, or
16120 # (2) before a word containing "conftest.", or (3) at the end.
16121 # Note that $ac_compile itself does not contain backslashes and begins
16122 # with a dollar sign (not a hyphen), so the echo should work correctly.
16123 lt_compile
=`echo "$ac_compile" | $SED \
16124 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16125 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16126 -e 's:$: $lt_compiler_flag:'`
16127 (eval echo "\"\$as_me:16127: $lt_compile\"" >&5)
16128 (eval "$lt_compile" 2>out
/conftest.err
)
16130 cat out
/conftest.err
>&5
16131 echo "$as_me:16131: \$? = $ac_status" >&5
16132 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16134 # The compiler can only warn and ignore the option if not recognized
16135 # So say no if there are warnings
16136 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16137 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16138 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16139 lt_cv_prog_compiler_c_o_GCJ
=yes
16144 # SGI C++ compiler will create directory out/ii_files/ for
16145 # template instantiation
16146 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16147 $RM out
/* && rmdir out
16153 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16154 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16158 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16159 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16160 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16161 echo $ECHO_N "(cached) $ECHO_C" >&6
16163 lt_cv_prog_compiler_c_o_GCJ
=no
16164 $RM -r conftest
2>/dev
/null
16168 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16170 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16171 # Insert the option either (1) after the last *FLAGS variable, or
16172 # (2) before a word containing "conftest.", or (3) at the end.
16173 # Note that $ac_compile itself does not contain backslashes and begins
16174 # with a dollar sign (not a hyphen), so the echo should work correctly.
16175 lt_compile
=`echo "$ac_compile" | $SED \
16176 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16177 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16178 -e 's:$: $lt_compiler_flag:'`
16179 (eval echo "\"\$as_me:16179: $lt_compile\"" >&5)
16180 (eval "$lt_compile" 2>out
/conftest.err
)
16182 cat out
/conftest.err
>&5
16183 echo "$as_me:16183: \$? = $ac_status" >&5
16184 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16186 # The compiler can only warn and ignore the option if not recognized
16187 # So say no if there are warnings
16188 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16189 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16190 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16191 lt_cv_prog_compiler_c_o_GCJ
=yes
16196 # SGI C++ compiler will create directory out/ii_files/ for
16197 # template instantiation
16198 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16199 $RM out
/* && rmdir out
16205 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16206 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16211 hard_links
="nottested"
16212 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16213 # do not overwrite the value of need_locks provided by the user
16214 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16215 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16218 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16220 ln conftest.a conftest.b
2>&5 || hard_links
=no
16221 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16222 echo "$as_me:$LINENO: result: $hard_links" >&5
16223 echo "${ECHO_T}$hard_links" >&6
16224 if test "$hard_links" = no
; then
16225 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16226 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16235 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16236 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16239 allow_undefined_flag_GCJ
=
16240 always_export_symbols_GCJ
=no
16242 archive_expsym_cmds_GCJ
=
16243 compiler_needs_object_GCJ
=no
16244 enable_shared_with_static_runtimes_GCJ
=no
16245 export_dynamic_flag_spec_GCJ
=
16246 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16247 hardcode_automatic_GCJ
=no
16248 hardcode_direct_GCJ
=no
16249 hardcode_direct_absolute_GCJ
=no
16250 hardcode_libdir_flag_spec_GCJ
=
16251 hardcode_libdir_flag_spec_ld_GCJ
=
16252 hardcode_libdir_separator_GCJ
=
16253 hardcode_minus_L_GCJ
=no
16254 hardcode_shlibpath_var_GCJ
=unsupported
16255 inherit_rpath_GCJ
=no
16256 link_all_deplibs_GCJ
=unknown
16258 module_expsym_cmds_GCJ
=
16259 old_archive_from_new_cmds_GCJ
=
16260 old_archive_from_expsyms_cmds_GCJ
=
16261 thread_safe_flag_spec_GCJ
=
16262 whole_archive_flag_spec_GCJ
=
16263 # include_expsyms should be a list of space-separated symbols to be *always*
16264 # included in the symbol list
16265 include_expsyms_GCJ
=
16266 # exclude_expsyms can be an extended regexp of symbols to exclude
16267 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16268 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16269 # as well as any symbol that contains `d'.
16270 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16271 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16272 # platforms (ab)use it in PIC code, but their linkers get confused if
16273 # the symbol is explicitly referenced. Since portable code cannot
16274 # rely on this symbol name, it's probably fine to never include it in
16275 # preloaded symbol tables.
16276 extract_expsyms_cmds
=
16279 cygwin
* | mingw
* | pw32
*)
16280 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16281 # When not using gcc, we currently assume that we are using
16282 # Microsoft Visual C++.
16283 if test "$GCC" != yes; then
16288 # we just hope/assume this is gcc and not c89 (= MSVC++)
16297 if test "$with_gnu_ld" = yes; then
16298 # If archive_cmds runs LD, not CC, wlarc should be empty
16301 # Set some defaults for GNU ld with shared library support. These
16302 # are reset later if shared libraries are not supported. Putting them
16303 # here allows them to be overridden if necessary.
16304 runpath_var
=LD_RUN_PATH
16305 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16306 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16307 # ancient GNU ld didn't support --whole-archive et. al.
16308 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
16309 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16311 whole_archive_flag_spec_GCJ
=
16313 supports_anon_versioning
=no
16314 case `$LD -v 2>&1` in
16315 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16316 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16317 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16318 *\
2.11.
*) ;; # other 2.11 versions
16319 *) supports_anon_versioning
=yes ;;
16322 # See if GNU ld supports shared libraries.
16325 # On AIX/PPC, the GNU linker is very broken
16326 if test "$host_cpu" != ia64
; then
16330 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16331 *** to be unable to reliably create shared libraries on AIX.
16332 *** Therefore, libtool is disabling shared libraries support. If you
16333 *** really care for shared libraries, you may want to modify your PATH
16334 *** so that a non-GNU linker is found, and then restart.
16341 if test "$host_cpu" = m68k
; then
16342 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)'
16343 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16344 hardcode_minus_L_GCJ
=yes
16347 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16348 # that the semantics of dynamic libraries on AmigaOS, at least up
16349 # to version 4, is to share data among multiple programs linked
16350 # with the same dynamic library. Since this doesn't match the
16351 # behavior of shared libraries on other platforms, we can't use
16357 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16358 allow_undefined_flag_GCJ
=unsupported
16359 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16360 # support --undefined. This deserves some investigation. FIXME
16361 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16367 cygwin
* | mingw
* | pw32
*)
16368 # _LT_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16369 # as there is no search path for DLLs.
16370 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16371 allow_undefined_flag_GCJ
=unsupported
16372 always_export_symbols_GCJ
=no
16373 enable_shared_with_static_runtimes_GCJ
=yes
16374 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16376 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
16377 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16378 # If the export-symbols file already is a .def file (1st line
16379 # is EXPORTS), use it as is; otherwise, prepend...
16380 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16381 cp $export_symbols $output_objdir/$soname.def;
16383 echo EXPORTS > $output_objdir/$soname.def;
16384 cat $export_symbols >> $output_objdir/$soname.def;
16386 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16393 hardcode_direct_GCJ
=no
16394 hardcode_shlibpath_var_GCJ
=no
16395 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16396 export_dynamic_flag_spec_GCJ
='${wl}-E'
16397 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16398 # Instead, shared libraries are loaded at an image base (0x10000000 by
16399 # default) and relocated if they conflict, which is a slow very memory
16400 # consuming and fragmenting process. To avoid this, we pick a random,
16401 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16402 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16403 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'
16404 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'
16407 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
16409 if test "$host_os" = linux-dietlibc
; then
16410 case $cc_basename in
16411 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
16414 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
16415 && test "$tmp_diet" = no
16418 case $cc_basename,$host_cpu in
16419 pgcc
*) # Portland Group C compiler
16420 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'
16421 tmp_addflag
=' $pic_flag'
16423 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16424 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'
16425 tmp_addflag
=' $pic_flag -Mnomain' ;;
16426 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16427 tmp_addflag
=' -i_dynamic' ;;
16428 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16429 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16430 ifc
* | ifort
*) # Intel Fortran compiler
16431 tmp_addflag
=' -nofor_main' ;;
16433 case `$CC -V 2>&1 | sed 5q` in
16434 *Sun\ C
*) # Sun C 5.9
16435 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'
16436 compiler_needs_object_GCJ
=yes
16437 tmp_sharedflag
='-G' ;;
16438 *Sun\ F
*) # Sun Fortran 8.3
16439 tmp_sharedflag
='-G' ;;
16441 tmp_sharedflag
='-shared' ;;
16443 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16445 if test "x$supports_anon_versioning" = xyes
; then
16446 archive_expsym_cmds_GCJ
='echo "{ global:" > $output_objdir/$libname.ver~
16447 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16448 echo "local: *; };" >> $output_objdir/$libname.ver~
16449 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16457 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
16458 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16461 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16462 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16467 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
16471 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16472 *** create shared libraries on Solaris systems. Therefore, libtool
16473 *** is disabling shared libraries support. We urge you to upgrade GNU
16474 *** binutils to release 2.9.1 or newer. Another option is to modify
16475 *** your PATH or compiler configuration so that the native linker is
16476 *** used, and then restart.
16479 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16480 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16481 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16487 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16488 case `$LD -v 2>&1` in
16489 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16493 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16494 *** reliably create shared libraries on SCO systems. Therefore, libtool
16495 *** is disabling shared libraries support. We urge you to upgrade GNU
16496 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16497 *** your PATH or compiler configuration so that the native linker is
16498 *** used, and then restart.
16503 # For security reasons, it is highly recommended that you always
16504 # use absolute paths for naming shared libraries, and exclude the
16505 # DT_RUNPATH tag from executables and libraries. But doing so
16506 # requires that you compile everything twice, which is a pain.
16507 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16508 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16509 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16510 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16519 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16521 hardcode_direct_GCJ
=yes
16522 hardcode_shlibpath_var_GCJ
=no
16526 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16527 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16528 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16535 if test "$ld_shlibs_GCJ" = no
; then
16537 hardcode_libdir_flag_spec_GCJ
=
16538 export_dynamic_flag_spec_GCJ
=
16539 whole_archive_flag_spec_GCJ
=
16542 # PORTME fill in a description of your system's linker (not GNU ld)
16545 allow_undefined_flag_GCJ
=unsupported
16546 always_export_symbols_GCJ
=yes
16547 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'
16548 # Note: this linker hardcodes the directories in LIBPATH if there
16549 # are no directories specified by -L.
16550 hardcode_minus_L_GCJ
=yes
16551 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16552 # Neither direct hardcoding nor static linking is supported with a
16554 hardcode_direct_GCJ
=unsupported
16559 if test "$host_cpu" = ia64
; then
16560 # On IA64, the linker does run time linking by default, so we don't
16561 # have to do anything special.
16562 aix_use_runtimelinking
=no
16563 exp_sym_flag
='-Bexport'
16566 # If we're using GNU nm, then we don't want the "-C" option.
16567 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16568 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
16569 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'
16571 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'
16573 aix_use_runtimelinking
=no
16575 # Test if we are trying to use run time linking or normal
16576 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16577 # need to do runtime linking.
16578 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
16579 for ld_flag
in $LDFLAGS; do
16580 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16581 aix_use_runtimelinking
=yes
16588 exp_sym_flag
='-bexport'
16589 no_entry_flag
='-bnoentry'
16592 # When large executables or shared objects are built, AIX ld can
16593 # have problems creating the table of contents. If linking a library
16594 # or program results in "error TOC overflow" add -mminimal-toc to
16595 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16596 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16598 archive_cmds_GCJ
=''
16599 hardcode_direct_GCJ
=yes
16600 hardcode_direct_absolute_GCJ
=yes
16601 hardcode_libdir_separator_GCJ
=':'
16602 link_all_deplibs_GCJ
=yes
16603 file_list_spec_GCJ
='${wl}-f,'
16605 if test "$GCC" = yes; then
16606 case $host_os in aix4.
[012]|aix4.
[012].
*)
16607 # We only want to do this on AIX 4.2 and lower, the check
16608 # below for broken collect2 doesn't work under 4.3+
16609 collect2name
=`${CC} -print-prog-name=collect2`
16610 if test -f "$collect2name" &&
16611 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
16613 # We have reworked collect2
16616 # We have old collect2
16617 hardcode_direct_GCJ
=unsupported
16618 # It fails to find uninstalled libraries when the uninstalled
16619 # path is not listed in the libpath. Setting hardcode_minus_L
16620 # to unsupported forces relinking
16621 hardcode_minus_L_GCJ
=yes
16622 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16623 hardcode_libdir_separator_GCJ
=
16627 shared_flag
='-shared'
16628 if test "$aix_use_runtimelinking" = yes; then
16629 shared_flag
="$shared_flag "'${wl}-G'
16633 if test "$host_cpu" = ia64
; then
16634 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16635 # chokes on -Wl,-G. The following line is correct:
16638 if test "$aix_use_runtimelinking" = yes; then
16639 shared_flag
='${wl}-G'
16641 shared_flag
='${wl}-bM:SRE'
16646 # It seems that -bexpall does not export symbols beginning with
16647 # underscore (_), so it is better to generate a list of symbols to export.
16648 always_export_symbols_GCJ
=yes
16649 if test "$aix_use_runtimelinking" = yes; then
16650 # Warning - without using the other runtime loading flags (-brtl),
16651 # -berok will link without error, but may produce a broken library.
16652 allow_undefined_flag_GCJ
='-berok'
16653 # Determine the default libpath from the value encoded in an
16654 # empty executable.
16655 if test x
$gcc_no_link = xyes
; then
16656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16658 { (exit 1); exit 1; }; }
16660 cat >conftest.
$ac_ext <<_ACEOF
16663 cat confdefs.h
>>conftest.
$ac_ext
16664 cat >>conftest.
$ac_ext <<_ACEOF
16665 /* end confdefs.h. */
16675 rm -f conftest.
$ac_objext conftest
$ac_exeext
16676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16677 (eval $ac_link) 2>conftest.er1
16679 grep -v '^ *+' conftest.er1
>conftest.err
16681 cat conftest.err
>&5
16682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16683 (exit $ac_status); } &&
16684 { ac_try
='test -z "$ac_c_werror_flag"
16685 || test ! -s conftest.err'
16686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16687 (eval $ac_try) 2>&5
16689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16690 (exit $ac_status); }; } &&
16691 { ac_try
='test -s conftest$ac_exeext'
16692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16693 (eval $ac_try) 2>&5
16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696 (exit $ac_status); }; }; then
16698 lt_aix_libpath_sed
='
16699 /Import File Strings/,/^$/ {
16705 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16706 # Check for a 64-bit object if we didn't find anything.
16707 if test -z "$aix_libpath"; then
16708 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16711 echo "$as_me: failed program was:" >&5
16712 sed 's/^/| /' conftest.
$ac_ext >&5
16715 rm -f conftest.err conftest.
$ac_objext \
16716 conftest
$ac_exeext conftest.
$ac_ext
16717 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16719 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16720 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"
16722 if test "$host_cpu" = ia64
; then
16723 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
16724 allow_undefined_flag_GCJ
="-z nodefs"
16725 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"
16727 # Determine the default libpath from the value encoded in an
16728 # empty executable.
16729 if test x
$gcc_no_link = xyes
; then
16730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16732 { (exit 1); exit 1; }; }
16734 cat >conftest.
$ac_ext <<_ACEOF
16737 cat confdefs.h
>>conftest.
$ac_ext
16738 cat >>conftest.
$ac_ext <<_ACEOF
16739 /* end confdefs.h. */
16749 rm -f conftest.
$ac_objext conftest
$ac_exeext
16750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16751 (eval $ac_link) 2>conftest.er1
16753 grep -v '^ *+' conftest.er1
>conftest.err
16755 cat conftest.err
>&5
16756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757 (exit $ac_status); } &&
16758 { ac_try
='test -z "$ac_c_werror_flag"
16759 || test ! -s conftest.err'
16760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16761 (eval $ac_try) 2>&5
16763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16764 (exit $ac_status); }; } &&
16765 { ac_try
='test -s conftest$ac_exeext'
16766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16767 (eval $ac_try) 2>&5
16769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16770 (exit $ac_status); }; }; then
16772 lt_aix_libpath_sed
='
16773 /Import File Strings/,/^$/ {
16779 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16780 # Check for a 64-bit object if we didn't find anything.
16781 if test -z "$aix_libpath"; then
16782 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16785 echo "$as_me: failed program was:" >&5
16786 sed 's/^/| /' conftest.
$ac_ext >&5
16789 rm -f conftest.err conftest.
$ac_objext \
16790 conftest
$ac_exeext conftest.
$ac_ext
16791 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16793 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16794 # Warning - without using the other run time loading flags,
16795 # -berok will link without error, but may produce a broken library.
16796 no_undefined_flag_GCJ
=' ${wl}-bernotok'
16797 allow_undefined_flag_GCJ
=' ${wl}-berok'
16798 # Exported symbols can be pulled into shared objects from archives
16799 whole_archive_flag_spec_GCJ
='$convenience'
16800 archive_cmds_need_lc_GCJ
=yes
16801 # This is similar to how AIX traditionally builds its shared libraries.
16802 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'
16808 if test "$host_cpu" = m68k
; then
16809 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)'
16810 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16811 hardcode_minus_L_GCJ
=yes
16813 # see comment about different semantics on the GNU ld section
16818 export_dynamic_flag_spec_GCJ
=-rdynamic
16821 cygwin
* | mingw
* | pw32
*)
16822 # When not using gcc, we currently assume that we are using
16823 # Microsoft Visual C++.
16824 # hardcode_libdir_flag_spec is actually meaningless, as there is
16825 # no search path for DLLs.
16826 hardcode_libdir_flag_spec_GCJ
=' '
16827 allow_undefined_flag_GCJ
=unsupported
16828 # Tell ltmain to make .lib files, not .a files.
16830 # Tell ltmain to make .dll files, not .so files.
16832 # FIXME: Setting linknames here is a bad hack.
16833 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
16834 # The linker will automatically build a .lib file if we build a DLL.
16835 old_archive_from_new_cmds_GCJ
='true'
16836 # FIXME: Should let the user specify the lib program.
16837 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
16838 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
16839 enable_shared_with_static_runtimes_GCJ
=yes
16842 darwin
* | rhapsody
*)
16844 rhapsody
* | darwin1.
[012])
16845 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
16848 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
16850 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16853 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
16858 archive_cmds_need_lc_GCJ
=no
16859 hardcode_direct_GCJ
=no
16860 hardcode_automatic_GCJ
=yes
16861 hardcode_shlibpath_var_GCJ
=unsupported
16862 whole_archive_flag_spec_GCJ
=''
16863 link_all_deplibs_GCJ
=yes
16864 if test "$GCC" = yes ; then
16865 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
16866 echo $ECHO_N "(cached) $ECHO_C" >&6
16868 lt_cv_apple_cc_single_mod
=no
16869 if test -z "${LT_MULTI_MODULE}"; then
16870 # By default we will add the -single_module flag. You can override
16871 # by either setting the environment variable LT_MULTI_MODULE
16872 # non-empty at configure time, or by adding -multi-module to the
16874 echo "int foo(void){return 1;}" > conftest.c
16875 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
16876 -dynamiclib ${wl}-single_module conftest.c
16877 if test -f libconftest.dylib
; then
16878 lt_cv_apple_cc_single_mod
=yes
16879 rm libconftest.dylib
16881 rm conftest.
$ac_ext
16885 output_verbose_link_cmd
=echo
16886 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
16887 archive_cmds_GCJ
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16888 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}'
16890 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16891 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}'
16893 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16894 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}'
16896 case $cc_basename in
16898 output_verbose_link_cmd
=echo
16899 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
16900 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16901 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16902 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}'
16903 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}'
16913 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16914 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16915 hardcode_shlibpath_var_GCJ
=no
16922 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16923 # support. Future versions do this automatically, but an explicit c++rt0.o
16924 # does not break anything, and helps significantly (at the cost of a little
16927 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16928 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16929 hardcode_direct_GCJ
=yes
16930 hardcode_shlibpath_var_GCJ
=no
16933 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16935 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16936 hardcode_direct_GCJ
=yes
16937 hardcode_minus_L_GCJ
=yes
16938 hardcode_shlibpath_var_GCJ
=no
16941 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16942 freebsd
* | dragonfly
*)
16943 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16944 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16945 hardcode_direct_GCJ
=yes
16946 hardcode_shlibpath_var_GCJ
=no
16950 if test "$GCC" = yes; then
16951 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'
16953 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'
16955 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16956 hardcode_libdir_separator_GCJ
=:
16957 hardcode_direct_GCJ
=yes
16959 # hardcode_minus_L: Not really in the search PATH,
16960 # but as the default location of the library.
16961 hardcode_minus_L_GCJ
=yes
16962 export_dynamic_flag_spec_GCJ
='${wl}-E'
16966 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16967 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16969 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16971 if test "$with_gnu_ld" = no
; then
16972 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16973 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
16974 hardcode_libdir_separator_GCJ
=:
16975 hardcode_direct_GCJ
=yes
16976 hardcode_direct_absolute_GCJ
=yes
16977 export_dynamic_flag_spec_GCJ
='${wl}-E'
16978 # hardcode_minus_L: Not really in the search PATH,
16979 # but as the default location of the library.
16980 hardcode_minus_L_GCJ
=yes
16985 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16988 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16991 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16994 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17000 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17003 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17006 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17010 if test "$with_gnu_ld" = no
; then
17011 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17012 hardcode_libdir_separator_GCJ
=:
17016 hardcode_direct_GCJ
=no
17017 hardcode_shlibpath_var_GCJ
=no
17020 hardcode_direct_GCJ
=yes
17021 hardcode_direct_absolute_GCJ
=yes
17022 export_dynamic_flag_spec_GCJ
='${wl}-E'
17024 # hardcode_minus_L: Not really in the search PATH,
17025 # but as the default location of the library.
17026 hardcode_minus_L_GCJ
=yes
17032 irix5
* | irix6
* | nonstopux
*)
17033 if test "$GCC" = yes; then
17034 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'
17035 # Try to use the -exported_symbol ld option, if it does not
17036 # work, assume that -exports_file does not work either and
17037 # implicitly export all symbols.
17038 save_LDFLAGS
="$LDFLAGS"
17039 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
17040 if test x
$gcc_no_link = xyes
; then
17041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17043 { (exit 1); exit 1; }; }
17045 cat >conftest.
$ac_ext <<_ACEOF
17048 rm -f conftest.
$ac_objext conftest
$ac_exeext
17049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17050 (eval $ac_link) 2>conftest.er1
17052 grep -v '^ *+' conftest.er1
>conftest.err
17054 cat conftest.err
>&5
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 (exit $ac_status); } &&
17057 { ac_try
='test -z "$ac_c_werror_flag"
17058 || test ! -s conftest.err'
17059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17060 (eval $ac_try) 2>&5
17062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17063 (exit $ac_status); }; } &&
17064 { ac_try
='test -s conftest$ac_exeext'
17065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17066 (eval $ac_try) 2>&5
17068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); }; }; then
17070 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'
17073 echo "$as_me: failed program was:" >&5
17074 sed 's/^/| /' conftest.
$ac_ext >&5
17077 rm -f conftest.err conftest.
$ac_objext \
17078 conftest
$ac_exeext conftest.
$ac_ext
17079 LDFLAGS
="$save_LDFLAGS"
17081 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'
17082 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'
17084 archive_cmds_need_lc_GCJ
='no'
17085 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17086 hardcode_libdir_separator_GCJ
=:
17087 inherit_rpath_GCJ
=yes
17088 link_all_deplibs_GCJ
=yes
17092 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
17093 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17095 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17097 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17098 hardcode_direct_GCJ
=yes
17099 hardcode_shlibpath_var_GCJ
=no
17103 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17104 hardcode_direct_GCJ
=yes
17105 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17106 hardcode_libdir_separator_GCJ
=:
17107 hardcode_shlibpath_var_GCJ
=no
17114 hardcode_direct_GCJ
=yes
17115 hardcode_shlibpath_var_GCJ
=no
17116 hardcode_direct_absolute_GCJ
=yes
17117 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17118 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17119 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17120 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17121 export_dynamic_flag_spec_GCJ
='${wl}-E'
17124 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17125 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17126 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17129 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17130 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17137 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17138 hardcode_minus_L_GCJ
=yes
17139 allow_undefined_flag_GCJ
=unsupported
17140 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'
17141 old_archive_from_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17145 if test "$GCC" = yes; then
17146 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17147 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'
17149 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17150 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'
17152 archive_cmds_need_lc_GCJ
='no'
17153 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17154 hardcode_libdir_separator_GCJ
=:
17157 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17158 if test "$GCC" = yes; then
17159 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17160 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'
17161 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17163 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17164 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'
17165 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~
17166 $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'
17168 # Both c and cxx compiler support -rpath directly
17169 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17171 archive_cmds_need_lc_GCJ
='no'
17172 hardcode_libdir_separator_GCJ
=:
17176 no_undefined_flag_GCJ
=' -z defs'
17177 if test "$GCC" = yes; then
17179 archive_cmds_GCJ
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17180 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17181 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
17183 case `$CC -V 2>&1` in
17186 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17187 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17188 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
17192 archive_cmds_GCJ
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
17193 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17194 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
17198 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17199 hardcode_shlibpath_var_GCJ
=no
17201 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17203 # The compiler driver will combine and reorder linker options,
17204 # but understands `-z linker_flag'. GCC discards it without `$wl',
17205 # but is careful enough not to reorder.
17206 # Supported since Solaris 2.6 (maybe 2.5.1?)
17207 if test "$GCC" = yes; then
17208 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17210 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
17214 link_all_deplibs_GCJ
=yes
17218 if test "x$host_vendor" = xsequent
; then
17219 # Use $CC to link under sequent, because it throws in some extra .o
17220 # files that make .init and .fini sections work.
17221 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17223 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17225 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17226 hardcode_direct_GCJ
=yes
17227 hardcode_minus_L_GCJ
=yes
17228 hardcode_shlibpath_var_GCJ
=no
17232 case $host_vendor in
17234 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17235 hardcode_direct_GCJ
=yes # is this really true???
17238 ## LD is ld it makes a PLAMLIB
17239 ## CC just makes a GrossModule.
17240 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17241 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17242 hardcode_direct_GCJ
=no
17245 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17246 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17249 runpath_var
='LD_RUN_PATH'
17250 hardcode_shlibpath_var_GCJ
=no
17254 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17255 hardcode_shlibpath_var_GCJ
=no
17256 export_dynamic_flag_spec_GCJ
='-Bexport'
17260 if test -d /usr
/nec
; then
17261 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17262 hardcode_shlibpath_var_GCJ
=no
17263 runpath_var
=LD_RUN_PATH
17264 hardcode_runpath_var
=yes
17269 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
17270 no_undefined_flag_GCJ
='${wl}-z,text'
17271 archive_cmds_need_lc_GCJ
=no
17272 hardcode_shlibpath_var_GCJ
=no
17273 runpath_var
='LD_RUN_PATH'
17275 if test "$GCC" = yes; then
17276 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17277 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17279 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17280 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17284 sysv5
* | sco3.2v5
* | sco5v6
*)
17285 # Note: We can NOT use -z defs as we might desire, because we do not
17286 # link with -lc, and that would cause any symbols used from libc to
17287 # always be unresolved, which means just about no library would
17288 # ever link correctly. If we're not using GNU ld we use -z text
17289 # though, which does catch some bad symbols but isn't as heavy-handed
17291 no_undefined_flag_GCJ
='${wl}-z,text'
17292 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17293 archive_cmds_need_lc_GCJ
=no
17294 hardcode_shlibpath_var_GCJ
=no
17295 hardcode_libdir_flag_spec_GCJ
='${wl}-R,$libdir'
17296 hardcode_libdir_separator_GCJ
=':'
17297 link_all_deplibs_GCJ
=yes
17298 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17299 runpath_var
='LD_RUN_PATH'
17301 if test "$GCC" = yes; then
17302 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17303 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17305 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17306 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17311 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17312 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17313 hardcode_shlibpath_var_GCJ
=no
17321 if test x
$host_vendor = xsni
; then
17323 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
17324 export_dynamic_flag_spec_GCJ
='${wl}-Blargedynsym'
17330 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17331 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17332 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17334 with_gnu_ld_GCJ
=$with_gnu_ld
17342 # Do we need to explicitly link libc?
17344 case "x$archive_cmds_need_lc_GCJ" in
17346 # Assume -lc should be added
17347 archive_cmds_need_lc_GCJ
=yes
17349 if test "$enable_shared" = yes && test "$GCC" = yes; then
17350 case $archive_cmds_GCJ in
17352 # FIXME: we may have to deal with multi-command sequences.
17355 # Test whether the compiler implicitly links with -lc since on some
17356 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17357 # to ld, don't add -lc before -lgcc.
17358 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17359 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17361 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17364 (eval $ac_compile) 2>&5
17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367 (exit $ac_status); } 2>conftest.err
; then
17370 libobjs
=conftest.
$ac_objext
17372 wl
=$lt_prog_compiler_wl_GCJ
17373 pic_flag
=$lt_prog_compiler_pic_GCJ
17379 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17380 allow_undefined_flag_GCJ
=
17381 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
17382 (eval $archive_cmds_GCJ 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); }
17387 archive_cmds_need_lc_GCJ
=no
17389 archive_cmds_need_lc_GCJ
=yes
17391 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17393 cat conftest.err
1>&5
17396 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17397 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17467 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17468 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17470 library_names_spec
=
17471 libname_spec
='lib$name'
17475 postuninstall_cmds
=
17479 shlibpath_overrides_runpath
=unknown
17481 dynamic_linker
="$host_os ld.so"
17482 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17483 need_lib_prefix
=unknown
17484 hardcode_into_libs
=no
17486 # when you set need_version to no, make sure it does not cause -set_version
17487 # flags to be left without arguments
17488 need_version
=unknown
17493 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17494 shlibpath_var
=LIBPATH
17496 # AIX 3 has no versioning support, so we append a major version to the name.
17497 soname_spec
='${libname}${release}${shared_ext}$major'
17504 hardcode_into_libs
=yes
17505 if test "$host_cpu" = ia64
; then
17506 # AIX 5 supports IA64
17507 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17508 shlibpath_var
=LD_LIBRARY_PATH
17510 # With GCC up to 2.95.x, collect2 would create an import file
17511 # for dependence libraries. The import file would start with
17512 # the line `#! .'. This would cause the generated library to
17513 # depend on `.', always an invalid library. This was fixed in
17514 # development snapshots of GCC prior to 3.0.
17516 aix4 | aix4.
[01] | aix4.
[01].
*)
17517 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17519 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
17522 can_build_shared
=no
17526 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17527 # soname into executable. Probably we can add versioning support to
17528 # collect2, so additional links can be useful in future.
17529 if test "$aix_use_runtimelinking" = yes; then
17530 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17531 # instead of lib<name>.a to let people know that these are not
17532 # typical AIX shared libraries.
17533 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17535 # We preserve .a as extension for shared libraries through AIX4.2
17536 # and later when we are not doing run time linking.
17537 library_names_spec
='${libname}${release}.a $libname.a'
17538 soname_spec
='${libname}${release}${shared_ext}$major'
17540 shlibpath_var
=LIBPATH
17545 if test "$host_cpu" = m68k
; then
17546 library_names_spec
='$libname.ixlibrary $libname.a'
17547 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17548 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'
17555 library_names_spec
='${libname}${shared_ext}'
17556 dynamic_linker
="$host_os ld.so"
17557 shlibpath_var
=LIBRARY_PATH
17563 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17564 soname_spec
='${libname}${release}${shared_ext}$major'
17565 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17566 shlibpath_var
=LD_LIBRARY_PATH
17567 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17568 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17569 # the default ld.so.conf also contains /usr/contrib/lib and
17570 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17571 # libtool to hard-code these into programs
17574 cygwin
* | mingw
* | pw32
*)
17575 version_type
=windows
17580 case $withGCC,$host_os in
17581 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17582 library_names_spec
='$libname.dll.a'
17583 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17584 postinstall_cmds
='base_file=`basename \${file}`~
17585 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17586 dldir=$destdir/`dirname \$dlpath`~
17587 test -d \$dldir || mkdir -p \$dldir~
17588 $install_prog $dir/$dlname \$dldir/$dlname~
17589 chmod a+x \$dldir/$dlname~
17590 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17591 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17593 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17594 dlpath=$dir/\$dldll~
17596 shlibpath_overrides_runpath
=yes
17600 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17601 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17602 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17605 # MinGW DLLs use traditional 'lib' prefix
17606 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17607 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17608 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
17609 # It is most probably a Windows format PATH printed by
17610 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17611 # path with ; separators, and with drive letters. We can handle the
17612 # drive letters (cygwin fileutils understands them), so leave them,
17613 # especially as we might pass files found there to a mingw objdump,
17614 # which wouldn't understand a cygwinified path. Ahh.
17615 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17617 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17621 # pw32 DLLs use 'pw' prefix rather than 'lib'
17622 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17628 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17631 dynamic_linker
='Win32 ld.exe'
17632 # FIXME: first we should search . and the directory the executable is in
17636 darwin
* | rhapsody
*)
17637 dynamic_linker
="$host_os dyld"
17638 version_type
=darwin
17641 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17642 soname_spec
='${libname}${release}${major}$shared_ext'
17643 shlibpath_overrides_runpath
=yes
17644 shlibpath_var
=DYLD_LIBRARY_PATH
17645 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17647 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17654 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17655 soname_spec
='${libname}${release}${shared_ext}$major'
17656 shlibpath_var
=LD_LIBRARY_PATH
17663 freebsd
* | dragonfly
*)
17664 # DragonFly does not have aout. When/if they implement a new
17665 # versioning mechanism, adjust this.
17666 if test -x /usr
/bin
/objformat
; then
17667 objformat
=`/usr/bin/objformat`
17670 freebsd
[123]*) objformat
=aout
;;
17671 *) objformat
=elf
;;
17674 version_type
=freebsd-
$objformat
17675 case $version_type in
17677 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17682 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17686 shlibpath_var
=LD_LIBRARY_PATH
17689 shlibpath_overrides_runpath
=yes
17691 freebsd3.
[01]* | freebsdelf3.
[01]*)
17692 shlibpath_overrides_runpath
=yes
17693 hardcode_into_libs
=yes
17695 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17696 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17697 shlibpath_overrides_runpath
=no
17698 hardcode_into_libs
=yes
17700 *) # from 4.6 on, and DragonFly
17701 shlibpath_overrides_runpath
=yes
17702 hardcode_into_libs
=yes
17711 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17712 soname_spec
='${libname}${release}${shared_ext}$major'
17713 shlibpath_var
=LD_LIBRARY_PATH
17714 hardcode_into_libs
=yes
17717 hpux9
* | hpux10
* | hpux11
*)
17718 # Give a soname corresponding to the major version so that dld.sl refuses to
17719 # link against other versions.
17726 hardcode_into_libs
=yes
17727 dynamic_linker
="$host_os dld.so"
17728 shlibpath_var
=LD_LIBRARY_PATH
17729 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17730 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17731 soname_spec
='${libname}${release}${shared_ext}$major'
17732 if test "X$HPUX_IA64_MODE" = X32
; then
17733 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17735 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17737 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17741 hardcode_into_libs
=yes
17742 dynamic_linker
="$host_os dld.sl"
17743 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17744 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17745 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17746 soname_spec
='${libname}${release}${shared_ext}$major'
17747 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17748 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17752 dynamic_linker
="$host_os dld.sl"
17753 shlibpath_var
=SHLIB_PATH
17754 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17755 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17756 soname_spec
='${libname}${release}${shared_ext}$major'
17759 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17760 postinstall_cmds
='chmod 555 $lib'
17767 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17768 soname_spec
='${libname}${release}${shared_ext}$major'
17769 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17770 shlibpath_var
=LD_LIBRARY_PATH
17771 shlibpath_overrides_runpath
=no
17772 hardcode_into_libs
=yes
17775 irix5
* | irix6
* | nonstopux
*)
17777 nonstopux
*) version_type
=nonstopux
;;
17779 if test "$lt_cv_prog_gnu_ld" = yes; then
17787 soname_spec
='${libname}${release}${shared_ext}$major'
17788 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17790 irix5
* | nonstopux
*)
17791 libsuff
= shlibsuff
=
17794 case $LD in # libtool.m4 will add one of these switches to LD
17795 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17796 libsuff
= shlibsuff
= libmagic
=32-bit;;
17797 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17798 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17799 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17800 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17801 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17805 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17806 shlibpath_overrides_runpath
=no
17807 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17808 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17809 hardcode_into_libs
=yes
17812 # No shared lib support for Linux oldld, aout, or coff.
17813 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17817 # This must be Linux ELF.
17818 linux
* | k
*bsd
*-gnu)
17822 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17823 soname_spec
='${libname}${release}${shared_ext}$major'
17824 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17825 shlibpath_var
=LD_LIBRARY_PATH
17826 shlibpath_overrides_runpath
=no
17827 # Some binutils ld are patched to set DT_RUNPATH
17828 save_LDFLAGS
=$LDFLAGS
17829 save_libdir
=$libdir
17830 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_GCJ\"; \
17831 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_GCJ\""
17832 if test x
$gcc_no_link = xyes
; then
17833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17835 { (exit 1); exit 1; }; }
17837 cat >conftest.
$ac_ext <<_ACEOF
17840 cat confdefs.h
>>conftest.
$ac_ext
17841 cat >>conftest.
$ac_ext <<_ACEOF
17842 /* end confdefs.h. */
17852 rm -f conftest.
$ac_objext conftest
$ac_exeext
17853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17854 (eval $ac_link) 2>conftest.er1
17856 grep -v '^ *+' conftest.er1
>conftest.err
17858 cat conftest.err
>&5
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); } &&
17861 { ac_try
='test -z "$ac_c_werror_flag"
17862 || test ! -s conftest.err'
17863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17864 (eval $ac_try) 2>&5
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); }; } &&
17868 { ac_try
='test -s conftest$ac_exeext'
17869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17870 (eval $ac_try) 2>&5
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); }; }; then
17874 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
17875 shlibpath_overrides_runpath
=yes
17879 echo "$as_me: failed program was:" >&5
17880 sed 's/^/| /' conftest.
$ac_ext >&5
17883 rm -f conftest.err conftest.
$ac_objext \
17884 conftest
$ac_exeext conftest.
$ac_ext
17885 LDFLAGS
=$save_LDFLAGS
17886 libdir
=$save_libdir
17888 # This implies no fast_install, which is unacceptable.
17889 # Some rework will be needed to allow for fast_install
17890 # before this can be enabled.
17891 hardcode_into_libs
=yes
17893 # Append ld.so.conf contents to the search path
17894 if test -f /etc
/ld.so.conf
; then
17895 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' ' '`
17896 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17899 # We used to test for /lib/ld.so.1 and disable shared libraries on
17900 # powerpc, because MkLinux only supported shared libraries with the
17901 # GNU dynamic linker. Since this was broken with cross compilers,
17902 # most powerpc-linux boxes support dynamic linking these days and
17903 # people can always --disable-shared, the test was removed, and we
17904 # assume the GNU/Linux dynamic linker is in use.
17905 dynamic_linker
='GNU/Linux ld.so'
17912 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
17913 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17914 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17915 dynamic_linker
='NetBSD (a.out) ld.so'
17917 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17918 soname_spec
='${libname}${release}${shared_ext}$major'
17919 dynamic_linker
='NetBSD ld.elf_so'
17921 shlibpath_var
=LD_LIBRARY_PATH
17922 shlibpath_overrides_runpath
=yes
17923 hardcode_into_libs
=yes
17928 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17929 shlibpath_var
=LD_LIBRARY_PATH
17930 shlibpath_overrides_runpath
=yes
17937 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17938 soname_spec
='${libname}${release}${shared_ext}$major'
17939 shlibpath_var
=LD_LIBRARY_PATH
17940 shlibpath_overrides_runpath
=no
17941 hardcode_into_libs
=yes
17942 dynamic_linker
='ldqnx.so'
17947 sys_lib_dlsearch_path_spec
="/usr/lib"
17949 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17951 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
17952 *) need_version
=no
;;
17954 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17955 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17956 shlibpath_var
=LD_LIBRARY_PATH
17957 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17959 openbsd2.
[89] | openbsd2.
[89].
*)
17960 shlibpath_overrides_runpath
=no
17963 shlibpath_overrides_runpath
=yes
17967 shlibpath_overrides_runpath
=yes
17972 libname_spec
='$name'
17975 library_names_spec
='$libname${shared_ext} $libname.a'
17976 dynamic_linker
='OS/2 ld.exe'
17977 shlibpath_var
=LIBPATH
17980 osf3
* | osf4
* | osf5
*)
17984 soname_spec
='${libname}${release}${shared_ext}$major'
17985 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17986 shlibpath_var
=LD_LIBRARY_PATH
17987 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17988 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17999 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18000 soname_spec
='${libname}${release}${shared_ext}$major'
18001 shlibpath_var
=LD_LIBRARY_PATH
18002 shlibpath_overrides_runpath
=yes
18003 hardcode_into_libs
=yes
18004 # ldd complains unless libraries are executable
18005 postinstall_cmds
='chmod +x $lib'
18010 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18011 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18012 shlibpath_var
=LD_LIBRARY_PATH
18013 shlibpath_overrides_runpath
=yes
18014 if test "$with_gnu_ld" = yes; then
18022 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18023 soname_spec
='${libname}${release}${shared_ext}$major'
18024 shlibpath_var
=LD_LIBRARY_PATH
18025 case $host_vendor in
18027 shlibpath_overrides_runpath
=no
18029 runpath_var
=LD_RUN_PATH
18037 shlibpath_overrides_runpath
=no
18038 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18044 if test -d /usr
/nec
;then
18046 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18047 soname_spec
='$libname${shared_ext}.$major'
18048 shlibpath_var
=LD_LIBRARY_PATH
18052 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18053 version_type
=freebsd-elf
18056 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18057 soname_spec
='${libname}${release}${shared_ext}$major'
18058 shlibpath_var
=LD_LIBRARY_PATH
18059 shlibpath_overrides_runpath
=yes
18060 hardcode_into_libs
=yes
18061 if test "$with_gnu_ld" = yes; then
18062 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18064 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18067 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18071 sys_lib_dlsearch_path_spec
='/usr/lib'
18075 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
18079 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18080 shlibpath_var
=LD_LIBRARY_PATH
18081 shlibpath_overrides_runpath
=no
18082 hardcode_into_libs
=yes
18087 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18088 soname_spec
='${libname}${release}${shared_ext}$major'
18089 shlibpath_var
=LD_LIBRARY_PATH
18096 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18097 echo "${ECHO_T}$dynamic_linker" >&6
18098 test "$dynamic_linker" = no
&& can_build_shared
=no
18100 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18101 if test "$GCC" = yes; then
18102 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18140 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18141 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
18142 hardcode_action_GCJ
=
18143 if test -n "$hardcode_libdir_flag_spec_GCJ" ||
18144 test -n "$runpath_var_GCJ" ||
18145 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18147 # We can hardcode non-existent directories.
18148 if test "$hardcode_direct_GCJ" != no
&&
18149 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18150 # have to relink, otherwise we might link with an installed library
18151 # when we should be linking with a yet-to-be-installed one
18152 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18153 test "$hardcode_minus_L_GCJ" != no
; then
18154 # Linking always hardcodes the temporary library directory.
18155 hardcode_action_GCJ
=relink
18157 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18158 hardcode_action_GCJ
=immediate
18161 # We cannot hardcode anything, or else we can only hardcode existing
18163 hardcode_action_GCJ
=unsupported
18165 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18166 echo "${ECHO_T}$hardcode_action_GCJ" >&6
18168 if test "$hardcode_action_GCJ" = relink ||
18169 test "$inherit_rpath_GCJ" = yes; then
18170 # Fast installation is not supported
18171 enable_fast_install
=no
18172 elif test "$shlibpath_overrides_runpath" = yes ||
18173 test "$enable_shared" = no
; then
18174 # Fast installation is not necessary
18175 enable_fast_install
=needless
18186 compiler_GCJ
=${GCJ-gcj}
18188 ac_cpp
='$CPP $CPPFLAGS'
18189 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18190 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18191 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18194 if test "x$CC" != xcc
; then
18195 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
18196 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
18198 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
18199 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
18201 set dummy
$CC; ac_cc
=`echo $2 |
18202 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
18203 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
18204 echo $ECHO_N "(cached) $ECHO_C" >&6
18206 cat >conftest.
$ac_ext <<_ACEOF
18209 cat confdefs.h
>>conftest.
$ac_ext
18210 cat >>conftest.
$ac_ext <<_ACEOF
18211 /* end confdefs.h. */
18221 # Make sure it works both with $CC and with simple cc.
18222 # We do the test twice because some compilers refuse to overwrite an
18223 # existing .o file with -o, though they will create one.
18224 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
18225 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18226 (eval $ac_try) 2>&5
18228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229 (exit $ac_status); } &&
18230 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18231 (eval $ac_try) 2>&5
18233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18234 (exit $ac_status); };
18236 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
18237 if test "x$CC" != xcc
; then
18238 # Test first that cc exists at all.
18239 if { ac_try
='cc -c conftest.$ac_ext >&5'
18240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18241 (eval $ac_try) 2>&5
18243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18244 (exit $ac_status); }; }; then
18245 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
18246 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18247 (eval $ac_try) 2>&5
18249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18250 (exit $ac_status); } &&
18251 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18252 (eval $ac_try) 2>&5
18254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18255 (exit $ac_status); };
18260 # cc exists but doesn't like -o.
18261 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
18266 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
18271 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
18272 echo "$as_me:$LINENO: result: yes" >&5
18273 echo "${ECHO_T}yes" >&6
18275 echo "$as_me:$LINENO: result: no" >&5
18276 echo "${ECHO_T}no" >&6
18278 cat >>confdefs.h
<<\_ACEOF
18279 #define NO_MINUS_C_MINUS_O 1
18284 # FIXME: we rely on the cache variable name because
18285 # there is no other way.
18287 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
18288 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
18289 # Losing compiler, so override with the script.
18290 # FIXME: It is wrong to rewrite CC.
18291 # But if we don't then we get into trouble of one sort or another.
18292 # A longer-term fix would be to have automake use am__CC in this case,
18293 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
18294 CC
="$am_aux_dir/compile $CC"
18300 subdirs
="$subdirs classpath libltdl"
18303 # The -no-testsuite modules omit the test subdir.
18306 if test -d $srcdir/testsuite
; then
18308 TESTSUBDIR_FALSE
='#'
18310 TESTSUBDIR_TRUE
='#'
18315 # Should the runtime set system properties by examining the
18316 # environment variable GCJ_PROPERTIES?
18317 # Check whether --enable-getenv-properties or --disable-getenv-properties was given.
18318 if test "${enable_getenv_properties+set}" = set; then
18319 enableval
="$enable_getenv_properties"
18323 # Whether GCJ_PROPERTIES is used depends on the target.
18324 if test -z "$enable_getenv_properties"; then
18325 enable_getenv_properties
=${enable_getenv_properties_default-yes}
18327 if test "$enable_getenv_properties" = no
; then
18329 cat >>confdefs.h
<<\_ACEOF
18330 #define DISABLE_GETENV_PROPERTIES 1
18335 # Whether we should use arguments to main()
18336 if test -z "$enable_main_args"; then
18337 enable_main_args
=${enable_main_args_default-yes}
18339 if test "$enable_main_args" = no
; then
18341 cat >>confdefs.h
<<\_ACEOF
18342 #define DISABLE_MAIN_ARGS 1
18348 # Should we use hashtable-based synchronization?
18349 # Currently works only for Linux X86/ia64
18350 # Typically faster and more space-efficient
18351 # Check whether --enable-hash-synchronization or --disable-hash-synchronization was given.
18352 if test "${enable_hash_synchronization+set}" = set; then
18353 enableval
="$enable_hash_synchronization"
18357 if test -z "$enable_hash_synchronization"; then
18358 enable_hash_synchronization
=$enable_hash_synchronization_default
18366 # Check whether --with-ecj-jar or --without-ecj-jar was given.
18367 if test "${with_ecj_jar+set}" = set; then
18368 withval
="$with_ecj_jar"
18371 if test -f $multi_basedir/ecj.jar
; then
18372 ECJ_BUILD_JAR
=$multi_basedir/ecj.jar
18373 ECJ_JAR
='$(jardir)/ecj.jar'
18374 install_ecj_jar
=yes
18381 if test "$ECJ_JAR" != ""; then
18383 BUILD_ECJ1_FALSE
='#'
18385 BUILD_ECJ1_TRUE
='#'
18391 if test $install_ecj_jar = yes; then
18392 INSTALL_ECJ_JAR_TRUE
=
18393 INSTALL_ECJ_JAR_FALSE
='#'
18395 INSTALL_ECJ_JAR_TRUE
='#'
18396 INSTALL_ECJ_JAR_FALSE
=
18401 # Check whether --with-java-home or --without-java-home was given.
18402 if test "${with_java_home+set}" = set; then
18403 withval
="$with_java_home"
18404 JAVA_HOME
="${withval}"
18410 if test ! -z "$JAVA_HOME"; then
18411 JAVA_HOME_SET_TRUE
=
18412 JAVA_HOME_SET_FALSE
='#'
18414 JAVA_HOME_SET_TRUE
='#'
18415 JAVA_HOME_SET_FALSE
=
18420 suppress_libgcj_bc
=no
18421 # Check whether --enable-libgcj-bc or --disable-libgcj-bc was given.
18422 if test "${enable_libgcj_bc+set}" = set; then
18423 enableval
="$enable_libgcj_bc"
18424 if test "$enable_libgcj_bc" = "no"; then
18425 suppress_libgcj_bc
=yes
18430 if test "$suppress_libgcj_bc" = "yes"; then
18431 SUPPRESS_LIBGCJ_BC_TRUE
=
18432 SUPPRESS_LIBGCJ_BC_FALSE
='#'
18434 SUPPRESS_LIBGCJ_BC_TRUE
='#'
18435 SUPPRESS_LIBGCJ_BC_FALSE
=
18439 # What is the native OS API for MinGW?
18441 # Check whether --with-win32-nlsapi or --without-win32-nlsapi was given.
18442 if test "${with_win32_nlsapi+set}" = set; then
18443 withval
="$with_win32_nlsapi"
18444 case "${withval}" in
18445 ansi
) with_win32_nlsapi
=ansi
;;
18446 unicows
) with_win32_nlsapi
=unicows
;;
18447 unicode
) with_win32_nlsapi
=unicode
;;
18448 *) { { echo "$as_me:$LINENO: error: Bad value ${withval} for --with-win32-nlsapi." >&5
18449 echo "$as_me: error: Bad value ${withval} for --with-win32-nlsapi." >&2;}
18450 { (exit 1); exit 1; }; } ;;
18453 with_win32_nlsapi
=ansi
18456 case "${with_win32_nlsapi}" in
18459 cat >>confdefs.h
<<\_ACEOF
18460 #define MINGW_LIBGCJ_UNICODE 1
18466 # configure.host sets slow_pthread_self if the synchronization code should
18467 # try to avoid pthread_self calls by caching thread IDs in a hashtable.
18468 if test "${slow_pthread_self}" = "yes"; then
18470 cat >>confdefs.h
<<\_ACEOF
18471 #define SLOW_PTHREAD_SELF 1
18476 # Check for gc debugging. This option is handled both here and in the GC.
18477 # Check whether --enable-gc-debug or --disable-gc-debug was given.
18478 if test "${enable_gc_debug+set}" = set; then
18479 enableval
="$enable_gc_debug"
18480 if test "$enable_gc_debug" = "yes"; then
18482 cat >>confdefs.h
<<\_ACEOF
18483 #define LIBGCJ_GC_DEBUG 1
18489 # See if the user has the interpreter included.
18490 # Check whether --enable-interpreter or --disable-interpreter was given.
18491 if test "${enable_interpreter+set}" = set; then
18492 enableval
="$enable_interpreter"
18493 if test "$enable_interpreter" = yes; then
18494 # This can also be set in configure.host.
18495 libgcj_interpreter
=yes
18496 elif test "$enable_interpreter" = no
; then
18497 libgcj_interpreter
=no
18501 if test "$libgcj_interpreter" = yes; then
18503 cat >>confdefs.h
<<\_ACEOF
18504 #define INTERPRETER 1
18508 INTERPRETER
="$libgcj_interpreter"
18512 if test "$libgcj_interpreter" = yes; then
18514 INTERPRETER_FALSE
='#'
18516 INTERPRETER_TRUE
='#'
18521 echo "$as_me:$LINENO: checking for exception model to use" >&5
18522 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
18524 ac_cpp
='$CXXCPP $CPPFLAGS'
18525 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18526 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18527 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18529 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
18530 if test "${enable_sjlj_exceptions+set}" = set; then
18531 enableval
="$enable_sjlj_exceptions"
18534 cat > conftest.
$ac_ext << EOF
18535 #line 18535 "configure"
18536 struct S { ~S(); };
18544 old_CXXFLAGS
="$CXXFLAGS"
18546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18547 (eval $ac_compile) 2>&5
18549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18550 (exit $ac_status); }; then
18551 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1 ; then
18552 enable_sjlj_exceptions
=yes
18553 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1 ; then
18554 enable_sjlj_exceptions
=no
18557 CXXFLAGS
="$old_CXXFLAGS"
18560 if test x
$enable_sjlj_exceptions = xyes
; then
18562 cat >>confdefs.h
<<\_ACEOF
18563 #define SJLJ_EXCEPTIONS 1
18566 ac_exception_model_name
=sjlj
18567 elif test x
$enable_sjlj_exceptions = xno
; then
18568 ac_exception_model_name
="call frame"
18570 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
18571 echo "$as_me: error: unable to detect exception model" >&2;}
18572 { (exit 1); exit 1; }; }
18575 ac_cpp
='$CPP $CPPFLAGS'
18576 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18577 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18578 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18580 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
18581 echo "${ECHO_T}$ac_exception_model_name" >&6
18583 # If we are non using SJLJ exceptions, and this host does not have support
18584 # for unwinding from a signal handler, enable checked dereferences and divides.
18585 if test $can_unwind_signal = no
&& test $enable_sjlj_exceptions = no
; then
18586 CHECKREFSPEC
=-fcheck-references
18587 DIVIDESPEC
=-fuse-divide-subroutine
18591 # See if the user wants to disable java.net. This is the mildly
18592 # ugly way that we admit that target-side configuration sucks.
18593 # Check whether --enable-java-net or --disable-java-net was given.
18594 if test "${enable_java_net+set}" = set; then
18595 enableval
="$enable_java_net"
18599 # Whether java.net is built by default can depend on the target.
18600 if test -z "$enable_java_net"; then
18601 enable_java_net
=${enable_java_net_default-yes}
18603 if test "$enable_java_net" = no
; then
18605 cat >>confdefs.h
<<\_ACEOF
18606 #define DISABLE_JAVA_NET 1
18611 # See if the user wants to configure without libffi. Some
18612 # architectures don't support it, and default values are set in
18615 # Check whether --with-libffi or --without-libffi was given.
18616 if test "${with_libffi+set}" = set; then
18617 withval
="$with_libffi"
18620 with_libffi
=${with_libffi_default-yes}
18625 if test "$with_libffi" != no
; then
18627 cat >>confdefs.h
<<\_ACEOF
18628 #define USE_LIBFFI 1
18631 LIBFFI
=..
/libffi
/libffi_convenience.la
18632 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
18637 # See if the user wants to disable JVMPI support.
18638 # Check whether --enable-jvmpi or --disable-jvmpi was given.
18639 if test "${enable_jvmpi+set}" = set; then
18640 enableval
="$enable_jvmpi"
18644 if test "$enable_jvmpi" != no
; then
18646 cat >>confdefs.h
<<\_ACEOF
18647 #define ENABLE_JVMPI 1
18652 # If the target is an eCos system, use the appropriate eCos
18654 # FIXME: this should not be a local option but a global target
18655 # system; at present there is no eCos target.
18656 TARGET_ECOS
=${PROCESS-"no"}
18658 # Check whether --with-ecos or --without-ecos was given.
18659 if test "${with_ecos+set}" = set; then
18660 withval
="$with_ecos"
18661 TARGET_ECOS
="$with_ecos"
18665 case "$TARGET_ECOS" in
18666 no
) case "$host" in
18672 echo "$as_me:$LINENO: checking whether 'ld' is at least 2.13" >&5
18673 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6
18674 LD_PROG
=`$CC --print-prog-name=ld`
18675 LD_VERSION
=`$LD_PROG --version`
18676 LD_VERSION_MAJOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
18677 LD_VERSION_MINOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
18678 if expr "$LD_VERSION_MAJOR" \
> 2 > /dev
/null
; then
18681 if expr "$LD_VERSION_MAJOR" = 2 && expr "$LD_VERSION_MINOR" \
>= 13 > /dev
/null
; then
18685 if test "x$LD_OK" != x
; then
18686 echo "$as_me:$LINENO: result: yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
18687 echo "${ECHO_T}yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
18689 echo "$as_me:$LINENO: result: no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
18690 echo "${ECHO_T}no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
18691 { echo "$as_me:$LINENO: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&5
18692 echo "$as_me: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&2;}
18694 cat >>confdefs.h
<<\_ACEOF
18695 #define JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS 1
18711 cat >>confdefs.h
<<\_ACEOF
18719 ac_config_links
="$ac_config_links include/platform.h:include/$PLATFORMH"
18722 cat >conftest.
$ac_ext <<_ACEOF
18725 cat confdefs.h
>>conftest.
$ac_ext
18726 cat >>conftest.
$ac_ext <<_ACEOF
18727 /* end confdefs.h. */
18728 #include <stdint.h>
18731 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18732 $EGREP "uint32_t" >/dev
/null
2>&1; then
18734 cat >>confdefs.h
<<\_ACEOF
18735 #define HAVE_INT32_DEFINED 1
18741 cat >conftest.
$ac_ext <<_ACEOF
18744 cat confdefs.h
>>conftest.
$ac_ext
18745 cat >>conftest.
$ac_ext <<_ACEOF
18746 /* end confdefs.h. */
18747 #include <inttypes.h>
18750 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18751 $EGREP "uint32_t" >/dev
/null
2>&1; then
18753 cat >>confdefs.h
<<\_ACEOF
18754 #define HAVE_INT32_DEFINED 1
18760 cat >conftest.
$ac_ext <<_ACEOF
18763 cat confdefs.h
>>conftest.
$ac_ext
18764 cat >>conftest.
$ac_ext <<_ACEOF
18765 /* end confdefs.h. */
18766 #include <sys/types.h>
18769 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18770 $EGREP "u_int32_t" >/dev
/null
2>&1; then
18772 cat >>confdefs.h
<<\_ACEOF
18773 #define HAVE_BSD_INT32_DEFINED 1
18779 cat >conftest.
$ac_ext <<_ACEOF
18782 cat confdefs.h
>>conftest.
$ac_ext
18783 cat >>conftest.
$ac_ext <<_ACEOF
18784 /* end confdefs.h. */
18785 #include <sys/config.h>
18788 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18789 $EGREP "u_int32_t" >/dev
/null
2>&1; then
18791 cat >>confdefs.h
<<\_ACEOF
18792 #define HAVE_BSD_INT32_DEFINED 1
18801 if test "$PLATFORM" = Win32
; then
18802 USING_WIN32_PLATFORM_TRUE
=
18803 USING_WIN32_PLATFORM_FALSE
='#'
18805 USING_WIN32_PLATFORM_TRUE
='#'
18806 USING_WIN32_PLATFORM_FALSE
=
18811 if test "$PLATFORM" = Posix ||
test "$PLATFORM" = Ecos
; then
18812 USING_POSIX_PLATFORM_TRUE
=
18813 USING_POSIX_PLATFORM_FALSE
='#'
18815 USING_POSIX_PLATFORM_TRUE
='#'
18816 USING_POSIX_PLATFORM_FALSE
=
18821 *-darwin*) DARWIN_CRT
=true
;;
18822 *) DARWIN_CRT
=false
;;
18826 if $DARWIN_CRT; then
18827 USING_DARWIN_CRT_TRUE
=
18828 USING_DARWIN_CRT_FALSE
='#'
18830 USING_DARWIN_CRT_TRUE
='#'
18831 USING_DARWIN_CRT_FALSE
=
18835 # This may not be defined in a non-ANS conformant embedded system.
18836 # FIXME: Should these case a runtime exception in that case?
18837 cat >conftest.
$ac_ext <<_ACEOF
18840 cat confdefs.h
>>conftest.
$ac_ext
18841 cat >>conftest.
$ac_ext <<_ACEOF
18842 /* end confdefs.h. */
18846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18847 $EGREP "localtime" >/dev
/null
2>&1; then
18849 cat >>confdefs.h
<<\_ACEOF
18850 #define HAVE_LOCALTIME 1
18857 # Create the subdirectory for natFile.cc, or the attempt
18858 # to create the link will fail.
18859 test -d java || mkdir java
18860 test -d java
/io || mkdir java
/io
18861 test -d gnu || mkdir gnu
18862 ac_config_links
="$ac_config_links java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc"
18865 # Likewise for natConcreteProcess.cc.
18866 test -d java
/lang || mkdir java
/lang
18867 ac_config_links
="$ac_config_links java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc"
18870 # Likewise for natVMInetAddress.cc and natVMNetworkInterface.cc.
18871 test -d java
/net || mkdir java
/net
18872 ac_config_links
="$ac_config_links java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc"
18874 ac_config_links
="$ac_config_links java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc"
18877 # Likewise for natPlainSocketImpl.cc and natPlainDatagramSocketImpl.cc.
18878 test -d gnu
/java || mkdir gnu
/java
18879 test -d gnu
/java
/net || mkdir gnu
/java
/net
18880 ac_config_links
="$ac_config_links gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc"
18882 ac_config_links
="$ac_config_links gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc"
18885 # Likewise for natVMPipe.cc and natVMSelector.cc.
18886 test -d gnu
/java
/nio || mkdir gnu
/java
/nio
18887 ac_config_links
="$ac_config_links gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc"
18889 ac_config_links
="$ac_config_links gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc"
18892 # Likewise for natFileChannelImpl.cc
18893 test -d gnu
/java
/nio
/channels || mkdir gnu
/java
/nio
/channels
18894 ac_config_links
="$ac_config_links gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc"
18899 SYSTEMSPEC
="-lgdi32 -lws2_32"
18900 if test "${with_win32_nlsapi}" = "unicows"; then
18901 SYSTEMSPEC
="-lunicows $SYSTEMSPEC"
18911 # Check whether --with-system-zlib or --without-system-zlib was given.
18912 if test "${with_system_zlib+set}" = set; then
18913 withval
="$with_system_zlib"
18921 echo "$as_me:$LINENO: checking for X" >&5
18922 echo $ECHO_N "checking for X... $ECHO_C" >&6
18925 # Check whether --with-x or --without-x was given.
18926 if test "${with_x+set}" = set; then
18930 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
18931 if test "x$with_x" = xno
; then
18932 # The user explicitly disabled X.
18935 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
18936 # Both variables are already set.
18939 if test "${ac_cv_have_x+set}" = set; then
18940 echo $ECHO_N "(cached) $ECHO_C" >&6
18942 # One or both of the vars are not set, and there is no cached value.
18943 ac_x_includes
=no ac_x_libraries
=no
18944 rm -fr conftest.dir
18945 if mkdir conftest.dir
; then
18947 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
18948 cat >Imakefile
<<'_ACEOF'
18950 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
18952 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
18953 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18954 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
18955 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
18956 for ac_extension
in a so sl
; do
18957 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
18958 test -f $ac_im_libdir/libX11.
$ac_extension; then
18959 ac_im_usrlibdir
=$ac_im_libdir; break
18962 # Screen out bogus values from the imake configuration. They are
18963 # bogus both because they are the default anyway, and because
18964 # using them would break gcc on systems where it needs fixed includes.
18965 case $ac_im_incroot in
18967 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
18969 case $ac_im_usrlibdir in
18970 /usr
/lib |
/lib
) ;;
18971 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
18975 rm -fr conftest.dir
18978 # Standard set of common directories for X headers.
18979 # Check X11 before X11Rn because it is often a symlink to the current release.
18991 /usr/local/X11/include
18992 /usr/local/X11R6/include
18993 /usr/local/X11R5/include
18994 /usr/local/X11R4/include
18996 /usr/local/include/X11
18997 /usr/local/include/X11R6
18998 /usr/local/include/X11R5
18999 /usr/local/include/X11R4
19003 /usr/XFree86/include/X11
19007 /usr/unsupported/include
19008 /usr/athena/include
19009 /usr/local/x11r5/include
19010 /usr/lpp/Xamples/include
19012 /usr/openwin/include
19013 /usr/openwin/share/include'
19015 if test "$ac_x_includes" = no
; then
19016 # Guess where to find include files, by looking for Xlib.h.
19017 # First, try using that file with no special directory specified.
19018 cat >conftest.
$ac_ext <<_ACEOF
19021 cat confdefs.h
>>conftest.
$ac_ext
19022 cat >>conftest.
$ac_ext <<_ACEOF
19023 /* end confdefs.h. */
19024 #include <X11/Xlib.h>
19026 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19027 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19029 grep -v '^ *+' conftest.er1
>conftest.err
19031 cat conftest.err
>&5
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); } >/dev
/null
; then
19034 if test -s conftest.err
; then
19035 ac_cpp_err
=$ac_c_preproc_warn_flag
19036 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19043 if test -z "$ac_cpp_err"; then
19044 # We can compile using X headers with no special include directory.
19047 echo "$as_me: failed program was:" >&5
19048 sed 's/^/| /' conftest.
$ac_ext >&5
19050 for ac_dir
in $ac_x_header_dirs; do
19051 if test -r "$ac_dir/X11/Xlib.h"; then
19052 ac_x_includes
=$ac_dir
19057 rm -f conftest.err conftest.
$ac_ext
19058 fi # $ac_x_includes = no
19060 if test "$ac_x_libraries" = no
; then
19061 # Check for the libraries.
19062 # See if we find them without any special options.
19063 # Don't add to $LIBS permanently.
19066 if test x
$gcc_no_link = xyes
; then
19067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19069 { (exit 1); exit 1; }; }
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/Xlib.h>
19086 rm -f conftest.
$ac_objext conftest
$ac_exeext
19087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19088 (eval $ac_link) 2>conftest.er1
19090 grep -v '^ *+' conftest.er1
>conftest.err
19092 cat conftest.err
>&5
19093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19094 (exit $ac_status); } &&
19095 { ac_try
='test -z "$ac_c_werror_flag"
19096 || test ! -s conftest.err'
19097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19098 (eval $ac_try) 2>&5
19100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19101 (exit $ac_status); }; } &&
19102 { ac_try
='test -s conftest$ac_exeext'
19103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19104 (eval $ac_try) 2>&5
19106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19107 (exit $ac_status); }; }; then
19109 # We can link X programs with no special library path.
19112 echo "$as_me: failed program was:" >&5
19113 sed 's/^/| /' conftest.
$ac_ext >&5
19116 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
19118 # Don't even attempt the hair of trying to link an X program!
19119 for ac_extension
in a so sl
; do
19120 if test -r $ac_dir/libXt.
$ac_extension; then
19121 ac_x_libraries
=$ac_dir
19127 rm -f conftest.err conftest.
$ac_objext \
19128 conftest
$ac_exeext conftest.
$ac_ext
19129 fi # $ac_x_libraries = no
19131 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
19132 # Didn't find X anywhere. Cache the known absence of X.
19133 ac_cv_have_x
="have_x=no"
19135 # Record where we found X for the cache.
19136 ac_cv_have_x
="have_x=yes \
19137 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
19142 eval "$ac_cv_have_x"
19145 if test "$have_x" != yes; then
19146 echo "$as_me:$LINENO: result: $have_x" >&5
19147 echo "${ECHO_T}$have_x" >&6
19150 # If each of the values was on the command line, it overrides each guess.
19151 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
19152 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
19153 # Update the cache value to reflect the command line values.
19154 ac_cv_have_x
="have_x=yes \
19155 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
19156 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
19157 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
19160 if test "$no_x" = yes; then
19161 # Not all programs may use this symbol, but it does not hurt to define it.
19163 cat >>confdefs.h
<<\_ACEOF
19164 #define X_DISPLAY_MISSING 1
19167 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
19169 if test -n "$x_includes"; then
19170 X_CFLAGS
="$X_CFLAGS -I$x_includes"
19173 # It would also be nice to do this for all -L options, not just this one.
19174 if test -n "$x_libraries"; then
19175 X_LIBS
="$X_LIBS -L$x_libraries"
19176 # For Solaris; some versions of Sun CC require a space after -R and
19177 # others require no space. Words are not sufficient . . . .
19178 case `(uname -sr) 2>/dev/null` in
19180 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
19181 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
19182 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
19183 if test x
$gcc_no_link = xyes
; then
19184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19186 { (exit 1); exit 1; }; }
19188 cat >conftest.
$ac_ext <<_ACEOF
19191 cat confdefs.h
>>conftest.
$ac_ext
19192 cat >>conftest.
$ac_ext <<_ACEOF
19193 /* end confdefs.h. */
19203 rm -f conftest.
$ac_objext conftest
$ac_exeext
19204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19205 (eval $ac_link) 2>conftest.er1
19207 grep -v '^ *+' conftest.er1
>conftest.err
19209 cat conftest.err
>&5
19210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19211 (exit $ac_status); } &&
19212 { ac_try
='test -z "$ac_c_werror_flag"
19213 || test ! -s conftest.err'
19214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19215 (eval $ac_try) 2>&5
19217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19218 (exit $ac_status); }; } &&
19219 { ac_try
='test -s conftest$ac_exeext'
19220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19221 (eval $ac_try) 2>&5
19223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19224 (exit $ac_status); }; }; then
19227 echo "$as_me: failed program was:" >&5
19228 sed 's/^/| /' conftest.
$ac_ext >&5
19232 rm -f conftest.err conftest.
$ac_objext \
19233 conftest
$ac_exeext conftest.
$ac_ext
19234 if test $ac_R_nospace = yes; then
19235 echo "$as_me:$LINENO: result: no" >&5
19236 echo "${ECHO_T}no" >&6
19237 X_LIBS
="$X_LIBS -R$x_libraries"
19239 LIBS
="$ac_xsave_LIBS -R $x_libraries"
19240 if test x
$gcc_no_link = xyes
; then
19241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19243 { (exit 1); exit 1; }; }
19245 cat >conftest.
$ac_ext <<_ACEOF
19248 cat confdefs.h
>>conftest.
$ac_ext
19249 cat >>conftest.
$ac_ext <<_ACEOF
19250 /* end confdefs.h. */
19260 rm -f conftest.
$ac_objext conftest
$ac_exeext
19261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19262 (eval $ac_link) 2>conftest.er1
19264 grep -v '^ *+' conftest.er1
>conftest.err
19266 cat conftest.err
>&5
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); } &&
19269 { ac_try
='test -z "$ac_c_werror_flag"
19270 || test ! -s conftest.err'
19271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19272 (eval $ac_try) 2>&5
19274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275 (exit $ac_status); }; } &&
19276 { ac_try
='test -s conftest$ac_exeext'
19277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19278 (eval $ac_try) 2>&5
19280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19281 (exit $ac_status); }; }; then
19284 echo "$as_me: failed program was:" >&5
19285 sed 's/^/| /' conftest.
$ac_ext >&5
19289 rm -f conftest.err conftest.
$ac_objext \
19290 conftest
$ac_exeext conftest.
$ac_ext
19291 if test $ac_R_space = yes; then
19292 echo "$as_me:$LINENO: result: yes" >&5
19293 echo "${ECHO_T}yes" >&6
19294 X_LIBS
="$X_LIBS -R $x_libraries"
19296 echo "$as_me:$LINENO: result: neither works" >&5
19297 echo "${ECHO_T}neither works" >&6
19300 LIBS
=$ac_xsave_LIBS
19304 # Check for system-dependent libraries X programs must link with.
19305 # Do this before checking for the system-independent R6 libraries
19306 # (-lICE), since we may need -lsocket or whatever for X linking.
19308 if test "$ISC" = yes; then
19309 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
19311 # Martyn Johnson says this is needed for Ultrix, if the X
19312 # libraries were built with DECnet support. And Karl Berry says
19313 # the Alpha needs dnet_stub (dnet does not exist).
19314 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
19315 if test x
$gcc_no_link = xyes
; then
19316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19318 { (exit 1); exit 1; }; }
19320 cat >conftest.
$ac_ext <<_ACEOF
19323 cat confdefs.h
>>conftest.
$ac_ext
19324 cat >>conftest.
$ac_ext <<_ACEOF
19325 /* end confdefs.h. */
19327 /* Override any gcc2 internal prototype to avoid an error. */
19331 /* We use char because int might match the return type of a gcc2
19332 builtin and then its argument prototype would still apply. */
19333 char XOpenDisplay ();
19342 rm -f conftest.
$ac_objext conftest
$ac_exeext
19343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19344 (eval $ac_link) 2>conftest.er1
19346 grep -v '^ *+' conftest.er1
>conftest.err
19348 cat conftest.err
>&5
19349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19350 (exit $ac_status); } &&
19351 { ac_try
='test -z "$ac_c_werror_flag"
19352 || test ! -s conftest.err'
19353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19354 (eval $ac_try) 2>&5
19356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19357 (exit $ac_status); }; } &&
19358 { ac_try
='test -s conftest$ac_exeext'
19359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19360 (eval $ac_try) 2>&5
19362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19363 (exit $ac_status); }; }; then
19366 echo "$as_me: failed program was:" >&5
19367 sed 's/^/| /' conftest.
$ac_ext >&5
19369 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
19370 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
19371 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
19372 echo $ECHO_N "(cached) $ECHO_C" >&6
19374 ac_check_lib_save_LIBS
=$LIBS
19375 LIBS
="-ldnet $LIBS"
19376 if test x
$gcc_no_link = xyes
; then
19377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19379 { (exit 1); exit 1; }; }
19381 cat >conftest.
$ac_ext <<_ACEOF
19384 cat confdefs.h
>>conftest.
$ac_ext
19385 cat >>conftest.
$ac_ext <<_ACEOF
19386 /* end confdefs.h. */
19388 /* Override any gcc2 internal prototype to avoid an error. */
19392 /* We use char because int might match the return type of a gcc2
19393 builtin and then its argument prototype would still apply. */
19403 rm -f conftest.
$ac_objext conftest
$ac_exeext
19404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19405 (eval $ac_link) 2>conftest.er1
19407 grep -v '^ *+' conftest.er1
>conftest.err
19409 cat conftest.err
>&5
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); } &&
19412 { ac_try
='test -z "$ac_c_werror_flag"
19413 || test ! -s conftest.err'
19414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19415 (eval $ac_try) 2>&5
19417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19418 (exit $ac_status); }; } &&
19419 { ac_try
='test -s conftest$ac_exeext'
19420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19421 (eval $ac_try) 2>&5
19423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19424 (exit $ac_status); }; }; then
19425 ac_cv_lib_dnet_dnet_ntoa
=yes
19427 echo "$as_me: failed program was:" >&5
19428 sed 's/^/| /' conftest.
$ac_ext >&5
19430 ac_cv_lib_dnet_dnet_ntoa
=no
19432 rm -f conftest.err conftest.
$ac_objext \
19433 conftest
$ac_exeext conftest.
$ac_ext
19434 LIBS
=$ac_check_lib_save_LIBS
19436 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
19437 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
19438 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
19439 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
19442 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
19443 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
19444 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
19445 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
19446 echo $ECHO_N "(cached) $ECHO_C" >&6
19448 ac_check_lib_save_LIBS
=$LIBS
19449 LIBS
="-ldnet_stub $LIBS"
19450 if test x
$gcc_no_link = xyes
; then
19451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19453 { (exit 1); exit 1; }; }
19455 cat >conftest.
$ac_ext <<_ACEOF
19458 cat confdefs.h
>>conftest.
$ac_ext
19459 cat >>conftest.
$ac_ext <<_ACEOF
19460 /* end confdefs.h. */
19462 /* Override any gcc2 internal prototype to avoid an error. */
19466 /* We use char because int might match the return type of a gcc2
19467 builtin and then its argument prototype would still apply. */
19477 rm -f conftest.
$ac_objext conftest
$ac_exeext
19478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19479 (eval $ac_link) 2>conftest.er1
19481 grep -v '^ *+' conftest.er1
>conftest.err
19483 cat conftest.err
>&5
19484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19485 (exit $ac_status); } &&
19486 { ac_try
='test -z "$ac_c_werror_flag"
19487 || test ! -s conftest.err'
19488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19489 (eval $ac_try) 2>&5
19491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19492 (exit $ac_status); }; } &&
19493 { ac_try
='test -s conftest$ac_exeext'
19494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19495 (eval $ac_try) 2>&5
19497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19498 (exit $ac_status); }; }; then
19499 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
19501 echo "$as_me: failed program was:" >&5
19502 sed 's/^/| /' conftest.
$ac_ext >&5
19504 ac_cv_lib_dnet_stub_dnet_ntoa
=no
19506 rm -f conftest.err conftest.
$ac_objext \
19507 conftest
$ac_exeext conftest.
$ac_ext
19508 LIBS
=$ac_check_lib_save_LIBS
19510 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
19511 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
19512 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
19513 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
19518 rm -f conftest.err conftest.
$ac_objext \
19519 conftest
$ac_exeext conftest.
$ac_ext
19520 LIBS
="$ac_xsave_LIBS"
19522 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
19523 # to get the SysV transport functions.
19524 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
19526 # The nsl library prevents programs from opening the X display
19527 # on Irix 5.2, according to T.E. Dickey.
19528 # The functions gethostbyname, getservbyname, and inet_addr are
19529 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
19530 echo "$as_me:$LINENO: checking for gethostbyname" >&5
19531 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
19532 if test "${ac_cv_func_gethostbyname+set}" = set; then
19533 echo $ECHO_N "(cached) $ECHO_C" >&6
19535 if test x
$gcc_no_link = xyes
; then
19536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19538 { (exit 1); exit 1; }; }
19540 cat >conftest.
$ac_ext <<_ACEOF
19543 cat confdefs.h
>>conftest.
$ac_ext
19544 cat >>conftest.
$ac_ext <<_ACEOF
19545 /* end confdefs.h. */
19546 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
19547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19548 #define gethostbyname innocuous_gethostbyname
19550 /* System header to define __stub macros and hopefully few prototypes,
19551 which can conflict with char gethostbyname (); below.
19552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19553 <limits.h> exists even on freestanding compilers. */
19556 # include <limits.h>
19558 # include <assert.h>
19561 #undef gethostbyname
19563 /* Override any gcc2 internal prototype to avoid an error. */
19568 /* We use char because int might match the return type of a gcc2
19569 builtin and then its argument prototype would still apply. */
19570 char gethostbyname ();
19571 /* The GNU C library defines this for functions which it implements
19572 to always fail with ENOSYS. Some functions are actually named
19573 something starting with __ and the normal name is an alias. */
19574 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
19577 char (*f) () = gethostbyname;
19586 return f != gethostbyname;
19591 rm -f conftest.
$ac_objext conftest
$ac_exeext
19592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19593 (eval $ac_link) 2>conftest.er1
19595 grep -v '^ *+' conftest.er1
>conftest.err
19597 cat conftest.err
>&5
19598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19599 (exit $ac_status); } &&
19600 { ac_try
='test -z "$ac_c_werror_flag"
19601 || test ! -s conftest.err'
19602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19603 (eval $ac_try) 2>&5
19605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19606 (exit $ac_status); }; } &&
19607 { ac_try
='test -s conftest$ac_exeext'
19608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19609 (eval $ac_try) 2>&5
19611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612 (exit $ac_status); }; }; then
19613 ac_cv_func_gethostbyname
=yes
19615 echo "$as_me: failed program was:" >&5
19616 sed 's/^/| /' conftest.
$ac_ext >&5
19618 ac_cv_func_gethostbyname
=no
19620 rm -f conftest.err conftest.
$ac_objext \
19621 conftest
$ac_exeext conftest.
$ac_ext
19623 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
19624 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
19626 if test $ac_cv_func_gethostbyname = no
; then
19627 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
19628 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
19629 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
19630 echo $ECHO_N "(cached) $ECHO_C" >&6
19632 ac_check_lib_save_LIBS
=$LIBS
19634 if test x
$gcc_no_link = xyes
; then
19635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19637 { (exit 1); exit 1; }; }
19639 cat >conftest.
$ac_ext <<_ACEOF
19642 cat confdefs.h
>>conftest.
$ac_ext
19643 cat >>conftest.
$ac_ext <<_ACEOF
19644 /* end confdefs.h. */
19646 /* Override any gcc2 internal prototype to avoid an error. */
19650 /* We use char because int might match the return type of a gcc2
19651 builtin and then its argument prototype would still apply. */
19652 char gethostbyname ();
19661 rm -f conftest.
$ac_objext conftest
$ac_exeext
19662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19663 (eval $ac_link) 2>conftest.er1
19665 grep -v '^ *+' conftest.er1
>conftest.err
19667 cat conftest.err
>&5
19668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19669 (exit $ac_status); } &&
19670 { ac_try
='test -z "$ac_c_werror_flag"
19671 || test ! -s conftest.err'
19672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19673 (eval $ac_try) 2>&5
19675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19676 (exit $ac_status); }; } &&
19677 { ac_try
='test -s conftest$ac_exeext'
19678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19679 (eval $ac_try) 2>&5
19681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19682 (exit $ac_status); }; }; then
19683 ac_cv_lib_nsl_gethostbyname
=yes
19685 echo "$as_me: failed program was:" >&5
19686 sed 's/^/| /' conftest.
$ac_ext >&5
19688 ac_cv_lib_nsl_gethostbyname
=no
19690 rm -f conftest.err conftest.
$ac_objext \
19691 conftest
$ac_exeext conftest.
$ac_ext
19692 LIBS
=$ac_check_lib_save_LIBS
19694 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
19695 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
19696 if test $ac_cv_lib_nsl_gethostbyname = yes; then
19697 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
19700 if test $ac_cv_lib_nsl_gethostbyname = no
; then
19701 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
19702 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
19703 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
19704 echo $ECHO_N "(cached) $ECHO_C" >&6
19706 ac_check_lib_save_LIBS
=$LIBS
19708 if test x
$gcc_no_link = xyes
; then
19709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19711 { (exit 1); exit 1; }; }
19713 cat >conftest.
$ac_ext <<_ACEOF
19716 cat confdefs.h
>>conftest.
$ac_ext
19717 cat >>conftest.
$ac_ext <<_ACEOF
19718 /* end confdefs.h. */
19720 /* Override any gcc2 internal prototype to avoid an error. */
19724 /* We use char because int might match the return type of a gcc2
19725 builtin and then its argument prototype would still apply. */
19726 char gethostbyname ();
19735 rm -f conftest.
$ac_objext conftest
$ac_exeext
19736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19737 (eval $ac_link) 2>conftest.er1
19739 grep -v '^ *+' conftest.er1
>conftest.err
19741 cat conftest.err
>&5
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); } &&
19744 { ac_try
='test -z "$ac_c_werror_flag"
19745 || test ! -s conftest.err'
19746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19747 (eval $ac_try) 2>&5
19749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750 (exit $ac_status); }; } &&
19751 { ac_try
='test -s conftest$ac_exeext'
19752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19753 (eval $ac_try) 2>&5
19755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19756 (exit $ac_status); }; }; then
19757 ac_cv_lib_bsd_gethostbyname
=yes
19759 echo "$as_me: failed program was:" >&5
19760 sed 's/^/| /' conftest.
$ac_ext >&5
19762 ac_cv_lib_bsd_gethostbyname
=no
19764 rm -f conftest.err conftest.
$ac_objext \
19765 conftest
$ac_exeext conftest.
$ac_ext
19766 LIBS
=$ac_check_lib_save_LIBS
19768 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
19769 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
19770 if test $ac_cv_lib_bsd_gethostbyname = yes; then
19771 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
19777 # lieder@skyler.mavd.honeywell.com says without -lsocket,
19778 # socket/setsockopt and other routines are undefined under SCO ODT
19779 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
19780 # on later versions), says Simon Leinen: it contains gethostby*
19781 # variants that don't use the name server (or something). -lsocket
19782 # must be given before -lnsl if both are needed. We assume that
19783 # if connect needs -lnsl, so does gethostbyname.
19784 echo "$as_me:$LINENO: checking for connect" >&5
19785 echo $ECHO_N "checking for connect... $ECHO_C" >&6
19786 if test "${ac_cv_func_connect+set}" = set; then
19787 echo $ECHO_N "(cached) $ECHO_C" >&6
19789 if test x
$gcc_no_link = xyes
; then
19790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19792 { (exit 1); exit 1; }; }
19794 cat >conftest.
$ac_ext <<_ACEOF
19797 cat confdefs.h
>>conftest.
$ac_ext
19798 cat >>conftest.
$ac_ext <<_ACEOF
19799 /* end confdefs.h. */
19800 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
19801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19802 #define connect innocuous_connect
19804 /* System header to define __stub macros and hopefully few prototypes,
19805 which can conflict with char connect (); below.
19806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19807 <limits.h> exists even on freestanding compilers. */
19810 # include <limits.h>
19812 # include <assert.h>
19817 /* Override any gcc2 internal prototype to avoid an error. */
19822 /* We use char because int might match the return type of a gcc2
19823 builtin and then its argument prototype would still apply. */
19825 /* The GNU C library defines this for functions which it implements
19826 to always fail with ENOSYS. Some functions are actually named
19827 something starting with __ and the normal name is an alias. */
19828 #if defined (__stub_connect) || defined (__stub___connect)
19831 char (*f) () = connect;
19840 return f != connect;
19845 rm -f conftest.
$ac_objext conftest
$ac_exeext
19846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19847 (eval $ac_link) 2>conftest.er1
19849 grep -v '^ *+' conftest.er1
>conftest.err
19851 cat conftest.err
>&5
19852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19853 (exit $ac_status); } &&
19854 { ac_try
='test -z "$ac_c_werror_flag"
19855 || test ! -s conftest.err'
19856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19857 (eval $ac_try) 2>&5
19859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19860 (exit $ac_status); }; } &&
19861 { ac_try
='test -s conftest$ac_exeext'
19862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19863 (eval $ac_try) 2>&5
19865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866 (exit $ac_status); }; }; then
19867 ac_cv_func_connect
=yes
19869 echo "$as_me: failed program was:" >&5
19870 sed 's/^/| /' conftest.
$ac_ext >&5
19872 ac_cv_func_connect
=no
19874 rm -f conftest.err conftest.
$ac_objext \
19875 conftest
$ac_exeext conftest.
$ac_ext
19877 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
19878 echo "${ECHO_T}$ac_cv_func_connect" >&6
19880 if test $ac_cv_func_connect = no
; then
19881 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
19882 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
19883 if test "${ac_cv_lib_socket_connect+set}" = set; then
19884 echo $ECHO_N "(cached) $ECHO_C" >&6
19886 ac_check_lib_save_LIBS
=$LIBS
19887 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
19888 if test x
$gcc_no_link = xyes
; then
19889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19891 { (exit 1); exit 1; }; }
19893 cat >conftest.
$ac_ext <<_ACEOF
19896 cat confdefs.h
>>conftest.
$ac_ext
19897 cat >>conftest.
$ac_ext <<_ACEOF
19898 /* end confdefs.h. */
19900 /* Override any gcc2 internal prototype to avoid an error. */
19904 /* We use char because int might match the return type of a gcc2
19905 builtin and then its argument prototype would still apply. */
19915 rm -f conftest.
$ac_objext conftest
$ac_exeext
19916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19917 (eval $ac_link) 2>conftest.er1
19919 grep -v '^ *+' conftest.er1
>conftest.err
19921 cat conftest.err
>&5
19922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19923 (exit $ac_status); } &&
19924 { ac_try
='test -z "$ac_c_werror_flag"
19925 || test ! -s conftest.err'
19926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19927 (eval $ac_try) 2>&5
19929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19930 (exit $ac_status); }; } &&
19931 { ac_try
='test -s conftest$ac_exeext'
19932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19933 (eval $ac_try) 2>&5
19935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19936 (exit $ac_status); }; }; then
19937 ac_cv_lib_socket_connect
=yes
19939 echo "$as_me: failed program was:" >&5
19940 sed 's/^/| /' conftest.
$ac_ext >&5
19942 ac_cv_lib_socket_connect
=no
19944 rm -f conftest.err conftest.
$ac_objext \
19945 conftest
$ac_exeext conftest.
$ac_ext
19946 LIBS
=$ac_check_lib_save_LIBS
19948 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
19949 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
19950 if test $ac_cv_lib_socket_connect = yes; then
19951 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
19956 # Guillermo Gomez says -lposix is necessary on A/UX.
19957 echo "$as_me:$LINENO: checking for remove" >&5
19958 echo $ECHO_N "checking for remove... $ECHO_C" >&6
19959 if test "${ac_cv_func_remove+set}" = set; then
19960 echo $ECHO_N "(cached) $ECHO_C" >&6
19962 if test x
$gcc_no_link = xyes
; then
19963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19965 { (exit 1); exit 1; }; }
19967 cat >conftest.
$ac_ext <<_ACEOF
19970 cat confdefs.h
>>conftest.
$ac_ext
19971 cat >>conftest.
$ac_ext <<_ACEOF
19972 /* end confdefs.h. */
19973 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
19974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19975 #define remove innocuous_remove
19977 /* System header to define __stub macros and hopefully few prototypes,
19978 which can conflict with char remove (); below.
19979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19980 <limits.h> exists even on freestanding compilers. */
19983 # include <limits.h>
19985 # include <assert.h>
19990 /* Override any gcc2 internal prototype to avoid an error. */
19995 /* We use char because int might match the return type of a gcc2
19996 builtin and then its argument prototype would still apply. */
19998 /* The GNU C library defines this for functions which it implements
19999 to always fail with ENOSYS. Some functions are actually named
20000 something starting with __ and the normal name is an alias. */
20001 #if defined (__stub_remove) || defined (__stub___remove)
20004 char (*f) () = remove;
20013 return f != remove;
20018 rm -f conftest.
$ac_objext conftest
$ac_exeext
20019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20020 (eval $ac_link) 2>conftest.er1
20022 grep -v '^ *+' conftest.er1
>conftest.err
20024 cat conftest.err
>&5
20025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026 (exit $ac_status); } &&
20027 { ac_try
='test -z "$ac_c_werror_flag"
20028 || test ! -s conftest.err'
20029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20030 (eval $ac_try) 2>&5
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); }; } &&
20034 { ac_try
='test -s conftest$ac_exeext'
20035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20036 (eval $ac_try) 2>&5
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); }; }; then
20040 ac_cv_func_remove
=yes
20042 echo "$as_me: failed program was:" >&5
20043 sed 's/^/| /' conftest.
$ac_ext >&5
20045 ac_cv_func_remove
=no
20047 rm -f conftest.err conftest.
$ac_objext \
20048 conftest
$ac_exeext conftest.
$ac_ext
20050 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
20051 echo "${ECHO_T}$ac_cv_func_remove" >&6
20053 if test $ac_cv_func_remove = no
; then
20054 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
20055 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
20056 if test "${ac_cv_lib_posix_remove+set}" = set; then
20057 echo $ECHO_N "(cached) $ECHO_C" >&6
20059 ac_check_lib_save_LIBS
=$LIBS
20060 LIBS
="-lposix $LIBS"
20061 if test x
$gcc_no_link = xyes
; then
20062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20064 { (exit 1); exit 1; }; }
20066 cat >conftest.
$ac_ext <<_ACEOF
20069 cat confdefs.h
>>conftest.
$ac_ext
20070 cat >>conftest.
$ac_ext <<_ACEOF
20071 /* end confdefs.h. */
20073 /* Override any gcc2 internal prototype to avoid an error. */
20077 /* We use char because int might match the return type of a gcc2
20078 builtin and then its argument prototype would still apply. */
20088 rm -f conftest.
$ac_objext conftest
$ac_exeext
20089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20090 (eval $ac_link) 2>conftest.er1
20092 grep -v '^ *+' conftest.er1
>conftest.err
20094 cat conftest.err
>&5
20095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20096 (exit $ac_status); } &&
20097 { ac_try
='test -z "$ac_c_werror_flag"
20098 || test ! -s conftest.err'
20099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20100 (eval $ac_try) 2>&5
20102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20103 (exit $ac_status); }; } &&
20104 { ac_try
='test -s conftest$ac_exeext'
20105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20106 (eval $ac_try) 2>&5
20108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20109 (exit $ac_status); }; }; then
20110 ac_cv_lib_posix_remove
=yes
20112 echo "$as_me: failed program was:" >&5
20113 sed 's/^/| /' conftest.
$ac_ext >&5
20115 ac_cv_lib_posix_remove
=no
20117 rm -f conftest.err conftest.
$ac_objext \
20118 conftest
$ac_exeext conftest.
$ac_ext
20119 LIBS
=$ac_check_lib_save_LIBS
20121 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
20122 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
20123 if test $ac_cv_lib_posix_remove = yes; then
20124 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
20129 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
20130 echo "$as_me:$LINENO: checking for shmat" >&5
20131 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
20132 if test "${ac_cv_func_shmat+set}" = set; then
20133 echo $ECHO_N "(cached) $ECHO_C" >&6
20135 if test x
$gcc_no_link = xyes
; then
20136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20138 { (exit 1); exit 1; }; }
20140 cat >conftest.
$ac_ext <<_ACEOF
20143 cat confdefs.h
>>conftest.
$ac_ext
20144 cat >>conftest.
$ac_ext <<_ACEOF
20145 /* end confdefs.h. */
20146 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
20147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20148 #define shmat innocuous_shmat
20150 /* System header to define __stub macros and hopefully few prototypes,
20151 which can conflict with char shmat (); below.
20152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20153 <limits.h> exists even on freestanding compilers. */
20156 # include <limits.h>
20158 # include <assert.h>
20163 /* Override any gcc2 internal prototype to avoid an error. */
20168 /* We use char because int might match the return type of a gcc2
20169 builtin and then its argument prototype would still apply. */
20171 /* The GNU C library defines this for functions which it implements
20172 to always fail with ENOSYS. Some functions are actually named
20173 something starting with __ and the normal name is an alias. */
20174 #if defined (__stub_shmat) || defined (__stub___shmat)
20177 char (*f) () = shmat;
20191 rm -f conftest.
$ac_objext conftest
$ac_exeext
20192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20193 (eval $ac_link) 2>conftest.er1
20195 grep -v '^ *+' conftest.er1
>conftest.err
20197 cat conftest.err
>&5
20198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199 (exit $ac_status); } &&
20200 { ac_try
='test -z "$ac_c_werror_flag"
20201 || test ! -s conftest.err'
20202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20203 (eval $ac_try) 2>&5
20205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 (exit $ac_status); }; } &&
20207 { ac_try
='test -s conftest$ac_exeext'
20208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20209 (eval $ac_try) 2>&5
20211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212 (exit $ac_status); }; }; then
20213 ac_cv_func_shmat
=yes
20215 echo "$as_me: failed program was:" >&5
20216 sed 's/^/| /' conftest.
$ac_ext >&5
20218 ac_cv_func_shmat
=no
20220 rm -f conftest.err conftest.
$ac_objext \
20221 conftest
$ac_exeext conftest.
$ac_ext
20223 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
20224 echo "${ECHO_T}$ac_cv_func_shmat" >&6
20226 if test $ac_cv_func_shmat = no
; then
20227 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
20228 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
20229 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
20230 echo $ECHO_N "(cached) $ECHO_C" >&6
20232 ac_check_lib_save_LIBS
=$LIBS
20234 if test x
$gcc_no_link = xyes
; then
20235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20237 { (exit 1); exit 1; }; }
20239 cat >conftest.
$ac_ext <<_ACEOF
20242 cat confdefs.h
>>conftest.
$ac_ext
20243 cat >>conftest.
$ac_ext <<_ACEOF
20244 /* end confdefs.h. */
20246 /* Override any gcc2 internal prototype to avoid an error. */
20250 /* We use char because int might match the return type of a gcc2
20251 builtin and then its argument prototype would still apply. */
20261 rm -f conftest.
$ac_objext conftest
$ac_exeext
20262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20263 (eval $ac_link) 2>conftest.er1
20265 grep -v '^ *+' conftest.er1
>conftest.err
20267 cat conftest.err
>&5
20268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20269 (exit $ac_status); } &&
20270 { ac_try
='test -z "$ac_c_werror_flag"
20271 || test ! -s conftest.err'
20272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20273 (eval $ac_try) 2>&5
20275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20276 (exit $ac_status); }; } &&
20277 { ac_try
='test -s conftest$ac_exeext'
20278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20279 (eval $ac_try) 2>&5
20281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20282 (exit $ac_status); }; }; then
20283 ac_cv_lib_ipc_shmat
=yes
20285 echo "$as_me: failed program was:" >&5
20286 sed 's/^/| /' conftest.
$ac_ext >&5
20288 ac_cv_lib_ipc_shmat
=no
20290 rm -f conftest.err conftest.
$ac_objext \
20291 conftest
$ac_exeext conftest.
$ac_ext
20292 LIBS
=$ac_check_lib_save_LIBS
20294 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
20295 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
20296 if test $ac_cv_lib_ipc_shmat = yes; then
20297 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
20303 # Check for libraries that X11R6 Xt/Xaw programs need.
20304 ac_save_LDFLAGS
=$LDFLAGS
20305 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
20306 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
20307 # check for ICE first), but we must link in the order -lSM -lICE or
20308 # we get undefined symbols. So assume we have SM if we have ICE.
20309 # These have to be linked with before -lX11, unlike the other
20310 # libraries we check for below, so use a different variable.
20311 # John Interrante, Karl Berry
20312 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
20313 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
20314 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
20315 echo $ECHO_N "(cached) $ECHO_C" >&6
20317 ac_check_lib_save_LIBS
=$LIBS
20318 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
20319 if test x
$gcc_no_link = xyes
; then
20320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20322 { (exit 1); exit 1; }; }
20324 cat >conftest.
$ac_ext <<_ACEOF
20327 cat confdefs.h
>>conftest.
$ac_ext
20328 cat >>conftest.
$ac_ext <<_ACEOF
20329 /* end confdefs.h. */
20331 /* Override any gcc2 internal prototype to avoid an error. */
20335 /* We use char because int might match the return type of a gcc2
20336 builtin and then its argument prototype would still apply. */
20337 char IceConnectionNumber ();
20341 IceConnectionNumber ();
20346 rm -f conftest.
$ac_objext conftest
$ac_exeext
20347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20348 (eval $ac_link) 2>conftest.er1
20350 grep -v '^ *+' conftest.er1
>conftest.err
20352 cat conftest.err
>&5
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); } &&
20355 { ac_try
='test -z "$ac_c_werror_flag"
20356 || test ! -s conftest.err'
20357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20358 (eval $ac_try) 2>&5
20360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20361 (exit $ac_status); }; } &&
20362 { ac_try
='test -s conftest$ac_exeext'
20363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20364 (eval $ac_try) 2>&5
20366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20367 (exit $ac_status); }; }; then
20368 ac_cv_lib_ICE_IceConnectionNumber
=yes
20370 echo "$as_me: failed program was:" >&5
20371 sed 's/^/| /' conftest.
$ac_ext >&5
20373 ac_cv_lib_ICE_IceConnectionNumber
=no
20375 rm -f conftest.err conftest.
$ac_objext \
20376 conftest
$ac_exeext conftest.
$ac_ext
20377 LIBS
=$ac_check_lib_save_LIBS
20379 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
20380 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
20381 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
20382 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
20385 LDFLAGS
=$ac_save_LDFLAGS
20390 # FIXME: this should be _libs on some hosts.
20393 LIBGCJTESTSPEC
="-L`${PWDCMD-pwd}`/.libs -rpath `${PWDCMD-pwd}`/.libs"
20396 # extra LD Flags which are required for targets
20399 # For now we have to disable it on darwin[8-9] because it slows down
20400 # the linking phase. A possible bug in ld?
20401 # on Darwin -single_module speeds up loading of the dynamic libraries.
20402 extra_ldflags_libjava
=-Wl,-single_module
20405 extra_gij_ldflags
=-Wl,-allow_stack_execute
20408 # Some of the ARM unwinder code is actually in libstdc++. We
20409 # could in principle replicate it in libgcj, but it's better to
20410 # have a dependency on libstdc++.
20411 extra_ldflags
='-L$(here)/../libstdc++-v3/src/.libs -lstdc++'
20412 LIBSTDCXXSPEC
=-lstdc++
20413 LIBGCJTESTSPEC
="-L`${PWDCMD-pwd}`/.libs -L`${PWDCMD-pwd}`/../libstdc++-v3/src/.libs -rpath `${PWDCMD-pwd}`/.libs:`${PWDCMD-pwd}`/../libstdc++-v3/src/.libs -lstdc++"
20423 # Allow the GC to be disabled. Can be useful when debugging.
20424 echo "$as_me:$LINENO: checking for garbage collector to use" >&5
20425 echo $ECHO_N "checking for garbage collector to use... $ECHO_C" >&6
20426 # Check whether --enable-java-gc or --disable-java-gc was given.
20427 if test "${enable_java_gc+set}" = set; then
20428 enableval
="$enable_java_gc"
20441 echo "$as_me:$LINENO: result: boehm" >&5
20442 echo "${ECHO_T}boehm" >&6
20443 GCLIBS
=..
/boehm-gc
/libgcjgc_convenience.la
20444 JC1GCSPEC
='-fuse-boehm-gc'
20445 GCTESTSPEC
="-L`${PWDCMD-pwd}`/../boehm-gc/.libs -rpath `${PWDCMD-pwd}`/../boehm-gc/.libs"
20446 GCINCS
='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include'
20449 # The POSIX thread support needs to know this.
20451 cat >>confdefs.h
<<\_ACEOF
20452 #define HAVE_BOEHM_GC 1
20457 echo "$as_me:$LINENO: result: none" >&5
20458 echo "${ECHO_T}none" >&6
20462 { { echo "$as_me:$LINENO: error: unrecognized collector \"$GC\"" >&5
20463 echo "$as_me: error: unrecognized collector \"$GC\"" >&2;}
20464 { (exit 1); exit 1; }; }
20473 ac_config_links
="$ac_config_links include/java-gc.h:include/$GCHDR"
20477 if test "$GC" = boehm
; then
20478 USING_BOEHMGC_TRUE
=
20479 USING_BOEHMGC_FALSE
='#'
20481 USING_BOEHMGC_TRUE
='#'
20482 USING_BOEHMGC_FALSE
=
20487 if test "$GC" = no
; then
20489 USING_NOGC_FALSE
='#'
20491 USING_NOGC_TRUE
='#'
20497 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
20498 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
20499 THREADS
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
20500 echo "$as_me:$LINENO: result: $THREADS" >&5
20501 echo "${ECHO_T}$THREADS" >&6
20504 no | none | single
)
20507 posix | posix95 | pthreads
)
20512 cat >>confdefs.h
<<\_ACEOF
20513 #define LINUX_THREADS 1
20521 decosf1 | irix | mach | os2 | solaris | dce | vxworks
)
20522 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
20523 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
20524 { (exit 1); exit 1; }; }
20527 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
20528 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
20529 { (exit 1); exit 1; }; }
20540 THREADSTARTFILESPEC
=
20545 # Don't set THREADLIBS here. Cygwin doesn't have -lpthread.
20547 *-*-freebsd[1234]*)
20548 # Before FreeBSD 5, it didn't have -lpthread (or any library which
20549 # merely adds pthread_* functions) but it does have a -pthread switch
20550 # which is required at link-time to select -lc_r *instead* of -lc.
20551 THREADLDFLAGS
=-pthread
20552 # Don't set THREADSPEC here as might be expected since -pthread is
20553 # not processed when found within a spec file, it must come from
20554 # the command line. For now, the user must provide the -pthread
20555 # switch to link code compiled with gcj. In future, consider adding
20556 # support for weak references to pthread_* functions ala gthr.h API.
20557 THREADSPEC
='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
20560 # FreeBSD >=5.3 implements a model much closer to other modern UNIX
20561 # systems which support threads and -lpthread.
20562 THREADLDFLAGS
=-pthread
20563 THREADSPEC
=-lpthread
20565 alpha
*-dec-osf* | hppa
*-hp-hpux*)
20566 THREADCXXFLAGS
=-pthread
20567 # boehm-gc needs some functions from librt, so link that too.
20568 THREADLIBS
='-lpthread -lrt'
20569 THREADSPEC
='-lpthread -lrt'
20572 THREADLIBS
=-lpthread
20573 THREADSPEC
=-lpthread
20576 THREADH
=posix-threads.h
20577 # MIT pthreads doesn't seem to have the mutexattr functions.
20578 # But for now we don't check for it. We just assume you aren't
20579 # using MIT pthreads.
20581 cat >>confdefs.h
<<\_ACEOF
20582 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
20586 # If we're using the Boehm GC, then we happen to know that it
20587 # defines _REENTRANT, so we don't bother. Eww.
20588 if test "$GC" != boehm
; then
20590 cat >>confdefs.h
<<\_ACEOF
20591 #define _REENTRANT 1
20596 cat >>confdefs.h
<<\_ACEOF
20597 #define _POSIX_PTHREAD_SEMANTICS 1
20603 THREADH
=win32-threads.h
20604 THREADCXXFLAGS
=-mthreads
20605 # We need thread-safe exception handling so _CRT_MT should be set to 1.
20606 # But we do not want the executables created to be dependent on
20607 # mingwm10.dll which provides a __mingwthr_key_dtor() that cleans up
20608 # exception handling contexts. The following kludge achieves this effect
20609 # and causes a dummy __mingwthr_key_dtor() to be linked in from
20610 # libmingw32.a. This causes a memory leak of about 24 bytes per thread.
20611 # A workaround is to explicitly use -mthreads while linking Java programs.
20612 # See PR libgcj/28263.
20614 # FIXME: In Java we are able to detect thread death at the end of
20615 # Thread.run() so we should be able to clean up the exception handling
20616 # contexts ourselves.
20617 THREADSTARTFILESPEC
='crtmt%O%s'
20621 THREADH
=no-threads.h
20624 ac_config_links
="$ac_config_links include/java-threads.h:include/$THREADH"
20635 if test "$THREADS" = posix
; then
20636 USING_POSIX_THREADS_TRUE
=
20637 USING_POSIX_THREADS_FALSE
='#'
20639 USING_POSIX_THREADS_TRUE
='#'
20640 USING_POSIX_THREADS_FALSE
=
20645 if test "$THREADS" = win32
; then
20646 USING_WIN32_THREADS_TRUE
=
20647 USING_WIN32_THREADS_FALSE
='#'
20649 USING_WIN32_THREADS_TRUE
='#'
20650 USING_WIN32_THREADS_FALSE
=
20655 if test "$THREADS" = none
; then
20656 USING_NO_THREADS_TRUE
=
20657 USING_NO_THREADS_FALSE
='#'
20659 USING_NO_THREADS_TRUE
='#'
20660 USING_NO_THREADS_FALSE
=
20665 if test "$use_libgcj_bc" = yes; then
20666 USE_LIBGCJ_BC_TRUE
=
20667 USE_LIBGCJ_BC_FALSE
='#'
20669 USE_LIBGCJ_BC_TRUE
='#'
20670 USE_LIBGCJ_BC_FALSE
=
20674 if test -d sysdep
; then true
; else mkdir sysdep
; fi
20675 ac_config_links
="$ac_config_links sysdep/locks.h:sysdep/$sysdeps_dir/locks.h"
20677 ac_config_links
="$ac_config_links sysdep/backtrace.h:$fallback_backtrace_h"
20679 ac_config_links
="$ac_config_links sysdep/descriptor.h:$descriptor_h"
20682 LIBGCJ_SPEC
="%{s-bc-abi:} -lgcj"
20683 if test "$use_libgcj_bc" = yes; then
20684 LIBGCJ_SPEC
="%{s-bc-abi:-lgcj_bc;:-lgcj}"
20689 # Hash synchronization is only useful with posix threads right now.
20690 if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then
20691 HASH_SYNC_SPEC
=-fhash-synchronization
20693 cat >>confdefs.h
<<\_ACEOF
20694 #define JV_HASH_SYNCHRONIZATION 1
20702 if test "$GCC" = yes; then
20704 USING_GCC_FALSE
='#'
20711 # We're in the tree with gcc, and need to include some of its headers.
20712 GCC_UNWIND_INCLUDE
='-I$(multi_basedir)/./libjava/../gcc'
20714 if test "x${with_newlib}" = "xyes"; then
20715 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
20716 # may not work correctly, because the compiler may not be able to
20717 # link executables.
20719 # We assume newlib. This lets us hard-code the functions we know
20722 cat >>confdefs.h
<<\_ACEOF
20723 #define HAVE_MEMMOVE 1
20727 cat >>confdefs.h
<<\_ACEOF
20728 #define HAVE_MEMCPY 1
20732 cat >>confdefs.h
<<\_ACEOF
20733 #define HAVE_TIME 1
20737 cat >>confdefs.h
<<\_ACEOF
20738 #define HAVE_GMTIME_R 1
20742 cat >>confdefs.h
<<\_ACEOF
20743 #define HAVE_LOCALTIME_R 1
20747 cat >>confdefs.h
<<\_ACEOF
20748 #define HAVE_USLEEP_DECL 1
20751 # This is only for POSIX threads.
20753 cat >>confdefs.h
<<\_ACEOF
20754 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
20758 # Assume we do not have getuid and friends.
20760 cat >>confdefs.h
<<\_ACEOF
20761 #define NO_GETUID 1
20796 for ac_func
in strerror_r
select fstat open fsync
sleep opendir \
20797 localtime_r getpwuid_r getcwd \
20798 access stat lstat mkdir rename
rmdir unlink utime
chmod readlink \
20799 nl_langinfo setlocale \
20800 inet_pton uname inet_ntoa \
20801 getrlimit sigaction ftruncate mmap \
20804 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20805 echo "$as_me:$LINENO: checking for $ac_func" >&5
20806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20807 if eval "test \"\${$as_ac_var+set}\" = set"; then
20808 echo $ECHO_N "(cached) $ECHO_C" >&6
20810 if test x
$gcc_no_link = xyes
; then
20811 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20813 { (exit 1); exit 1; }; }
20815 cat >conftest.
$ac_ext <<_ACEOF
20818 cat confdefs.h
>>conftest.
$ac_ext
20819 cat >>conftest.
$ac_ext <<_ACEOF
20820 /* end confdefs.h. */
20821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20823 #define $ac_func innocuous_$ac_func
20825 /* System header to define __stub macros and hopefully few prototypes,
20826 which can conflict with char $ac_func (); below.
20827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20828 <limits.h> exists even on freestanding compilers. */
20831 # include <limits.h>
20833 # include <assert.h>
20838 /* Override any gcc2 internal prototype to avoid an error. */
20843 /* We use char because int might match the return type of a gcc2
20844 builtin and then its argument prototype would still apply. */
20846 /* The GNU C library defines this for functions which it implements
20847 to always fail with ENOSYS. Some functions are actually named
20848 something starting with __ and the normal name is an alias. */
20849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20852 char (*f) () = $ac_func;
20861 return f != $ac_func;
20866 rm -f conftest.
$ac_objext conftest
$ac_exeext
20867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20868 (eval $ac_link) 2>conftest.er1
20870 grep -v '^ *+' conftest.er1
>conftest.err
20872 cat conftest.err
>&5
20873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20874 (exit $ac_status); } &&
20875 { ac_try
='test -z "$ac_c_werror_flag"
20876 || test ! -s conftest.err'
20877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20878 (eval $ac_try) 2>&5
20880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20881 (exit $ac_status); }; } &&
20882 { ac_try
='test -s conftest$ac_exeext'
20883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20884 (eval $ac_try) 2>&5
20886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20887 (exit $ac_status); }; }; then
20888 eval "$as_ac_var=yes"
20890 echo "$as_me: failed program was:" >&5
20891 sed 's/^/| /' conftest.
$ac_ext >&5
20893 eval "$as_ac_var=no"
20895 rm -f conftest.err conftest.
$ac_objext \
20896 conftest
$ac_exeext conftest.
$ac_ext
20898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20899 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20900 if test `eval echo '${'$as_ac_var'}'` = yes; then
20901 cat >>confdefs.h
<<_ACEOF
20902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20910 for ac_func
in inet_aton inet_addr
20912 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20913 echo "$as_me:$LINENO: checking for $ac_func" >&5
20914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20915 if eval "test \"\${$as_ac_var+set}\" = set"; then
20916 echo $ECHO_N "(cached) $ECHO_C" >&6
20918 if test x
$gcc_no_link = xyes
; then
20919 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20921 { (exit 1); exit 1; }; }
20923 cat >conftest.
$ac_ext <<_ACEOF
20926 cat confdefs.h
>>conftest.
$ac_ext
20927 cat >>conftest.
$ac_ext <<_ACEOF
20928 /* end confdefs.h. */
20929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20931 #define $ac_func innocuous_$ac_func
20933 /* System header to define __stub macros and hopefully few prototypes,
20934 which can conflict with char $ac_func (); below.
20935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20936 <limits.h> exists even on freestanding compilers. */
20939 # include <limits.h>
20941 # include <assert.h>
20946 /* Override any gcc2 internal prototype to avoid an error. */
20951 /* We use char because int might match the return type of a gcc2
20952 builtin and then its argument prototype would still apply. */
20954 /* The GNU C library defines this for functions which it implements
20955 to always fail with ENOSYS. Some functions are actually named
20956 something starting with __ and the normal name is an alias. */
20957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20960 char (*f) () = $ac_func;
20969 return f != $ac_func;
20974 rm -f conftest.
$ac_objext conftest
$ac_exeext
20975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20976 (eval $ac_link) 2>conftest.er1
20978 grep -v '^ *+' conftest.er1
>conftest.err
20980 cat conftest.err
>&5
20981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20982 (exit $ac_status); } &&
20983 { ac_try
='test -z "$ac_c_werror_flag"
20984 || test ! -s conftest.err'
20985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20986 (eval $ac_try) 2>&5
20988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20989 (exit $ac_status); }; } &&
20990 { ac_try
='test -s conftest$ac_exeext'
20991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20992 (eval $ac_try) 2>&5
20994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20995 (exit $ac_status); }; }; then
20996 eval "$as_ac_var=yes"
20998 echo "$as_me: failed program was:" >&5
20999 sed 's/^/| /' conftest.
$ac_ext >&5
21001 eval "$as_ac_var=no"
21003 rm -f conftest.err conftest.
$ac_objext \
21004 conftest
$ac_exeext conftest.
$ac_ext
21006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21008 if test `eval echo '${'$as_ac_var'}'` = yes; then
21009 cat >>confdefs.h
<<_ACEOF
21010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21019 for ac_header
in unistd.h dlfcn.h sys
/resource.h
21021 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21022 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21023 echo "$as_me:$LINENO: checking for $ac_header" >&5
21024 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21025 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21026 echo $ECHO_N "(cached) $ECHO_C" >&6
21028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21029 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21031 # Is the header compilable?
21032 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21033 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21034 cat >conftest.
$ac_ext <<_ACEOF
21037 cat confdefs.h
>>conftest.
$ac_ext
21038 cat >>conftest.
$ac_ext <<_ACEOF
21039 /* end confdefs.h. */
21040 $ac_includes_default
21041 #include <$ac_header>
21043 rm -f conftest.
$ac_objext
21044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21045 (eval $ac_compile) 2>conftest.er1
21047 grep -v '^ *+' conftest.er1
>conftest.err
21049 cat conftest.err
>&5
21050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21051 (exit $ac_status); } &&
21052 { ac_try
='test -z "$ac_c_werror_flag"
21053 || test ! -s conftest.err'
21054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21055 (eval $ac_try) 2>&5
21057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21058 (exit $ac_status); }; } &&
21059 { ac_try
='test -s conftest.$ac_objext'
21060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21061 (eval $ac_try) 2>&5
21063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21064 (exit $ac_status); }; }; then
21065 ac_header_compiler
=yes
21067 echo "$as_me: failed program was:" >&5
21068 sed 's/^/| /' conftest.
$ac_ext >&5
21070 ac_header_compiler
=no
21072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21073 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21074 echo "${ECHO_T}$ac_header_compiler" >&6
21076 # Is the header present?
21077 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21078 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21079 cat >conftest.
$ac_ext <<_ACEOF
21082 cat confdefs.h
>>conftest.
$ac_ext
21083 cat >>conftest.
$ac_ext <<_ACEOF
21084 /* end confdefs.h. */
21085 #include <$ac_header>
21087 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21088 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21090 grep -v '^ *+' conftest.er1
>conftest.err
21092 cat conftest.err
>&5
21093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21094 (exit $ac_status); } >/dev
/null
; then
21095 if test -s conftest.err
; then
21096 ac_cpp_err
=$ac_c_preproc_warn_flag
21097 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21104 if test -z "$ac_cpp_err"; then
21105 ac_header_preproc
=yes
21107 echo "$as_me: failed program was:" >&5
21108 sed 's/^/| /' conftest.
$ac_ext >&5
21110 ac_header_preproc
=no
21112 rm -f conftest.err conftest.
$ac_ext
21113 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21114 echo "${ECHO_T}$ac_header_preproc" >&6
21116 # So? What about this header?
21117 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21119 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21120 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21121 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21122 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21123 ac_header_preproc
=yes
21126 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21127 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21128 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21129 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21130 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21131 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21132 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21133 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21134 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21135 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21136 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21137 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21140 ## ---------------------------------- ##
21141 ## Report this to the libjava lists. ##
21142 ## ---------------------------------- ##
21145 sed "s/^/$as_me: WARNING: /" >&2
21148 echo "$as_me:$LINENO: checking for $ac_header" >&5
21149 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21150 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21151 echo $ECHO_N "(cached) $ECHO_C" >&6
21153 eval "$as_ac_Header=\$ac_header_preproc"
21155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21156 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21159 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21160 cat >>confdefs.h
<<_ACEOF
21161 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21168 # Do an additional check on dld, HP-UX for example has dladdr in libdld.sl
21169 echo "$as_me:$LINENO: checking for dladdr in -ldl" >&5
21170 echo $ECHO_N "checking for dladdr in -ldl... $ECHO_C" >&6
21171 if test "${ac_cv_lib_dl_dladdr+set}" = set; then
21172 echo $ECHO_N "(cached) $ECHO_C" >&6
21174 ac_check_lib_save_LIBS
=$LIBS
21176 if test x
$gcc_no_link = xyes
; then
21177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21179 { (exit 1); exit 1; }; }
21181 cat >conftest.
$ac_ext <<_ACEOF
21184 cat confdefs.h
>>conftest.
$ac_ext
21185 cat >>conftest.
$ac_ext <<_ACEOF
21186 /* end confdefs.h. */
21188 /* Override any gcc2 internal prototype to avoid an error. */
21192 /* We use char because int might match the return type of a gcc2
21193 builtin and then its argument prototype would still apply. */
21203 rm -f conftest.
$ac_objext conftest
$ac_exeext
21204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21205 (eval $ac_link) 2>conftest.er1
21207 grep -v '^ *+' conftest.er1
>conftest.err
21209 cat conftest.err
>&5
21210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21211 (exit $ac_status); } &&
21212 { ac_try
='test -z "$ac_c_werror_flag"
21213 || test ! -s conftest.err'
21214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21215 (eval $ac_try) 2>&5
21217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21218 (exit $ac_status); }; } &&
21219 { ac_try
='test -s conftest$ac_exeext'
21220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21221 (eval $ac_try) 2>&5
21223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21224 (exit $ac_status); }; }; then
21225 ac_cv_lib_dl_dladdr
=yes
21227 echo "$as_me: failed program was:" >&5
21228 sed 's/^/| /' conftest.
$ac_ext >&5
21230 ac_cv_lib_dl_dladdr
=no
21232 rm -f conftest.err conftest.
$ac_objext \
21233 conftest
$ac_exeext conftest.
$ac_ext
21234 LIBS
=$ac_check_lib_save_LIBS
21236 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dladdr" >&5
21237 echo "${ECHO_T}$ac_cv_lib_dl_dladdr" >&6
21238 if test $ac_cv_lib_dl_dladdr = yes; then
21241 cat >>confdefs.h
<<\_ACEOF
21242 #define HAVE_DLADDR 1
21247 echo "$as_me:$LINENO: checking for dladdr in -ldld" >&5
21248 echo $ECHO_N "checking for dladdr in -ldld... $ECHO_C" >&6
21249 if test "${ac_cv_lib_dld_dladdr+set}" = set; then
21250 echo $ECHO_N "(cached) $ECHO_C" >&6
21252 ac_check_lib_save_LIBS
=$LIBS
21254 if test x
$gcc_no_link = xyes
; then
21255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21257 { (exit 1); exit 1; }; }
21259 cat >conftest.
$ac_ext <<_ACEOF
21262 cat confdefs.h
>>conftest.
$ac_ext
21263 cat >>conftest.
$ac_ext <<_ACEOF
21264 /* end confdefs.h. */
21266 /* Override any gcc2 internal prototype to avoid an error. */
21270 /* We use char because int might match the return type of a gcc2
21271 builtin and then its argument prototype would still apply. */
21281 rm -f conftest.
$ac_objext conftest
$ac_exeext
21282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21283 (eval $ac_link) 2>conftest.er1
21285 grep -v '^ *+' conftest.er1
>conftest.err
21287 cat conftest.err
>&5
21288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21289 (exit $ac_status); } &&
21290 { ac_try
='test -z "$ac_c_werror_flag"
21291 || test ! -s conftest.err'
21292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21293 (eval $ac_try) 2>&5
21295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21296 (exit $ac_status); }; } &&
21297 { ac_try
='test -s conftest$ac_exeext'
21298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21299 (eval $ac_try) 2>&5
21301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21302 (exit $ac_status); }; }; then
21303 ac_cv_lib_dld_dladdr
=yes
21305 echo "$as_me: failed program was:" >&5
21306 sed 's/^/| /' conftest.
$ac_ext >&5
21308 ac_cv_lib_dld_dladdr
=no
21310 rm -f conftest.err conftest.
$ac_objext \
21311 conftest
$ac_exeext conftest.
$ac_ext
21312 LIBS
=$ac_check_lib_save_LIBS
21314 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dladdr" >&5
21315 echo "${ECHO_T}$ac_cv_lib_dld_dladdr" >&6
21316 if test $ac_cv_lib_dld_dladdr = yes; then
21319 cat >>confdefs.h
<<\_ACEOF
21320 #define HAVE_DLADDR 1
21328 if test x
"$cross_compiling" = x
"no"; then
21329 echo "$as_me:$LINENO: checking for /proc/self/exe" >&5
21330 echo $ECHO_N "checking for /proc/self/exe... $ECHO_C" >&6
21331 if test "${ac_cv_file__proc_self_exe+set}" = set; then
21332 echo $ECHO_N "(cached) $ECHO_C" >&6
21334 test "$cross_compiling" = yes &&
21335 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21336 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
21337 { (exit 1); exit 1; }; }
21338 if test -r "/proc/self/exe"; then
21339 ac_cv_file__proc_self_exe
=yes
21341 ac_cv_file__proc_self_exe
=no
21344 echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_exe" >&5
21345 echo "${ECHO_T}$ac_cv_file__proc_self_exe" >&6
21346 if test $ac_cv_file__proc_self_exe = yes; then
21348 cat >>confdefs.h
<<_ACEOF
21349 #define HAVE__PROC_SELF_EXE 1
21354 cat >>confdefs.h
<<\_ACEOF
21355 #define HAVE_PROC_SELF_EXE 1
21360 echo "$as_me:$LINENO: checking for /proc/self/maps" >&5
21361 echo $ECHO_N "checking for /proc/self/maps... $ECHO_C" >&6
21362 if test "${ac_cv_file__proc_self_maps+set}" = set; then
21363 echo $ECHO_N "(cached) $ECHO_C" >&6
21365 test "$cross_compiling" = yes &&
21366 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21367 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
21368 { (exit 1); exit 1; }; }
21369 if test -r "/proc/self/maps"; then
21370 ac_cv_file__proc_self_maps
=yes
21372 ac_cv_file__proc_self_maps
=no
21375 echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_maps" >&5
21376 echo "${ECHO_T}$ac_cv_file__proc_self_maps" >&6
21377 if test $ac_cv_file__proc_self_maps = yes; then
21379 cat >>confdefs.h
<<_ACEOF
21380 #define HAVE__PROC_SELF_MAPS 1
21385 cat >>confdefs.h
<<\_ACEOF
21386 #define HAVE_PROC_SELF_MAPS 1
21395 cat >>confdefs.h
<<\_ACEOF
21396 #define HAVE_PROC_SELF_EXE 1
21400 cat >>confdefs.h
<<\_ACEOF
21401 #define HAVE_PROC_SELF_MAPS 1
21409 if test "X$prefix" = "XNONE"; then
21410 acl_final_prefix
="$ac_default_prefix"
21412 acl_final_prefix
="$prefix"
21414 if test "X$exec_prefix" = "XNONE"; then
21415 acl_final_exec_prefix
='${prefix}'
21417 acl_final_exec_prefix
="$exec_prefix"
21419 acl_save_prefix
="$prefix"
21420 prefix
="$acl_final_prefix"
21421 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
21422 prefix
="$acl_save_prefix"
21425 # Check whether --with-gnu-ld or --without-gnu-ld was given.
21426 if test "${with_gnu_ld+set}" = set; then
21427 withval
="$with_gnu_ld"
21428 test "$withval" = no || with_gnu_ld
=yes
21432 # Prepare PATH_SEPARATOR.
21433 # The user is always right.
21434 if test "${PATH_SEPARATOR+set}" != set; then
21435 echo "#! /bin/sh" >conf$$.sh
21436 echo "exit 0" >>conf$$.sh
21438 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21446 if test "$GCC" = yes; then
21447 # Check if gcc -print-prog-name=ld gives a path.
21448 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
21449 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
21452 # gcc leaves a trailing carriage return which upsets mingw
21453 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21455 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
21458 # Accept absolute paths.
21459 [\\/]* |
[A-Za-z
]:[\\/]*)
21460 re_direlt
='/[^/][^/]*/\.\./'
21461 # Canonicalize the path of ld
21462 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
21463 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
21464 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
21466 test -z "$LD" && LD
="$ac_prog"
21469 # If it fails, then pretend we aren't using GCC.
21473 # If it is relative, then search for the first ld in PATH.
21474 with_gnu_ld
=unknown
21477 elif test "$with_gnu_ld" = yes; then
21478 echo "$as_me:$LINENO: checking for GNU ld" >&5
21479 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
21481 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
21482 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
21484 if test "${acl_cv_path_LD+set}" = set; then
21485 echo $ECHO_N "(cached) $ECHO_C" >&6
21487 if test -z "$LD"; then
21488 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
21489 for ac_dir
in $PATH; do
21490 test -z "$ac_dir" && ac_dir
=.
21491 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
21492 acl_cv_path_LD
="$ac_dir/$ac_prog"
21493 # Check to see if the program is GNU ld. I'd rather use --version,
21494 # but apparently some GNU ld's only accept -v.
21495 # Break only if it was the GNU/non-GNU ld that we prefer.
21496 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
21497 test "$with_gnu_ld" != no
&& break
21499 test "$with_gnu_ld" != yes && break
21505 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
21509 LD
="$acl_cv_path_LD"
21510 if test -n "$LD"; then
21511 echo "$as_me:$LINENO: result: $LD" >&5
21512 echo "${ECHO_T}$LD" >&6
21514 echo "$as_me:$LINENO: result: no" >&5
21515 echo "${ECHO_T}no" >&6
21517 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
21518 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
21519 { (exit 1); exit 1; }; }
21520 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
21521 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
21522 if test "${acl_cv_prog_gnu_ld+set}" = set; then
21523 echo $ECHO_N "(cached) $ECHO_C" >&6
21525 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
21526 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
21527 acl_cv_prog_gnu_ld
=yes
21529 acl_cv_prog_gnu_ld
=no
21532 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
21533 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
21534 with_gnu_ld
=$acl_cv_prog_gnu_ld
21538 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
21539 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
21540 if test "${acl_cv_rpath+set}" = set; then
21541 echo $ECHO_N "(cached) $ECHO_C" >&6
21544 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
21545 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
21547 rm -f .
/conftest.sh
21551 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
21552 echo "${ECHO_T}$acl_cv_rpath" >&6
21554 libext
="$acl_cv_libext"
21555 shlibext
="$acl_cv_shlibext"
21556 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
21557 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
21558 hardcode_direct
="$acl_cv_hardcode_direct"
21559 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
21560 # Check whether --enable-rpath or --disable-rpath was given.
21561 if test "${enable_rpath+set}" = set; then
21562 enableval
="$enable_rpath"
21576 acl_save_prefix
="$prefix"
21577 prefix
="$acl_final_prefix"
21578 acl_save_exec_prefix
="$exec_prefix"
21579 exec_prefix
="$acl_final_exec_prefix"
21581 eval additional_includedir
=\"$includedir\"
21582 eval additional_libdir
=\"$libdir\"
21584 exec_prefix
="$acl_save_exec_prefix"
21585 prefix
="$acl_save_prefix"
21588 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
21589 if test "${with_libiconv_prefix+set}" = set; then
21590 withval
="$with_libiconv_prefix"
21592 if test "X$withval" = "Xno"; then
21595 if test "X$withval" = "X"; then
21597 acl_save_prefix
="$prefix"
21598 prefix
="$acl_final_prefix"
21599 acl_save_exec_prefix
="$exec_prefix"
21600 exec_prefix
="$acl_final_exec_prefix"
21602 eval additional_includedir
=\"$includedir\"
21603 eval additional_libdir
=\"$libdir\"
21605 exec_prefix
="$acl_save_exec_prefix"
21606 prefix
="$acl_save_prefix"
21609 additional_includedir
="$withval/include"
21610 additional_libdir
="$withval/lib"
21620 names_already_handled
=
21621 names_next_round
='iconv '
21622 while test -n "$names_next_round"; do
21623 names_this_round
="$names_next_round"
21625 for name
in $names_this_round; do
21627 for n
in $names_already_handled; do
21628 if test "$n" = "$name"; then
21629 already_handled
=yes
21633 if test -z "$already_handled"; then
21634 names_already_handled
="$names_already_handled $name"
21635 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
21636 eval value
=\"\
$HAVE_LIB$uppername\"
21637 if test -n "$value"; then
21638 if test "$value" = yes; then
21639 eval value
=\"\
$LIB$uppername\"
21640 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
21641 eval value
=\"\
$LTLIB$uppername\"
21642 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
21651 if test $use_additional = yes; then
21652 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
21653 found_dir
="$additional_libdir"
21654 found_so
="$additional_libdir/lib$name.$shlibext"
21655 if test -f "$additional_libdir/lib$name.la"; then
21656 found_la
="$additional_libdir/lib$name.la"
21659 if test -f "$additional_libdir/lib$name.$libext"; then
21660 found_dir
="$additional_libdir"
21661 found_a
="$additional_libdir/lib$name.$libext"
21662 if test -f "$additional_libdir/lib$name.la"; then
21663 found_la
="$additional_libdir/lib$name.la"
21668 if test "X$found_dir" = "X"; then
21669 for x
in $LDFLAGS $LTLIBICONV; do
21671 acl_save_prefix
="$prefix"
21672 prefix
="$acl_final_prefix"
21673 acl_save_exec_prefix
="$exec_prefix"
21674 exec_prefix
="$acl_final_exec_prefix"
21676 exec_prefix
="$acl_save_exec_prefix"
21677 prefix
="$acl_save_prefix"
21681 dir
=`echo "X$x" | sed -e 's/^X-L//'`
21682 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
21684 found_so
="$dir/lib$name.$shlibext"
21685 if test -f "$dir/lib$name.la"; then
21686 found_la
="$dir/lib$name.la"
21689 if test -f "$dir/lib$name.$libext"; then
21691 found_a
="$dir/lib$name.$libext"
21692 if test -f "$dir/lib$name.la"; then
21693 found_la
="$dir/lib$name.la"
21699 if test "X$found_dir" != "X"; then
21704 if test "X$found_dir" != "X"; then
21705 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
21706 if test "X$found_so" != "X"; then
21707 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
21708 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21711 for x
in $ltrpathdirs; do
21712 if test "X$x" = "X$found_dir"; then
21717 if test -z "$haveit"; then
21718 ltrpathdirs
="$ltrpathdirs $found_dir"
21720 if test "$hardcode_direct" = yes; then
21721 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21723 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
21724 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21726 for x
in $rpathdirs; do
21727 if test "X$x" = "X$found_dir"; then
21732 if test -z "$haveit"; then
21733 rpathdirs
="$rpathdirs $found_dir"
21737 for x
in $LDFLAGS $LIBICONV; do
21739 acl_save_prefix
="$prefix"
21740 prefix
="$acl_final_prefix"
21741 acl_save_exec_prefix
="$exec_prefix"
21742 exec_prefix
="$acl_final_exec_prefix"
21744 exec_prefix
="$acl_save_exec_prefix"
21745 prefix
="$acl_save_prefix"
21747 if test "X$x" = "X-L$found_dir"; then
21752 if test -z "$haveit"; then
21753 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
21755 if test "$hardcode_minus_L" != no
; then
21756 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21758 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
21764 if test "X$found_a" != "X"; then
21765 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
21767 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
21770 additional_includedir
=
21771 case "$found_dir" in
21773 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
21774 additional_includedir
="$basedir/include"
21777 if test "X$additional_includedir" != "X"; then
21778 if test "X$additional_includedir" != "X/usr/include"; then
21780 if test "X$additional_includedir" = "X/usr/local/include"; then
21781 if test -n "$GCC"; then
21783 linux
*) haveit
=yes;;
21787 if test -z "$haveit"; then
21788 for x
in $CPPFLAGS $INCICONV; do
21790 acl_save_prefix
="$prefix"
21791 prefix
="$acl_final_prefix"
21792 acl_save_exec_prefix
="$exec_prefix"
21793 exec_prefix
="$acl_final_exec_prefix"
21795 exec_prefix
="$acl_save_exec_prefix"
21796 prefix
="$acl_save_prefix"
21798 if test "X$x" = "X-I$additional_includedir"; then
21803 if test -z "$haveit"; then
21804 if test -d "$additional_includedir"; then
21805 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
21811 if test -n "$found_la"; then
21812 save_libdir
="$libdir"
21813 case "$found_la" in
21814 */* |
*\\*) .
"$found_la" ;;
21815 *) .
"./$found_la" ;;
21817 libdir
="$save_libdir"
21818 for dep
in $dependency_libs; do
21821 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
21822 if test "X$additional_libdir" != "X/usr/lib"; then
21824 if test "X$additional_libdir" = "X/usr/local/lib"; then
21825 if test -n "$GCC"; then
21827 linux
*) haveit
=yes;;
21831 if test -z "$haveit"; then
21833 for x
in $LDFLAGS $LIBICONV; do
21835 acl_save_prefix
="$prefix"
21836 prefix
="$acl_final_prefix"
21837 acl_save_exec_prefix
="$exec_prefix"
21838 exec_prefix
="$acl_final_exec_prefix"
21840 exec_prefix
="$acl_save_exec_prefix"
21841 prefix
="$acl_save_prefix"
21843 if test "X$x" = "X-L$additional_libdir"; then
21848 if test -z "$haveit"; then
21849 if test -d "$additional_libdir"; then
21850 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
21854 for x
in $LDFLAGS $LTLIBICONV; do
21856 acl_save_prefix
="$prefix"
21857 prefix
="$acl_final_prefix"
21858 acl_save_exec_prefix
="$exec_prefix"
21859 exec_prefix
="$acl_final_exec_prefix"
21861 exec_prefix
="$acl_save_exec_prefix"
21862 prefix
="$acl_save_prefix"
21864 if test "X$x" = "X-L$additional_libdir"; then
21869 if test -z "$haveit"; then
21870 if test -d "$additional_libdir"; then
21871 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
21878 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
21879 if test "$enable_rpath" != no
; then
21881 for x
in $rpathdirs; do
21882 if test "X$x" = "X$dir"; then
21887 if test -z "$haveit"; then
21888 rpathdirs
="$rpathdirs $dir"
21891 for x
in $ltrpathdirs; do
21892 if test "X$x" = "X$dir"; then
21897 if test -z "$haveit"; then
21898 ltrpathdirs
="$ltrpathdirs $dir"
21903 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
21906 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
21909 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
21910 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
21916 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
21917 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
21923 if test "X$rpathdirs" != "X"; then
21924 if test -n "$hardcode_libdir_separator"; then
21926 for found_dir
in $rpathdirs; do
21927 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
21929 acl_save_libdir
="$libdir"
21931 eval flag
=\"$hardcode_libdir_flag_spec\"
21932 libdir
="$acl_save_libdir"
21933 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
21935 for found_dir
in $rpathdirs; do
21936 acl_save_libdir
="$libdir"
21937 libdir
="$found_dir"
21938 eval flag
=\"$hardcode_libdir_flag_spec\"
21939 libdir
="$acl_save_libdir"
21940 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
21944 if test "X$ltrpathdirs" != "X"; then
21945 for found_dir
in $ltrpathdirs; do
21946 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
21956 am_save_CPPFLAGS
="$CPPFLAGS"
21958 for element
in $INCICONV; do
21960 for x
in $CPPFLAGS; do
21962 acl_save_prefix
="$prefix"
21963 prefix
="$acl_final_prefix"
21964 acl_save_exec_prefix
="$exec_prefix"
21965 exec_prefix
="$acl_final_exec_prefix"
21967 exec_prefix
="$acl_save_exec_prefix"
21968 prefix
="$acl_save_prefix"
21970 if test "X$x" = "X$element"; then
21975 if test -z "$haveit"; then
21976 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
21981 echo "$as_me:$LINENO: checking for iconv" >&5
21982 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
21983 if test "${am_cv_func_iconv+set}" = set; then
21984 echo $ECHO_N "(cached) $ECHO_C" >&6
21987 am_cv_func_iconv
="no, consider installing GNU libiconv"
21989 if test x
$gcc_no_link = xyes
; then
21990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21992 { (exit 1); exit 1; }; }
21994 cat >conftest.
$ac_ext <<_ACEOF
21997 cat confdefs.h
>>conftest.
$ac_ext
21998 cat >>conftest.
$ac_ext <<_ACEOF
21999 /* end confdefs.h. */
22000 #include <stdlib.h>
22005 iconv_t cd = iconv_open("","");
22006 iconv(cd,NULL,NULL,NULL,NULL);
22012 rm -f conftest.
$ac_objext conftest
$ac_exeext
22013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22014 (eval $ac_link) 2>conftest.er1
22016 grep -v '^ *+' conftest.er1
>conftest.err
22018 cat conftest.err
>&5
22019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22020 (exit $ac_status); } &&
22021 { ac_try
='test -z "$ac_c_werror_flag"
22022 || test ! -s conftest.err'
22023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22024 (eval $ac_try) 2>&5
22026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22027 (exit $ac_status); }; } &&
22028 { ac_try
='test -s conftest$ac_exeext'
22029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22030 (eval $ac_try) 2>&5
22032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22033 (exit $ac_status); }; }; then
22034 am_cv_func_iconv
=yes
22036 echo "$as_me: failed program was:" >&5
22037 sed 's/^/| /' conftest.
$ac_ext >&5
22040 rm -f conftest.err conftest.
$ac_objext \
22041 conftest
$ac_exeext conftest.
$ac_ext
22042 if test "$am_cv_func_iconv" != yes; then
22043 am_save_LIBS
="$LIBS"
22044 LIBS
="$LIBS $LIBICONV"
22045 if test x
$gcc_no_link = xyes
; then
22046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22048 { (exit 1); exit 1; }; }
22050 cat >conftest.
$ac_ext <<_ACEOF
22053 cat confdefs.h
>>conftest.
$ac_ext
22054 cat >>conftest.
$ac_ext <<_ACEOF
22055 /* end confdefs.h. */
22056 #include <stdlib.h>
22061 iconv_t cd = iconv_open("","");
22062 iconv(cd,NULL,NULL,NULL,NULL);
22068 rm -f conftest.
$ac_objext conftest
$ac_exeext
22069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22070 (eval $ac_link) 2>conftest.er1
22072 grep -v '^ *+' conftest.er1
>conftest.err
22074 cat conftest.err
>&5
22075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22076 (exit $ac_status); } &&
22077 { ac_try
='test -z "$ac_c_werror_flag"
22078 || test ! -s conftest.err'
22079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22080 (eval $ac_try) 2>&5
22082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22083 (exit $ac_status); }; } &&
22084 { ac_try
='test -s conftest$ac_exeext'
22085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22086 (eval $ac_try) 2>&5
22088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22089 (exit $ac_status); }; }; then
22090 am_cv_lib_iconv
=yes
22091 am_cv_func_iconv
=yes
22093 echo "$as_me: failed program was:" >&5
22094 sed 's/^/| /' conftest.
$ac_ext >&5
22097 rm -f conftest.err conftest.
$ac_objext \
22098 conftest
$ac_exeext conftest.
$ac_ext
22099 LIBS
="$am_save_LIBS"
22103 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
22104 echo "${ECHO_T}$am_cv_func_iconv" >&6
22105 if test "$am_cv_func_iconv" = yes; then
22107 cat >>confdefs.h
<<\_ACEOF
22108 #define HAVE_ICONV 1
22112 if test "$am_cv_lib_iconv" = yes; then
22113 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
22114 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
22115 echo "$as_me:$LINENO: result: $LIBICONV" >&5
22116 echo "${ECHO_T}$LIBICONV" >&6
22118 CPPFLAGS
="$am_save_CPPFLAGS"
22125 if test "$am_cv_func_iconv" = yes; then
22126 echo "$as_me:$LINENO: checking for iconv declaration" >&5
22127 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
22128 if test "${am_cv_proto_iconv+set}" = set; then
22129 echo $ECHO_N "(cached) $ECHO_C" >&6
22132 cat >conftest.
$ac_ext <<_ACEOF
22135 cat confdefs.h
>>conftest.
$ac_ext
22136 cat >>conftest.
$ac_ext <<_ACEOF
22137 /* end confdefs.h. */
22139 #include <stdlib.h>
22145 #if defined(__STDC__) || defined(__cplusplus)
22146 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
22159 rm -f conftest.
$ac_objext
22160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22161 (eval $ac_compile) 2>conftest.er1
22163 grep -v '^ *+' conftest.er1
>conftest.err
22165 cat conftest.err
>&5
22166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22167 (exit $ac_status); } &&
22168 { ac_try
='test -z "$ac_c_werror_flag"
22169 || test ! -s conftest.err'
22170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22171 (eval $ac_try) 2>&5
22173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22174 (exit $ac_status); }; } &&
22175 { ac_try
='test -s conftest.$ac_objext'
22176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22177 (eval $ac_try) 2>&5
22179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22180 (exit $ac_status); }; }; then
22181 am_cv_proto_iconv_arg1
=""
22183 echo "$as_me: failed program was:" >&5
22184 sed 's/^/| /' conftest.
$ac_ext >&5
22186 am_cv_proto_iconv_arg1
="const"
22188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22189 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);"
22192 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
22193 echo "$as_me:$LINENO: result: ${ac_t:-
22194 }$am_cv_proto_iconv" >&5
22195 echo "${ECHO_T}${ac_t:-
22196 }$am_cv_proto_iconv" >&6
22198 cat >>confdefs.h
<<_ACEOF
22199 #define ICONV_CONST $am_cv_proto_iconv_arg1
22205 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
22206 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
22207 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
22208 echo $ECHO_N "(cached) $ECHO_C" >&6
22210 if test x
$gcc_no_link = xyes
; then
22211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22213 { (exit 1); exit 1; }; }
22215 cat >conftest.
$ac_ext <<_ACEOF
22218 cat confdefs.h
>>conftest.
$ac_ext
22219 cat >>conftest.
$ac_ext <<_ACEOF
22220 /* end confdefs.h. */
22221 #include <locale.h>
22230 rm -f conftest.
$ac_objext conftest
$ac_exeext
22231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22232 (eval $ac_link) 2>conftest.er1
22234 grep -v '^ *+' conftest.er1
>conftest.err
22236 cat conftest.err
>&5
22237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22238 (exit $ac_status); } &&
22239 { ac_try
='test -z "$ac_c_werror_flag"
22240 || test ! -s conftest.err'
22241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22242 (eval $ac_try) 2>&5
22244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22245 (exit $ac_status); }; } &&
22246 { ac_try
='test -s conftest$ac_exeext'
22247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22248 (eval $ac_try) 2>&5
22250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22251 (exit $ac_status); }; }; then
22252 am_cv_val_LC_MESSAGES
=yes
22254 echo "$as_me: failed program was:" >&5
22255 sed 's/^/| /' conftest.
$ac_ext >&5
22257 am_cv_val_LC_MESSAGES
=no
22259 rm -f conftest.err conftest.
$ac_objext \
22260 conftest
$ac_exeext conftest.
$ac_ext
22262 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
22263 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
22264 if test $am_cv_val_LC_MESSAGES = yes; then
22266 cat >>confdefs.h
<<\_ACEOF
22267 #define HAVE_LC_MESSAGES 1
22272 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
22273 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
22274 if test "${ac_cv_struct_tm+set}" = set; then
22275 echo $ECHO_N "(cached) $ECHO_C" >&6
22277 cat >conftest.
$ac_ext <<_ACEOF
22280 cat confdefs.h
>>conftest.
$ac_ext
22281 cat >>conftest.
$ac_ext <<_ACEOF
22282 /* end confdefs.h. */
22283 #include <sys/types.h>
22289 struct tm *tp; tp->tm_sec;
22294 rm -f conftest.
$ac_objext
22295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22296 (eval $ac_compile) 2>conftest.er1
22298 grep -v '^ *+' conftest.er1
>conftest.err
22300 cat conftest.err
>&5
22301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22302 (exit $ac_status); } &&
22303 { ac_try
='test -z "$ac_c_werror_flag"
22304 || test ! -s conftest.err'
22305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22306 (eval $ac_try) 2>&5
22308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22309 (exit $ac_status); }; } &&
22310 { ac_try
='test -s conftest.$ac_objext'
22311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22312 (eval $ac_try) 2>&5
22314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22315 (exit $ac_status); }; }; then
22316 ac_cv_struct_tm
=time.h
22318 echo "$as_me: failed program was:" >&5
22319 sed 's/^/| /' conftest.
$ac_ext >&5
22321 ac_cv_struct_tm
=sys
/time.h
22323 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22325 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
22326 echo "${ECHO_T}$ac_cv_struct_tm" >&6
22327 if test $ac_cv_struct_tm = sys
/time.h
; then
22329 cat >>confdefs.h
<<\_ACEOF
22330 #define TM_IN_SYS_TIME 1
22335 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
22336 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
22337 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
22338 echo $ECHO_N "(cached) $ECHO_C" >&6
22340 cat >conftest.
$ac_ext <<_ACEOF
22343 cat confdefs.h
>>conftest.
$ac_ext
22344 cat >>conftest.
$ac_ext <<_ACEOF
22345 /* end confdefs.h. */
22346 #include <sys/types.h>
22347 #include <$ac_cv_struct_tm>
22353 static struct tm ac_aggr;
22354 if (ac_aggr.tm_zone)
22360 rm -f conftest.
$ac_objext
22361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22362 (eval $ac_compile) 2>conftest.er1
22364 grep -v '^ *+' conftest.er1
>conftest.err
22366 cat conftest.err
>&5
22367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22368 (exit $ac_status); } &&
22369 { ac_try
='test -z "$ac_c_werror_flag"
22370 || test ! -s conftest.err'
22371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22372 (eval $ac_try) 2>&5
22374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22375 (exit $ac_status); }; } &&
22376 { ac_try
='test -s conftest.$ac_objext'
22377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22378 (eval $ac_try) 2>&5
22380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22381 (exit $ac_status); }; }; then
22382 ac_cv_member_struct_tm_tm_zone
=yes
22384 echo "$as_me: failed program was:" >&5
22385 sed 's/^/| /' conftest.
$ac_ext >&5
22387 cat >conftest.
$ac_ext <<_ACEOF
22390 cat confdefs.h
>>conftest.
$ac_ext
22391 cat >>conftest.
$ac_ext <<_ACEOF
22392 /* end confdefs.h. */
22393 #include <sys/types.h>
22394 #include <$ac_cv_struct_tm>
22400 static struct tm ac_aggr;
22401 if (sizeof ac_aggr.tm_zone)
22407 rm -f conftest.
$ac_objext
22408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22409 (eval $ac_compile) 2>conftest.er1
22411 grep -v '^ *+' conftest.er1
>conftest.err
22413 cat conftest.err
>&5
22414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22415 (exit $ac_status); } &&
22416 { ac_try
='test -z "$ac_c_werror_flag"
22417 || test ! -s conftest.err'
22418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22419 (eval $ac_try) 2>&5
22421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22422 (exit $ac_status); }; } &&
22423 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
22429 ac_cv_member_struct_tm_tm_zone
=yes
22431 echo "$as_me: failed program was:" >&5
22432 sed 's/^/| /' conftest.
$ac_ext >&5
22434 ac_cv_member_struct_tm_tm_zone
=no
22436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22440 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
22441 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
22442 if test $ac_cv_member_struct_tm_tm_zone = yes; then
22444 cat >>confdefs.h
<<_ACEOF
22445 #define HAVE_STRUCT_TM_TM_ZONE 1
22451 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
22453 cat >>confdefs.h
<<\_ACEOF
22454 #define HAVE_TM_ZONE 1
22458 echo "$as_me:$LINENO: checking for tzname" >&5
22459 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
22460 if test "${ac_cv_var_tzname+set}" = set; then
22461 echo $ECHO_N "(cached) $ECHO_C" >&6
22463 if test x
$gcc_no_link = xyes
; then
22464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22466 { (exit 1); exit 1; }; }
22468 cat >conftest.
$ac_ext <<_ACEOF
22471 cat confdefs.h
>>conftest.
$ac_ext
22472 cat >>conftest.
$ac_ext <<_ACEOF
22473 /* end confdefs.h. */
22475 #ifndef tzname /* For SGI. */
22476 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
22487 rm -f conftest.
$ac_objext conftest
$ac_exeext
22488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22489 (eval $ac_link) 2>conftest.er1
22491 grep -v '^ *+' conftest.er1
>conftest.err
22493 cat conftest.err
>&5
22494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22495 (exit $ac_status); } &&
22496 { ac_try
='test -z "$ac_c_werror_flag"
22497 || test ! -s conftest.err'
22498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22499 (eval $ac_try) 2>&5
22501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22502 (exit $ac_status); }; } &&
22503 { ac_try
='test -s conftest$ac_exeext'
22504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22505 (eval $ac_try) 2>&5
22507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22508 (exit $ac_status); }; }; then
22509 ac_cv_var_tzname
=yes
22511 echo "$as_me: failed program was:" >&5
22512 sed 's/^/| /' conftest.
$ac_ext >&5
22514 ac_cv_var_tzname
=no
22516 rm -f conftest.err conftest.
$ac_objext \
22517 conftest
$ac_exeext conftest.
$ac_ext
22519 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
22520 echo "${ECHO_T}$ac_cv_var_tzname" >&6
22521 if test $ac_cv_var_tzname = yes; then
22523 cat >>confdefs.h
<<\_ACEOF
22524 #define HAVE_TZNAME 1
22532 for ac_func
in gethostbyname_r
22534 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22535 echo "$as_me:$LINENO: checking for $ac_func" >&5
22536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22537 if eval "test \"\${$as_ac_var+set}\" = set"; then
22538 echo $ECHO_N "(cached) $ECHO_C" >&6
22540 if test x
$gcc_no_link = xyes
; then
22541 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22543 { (exit 1); exit 1; }; }
22545 cat >conftest.
$ac_ext <<_ACEOF
22548 cat confdefs.h
>>conftest.
$ac_ext
22549 cat >>conftest.
$ac_ext <<_ACEOF
22550 /* end confdefs.h. */
22551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22553 #define $ac_func innocuous_$ac_func
22555 /* System header to define __stub macros and hopefully few prototypes,
22556 which can conflict with char $ac_func (); below.
22557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22558 <limits.h> exists even on freestanding compilers. */
22561 # include <limits.h>
22563 # include <assert.h>
22568 /* Override any gcc2 internal prototype to avoid an error. */
22573 /* We use char because int might match the return type of a gcc2
22574 builtin and then its argument prototype would still apply. */
22576 /* The GNU C library defines this for functions which it implements
22577 to always fail with ENOSYS. Some functions are actually named
22578 something starting with __ and the normal name is an alias. */
22579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22582 char (*f) () = $ac_func;
22591 return f != $ac_func;
22596 rm -f conftest.
$ac_objext conftest
$ac_exeext
22597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22598 (eval $ac_link) 2>conftest.er1
22600 grep -v '^ *+' conftest.er1
>conftest.err
22602 cat conftest.err
>&5
22603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22604 (exit $ac_status); } &&
22605 { ac_try
='test -z "$ac_c_werror_flag"
22606 || test ! -s conftest.err'
22607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22608 (eval $ac_try) 2>&5
22610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22611 (exit $ac_status); }; } &&
22612 { ac_try
='test -s conftest$ac_exeext'
22613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22614 (eval $ac_try) 2>&5
22616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22617 (exit $ac_status); }; }; then
22618 eval "$as_ac_var=yes"
22620 echo "$as_me: failed program was:" >&5
22621 sed 's/^/| /' conftest.
$ac_ext >&5
22623 eval "$as_ac_var=no"
22625 rm -f conftest.err conftest.
$ac_objext \
22626 conftest
$ac_exeext conftest.
$ac_ext
22628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22630 if test `eval echo '${'$as_ac_var'}'` = yes; then
22631 cat >>confdefs.h
<<_ACEOF
22632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22636 cat >>confdefs.h
<<\_ACEOF
22637 #define HAVE_GETHOSTBYNAME_R 1
22640 # There are two different kinds of gethostbyname_r.
22641 # We look for the one that returns `int'.
22642 # Hopefully this check is robust enough.
22643 cat >conftest.
$ac_ext <<_ACEOF
22646 cat confdefs.h
>>conftest.
$ac_ext
22647 cat >>conftest.
$ac_ext <<_ACEOF
22648 /* end confdefs.h. */
22652 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22653 $EGREP "int.*gethostbyname_r" >/dev
/null
2>&1; then
22656 cat >>confdefs.h
<<\_ACEOF
22657 #define GETHOSTBYNAME_R_RETURNS_INT 1
22664 case " $GCINCS " in
22665 *" -D_REENTRANT "*) ;;
22667 echo "$as_me:$LINENO: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5
22668 echo $ECHO_N "checking whether gethostbyname_r declaration requires -D_REENTRANT... $ECHO_C" >&6
22669 if test "${libjava_cv_gethostbyname_r_needs_reentrant+set}" = set; then
22670 echo $ECHO_N "(cached) $ECHO_C" >&6
22673 ac_cpp
='$CXXCPP $CPPFLAGS'
22674 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22675 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22676 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22678 cat >conftest.
$ac_ext <<_ACEOF
22681 cat confdefs.h
>>conftest.
$ac_ext
22682 cat >>conftest.
$ac_ext <<_ACEOF
22683 /* end confdefs.h. */
22688 gethostbyname_r("", 0, 0);
22693 rm -f conftest.
$ac_objext
22694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22695 (eval $ac_compile) 2>conftest.er1
22697 grep -v '^ *+' conftest.er1
>conftest.err
22699 cat conftest.err
>&5
22700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22701 (exit $ac_status); } &&
22702 { ac_try
='test -z "$ac_cxx_werror_flag"
22703 || test ! -s conftest.err'
22704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22705 (eval $ac_try) 2>&5
22707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22708 (exit $ac_status); }; } &&
22709 { ac_try
='test -s conftest.$ac_objext'
22710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22711 (eval $ac_try) 2>&5
22713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22714 (exit $ac_status); }; }; then
22715 libjava_cv_gethostbyname_r_needs_reentrant
=no
22717 echo "$as_me: failed program was:" >&5
22718 sed 's/^/| /' conftest.
$ac_ext >&5
22720 CPPFLAGS_SAVE
="$CPPFLAGS"
22721 CPPFLAGS
="$CPPFLAGS -D_REENTRANT"
22722 cat >conftest.
$ac_ext <<_ACEOF
22725 cat confdefs.h
>>conftest.
$ac_ext
22726 cat >>conftest.
$ac_ext <<_ACEOF
22727 /* end confdefs.h. */
22732 gethostbyname_r("", 0, 0);
22737 rm -f conftest.
$ac_objext
22738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22739 (eval $ac_compile) 2>conftest.er1
22741 grep -v '^ *+' conftest.er1
>conftest.err
22743 cat conftest.err
>&5
22744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22745 (exit $ac_status); } &&
22746 { ac_try
='test -z "$ac_cxx_werror_flag"
22747 || test ! -s conftest.err'
22748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22749 (eval $ac_try) 2>&5
22751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22752 (exit $ac_status); }; } &&
22753 { ac_try
='test -s conftest.$ac_objext'
22754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22755 (eval $ac_try) 2>&5
22757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22758 (exit $ac_status); }; }; then
22759 libjava_cv_gethostbyname_r_needs_reentrant
=yes
22761 echo "$as_me: failed program was:" >&5
22762 sed 's/^/| /' conftest.
$ac_ext >&5
22764 libjava_cv_gethostbyname_r_needs_reentrant
=fail
22766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22767 CPPFLAGS
="$CPPFLAGS_SAVE"
22770 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22772 ac_cpp
='$CPP $CPPFLAGS'
22773 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22774 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22775 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22779 echo "$as_me:$LINENO: result: $libjava_cv_gethostbyname_r_needs_reentrant" >&5
22780 echo "${ECHO_T}$libjava_cv_gethostbyname_r_needs_reentrant" >&6
22781 if test "x$libjava_cv_gethostbyname_r_needs_reentrant" = xyes
; then
22783 cat >>confdefs.h
<<\_ACEOF
22784 #define _REENTRANT 1
22791 echo "$as_me:$LINENO: checking for struct hostent_data" >&5
22792 echo $ECHO_N "checking for struct hostent_data... $ECHO_C" >&6
22793 if test "${libjava_cv_struct_hostent_data+set}" = set; then
22794 echo $ECHO_N "(cached) $ECHO_C" >&6
22796 cat >conftest.
$ac_ext <<_ACEOF
22799 cat confdefs.h
>>conftest.
$ac_ext
22800 cat >>conftest.
$ac_ext <<_ACEOF
22801 /* end confdefs.h. */
22803 #if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
22804 # define _REENTRANT 1
22810 struct hostent_data data;
22815 rm -f conftest.
$ac_objext
22816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22817 (eval $ac_compile) 2>conftest.er1
22819 grep -v '^ *+' conftest.er1
>conftest.err
22821 cat conftest.err
>&5
22822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22823 (exit $ac_status); } &&
22824 { ac_try
='test -z "$ac_c_werror_flag"
22825 || test ! -s conftest.err'
22826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22827 (eval $ac_try) 2>&5
22829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22830 (exit $ac_status); }; } &&
22831 { ac_try
='test -s conftest.$ac_objext'
22832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22833 (eval $ac_try) 2>&5
22835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22836 (exit $ac_status); }; }; then
22837 libjava_cv_struct_hostent_data
=yes
22839 echo "$as_me: failed program was:" >&5
22840 sed 's/^/| /' conftest.
$ac_ext >&5
22842 libjava_cv_struct_hostent_data
=no
22844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22846 echo "$as_me:$LINENO: result: $libjava_cv_struct_hostent_data" >&5
22847 echo "${ECHO_T}$libjava_cv_struct_hostent_data" >&6
22848 if test "x$libjava_cv_struct_hostent_data" = xyes
; then
22850 cat >>confdefs.h
<<\_ACEOF
22851 #define HAVE_STRUCT_HOSTENT_DATA 1
22860 # FIXME: libjava source code expects to find a prototype for
22861 # gethostbyaddr_r in netdb.h. The outer check ensures that
22862 # HAVE_GETHOSTBYADDR_R will not be defined if the prototype fails
22863 # to exist where expected. (The root issue: AC_CHECK_FUNCS assumes C
22864 # linkage check is enough, yet C++ code requires proper prototypes.)
22865 cat >conftest.
$ac_ext <<_ACEOF
22868 cat confdefs.h
>>conftest.
$ac_ext
22869 cat >>conftest.
$ac_ext <<_ACEOF
22870 /* end confdefs.h. */
22874 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22875 $EGREP "gethostbyaddr_r" >/dev
/null
2>&1; then
22878 for ac_func
in gethostbyaddr_r
22880 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22881 echo "$as_me:$LINENO: checking for $ac_func" >&5
22882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22883 if eval "test \"\${$as_ac_var+set}\" = set"; then
22884 echo $ECHO_N "(cached) $ECHO_C" >&6
22886 if test x
$gcc_no_link = xyes
; then
22887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22889 { (exit 1); exit 1; }; }
22891 cat >conftest.
$ac_ext <<_ACEOF
22894 cat confdefs.h
>>conftest.
$ac_ext
22895 cat >>conftest.
$ac_ext <<_ACEOF
22896 /* end confdefs.h. */
22897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22899 #define $ac_func innocuous_$ac_func
22901 /* System header to define __stub macros and hopefully few prototypes,
22902 which can conflict with char $ac_func (); below.
22903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22904 <limits.h> exists even on freestanding compilers. */
22907 # include <limits.h>
22909 # include <assert.h>
22914 /* Override any gcc2 internal prototype to avoid an error. */
22919 /* We use char because int might match the return type of a gcc2
22920 builtin and then its argument prototype would still apply. */
22922 /* The GNU C library defines this for functions which it implements
22923 to always fail with ENOSYS. Some functions are actually named
22924 something starting with __ and the normal name is an alias. */
22925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22928 char (*f) () = $ac_func;
22937 return f != $ac_func;
22942 rm -f conftest.
$ac_objext conftest
$ac_exeext
22943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22944 (eval $ac_link) 2>conftest.er1
22946 grep -v '^ *+' conftest.er1
>conftest.err
22948 cat conftest.err
>&5
22949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22950 (exit $ac_status); } &&
22951 { ac_try
='test -z "$ac_c_werror_flag"
22952 || test ! -s conftest.err'
22953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22954 (eval $ac_try) 2>&5
22956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22957 (exit $ac_status); }; } &&
22958 { ac_try
='test -s conftest$ac_exeext'
22959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22960 (eval $ac_try) 2>&5
22962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22963 (exit $ac_status); }; }; then
22964 eval "$as_ac_var=yes"
22966 echo "$as_me: failed program was:" >&5
22967 sed 's/^/| /' conftest.
$ac_ext >&5
22969 eval "$as_ac_var=no"
22971 rm -f conftest.err conftest.
$ac_objext \
22972 conftest
$ac_exeext conftest.
$ac_ext
22974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22976 if test `eval echo '${'$as_ac_var'}'` = yes; then
22977 cat >>confdefs.h
<<_ACEOF
22978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22982 cat >>confdefs.h
<<\_ACEOF
22983 #define HAVE_GETHOSTBYADDR_R 1
22986 # There are two different kinds of gethostbyaddr_r.
22987 # We look for the one that returns `int'.
22988 # Hopefully this check is robust enough.
22989 cat >conftest.
$ac_ext <<_ACEOF
22992 cat confdefs.h
>>conftest.
$ac_ext
22993 cat >>conftest.
$ac_ext <<_ACEOF
22994 /* end confdefs.h. */
22998 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22999 $EGREP "int.*gethostbyaddr_r" >/dev
/null
2>&1; then
23002 cat >>confdefs.h
<<\_ACEOF
23003 #define GETHOSTBYADDR_R_RETURNS_INT 1
23017 for ac_func
in gethostname
23019 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23020 echo "$as_me:$LINENO: checking for $ac_func" >&5
23021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23022 if eval "test \"\${$as_ac_var+set}\" = set"; then
23023 echo $ECHO_N "(cached) $ECHO_C" >&6
23025 if test x
$gcc_no_link = xyes
; then
23026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23028 { (exit 1); exit 1; }; }
23030 cat >conftest.
$ac_ext <<_ACEOF
23033 cat confdefs.h
>>conftest.
$ac_ext
23034 cat >>conftest.
$ac_ext <<_ACEOF
23035 /* end confdefs.h. */
23036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23038 #define $ac_func innocuous_$ac_func
23040 /* System header to define __stub macros and hopefully few prototypes,
23041 which can conflict with char $ac_func (); below.
23042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23043 <limits.h> exists even on freestanding compilers. */
23046 # include <limits.h>
23048 # include <assert.h>
23053 /* Override any gcc2 internal prototype to avoid an error. */
23058 /* We use char because int might match the return type of a gcc2
23059 builtin and then its argument prototype would still apply. */
23061 /* The GNU C library defines this for functions which it implements
23062 to always fail with ENOSYS. Some functions are actually named
23063 something starting with __ and the normal name is an alias. */
23064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23067 char (*f) () = $ac_func;
23076 return f != $ac_func;
23081 rm -f conftest.
$ac_objext conftest
$ac_exeext
23082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23083 (eval $ac_link) 2>conftest.er1
23085 grep -v '^ *+' conftest.er1
>conftest.err
23087 cat conftest.err
>&5
23088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23089 (exit $ac_status); } &&
23090 { ac_try
='test -z "$ac_c_werror_flag"
23091 || test ! -s conftest.err'
23092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23093 (eval $ac_try) 2>&5
23095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23096 (exit $ac_status); }; } &&
23097 { ac_try
='test -s conftest$ac_exeext'
23098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23099 (eval $ac_try) 2>&5
23101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23102 (exit $ac_status); }; }; then
23103 eval "$as_ac_var=yes"
23105 echo "$as_me: failed program was:" >&5
23106 sed 's/^/| /' conftest.
$ac_ext >&5
23108 eval "$as_ac_var=no"
23110 rm -f conftest.err conftest.
$ac_objext \
23111 conftest
$ac_exeext conftest.
$ac_ext
23113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23115 if test `eval echo '${'$as_ac_var'}'` = yes; then
23116 cat >>confdefs.h
<<_ACEOF
23117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23121 cat >>confdefs.h
<<\_ACEOF
23122 #define HAVE_GETHOSTNAME 1
23125 cat >conftest.
$ac_ext <<_ACEOF
23128 cat confdefs.h
>>conftest.
$ac_ext
23129 cat >>conftest.
$ac_ext <<_ACEOF
23130 /* end confdefs.h. */
23131 #include <unistd.h>
23134 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23135 $EGREP "gethostname" >/dev
/null
2>&1; then
23138 cat >>confdefs.h
<<\_ACEOF
23139 #define HAVE_GETHOSTNAME_DECL 1
23150 for ac_func
in usleep
23152 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23153 echo "$as_me:$LINENO: checking for $ac_func" >&5
23154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23155 if eval "test \"\${$as_ac_var+set}\" = set"; then
23156 echo $ECHO_N "(cached) $ECHO_C" >&6
23158 if test x
$gcc_no_link = xyes
; then
23159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23161 { (exit 1); exit 1; }; }
23163 cat >conftest.
$ac_ext <<_ACEOF
23166 cat confdefs.h
>>conftest.
$ac_ext
23167 cat >>conftest.
$ac_ext <<_ACEOF
23168 /* end confdefs.h. */
23169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23171 #define $ac_func innocuous_$ac_func
23173 /* System header to define __stub macros and hopefully few prototypes,
23174 which can conflict with char $ac_func (); below.
23175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23176 <limits.h> exists even on freestanding compilers. */
23179 # include <limits.h>
23181 # include <assert.h>
23186 /* Override any gcc2 internal prototype to avoid an error. */
23191 /* We use char because int might match the return type of a gcc2
23192 builtin and then its argument prototype would still apply. */
23194 /* The GNU C library defines this for functions which it implements
23195 to always fail with ENOSYS. Some functions are actually named
23196 something starting with __ and the normal name is an alias. */
23197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23200 char (*f) () = $ac_func;
23209 return f != $ac_func;
23214 rm -f conftest.
$ac_objext conftest
$ac_exeext
23215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23216 (eval $ac_link) 2>conftest.er1
23218 grep -v '^ *+' conftest.er1
>conftest.err
23220 cat conftest.err
>&5
23221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23222 (exit $ac_status); } &&
23223 { ac_try
='test -z "$ac_c_werror_flag"
23224 || test ! -s conftest.err'
23225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23226 (eval $ac_try) 2>&5
23228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23229 (exit $ac_status); }; } &&
23230 { ac_try
='test -s conftest$ac_exeext'
23231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23232 (eval $ac_try) 2>&5
23234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23235 (exit $ac_status); }; }; then
23236 eval "$as_ac_var=yes"
23238 echo "$as_me: failed program was:" >&5
23239 sed 's/^/| /' conftest.
$ac_ext >&5
23241 eval "$as_ac_var=no"
23243 rm -f conftest.err conftest.
$ac_objext \
23244 conftest
$ac_exeext conftest.
$ac_ext
23246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23248 if test `eval echo '${'$as_ac_var'}'` = yes; then
23249 cat >>confdefs.h
<<_ACEOF
23250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23253 cat >conftest.
$ac_ext <<_ACEOF
23256 cat confdefs.h
>>conftest.
$ac_ext
23257 cat >>conftest.
$ac_ext <<_ACEOF
23258 /* end confdefs.h. */
23259 #include <unistd.h>
23262 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23263 $EGREP "usleep" >/dev
/null
2>&1; then
23266 cat >>confdefs.h
<<\_ACEOF
23267 #define HAVE_USLEEP_DECL 1
23277 # Look for these functions in the thread library, but only bother
23278 # if using POSIX threads.
23279 if test "$THREADS" = posix
; then
23281 LIBS
="$LIBS $THREADLIBS"
23283 # Look for sched_yield. Up to Solaris 2.6, it is in libposix4, since
23284 # Solaris 7 the name librt is preferred.
23286 for ac_func
in sched_yield
23288 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23289 echo "$as_me:$LINENO: checking for $ac_func" >&5
23290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23291 if eval "test \"\${$as_ac_var+set}\" = set"; then
23292 echo $ECHO_N "(cached) $ECHO_C" >&6
23294 if test x
$gcc_no_link = xyes
; then
23295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23297 { (exit 1); exit 1; }; }
23299 cat >conftest.
$ac_ext <<_ACEOF
23302 cat confdefs.h
>>conftest.
$ac_ext
23303 cat >>conftest.
$ac_ext <<_ACEOF
23304 /* end confdefs.h. */
23305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23307 #define $ac_func innocuous_$ac_func
23309 /* System header to define __stub macros and hopefully few prototypes,
23310 which can conflict with char $ac_func (); below.
23311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23312 <limits.h> exists even on freestanding compilers. */
23315 # include <limits.h>
23317 # include <assert.h>
23322 /* Override any gcc2 internal prototype to avoid an error. */
23327 /* We use char because int might match the return type of a gcc2
23328 builtin and then its argument prototype would still apply. */
23330 /* The GNU C library defines this for functions which it implements
23331 to always fail with ENOSYS. Some functions are actually named
23332 something starting with __ and the normal name is an alias. */
23333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23336 char (*f) () = $ac_func;
23345 return f != $ac_func;
23350 rm -f conftest.
$ac_objext conftest
$ac_exeext
23351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23352 (eval $ac_link) 2>conftest.er1
23354 grep -v '^ *+' conftest.er1
>conftest.err
23356 cat conftest.err
>&5
23357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23358 (exit $ac_status); } &&
23359 { ac_try
='test -z "$ac_c_werror_flag"
23360 || test ! -s conftest.err'
23361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23362 (eval $ac_try) 2>&5
23364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23365 (exit $ac_status); }; } &&
23366 { ac_try
='test -s conftest$ac_exeext'
23367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23368 (eval $ac_try) 2>&5
23370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23371 (exit $ac_status); }; }; then
23372 eval "$as_ac_var=yes"
23374 echo "$as_me: failed program was:" >&5
23375 sed 's/^/| /' conftest.
$ac_ext >&5
23377 eval "$as_ac_var=no"
23379 rm -f conftest.err conftest.
$ac_objext \
23380 conftest
$ac_exeext conftest.
$ac_ext
23382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23384 if test `eval echo '${'$as_ac_var'}'` = yes; then
23385 cat >>confdefs.h
<<_ACEOF
23386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23391 echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5
23392 echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6
23393 if test "${ac_cv_lib_rt_sched_yield+set}" = set; then
23394 echo $ECHO_N "(cached) $ECHO_C" >&6
23396 ac_check_lib_save_LIBS
=$LIBS
23398 if test x
$gcc_no_link = xyes
; then
23399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23401 { (exit 1); exit 1; }; }
23403 cat >conftest.
$ac_ext <<_ACEOF
23406 cat confdefs.h
>>conftest.
$ac_ext
23407 cat >>conftest.
$ac_ext <<_ACEOF
23408 /* end confdefs.h. */
23410 /* Override any gcc2 internal prototype to avoid an error. */
23414 /* We use char because int might match the return type of a gcc2
23415 builtin and then its argument prototype would still apply. */
23416 char sched_yield ();
23425 rm -f conftest.
$ac_objext conftest
$ac_exeext
23426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23427 (eval $ac_link) 2>conftest.er1
23429 grep -v '^ *+' conftest.er1
>conftest.err
23431 cat conftest.err
>&5
23432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23433 (exit $ac_status); } &&
23434 { ac_try
='test -z "$ac_c_werror_flag"
23435 || test ! -s conftest.err'
23436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23437 (eval $ac_try) 2>&5
23439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23440 (exit $ac_status); }; } &&
23441 { ac_try
='test -s conftest$ac_exeext'
23442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23443 (eval $ac_try) 2>&5
23445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23446 (exit $ac_status); }; }; then
23447 ac_cv_lib_rt_sched_yield
=yes
23449 echo "$as_me: failed program was:" >&5
23450 sed 's/^/| /' conftest.
$ac_ext >&5
23452 ac_cv_lib_rt_sched_yield
=no
23454 rm -f conftest.err conftest.
$ac_objext \
23455 conftest
$ac_exeext conftest.
$ac_ext
23456 LIBS
=$ac_check_lib_save_LIBS
23458 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5
23459 echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6
23460 if test $ac_cv_lib_rt_sched_yield = yes; then
23462 cat >>confdefs.h
<<\_ACEOF
23463 #define HAVE_SCHED_YIELD 1
23466 THREADLIBS
="$THREADLIBS -lrt"
23467 THREADSPEC
="$THREADSPEC -lrt"
23470 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
23471 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
23472 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
23473 echo $ECHO_N "(cached) $ECHO_C" >&6
23475 ac_check_lib_save_LIBS
=$LIBS
23476 LIBS
="-lposix4 $LIBS"
23477 if test x
$gcc_no_link = xyes
; then
23478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23480 { (exit 1); exit 1; }; }
23482 cat >conftest.
$ac_ext <<_ACEOF
23485 cat confdefs.h
>>conftest.
$ac_ext
23486 cat >>conftest.
$ac_ext <<_ACEOF
23487 /* end confdefs.h. */
23489 /* Override any gcc2 internal prototype to avoid an error. */
23493 /* We use char because int might match the return type of a gcc2
23494 builtin and then its argument prototype would still apply. */
23495 char sched_yield ();
23504 rm -f conftest.
$ac_objext conftest
$ac_exeext
23505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23506 (eval $ac_link) 2>conftest.er1
23508 grep -v '^ *+' conftest.er1
>conftest.err
23510 cat conftest.err
>&5
23511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23512 (exit $ac_status); } &&
23513 { ac_try
='test -z "$ac_c_werror_flag"
23514 || test ! -s conftest.err'
23515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23516 (eval $ac_try) 2>&5
23518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23519 (exit $ac_status); }; } &&
23520 { ac_try
='test -s conftest$ac_exeext'
23521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23522 (eval $ac_try) 2>&5
23524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23525 (exit $ac_status); }; }; then
23526 ac_cv_lib_posix4_sched_yield
=yes
23528 echo "$as_me: failed program was:" >&5
23529 sed 's/^/| /' conftest.
$ac_ext >&5
23531 ac_cv_lib_posix4_sched_yield
=no
23533 rm -f conftest.err conftest.
$ac_objext \
23534 conftest
$ac_exeext conftest.
$ac_ext
23535 LIBS
=$ac_check_lib_save_LIBS
23537 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
23538 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
23539 if test $ac_cv_lib_posix4_sched_yield = yes; then
23541 cat >>confdefs.h
<<\_ACEOF
23542 #define HAVE_SCHED_YIELD 1
23545 THREADLIBS
="$THREADLIBS -lposix4"
23546 THREADSPEC
="$THREADSPEC -lposix4"
23555 echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
23556 echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6
23557 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
23558 echo $ECHO_N "(cached) $ECHO_C" >&6
23560 ac_check_lib_save_LIBS
=$LIBS
23562 if test x
$gcc_no_link = xyes
; then
23563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23565 { (exit 1); exit 1; }; }
23567 cat >conftest.
$ac_ext <<_ACEOF
23570 cat confdefs.h
>>conftest.
$ac_ext
23571 cat >>conftest.
$ac_ext <<_ACEOF
23572 /* end confdefs.h. */
23574 /* Override any gcc2 internal prototype to avoid an error. */
23578 /* We use char because int might match the return type of a gcc2
23579 builtin and then its argument prototype would still apply. */
23580 char clock_gettime ();
23589 rm -f conftest.
$ac_objext conftest
$ac_exeext
23590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23591 (eval $ac_link) 2>conftest.er1
23593 grep -v '^ *+' conftest.er1
>conftest.err
23595 cat conftest.err
>&5
23596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23597 (exit $ac_status); } &&
23598 { ac_try
='test -z "$ac_c_werror_flag"
23599 || test ! -s conftest.err'
23600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23601 (eval $ac_try) 2>&5
23603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23604 (exit $ac_status); }; } &&
23605 { ac_try
='test -s conftest$ac_exeext'
23606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23607 (eval $ac_try) 2>&5
23609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23610 (exit $ac_status); }; }; then
23611 ac_cv_lib_rt_clock_gettime
=yes
23613 echo "$as_me: failed program was:" >&5
23614 sed 's/^/| /' conftest.
$ac_ext >&5
23616 ac_cv_lib_rt_clock_gettime
=no
23618 rm -f conftest.err conftest.
$ac_objext \
23619 conftest
$ac_exeext conftest.
$ac_ext
23620 LIBS
=$ac_check_lib_save_LIBS
23622 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
23623 echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6
23624 if test $ac_cv_lib_rt_clock_gettime = yes; then
23627 cat >>confdefs.h
<<\_ACEOF
23628 #define HAVE_CLOCK_GETTIME 1
23631 case "$THREADSPEC" in
23634 THREADSPEC
="$THREADSPEC -lrt"
23635 THREADLIBS
="$THREADLIBS -lrt"
23643 # We can save a little space at runtime if the mutex has m_count
23644 # or __m_count. This is a nice hack for Linux.
23645 cat >conftest.
$ac_ext <<_ACEOF
23648 cat confdefs.h
>>conftest.
$ac_ext
23649 cat >>conftest.
$ac_ext <<_ACEOF
23650 /* end confdefs.h. */
23651 #include <pthread.h>
23656 extern pthread_mutex_t *mutex; int q = mutex->m_count;
23662 rm -f conftest.
$ac_objext
23663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23664 (eval $ac_compile) 2>conftest.er1
23666 grep -v '^ *+' conftest.er1
>conftest.err
23668 cat conftest.err
>&5
23669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23670 (exit $ac_status); } &&
23671 { ac_try
='test -z "$ac_c_werror_flag"
23672 || test ! -s conftest.err'
23673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23674 (eval $ac_try) 2>&5
23676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23677 (exit $ac_status); }; } &&
23678 { ac_try
='test -s conftest.$ac_objext'
23679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23680 (eval $ac_try) 2>&5
23682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23683 (exit $ac_status); }; }; then
23685 cat >>confdefs.h
<<\_ACEOF
23686 #define PTHREAD_MUTEX_HAVE_M_COUNT 1
23690 echo "$as_me: failed program was:" >&5
23691 sed 's/^/| /' conftest.
$ac_ext >&5
23694 cat >conftest.
$ac_ext <<_ACEOF
23697 cat confdefs.h
>>conftest.
$ac_ext
23698 cat >>conftest.
$ac_ext <<_ACEOF
23699 /* end confdefs.h. */
23700 #include <pthread.h>
23705 extern pthread_mutex_t *mutex; int q = mutex->__m_count;
23711 rm -f conftest.
$ac_objext
23712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23713 (eval $ac_compile) 2>conftest.er1
23715 grep -v '^ *+' conftest.er1
>conftest.err
23717 cat conftest.err
>&5
23718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23719 (exit $ac_status); } &&
23720 { ac_try
='test -z "$ac_c_werror_flag"
23721 || test ! -s conftest.err'
23722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23723 (eval $ac_try) 2>&5
23725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23726 (exit $ac_status); }; } &&
23727 { ac_try
='test -s conftest.$ac_objext'
23728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23729 (eval $ac_try) 2>&5
23731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23732 (exit $ac_status); }; }; then
23734 cat >>confdefs.h
<<\_ACEOF
23735 #define PTHREAD_MUTEX_HAVE___M_COUNT 1
23739 echo "$as_me: failed program was:" >&5
23740 sed 's/^/| /' conftest.
$ac_ext >&5
23743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23748 # We require a way to get the time.
23753 for ac_func
in gettimeofday
time ftime
23755 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23756 echo "$as_me:$LINENO: checking for $ac_func" >&5
23757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23758 if eval "test \"\${$as_ac_var+set}\" = set"; then
23759 echo $ECHO_N "(cached) $ECHO_C" >&6
23761 if test x
$gcc_no_link = xyes
; then
23762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23764 { (exit 1); exit 1; }; }
23766 cat >conftest.
$ac_ext <<_ACEOF
23769 cat confdefs.h
>>conftest.
$ac_ext
23770 cat >>conftest.
$ac_ext <<_ACEOF
23771 /* end confdefs.h. */
23772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23774 #define $ac_func innocuous_$ac_func
23776 /* System header to define __stub macros and hopefully few prototypes,
23777 which can conflict with char $ac_func (); below.
23778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23779 <limits.h> exists even on freestanding compilers. */
23782 # include <limits.h>
23784 # include <assert.h>
23789 /* Override any gcc2 internal prototype to avoid an error. */
23794 /* We use char because int might match the return type of a gcc2
23795 builtin and then its argument prototype would still apply. */
23797 /* The GNU C library defines this for functions which it implements
23798 to always fail with ENOSYS. Some functions are actually named
23799 something starting with __ and the normal name is an alias. */
23800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23803 char (*f) () = $ac_func;
23812 return f != $ac_func;
23817 rm -f conftest.
$ac_objext conftest
$ac_exeext
23818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23819 (eval $ac_link) 2>conftest.er1
23821 grep -v '^ *+' conftest.er1
>conftest.err
23823 cat conftest.err
>&5
23824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23825 (exit $ac_status); } &&
23826 { ac_try
='test -z "$ac_c_werror_flag"
23827 || test ! -s conftest.err'
23828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23829 (eval $ac_try) 2>&5
23831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23832 (exit $ac_status); }; } &&
23833 { ac_try
='test -s conftest$ac_exeext'
23834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23835 (eval $ac_try) 2>&5
23837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23838 (exit $ac_status); }; }; then
23839 eval "$as_ac_var=yes"
23841 echo "$as_me: failed program was:" >&5
23842 sed 's/^/| /' conftest.
$ac_ext >&5
23844 eval "$as_ac_var=no"
23846 rm -f conftest.err conftest.
$ac_objext \
23847 conftest
$ac_exeext conftest.
$ac_ext
23849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23851 if test `eval echo '${'$as_ac_var'}'` = yes; then
23852 cat >>confdefs.h
<<_ACEOF
23853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23859 if test "$time_found" = no
; then
23860 { { echo "$as_me:$LINENO: error: no function found to get the time" >&5
23861 echo "$as_me: error: no function found to get the time" >&2;}
23862 { (exit 1); exit 1; }; }
23866 for ac_func
in memmove
23868 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23869 echo "$as_me:$LINENO: checking for $ac_func" >&5
23870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23871 if eval "test \"\${$as_ac_var+set}\" = set"; then
23872 echo $ECHO_N "(cached) $ECHO_C" >&6
23874 if test x
$gcc_no_link = xyes
; then
23875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23877 { (exit 1); exit 1; }; }
23879 cat >conftest.
$ac_ext <<_ACEOF
23882 cat confdefs.h
>>conftest.
$ac_ext
23883 cat >>conftest.
$ac_ext <<_ACEOF
23884 /* end confdefs.h. */
23885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23887 #define $ac_func innocuous_$ac_func
23889 /* System header to define __stub macros and hopefully few prototypes,
23890 which can conflict with char $ac_func (); below.
23891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23892 <limits.h> exists even on freestanding compilers. */
23895 # include <limits.h>
23897 # include <assert.h>
23902 /* Override any gcc2 internal prototype to avoid an error. */
23907 /* We use char because int might match the return type of a gcc2
23908 builtin and then its argument prototype would still apply. */
23910 /* The GNU C library defines this for functions which it implements
23911 to always fail with ENOSYS. Some functions are actually named
23912 something starting with __ and the normal name is an alias. */
23913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23916 char (*f) () = $ac_func;
23925 return f != $ac_func;
23930 rm -f conftest.
$ac_objext conftest
$ac_exeext
23931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23932 (eval $ac_link) 2>conftest.er1
23934 grep -v '^ *+' conftest.er1
>conftest.err
23936 cat conftest.err
>&5
23937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23938 (exit $ac_status); } &&
23939 { ac_try
='test -z "$ac_c_werror_flag"
23940 || test ! -s conftest.err'
23941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23942 (eval $ac_try) 2>&5
23944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23945 (exit $ac_status); }; } &&
23946 { ac_try
='test -s conftest$ac_exeext'
23947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23948 (eval $ac_try) 2>&5
23950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23951 (exit $ac_status); }; }; then
23952 eval "$as_ac_var=yes"
23954 echo "$as_me: failed program was:" >&5
23955 sed 's/^/| /' conftest.
$ac_ext >&5
23957 eval "$as_ac_var=no"
23959 rm -f conftest.err conftest.
$ac_objext \
23960 conftest
$ac_exeext conftest.
$ac_ext
23962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23964 if test `eval echo '${'$as_ac_var'}'` = yes; then
23965 cat >>confdefs.h
<<_ACEOF
23966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23973 # We require memcpy.
23976 for ac_func
in memcpy
23978 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23979 echo "$as_me:$LINENO: checking for $ac_func" >&5
23980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23981 if eval "test \"\${$as_ac_var+set}\" = set"; then
23982 echo $ECHO_N "(cached) $ECHO_C" >&6
23984 if test x
$gcc_no_link = xyes
; then
23985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23987 { (exit 1); exit 1; }; }
23989 cat >conftest.
$ac_ext <<_ACEOF
23992 cat confdefs.h
>>conftest.
$ac_ext
23993 cat >>conftest.
$ac_ext <<_ACEOF
23994 /* end confdefs.h. */
23995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23997 #define $ac_func innocuous_$ac_func
23999 /* System header to define __stub macros and hopefully few prototypes,
24000 which can conflict with char $ac_func (); below.
24001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24002 <limits.h> exists even on freestanding compilers. */
24005 # include <limits.h>
24007 # include <assert.h>
24012 /* Override any gcc2 internal prototype to avoid an error. */
24017 /* We use char because int might match the return type of a gcc2
24018 builtin and then its argument prototype would still apply. */
24020 /* The GNU C library defines this for functions which it implements
24021 to always fail with ENOSYS. Some functions are actually named
24022 something starting with __ and the normal name is an alias. */
24023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24026 char (*f) () = $ac_func;
24035 return f != $ac_func;
24040 rm -f conftest.
$ac_objext conftest
$ac_exeext
24041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24042 (eval $ac_link) 2>conftest.er1
24044 grep -v '^ *+' conftest.er1
>conftest.err
24046 cat conftest.err
>&5
24047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24048 (exit $ac_status); } &&
24049 { ac_try
='test -z "$ac_c_werror_flag"
24050 || test ! -s conftest.err'
24051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24052 (eval $ac_try) 2>&5
24054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24055 (exit $ac_status); }; } &&
24056 { ac_try
='test -s conftest$ac_exeext'
24057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24058 (eval $ac_try) 2>&5
24060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24061 (exit $ac_status); }; }; then
24062 eval "$as_ac_var=yes"
24064 echo "$as_me: failed program was:" >&5
24065 sed 's/^/| /' conftest.
$ac_ext >&5
24067 eval "$as_ac_var=no"
24069 rm -f conftest.err conftest.
$ac_objext \
24070 conftest
$ac_exeext conftest.
$ac_ext
24072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24074 if test `eval echo '${'$as_ac_var'}'` = yes; then
24075 cat >>confdefs.h
<<_ACEOF
24076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24082 if test "$memcpy_found" = no
; then
24083 { { echo "$as_me:$LINENO: error: memcpy is required" >&5
24084 echo "$as_me: error: memcpy is required" >&2;}
24085 { (exit 1); exit 1; }; }
24087 # Do an additional check on dld, HP-UX for example has dlopen in libdld.sl
24088 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
24089 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
24090 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
24091 echo $ECHO_N "(cached) $ECHO_C" >&6
24093 ac_check_lib_save_LIBS
=$LIBS
24095 if test x
$gcc_no_link = xyes
; then
24096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24098 { (exit 1); exit 1; }; }
24100 cat >conftest.
$ac_ext <<_ACEOF
24103 cat confdefs.h
>>conftest.
$ac_ext
24104 cat >>conftest.
$ac_ext <<_ACEOF
24105 /* end confdefs.h. */
24107 /* Override any gcc2 internal prototype to avoid an error. */
24111 /* We use char because int might match the return type of a gcc2
24112 builtin and then its argument prototype would still apply. */
24122 rm -f conftest.
$ac_objext conftest
$ac_exeext
24123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24124 (eval $ac_link) 2>conftest.er1
24126 grep -v '^ *+' conftest.er1
>conftest.err
24128 cat conftest.err
>&5
24129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24130 (exit $ac_status); } &&
24131 { ac_try
='test -z "$ac_c_werror_flag"
24132 || test ! -s conftest.err'
24133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24134 (eval $ac_try) 2>&5
24136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24137 (exit $ac_status); }; } &&
24138 { ac_try
='test -s conftest$ac_exeext'
24139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24140 (eval $ac_try) 2>&5
24142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24143 (exit $ac_status); }; }; then
24144 ac_cv_lib_dl_dlopen
=yes
24146 echo "$as_me: failed program was:" >&5
24147 sed 's/^/| /' conftest.
$ac_ext >&5
24149 ac_cv_lib_dl_dlopen
=no
24151 rm -f conftest.err conftest.
$ac_objext \
24152 conftest
$ac_exeext conftest.
$ac_ext
24153 LIBS
=$ac_check_lib_save_LIBS
24155 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
24156 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
24157 if test $ac_cv_lib_dl_dlopen = yes; then
24160 cat >>confdefs.h
<<\_ACEOF
24161 #define HAVE_DLOPEN 1
24166 echo "$as_me:$LINENO: checking for dlopen in -ldld" >&5
24167 echo $ECHO_N "checking for dlopen in -ldld... $ECHO_C" >&6
24168 if test "${ac_cv_lib_dld_dlopen+set}" = set; then
24169 echo $ECHO_N "(cached) $ECHO_C" >&6
24171 ac_check_lib_save_LIBS
=$LIBS
24173 if test x
$gcc_no_link = xyes
; then
24174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24176 { (exit 1); exit 1; }; }
24178 cat >conftest.
$ac_ext <<_ACEOF
24181 cat confdefs.h
>>conftest.
$ac_ext
24182 cat >>conftest.
$ac_ext <<_ACEOF
24183 /* end confdefs.h. */
24185 /* Override any gcc2 internal prototype to avoid an error. */
24189 /* We use char because int might match the return type of a gcc2
24190 builtin and then its argument prototype would still apply. */
24200 rm -f conftest.
$ac_objext conftest
$ac_exeext
24201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24202 (eval $ac_link) 2>conftest.er1
24204 grep -v '^ *+' conftest.er1
>conftest.err
24206 cat conftest.err
>&5
24207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24208 (exit $ac_status); } &&
24209 { ac_try
='test -z "$ac_c_werror_flag"
24210 || test ! -s conftest.err'
24211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24212 (eval $ac_try) 2>&5
24214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24215 (exit $ac_status); }; } &&
24216 { ac_try
='test -s conftest$ac_exeext'
24217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24218 (eval $ac_try) 2>&5
24220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24221 (exit $ac_status); }; }; then
24222 ac_cv_lib_dld_dlopen
=yes
24224 echo "$as_me: failed program was:" >&5
24225 sed 's/^/| /' conftest.
$ac_ext >&5
24227 ac_cv_lib_dld_dlopen
=no
24229 rm -f conftest.err conftest.
$ac_objext \
24230 conftest
$ac_exeext conftest.
$ac_ext
24231 LIBS
=$ac_check_lib_save_LIBS
24233 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dlopen" >&5
24234 echo "${ECHO_T}$ac_cv_lib_dld_dlopen" >&6
24235 if test $ac_cv_lib_dld_dlopen = yes; then
24238 cat >>confdefs.h
<<\_ACEOF
24239 #define HAVE_DLOPEN 1
24247 # Some library-finding code we stole from Tcl.
24248 #--------------------------------------------------------------------
24249 # Check for the existence of the -lsocket and -lnsl libraries.
24250 # The order here is important, so that they end up in the right
24251 # order in the command line generated by make. Here are some
24252 # special considerations:
24253 # 1. Use "connect" and "accept" to check for -lsocket, and
24254 # "gethostbyname" to check for -lnsl.
24255 # 2. Use each function name only once: can't redo a check because
24256 # autoconf caches the results of the last check and won't redo it.
24257 # 3. Use -lnsl and -lsocket only if they supply procedures that
24258 # aren't already present in the normal libraries. This is because
24259 # IRIX 5.2 has libraries, but they aren't needed and they're
24260 # bogus: they goof up name resolution if used.
24261 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too.
24262 # To get around this problem, check for both libraries together
24263 # if -lsocket doesn't work by itself.
24264 #--------------------------------------------------------------------
24266 echo "$as_me:$LINENO: checking for socket libraries" >&5
24267 echo $ECHO_N "checking for socket libraries... $ECHO_C" >&6
24268 if test "${gcj_cv_lib_sockets+set}" = set; then
24269 echo $ECHO_N "(cached) $ECHO_C" >&6
24271 gcj_cv_lib_sockets
=
24273 unset ac_cv_func_connect
24274 echo "$as_me:$LINENO: checking for connect" >&5
24275 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24276 if test "${ac_cv_func_connect+set}" = set; then
24277 echo $ECHO_N "(cached) $ECHO_C" >&6
24279 if test x
$gcc_no_link = xyes
; then
24280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24282 { (exit 1); exit 1; }; }
24284 cat >conftest.
$ac_ext <<_ACEOF
24287 cat confdefs.h
>>conftest.
$ac_ext
24288 cat >>conftest.
$ac_ext <<_ACEOF
24289 /* end confdefs.h. */
24290 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24292 #define connect innocuous_connect
24294 /* System header to define __stub macros and hopefully few prototypes,
24295 which can conflict with char connect (); below.
24296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24297 <limits.h> exists even on freestanding compilers. */
24300 # include <limits.h>
24302 # include <assert.h>
24307 /* Override any gcc2 internal prototype to avoid an error. */
24312 /* We use char because int might match the return type of a gcc2
24313 builtin and then its argument prototype would still apply. */
24315 /* The GNU C library defines this for functions which it implements
24316 to always fail with ENOSYS. Some functions are actually named
24317 something starting with __ and the normal name is an alias. */
24318 #if defined (__stub_connect) || defined (__stub___connect)
24321 char (*f) () = connect;
24330 return f != connect;
24335 rm -f conftest.
$ac_objext conftest
$ac_exeext
24336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24337 (eval $ac_link) 2>conftest.er1
24339 grep -v '^ *+' conftest.er1
>conftest.err
24341 cat conftest.err
>&5
24342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24343 (exit $ac_status); } &&
24344 { ac_try
='test -z "$ac_c_werror_flag"
24345 || test ! -s conftest.err'
24346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24347 (eval $ac_try) 2>&5
24349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24350 (exit $ac_status); }; } &&
24351 { ac_try
='test -s conftest$ac_exeext'
24352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24353 (eval $ac_try) 2>&5
24355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24356 (exit $ac_status); }; }; then
24357 ac_cv_func_connect
=yes
24359 echo "$as_me: failed program was:" >&5
24360 sed 's/^/| /' conftest.
$ac_ext >&5
24362 ac_cv_func_connect
=no
24364 rm -f conftest.err conftest.
$ac_objext \
24365 conftest
$ac_exeext conftest.
$ac_ext
24367 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24368 echo "${ECHO_T}$ac_cv_func_connect" >&6
24369 if test $ac_cv_func_connect = yes; then
24375 if test "$gcj_checkSocket" = 1; then
24376 unset ac_cv_func_connect
24377 echo "$as_me:$LINENO: checking for main in -lsocket" >&5
24378 echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
24379 if test "${ac_cv_lib_socket_main+set}" = set; then
24380 echo $ECHO_N "(cached) $ECHO_C" >&6
24382 ac_check_lib_save_LIBS
=$LIBS
24383 LIBS
="-lsocket $LIBS"
24384 if test x
$gcc_no_link = xyes
; then
24385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24387 { (exit 1); exit 1; }; }
24389 cat >conftest.
$ac_ext <<_ACEOF
24392 cat confdefs.h
>>conftest.
$ac_ext
24393 cat >>conftest.
$ac_ext <<_ACEOF
24394 /* end confdefs.h. */
24405 rm -f conftest.
$ac_objext conftest
$ac_exeext
24406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24407 (eval $ac_link) 2>conftest.er1
24409 grep -v '^ *+' conftest.er1
>conftest.err
24411 cat conftest.err
>&5
24412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24413 (exit $ac_status); } &&
24414 { ac_try
='test -z "$ac_c_werror_flag"
24415 || test ! -s conftest.err'
24416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24417 (eval $ac_try) 2>&5
24419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24420 (exit $ac_status); }; } &&
24421 { ac_try
='test -s conftest$ac_exeext'
24422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24423 (eval $ac_try) 2>&5
24425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24426 (exit $ac_status); }; }; then
24427 ac_cv_lib_socket_main
=yes
24429 echo "$as_me: failed program was:" >&5
24430 sed 's/^/| /' conftest.
$ac_ext >&5
24432 ac_cv_lib_socket_main
=no
24434 rm -f conftest.err conftest.
$ac_objext \
24435 conftest
$ac_exeext conftest.
$ac_ext
24436 LIBS
=$ac_check_lib_save_LIBS
24438 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
24439 echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
24440 if test $ac_cv_lib_socket_main = yes; then
24441 gcj_cv_lib_sockets
="-lsocket"
24447 if test "$gcj_checkBoth" = 1; then
24449 LIBS
="$LIBS -lsocket -lnsl"
24450 unset ac_cv_func_accept
24451 echo "$as_me:$LINENO: checking for accept" >&5
24452 echo $ECHO_N "checking for accept... $ECHO_C" >&6
24453 if test "${ac_cv_func_accept+set}" = set; then
24454 echo $ECHO_N "(cached) $ECHO_C" >&6
24456 if test x
$gcc_no_link = xyes
; then
24457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24459 { (exit 1); exit 1; }; }
24461 cat >conftest.
$ac_ext <<_ACEOF
24464 cat confdefs.h
>>conftest.
$ac_ext
24465 cat >>conftest.
$ac_ext <<_ACEOF
24466 /* end confdefs.h. */
24467 /* Define accept to an innocuous variant, in case <limits.h> declares accept.
24468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24469 #define accept innocuous_accept
24471 /* System header to define __stub macros and hopefully few prototypes,
24472 which can conflict with char accept (); below.
24473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24474 <limits.h> exists even on freestanding compilers. */
24477 # include <limits.h>
24479 # include <assert.h>
24484 /* Override any gcc2 internal prototype to avoid an error. */
24489 /* We use char because int might match the return type of a gcc2
24490 builtin and then its argument prototype would still apply. */
24492 /* The GNU C library defines this for functions which it implements
24493 to always fail with ENOSYS. Some functions are actually named
24494 something starting with __ and the normal name is an alias. */
24495 #if defined (__stub_accept) || defined (__stub___accept)
24498 char (*f) () = accept;
24507 return f != accept;
24512 rm -f conftest.
$ac_objext conftest
$ac_exeext
24513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24514 (eval $ac_link) 2>conftest.er1
24516 grep -v '^ *+' conftest.er1
>conftest.err
24518 cat conftest.err
>&5
24519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24520 (exit $ac_status); } &&
24521 { ac_try
='test -z "$ac_c_werror_flag"
24522 || test ! -s conftest.err'
24523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24524 (eval $ac_try) 2>&5
24526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24527 (exit $ac_status); }; } &&
24528 { ac_try
='test -s conftest$ac_exeext'
24529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24530 (eval $ac_try) 2>&5
24532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24533 (exit $ac_status); }; }; then
24534 ac_cv_func_accept
=yes
24536 echo "$as_me: failed program was:" >&5
24537 sed 's/^/| /' conftest.
$ac_ext >&5
24539 ac_cv_func_accept
=no
24541 rm -f conftest.err conftest.
$ac_objext \
24542 conftest
$ac_exeext conftest.
$ac_ext
24544 echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5
24545 echo "${ECHO_T}$ac_cv_func_accept" >&6
24546 if test $ac_cv_func_accept = yes; then
24548 gcj_cv_lib_sockets
="-lsocket -lnsl"
24551 unset ac_cv_func_accept
24554 unset ac_cv_func_gethostbyname
24556 LIBS
="$LIBS $gcj_cv_lib_sockets"
24557 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24558 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24559 if test "${ac_cv_func_gethostbyname+set}" = set; then
24560 echo $ECHO_N "(cached) $ECHO_C" >&6
24562 if test x
$gcc_no_link = xyes
; then
24563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24565 { (exit 1); exit 1; }; }
24567 cat >conftest.
$ac_ext <<_ACEOF
24570 cat confdefs.h
>>conftest.
$ac_ext
24571 cat >>conftest.
$ac_ext <<_ACEOF
24572 /* end confdefs.h. */
24573 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24575 #define gethostbyname innocuous_gethostbyname
24577 /* System header to define __stub macros and hopefully few prototypes,
24578 which can conflict with char gethostbyname (); below.
24579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24580 <limits.h> exists even on freestanding compilers. */
24583 # include <limits.h>
24585 # include <assert.h>
24588 #undef gethostbyname
24590 /* Override any gcc2 internal prototype to avoid an error. */
24595 /* We use char because int might match the return type of a gcc2
24596 builtin and then its argument prototype would still apply. */
24597 char gethostbyname ();
24598 /* The GNU C library defines this for functions which it implements
24599 to always fail with ENOSYS. Some functions are actually named
24600 something starting with __ and the normal name is an alias. */
24601 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24604 char (*f) () = gethostbyname;
24613 return f != gethostbyname;
24618 rm -f conftest.
$ac_objext conftest
$ac_exeext
24619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24620 (eval $ac_link) 2>conftest.er1
24622 grep -v '^ *+' conftest.er1
>conftest.err
24624 cat conftest.err
>&5
24625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24626 (exit $ac_status); } &&
24627 { ac_try
='test -z "$ac_c_werror_flag"
24628 || test ! -s conftest.err'
24629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24630 (eval $ac_try) 2>&5
24632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24633 (exit $ac_status); }; } &&
24634 { ac_try
='test -s conftest$ac_exeext'
24635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24636 (eval $ac_try) 2>&5
24638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24639 (exit $ac_status); }; }; then
24640 ac_cv_func_gethostbyname
=yes
24642 echo "$as_me: failed program was:" >&5
24643 sed 's/^/| /' conftest.
$ac_ext >&5
24645 ac_cv_func_gethostbyname
=no
24647 rm -f conftest.err conftest.
$ac_objext \
24648 conftest
$ac_exeext conftest.
$ac_ext
24650 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24651 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24652 if test $ac_cv_func_gethostbyname = yes; then
24655 echo "$as_me:$LINENO: checking for main in -lnsl" >&5
24656 echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
24657 if test "${ac_cv_lib_nsl_main+set}" = set; then
24658 echo $ECHO_N "(cached) $ECHO_C" >&6
24660 ac_check_lib_save_LIBS
=$LIBS
24662 if test x
$gcc_no_link = xyes
; then
24663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24665 { (exit 1); exit 1; }; }
24667 cat >conftest.
$ac_ext <<_ACEOF
24670 cat confdefs.h
>>conftest.
$ac_ext
24671 cat >>conftest.
$ac_ext <<_ACEOF
24672 /* end confdefs.h. */
24683 rm -f conftest.
$ac_objext conftest
$ac_exeext
24684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24685 (eval $ac_link) 2>conftest.er1
24687 grep -v '^ *+' conftest.er1
>conftest.err
24689 cat conftest.err
>&5
24690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24691 (exit $ac_status); } &&
24692 { ac_try
='test -z "$ac_c_werror_flag"
24693 || test ! -s conftest.err'
24694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24695 (eval $ac_try) 2>&5
24697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24698 (exit $ac_status); }; } &&
24699 { ac_try
='test -s conftest$ac_exeext'
24700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24701 (eval $ac_try) 2>&5
24703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24704 (exit $ac_status); }; }; then
24705 ac_cv_lib_nsl_main
=yes
24707 echo "$as_me: failed program was:" >&5
24708 sed 's/^/| /' conftest.
$ac_ext >&5
24710 ac_cv_lib_nsl_main
=no
24712 rm -f conftest.err conftest.
$ac_objext \
24713 conftest
$ac_exeext conftest.
$ac_ext
24714 LIBS
=$ac_check_lib_save_LIBS
24716 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
24717 echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
24718 if test $ac_cv_lib_nsl_main = yes; then
24719 gcj_cv_lib_sockets
="$gcj_cv_lib_sockets -lnsl"
24724 unset ac_cv_func_gethostbyname
24728 echo "$as_me:$LINENO: result: $gcj_cv_lib_sockets" >&5
24729 echo "${ECHO_T}$gcj_cv_lib_sockets" >&6
24730 SYSTEMSPEC
="$SYSTEMSPEC $gcj_cv_lib_sockets"
24732 if test "$with_system_zlib" = yes; then
24733 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24734 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24735 if test "${ac_cv_lib_z_deflate+set}" = set; then
24736 echo $ECHO_N "(cached) $ECHO_C" >&6
24738 ac_check_lib_save_LIBS
=$LIBS
24740 if test x
$gcc_no_link = xyes
; then
24741 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24743 { (exit 1); exit 1; }; }
24745 cat >conftest.
$ac_ext <<_ACEOF
24748 cat confdefs.h
>>conftest.
$ac_ext
24749 cat >>conftest.
$ac_ext <<_ACEOF
24750 /* end confdefs.h. */
24752 /* Override any gcc2 internal prototype to avoid an error. */
24756 /* We use char because int might match the return type of a gcc2
24757 builtin and then its argument prototype would still apply. */
24767 rm -f conftest.
$ac_objext conftest
$ac_exeext
24768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24769 (eval $ac_link) 2>conftest.er1
24771 grep -v '^ *+' conftest.er1
>conftest.err
24773 cat conftest.err
>&5
24774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24775 (exit $ac_status); } &&
24776 { ac_try
='test -z "$ac_c_werror_flag"
24777 || test ! -s conftest.err'
24778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24779 (eval $ac_try) 2>&5
24781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24782 (exit $ac_status); }; } &&
24783 { ac_try
='test -s conftest$ac_exeext'
24784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24785 (eval $ac_try) 2>&5
24787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24788 (exit $ac_status); }; }; then
24789 ac_cv_lib_z_deflate
=yes
24791 echo "$as_me: failed program was:" >&5
24792 sed 's/^/| /' conftest.
$ac_ext >&5
24794 ac_cv_lib_z_deflate
=no
24796 rm -f conftest.err conftest.
$ac_objext \
24797 conftest
$ac_exeext conftest.
$ac_ext
24798 LIBS
=$ac_check_lib_save_LIBS
24800 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24801 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24802 if test $ac_cv_lib_z_deflate = yes; then
24810 # Test for Gtk stuff, if asked for.
24811 if test "$use_gtk_awt" = yes; then
24815 if test -z "$PKG_CONFIG"; then
24816 # Extract the first word of "pkg-config", so it can be a program name with args.
24817 set dummy pkg-config
; ac_word
=$2
24818 echo "$as_me:$LINENO: checking for $ac_word" >&5
24819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24820 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24821 echo $ECHO_N "(cached) $ECHO_C" >&6
24823 case $PKG_CONFIG in
24825 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24829 for as_dir
in $PATH
24832 test -z "$as_dir" && as_dir
=.
24833 for ac_exec_ext
in '' $ac_executable_extensions; do
24834 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24835 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24842 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24846 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24848 if test -n "$PKG_CONFIG"; then
24849 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24850 echo "${ECHO_T}$PKG_CONFIG" >&6
24852 echo "$as_me:$LINENO: result: no" >&5
24853 echo "${ECHO_T}no" >&6
24858 if test "$PKG_CONFIG" = "no" ; then
24859 echo "*** The pkg-config script could not be found. Make sure it is"
24860 echo "*** in your path, or set the PKG_CONFIG environment variable"
24861 echo "*** to the full path to pkg-config."
24862 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24864 PKG_CONFIG_MIN_VERSION
=0.9.0
24865 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24866 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4" >&5
24867 echo $ECHO_N "checking for gtk+-2.0 >= 2.4... $ECHO_C" >&6
24869 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4" ; then
24870 echo "$as_me:$LINENO: result: yes" >&5
24871 echo "${ECHO_T}yes" >&6
24874 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
24875 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
24876 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4"`
24877 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
24878 echo "${ECHO_T}$GTK_CFLAGS" >&6
24880 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
24881 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
24882 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4"`
24883 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
24884 echo "${ECHO_T}$GTK_LIBS" >&6
24888 ## If we have a custom action on failure, don't print errors, but
24889 ## do set a variable so people can do so.
24890 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4"`
24891 echo $GTK_PKG_ERRORS
24897 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24898 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24902 if test $succeeded = yes; then
24905 { { 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
24906 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;}
24907 { (exit 1); exit 1; }; }
24916 if test -z "$PKG_CONFIG"; then
24917 # Extract the first word of "pkg-config", so it can be a program name with args.
24918 set dummy pkg-config
; ac_word
=$2
24919 echo "$as_me:$LINENO: checking for $ac_word" >&5
24920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24921 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24922 echo $ECHO_N "(cached) $ECHO_C" >&6
24924 case $PKG_CONFIG in
24926 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24930 for as_dir
in $PATH
24933 test -z "$as_dir" && as_dir
=.
24934 for ac_exec_ext
in '' $ac_executable_extensions; do
24935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24936 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24943 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24947 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24949 if test -n "$PKG_CONFIG"; then
24950 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24951 echo "${ECHO_T}$PKG_CONFIG" >&6
24953 echo "$as_me:$LINENO: result: no" >&5
24954 echo "${ECHO_T}no" >&6
24959 if test "$PKG_CONFIG" = "no" ; then
24960 echo "*** The pkg-config script could not be found. Make sure it is"
24961 echo "*** in your path, or set the PKG_CONFIG environment variable"
24962 echo "*** to the full path to pkg-config."
24963 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24965 PKG_CONFIG_MIN_VERSION
=0.9.0
24966 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24967 echo "$as_me:$LINENO: checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4" >&5
24968 echo $ECHO_N "checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... $ECHO_C" >&6
24970 if $PKG_CONFIG --exists "glib-2.0 >= 2.4 gthread-2.0 >= 2.4" ; then
24971 echo "$as_me:$LINENO: result: yes" >&5
24972 echo "${ECHO_T}yes" >&6
24975 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
24976 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
24977 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
24978 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
24979 echo "${ECHO_T}$GLIB_CFLAGS" >&6
24981 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
24982 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
24983 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
24984 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
24985 echo "${ECHO_T}$GLIB_LIBS" >&6
24989 ## If we have a custom action on failure, don't print errors, but
24990 ## do set a variable so people can do so.
24991 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
24992 echo $GLIB_PKG_ERRORS
24998 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24999 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25003 if test $succeeded = yes; then
25006 { { 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
25007 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;}
25008 { (exit 1); exit 1; }; }
25017 if test -z "$PKG_CONFIG"; then
25018 # Extract the first word of "pkg-config", so it can be a program name with args.
25019 set dummy pkg-config
; ac_word
=$2
25020 echo "$as_me:$LINENO: checking for $ac_word" >&5
25021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25022 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25023 echo $ECHO_N "(cached) $ECHO_C" >&6
25025 case $PKG_CONFIG in
25027 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25031 for as_dir
in $PATH
25034 test -z "$as_dir" && as_dir
=.
25035 for ac_exec_ext
in '' $ac_executable_extensions; do
25036 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25037 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25044 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25048 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25050 if test -n "$PKG_CONFIG"; then
25051 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25052 echo "${ECHO_T}$PKG_CONFIG" >&6
25054 echo "$as_me:$LINENO: result: no" >&5
25055 echo "${ECHO_T}no" >&6
25060 if test "$PKG_CONFIG" = "no" ; then
25061 echo "*** The pkg-config script could not be found. Make sure it is"
25062 echo "*** in your path, or set the PKG_CONFIG environment variable"
25063 echo "*** to the full path to pkg-config."
25064 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25066 PKG_CONFIG_MIN_VERSION
=0.9.0
25067 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25068 echo "$as_me:$LINENO: checking for libart-2.0 >= 2.1" >&5
25069 echo $ECHO_N "checking for libart-2.0 >= 2.1... $ECHO_C" >&6
25071 if $PKG_CONFIG --exists "libart-2.0 >= 2.1" ; then
25072 echo "$as_me:$LINENO: result: yes" >&5
25073 echo "${ECHO_T}yes" >&6
25076 echo "$as_me:$LINENO: checking LIBART_CFLAGS" >&5
25077 echo $ECHO_N "checking LIBART_CFLAGS... $ECHO_C" >&6
25078 LIBART_CFLAGS
=`$PKG_CONFIG --cflags "libart-2.0 >= 2.1"`
25079 echo "$as_me:$LINENO: result: $LIBART_CFLAGS" >&5
25080 echo "${ECHO_T}$LIBART_CFLAGS" >&6
25082 echo "$as_me:$LINENO: checking LIBART_LIBS" >&5
25083 echo $ECHO_N "checking LIBART_LIBS... $ECHO_C" >&6
25084 LIBART_LIBS
=`$PKG_CONFIG --libs "libart-2.0 >= 2.1"`
25085 echo "$as_me:$LINENO: result: $LIBART_LIBS" >&5
25086 echo "${ECHO_T}$LIBART_LIBS" >&6
25090 ## If we have a custom action on failure, don't print errors, but
25091 ## do set a variable so people can do so.
25092 LIBART_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libart-2.0 >= 2.1"`
25093 echo $LIBART_PKG_ERRORS
25099 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25100 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25104 if test $succeeded = yes; then
25107 { { 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
25108 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;}
25109 { (exit 1); exit 1; }; }
25115 # We require the XTest Extension to support java.awt.Robot.
25116 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
25117 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
25118 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
25119 echo $ECHO_N "(cached) $ECHO_C" >&6
25121 ac_check_lib_save_LIBS
=$LIBS
25122 LIBS
="-lXtst ${X_LIBS} $LIBS"
25123 if test x
$gcc_no_link = xyes
; then
25124 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25126 { (exit 1); exit 1; }; }
25128 cat >conftest.
$ac_ext <<_ACEOF
25131 cat confdefs.h
>>conftest.
$ac_ext
25132 cat >>conftest.
$ac_ext <<_ACEOF
25133 /* end confdefs.h. */
25135 /* Override any gcc2 internal prototype to avoid an error. */
25139 /* We use char because int might match the return type of a gcc2
25140 builtin and then its argument prototype would still apply. */
25141 char XTestQueryExtension ();
25145 XTestQueryExtension ();
25150 rm -f conftest.
$ac_objext conftest
$ac_exeext
25151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25152 (eval $ac_link) 2>conftest.er1
25154 grep -v '^ *+' conftest.er1
>conftest.err
25156 cat conftest.err
>&5
25157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25158 (exit $ac_status); } &&
25159 { ac_try
='test -z "$ac_c_werror_flag"
25160 || test ! -s conftest.err'
25161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25162 (eval $ac_try) 2>&5
25164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25165 (exit $ac_status); }; } &&
25166 { ac_try
='test -s conftest$ac_exeext'
25167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25168 (eval $ac_try) 2>&5
25170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25171 (exit $ac_status); }; }; then
25172 ac_cv_lib_Xtst_XTestQueryExtension
=yes
25174 echo "$as_me: failed program was:" >&5
25175 sed 's/^/| /' conftest.
$ac_ext >&5
25177 ac_cv_lib_Xtst_XTestQueryExtension
=no
25179 rm -f conftest.err conftest.
$ac_objext \
25180 conftest
$ac_exeext conftest.
$ac_ext
25181 LIBS
=$ac_check_lib_save_LIBS
25183 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
25184 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
25185 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
25188 { { echo "$as_me:$LINENO: error: libXtst not found, required by java.awt.Robot" >&5
25189 echo "$as_me: error: libXtst not found, required by java.awt.Robot" >&2;}
25190 { (exit 1); exit 1; }; }
25195 # On Solaris, and maybe other architectures, the Boehm collector
25197 if test "$GC" = boehm
; then
25200 # IRIX 6 lacks a N64 libdl.so, but only the N32 (default multilib)
25201 # libgcj.spec is used, so override here
25202 SYSTEMSPEC
="$SYSTEMSPEC %{!mabi=64:-ldl}"
25205 echo "$as_me:$LINENO: checking for main in -ldl" >&5
25206 echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6
25207 if test "${ac_cv_lib_dl_main+set}" = set; then
25208 echo $ECHO_N "(cached) $ECHO_C" >&6
25210 ac_check_lib_save_LIBS
=$LIBS
25212 if test x
$gcc_no_link = xyes
; then
25213 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25215 { (exit 1); exit 1; }; }
25217 cat >conftest.
$ac_ext <<_ACEOF
25220 cat confdefs.h
>>conftest.
$ac_ext
25221 cat >>conftest.
$ac_ext <<_ACEOF
25222 /* end confdefs.h. */
25233 rm -f conftest.
$ac_objext conftest
$ac_exeext
25234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25235 (eval $ac_link) 2>conftest.er1
25237 grep -v '^ *+' conftest.er1
>conftest.err
25239 cat conftest.err
>&5
25240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25241 (exit $ac_status); } &&
25242 { ac_try
='test -z "$ac_c_werror_flag"
25243 || test ! -s conftest.err'
25244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25245 (eval $ac_try) 2>&5
25247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25248 (exit $ac_status); }; } &&
25249 { ac_try
='test -s conftest$ac_exeext'
25250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25251 (eval $ac_try) 2>&5
25253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25254 (exit $ac_status); }; }; then
25255 ac_cv_lib_dl_main
=yes
25257 echo "$as_me: failed program was:" >&5
25258 sed 's/^/| /' conftest.
$ac_ext >&5
25260 ac_cv_lib_dl_main
=no
25262 rm -f conftest.err conftest.
$ac_objext \
25263 conftest
$ac_exeext conftest.
$ac_ext
25264 LIBS
=$ac_check_lib_save_LIBS
25266 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_main" >&5
25267 echo "${ECHO_T}$ac_cv_lib_dl_main" >&6
25268 if test $ac_cv_lib_dl_main = yes; then
25269 SYSTEMSPEC
="$SYSTEMSPEC -ldl"
25277 # Use a semicolon as CLASSPATH separator for MinGW, otherwise a colon.
25279 *-mingw32) CLASSPATH_SEPARATOR
=';' ;;
25280 *) CLASSPATH_SEPARATOR
=':' ;;
25284 # We must search the source tree for java.lang, since we still don't
25285 # have libgcj.jar nor java/lang/*.class
25286 GCJ_SAVE_CPPFLAGS
=$CPPFLAGS
25287 CPPFLAGS
="$CPPFLAGS -I`${PWDCMD-pwd}` -I`cd $srcdir && ${PWDCMD-pwd}`"
25289 # Since some classes depend on this one, we need its source available
25290 # before we can do any GCJ compilation test :-(
25291 if test ! -f gnu
/classpath
/Configuration.java
; then
25292 test -d gnu || mkdir gnu
25293 test -d gnu
/classpath || mkdir gnu
/classpath
25294 # Note that it is not crucial that all the values here be correct.
25295 sed -e "s,@prefix@,$prefix," \
25296 -e "s,@VERSION@,$VERSION," \
25297 -e "s,@LIBDEBUG@,false," \
25298 -e "s,@INIT_LOAD_LIBRARY@,false," \
25299 -e "s,@@,$LIBGCJDEBUG," \
25300 -e "s,@default_toolkit@,$TOOLKIT," \
25301 -e "s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,false," \
25302 -e "s,@GTK_CAIRO_ENABLED@,false," \
25303 -e "s,@ECJ_JAR@,," \
25304 < $srcdir/classpath
/gnu
/classpath
/Configuration.java.
in \
25305 > gnu
/classpath
/Configuration.java
25306 # We do not want to redirect the output of the grep below to /dev/null,
25307 # but we add /dev/null to the input list so that grep will print the
25308 # filename of Configuration.java in case it finds any matches.
25309 if grep '@.*@' gnu
/classpath
/Configuration.java
/dev
/null
; then
25310 { { echo "$as_me:$LINENO: error: configure.ac is missing the substitutions above" >&5
25311 echo "$as_me: error: configure.ac is missing the substitutions above" >&2;}
25312 { (exit 1); exit 1; }; }
25319 # Extract the first word of "$ac_prog", so it can be a program name with args.
25320 set dummy
$ac_prog; ac_word
=$2
25321 echo "$as_me:$LINENO: checking for $ac_word" >&5
25322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25323 if test "${ac_cv_prog_GCJ+set}" = set; then
25324 echo $ECHO_N "(cached) $ECHO_C" >&6
25326 if test -n "$GCJ"; then
25327 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
25329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25330 for as_dir
in $PATH
25333 test -z "$as_dir" && as_dir
=.
25334 for ac_exec_ext
in '' $ac_executable_extensions; do
25335 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25336 ac_cv_prog_GCJ
="$ac_prog"
25337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25345 GCJ
=$ac_cv_prog_GCJ
25346 if test -n "$GCJ"; then
25347 echo "$as_me:$LINENO: result: $GCJ" >&5
25348 echo "${ECHO_T}$GCJ" >&6
25350 echo "$as_me:$LINENO: result: no" >&5
25351 echo "${ECHO_T}no" >&6
25354 test -n "$GCJ" && break
25356 test -n "$GCJ" || GCJ
="gcj"
25358 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
25359 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
25360 { (exit 1); exit 1; }; }
25361 if test "x${GCJFLAGS-unset}" = xunset
; then
25366 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
25368 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
25369 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
25370 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
25371 echo $ECHO_N "(cached) $ECHO_C" >&6
25373 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
25374 # We make a subdir and do the tests there. Otherwise we can end up
25375 # making bogus files that we don't know about and never remove. For
25376 # instance it was reported that on HP-UX the gcc test will end up
25377 # making a dummy file named `D' -- because `-MD' means `put the output
25380 # Copy depcomp to subdir because otherwise we won't find it if we're
25381 # using a relative directory.
25382 cp "$am_depcomp" conftest.dir
25384 # We will build objects and dependencies in a subdirectory because
25385 # it helps to detect inapplicable dependency modes. For instance
25386 # both Tru64's cc and ICC support -MD to output dependencies as a
25387 # side effect of compilation, but ICC will put the dependencies in
25388 # the current directory while Tru64 will put them in the object
25392 am_cv_GCJ_dependencies_compiler_type
=none
25393 if test "$am_compiler_list" = ""; then
25394 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
25396 for depmode
in $am_compiler_list; do
25397 # Setup a source with many dependencies, because some compilers
25398 # like to wrap large dependency lists on column 80 (with \), and
25399 # we should not choose a depcomp mode which is confused by this.
25401 # We need to recreate these files for each test, as the compiler may
25402 # overwrite some of them when testing with obscure command lines.
25403 # This happens at least with the AIX C compiler.
25405 for i
in 1 2 3 4 5 6; do
25406 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
25407 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
25408 # Solaris 8's {/usr,}/bin/sh.
25409 touch sub
/conftst
$i.h
25411 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
25415 # after this tag, mechanisms are not by side-effect, so they'll
25416 # only be used when explicitly requested
25417 if test "x$enable_dependency_tracking" = xyes
; then
25425 # We check with `-c' and `-o' for the sake of the "dashmstdout"
25426 # mode. It turns out that the SunPro C++ compiler does not properly
25427 # handle `-M -o', and we need to detect this.
25428 if depmode
=$depmode \
25429 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
25430 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
25431 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
25432 >/dev
/null
2>conftest.err
&&
25433 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
25434 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
25435 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
25436 # icc doesn't choke on unknown options, it will just issue warnings
25437 # or remarks (even with -Werror). So we grep stderr for any message
25438 # that says an option was ignored or not supported.
25439 # When given -MP, icc 7.0 and 7.1 complain thusly:
25440 # icc: Command line warning: ignoring option '-M'; no argument required
25441 # The diagnosis changed in icc 8.0:
25442 # icc: Command line remark: option '-MP' not supported
25443 if (grep 'ignoring option' conftest.err ||
25444 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
25445 am_cv_GCJ_dependencies_compiler_type
=$depmode
25452 rm -rf conftest.dir
25454 am_cv_GCJ_dependencies_compiler_type
=none
25458 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
25459 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
25460 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
25465 test "x$enable_dependency_tracking" != xno \
25466 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
25467 am__fastdepGCJ_TRUE
=
25468 am__fastdepGCJ_FALSE
='#'
25470 am__fastdepGCJ_TRUE
='#'
25471 am__fastdepGCJ_FALSE
=
25478 rm -f gnu
/classpath
/Configuration.java
25480 CPPFLAGS
=$GCJ_SAVE_CPPFLAGS
25482 echo "$as_me:$LINENO: checking for void *" >&5
25483 echo $ECHO_N "checking for void *... $ECHO_C" >&6
25484 if test "${ac_cv_type_void_p+set}" = set; then
25485 echo $ECHO_N "(cached) $ECHO_C" >&6
25487 cat >conftest.
$ac_ext <<_ACEOF
25490 cat confdefs.h
>>conftest.
$ac_ext
25491 cat >>conftest.
$ac_ext <<_ACEOF
25492 /* end confdefs.h. */
25493 $ac_includes_default
25499 if (sizeof (void *))
25505 rm -f conftest.
$ac_objext
25506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25507 (eval $ac_compile) 2>conftest.er1
25509 grep -v '^ *+' conftest.er1
>conftest.err
25511 cat conftest.err
>&5
25512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25513 (exit $ac_status); } &&
25514 { ac_try
='test -z "$ac_c_werror_flag"
25515 || test ! -s conftest.err'
25516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25517 (eval $ac_try) 2>&5
25519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25520 (exit $ac_status); }; } &&
25521 { ac_try
='test -s conftest.$ac_objext'
25522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25523 (eval $ac_try) 2>&5
25525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25526 (exit $ac_status); }; }; then
25527 ac_cv_type_void_p
=yes
25529 echo "$as_me: failed program was:" >&5
25530 sed 's/^/| /' conftest.
$ac_ext >&5
25532 ac_cv_type_void_p
=no
25534 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25536 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
25537 echo "${ECHO_T}$ac_cv_type_void_p" >&6
25539 echo "$as_me:$LINENO: checking size of void *" >&5
25540 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
25541 if test "${ac_cv_sizeof_void_p+set}" = set; then
25542 echo $ECHO_N "(cached) $ECHO_C" >&6
25544 if test "$ac_cv_type_void_p" = yes; then
25545 # The cast to unsigned long works around a bug in the HP C Compiler
25546 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25547 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25548 # This bug is HP SR number 8606223364.
25549 if test "$cross_compiling" = yes; then
25550 # Depending upon the size, compute the lo and hi bounds.
25551 cat >conftest.
$ac_ext <<_ACEOF
25554 cat confdefs.h
>>conftest.
$ac_ext
25555 cat >>conftest.
$ac_ext <<_ACEOF
25556 /* end confdefs.h. */
25557 $ac_includes_default
25561 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
25568 rm -f conftest.
$ac_objext
25569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25570 (eval $ac_compile) 2>conftest.er1
25572 grep -v '^ *+' conftest.er1
>conftest.err
25574 cat conftest.err
>&5
25575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25576 (exit $ac_status); } &&
25577 { ac_try
='test -z "$ac_c_werror_flag"
25578 || test ! -s conftest.err'
25579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25580 (eval $ac_try) 2>&5
25582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25583 (exit $ac_status); }; } &&
25584 { ac_try
='test -s conftest.$ac_objext'
25585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25586 (eval $ac_try) 2>&5
25588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25589 (exit $ac_status); }; }; then
25592 cat >conftest.
$ac_ext <<_ACEOF
25595 cat confdefs.h
>>conftest.
$ac_ext
25596 cat >>conftest.
$ac_ext <<_ACEOF
25597 /* end confdefs.h. */
25598 $ac_includes_default
25602 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
25609 rm -f conftest.
$ac_objext
25610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25611 (eval $ac_compile) 2>conftest.er1
25613 grep -v '^ *+' conftest.er1
>conftest.err
25615 cat conftest.err
>&5
25616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25617 (exit $ac_status); } &&
25618 { ac_try
='test -z "$ac_c_werror_flag"
25619 || test ! -s conftest.err'
25620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25621 (eval $ac_try) 2>&5
25623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25624 (exit $ac_status); }; } &&
25625 { ac_try
='test -s conftest.$ac_objext'
25626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25627 (eval $ac_try) 2>&5
25629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25630 (exit $ac_status); }; }; then
25631 ac_hi
=$ac_mid; break
25633 echo "$as_me: failed program was:" >&5
25634 sed 's/^/| /' conftest.
$ac_ext >&5
25636 ac_lo
=`expr $ac_mid + 1`
25637 if test $ac_lo -le $ac_mid; then
25641 ac_mid
=`expr 2 '*' $ac_mid + 1`
25643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25646 echo "$as_me: failed program was:" >&5
25647 sed 's/^/| /' conftest.
$ac_ext >&5
25649 cat >conftest.
$ac_ext <<_ACEOF
25652 cat confdefs.h
>>conftest.
$ac_ext
25653 cat >>conftest.
$ac_ext <<_ACEOF
25654 /* end confdefs.h. */
25655 $ac_includes_default
25659 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
25666 rm -f conftest.
$ac_objext
25667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25668 (eval $ac_compile) 2>conftest.er1
25670 grep -v '^ *+' conftest.er1
>conftest.err
25672 cat conftest.err
>&5
25673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25674 (exit $ac_status); } &&
25675 { ac_try
='test -z "$ac_c_werror_flag"
25676 || test ! -s conftest.err'
25677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25678 (eval $ac_try) 2>&5
25680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25681 (exit $ac_status); }; } &&
25682 { ac_try
='test -s conftest.$ac_objext'
25683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25684 (eval $ac_try) 2>&5
25686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25687 (exit $ac_status); }; }; then
25690 cat >conftest.
$ac_ext <<_ACEOF
25693 cat confdefs.h
>>conftest.
$ac_ext
25694 cat >>conftest.
$ac_ext <<_ACEOF
25695 /* end confdefs.h. */
25696 $ac_includes_default
25700 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
25707 rm -f conftest.
$ac_objext
25708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25709 (eval $ac_compile) 2>conftest.er1
25711 grep -v '^ *+' conftest.er1
>conftest.err
25713 cat conftest.err
>&5
25714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25715 (exit $ac_status); } &&
25716 { ac_try
='test -z "$ac_c_werror_flag"
25717 || test ! -s conftest.err'
25718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25719 (eval $ac_try) 2>&5
25721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25722 (exit $ac_status); }; } &&
25723 { ac_try
='test -s conftest.$ac_objext'
25724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25725 (eval $ac_try) 2>&5
25727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25728 (exit $ac_status); }; }; then
25729 ac_lo
=$ac_mid; break
25731 echo "$as_me: failed program was:" >&5
25732 sed 's/^/| /' conftest.
$ac_ext >&5
25734 ac_hi
=`expr '(' $ac_mid ')' - 1`
25735 if test $ac_mid -le $ac_hi; then
25739 ac_mid
=`expr 2 '*' $ac_mid`
25741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25744 echo "$as_me: failed program was:" >&5
25745 sed 's/^/| /' conftest.
$ac_ext >&5
25749 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25752 # Binary search between lo and hi bounds.
25753 while test "x$ac_lo" != "x$ac_hi"; do
25754 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25755 cat >conftest.
$ac_ext <<_ACEOF
25758 cat confdefs.h
>>conftest.
$ac_ext
25759 cat >>conftest.
$ac_ext <<_ACEOF
25760 /* end confdefs.h. */
25761 $ac_includes_default
25765 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
25772 rm -f conftest.
$ac_objext
25773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25774 (eval $ac_compile) 2>conftest.er1
25776 grep -v '^ *+' conftest.er1
>conftest.err
25778 cat conftest.err
>&5
25779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25780 (exit $ac_status); } &&
25781 { ac_try
='test -z "$ac_c_werror_flag"
25782 || test ! -s conftest.err'
25783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25784 (eval $ac_try) 2>&5
25786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25787 (exit $ac_status); }; } &&
25788 { ac_try
='test -s conftest.$ac_objext'
25789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25790 (eval $ac_try) 2>&5
25792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25793 (exit $ac_status); }; }; then
25796 echo "$as_me: failed program was:" >&5
25797 sed 's/^/| /' conftest.
$ac_ext >&5
25799 ac_lo
=`expr '(' $ac_mid ')' + 1`
25801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25804 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
25805 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
25806 See \`config.log' for more details." >&5
25807 echo "$as_me: error: cannot compute sizeof (void *), 77
25808 See \`config.log' for more details." >&2;}
25809 { (exit 1); exit 1; }; } ;;
25812 if test "$cross_compiling" = yes; then
25813 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25814 See \`config.log' for more details." >&5
25815 echo "$as_me: error: cannot run test program while cross compiling
25816 See \`config.log' for more details." >&2;}
25817 { (exit 1); exit 1; }; }
25819 cat >conftest.
$ac_ext <<_ACEOF
25822 cat confdefs.h
>>conftest.
$ac_ext
25823 cat >>conftest.
$ac_ext <<_ACEOF
25824 /* end confdefs.h. */
25825 $ac_includes_default
25826 long longval () { return (long) (sizeof (void *)); }
25827 unsigned long ulongval () { return (long) (sizeof (void *)); }
25829 #include <stdlib.h>
25834 FILE *f = fopen ("conftest.val", "w");
25837 if (((long) (sizeof (void *))) < 0)
25839 long i = longval ();
25840 if (i != ((long) (sizeof (void *))))
25842 fprintf (f, "%ld\n", i);
25846 unsigned long i = ulongval ();
25847 if (i != ((long) (sizeof (void *))))
25849 fprintf (f, "%lu\n", i);
25851 exit (ferror (f) || fclose (f) != 0);
25857 rm -f conftest
$ac_exeext
25858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25859 (eval $ac_link) 2>&5
25861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25862 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25864 (eval $ac_try) 2>&5
25866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25867 (exit $ac_status); }; }; then
25868 ac_cv_sizeof_void_p
=`cat conftest.val`
25870 echo "$as_me: program exited with status $ac_status" >&5
25871 echo "$as_me: failed program was:" >&5
25872 sed 's/^/| /' conftest.
$ac_ext >&5
25874 ( exit $ac_status )
25875 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
25876 See \`config.log' for more details." >&5
25877 echo "$as_me: error: cannot compute sizeof (void *), 77
25878 See \`config.log' for more details." >&2;}
25879 { (exit 1); exit 1; }; }
25881 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25886 ac_cv_sizeof_void_p
=0
25889 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
25890 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
25891 cat >>confdefs.h
<<_ACEOF
25892 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
25897 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25898 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
25899 if test "${ac_cv_c_bigendian+set}" = set; then
25900 echo $ECHO_N "(cached) $ECHO_C" >&6
25902 # See if sys/param.h defines the BYTE_ORDER macro.
25903 cat >conftest.
$ac_ext <<_ACEOF
25906 cat confdefs.h
>>conftest.
$ac_ext
25907 cat >>conftest.
$ac_ext <<_ACEOF
25908 /* end confdefs.h. */
25909 #include <sys/types.h>
25910 #include <sys/param.h>
25915 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25916 bogus endian macros
25923 rm -f conftest.
$ac_objext
25924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25925 (eval $ac_compile) 2>conftest.er1
25927 grep -v '^ *+' conftest.er1
>conftest.err
25929 cat conftest.err
>&5
25930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25931 (exit $ac_status); } &&
25932 { ac_try
='test -z "$ac_c_werror_flag"
25933 || test ! -s conftest.err'
25934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25935 (eval $ac_try) 2>&5
25937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25938 (exit $ac_status); }; } &&
25939 { ac_try
='test -s conftest.$ac_objext'
25940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25941 (eval $ac_try) 2>&5
25943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25944 (exit $ac_status); }; }; then
25945 # It does; now see whether it defined to BIG_ENDIAN or not.
25946 cat >conftest.
$ac_ext <<_ACEOF
25949 cat confdefs.h
>>conftest.
$ac_ext
25950 cat >>conftest.
$ac_ext <<_ACEOF
25951 /* end confdefs.h. */
25952 #include <sys/types.h>
25953 #include <sys/param.h>
25958 #if BYTE_ORDER != BIG_ENDIAN
25966 rm -f conftest.
$ac_objext
25967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25968 (eval $ac_compile) 2>conftest.er1
25970 grep -v '^ *+' conftest.er1
>conftest.err
25972 cat conftest.err
>&5
25973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25974 (exit $ac_status); } &&
25975 { ac_try
='test -z "$ac_c_werror_flag"
25976 || test ! -s conftest.err'
25977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25978 (eval $ac_try) 2>&5
25980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25981 (exit $ac_status); }; } &&
25982 { ac_try
='test -s conftest.$ac_objext'
25983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25984 (eval $ac_try) 2>&5
25986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25987 (exit $ac_status); }; }; then
25988 ac_cv_c_bigendian
=yes
25990 echo "$as_me: failed program was:" >&5
25991 sed 's/^/| /' conftest.
$ac_ext >&5
25993 ac_cv_c_bigendian
=no
25995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25997 echo "$as_me: failed program was:" >&5
25998 sed 's/^/| /' conftest.
$ac_ext >&5
26000 # It does not; compile a test program.
26001 if test "$cross_compiling" = yes; then
26002 # try to guess the endianness by grepping values into an object file
26003 ac_cv_c_bigendian
=unknown
26004 cat >conftest.
$ac_ext <<_ACEOF
26007 cat confdefs.h
>>conftest.
$ac_ext
26008 cat >>conftest.
$ac_ext <<_ACEOF
26009 /* end confdefs.h. */
26010 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
26011 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
26012 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
26013 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
26014 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
26015 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
26019 _ascii (); _ebcdic ();
26024 rm -f conftest.
$ac_objext
26025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26026 (eval $ac_compile) 2>conftest.er1
26028 grep -v '^ *+' conftest.er1
>conftest.err
26030 cat conftest.err
>&5
26031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26032 (exit $ac_status); } &&
26033 { ac_try
='test -z "$ac_c_werror_flag"
26034 || test ! -s conftest.err'
26035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26036 (eval $ac_try) 2>&5
26038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26039 (exit $ac_status); }; } &&
26040 { ac_try
='test -s conftest.$ac_objext'
26041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26042 (eval $ac_try) 2>&5
26044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26045 (exit $ac_status); }; }; then
26046 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
26047 ac_cv_c_bigendian
=yes
26049 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
26050 if test "$ac_cv_c_bigendian" = unknown
; then
26051 ac_cv_c_bigendian
=no
26053 # finding both strings is unlikely to happen, but who knows?
26054 ac_cv_c_bigendian
=unknown
26058 echo "$as_me: failed program was:" >&5
26059 sed 's/^/| /' conftest.
$ac_ext >&5
26062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26064 cat >conftest.
$ac_ext <<_ACEOF
26067 cat confdefs.h
>>conftest.
$ac_ext
26068 cat >>conftest.
$ac_ext <<_ACEOF
26069 /* end confdefs.h. */
26073 /* Are we little or big endian? From Harbison&Steele. */
26077 char c[sizeof (long)];
26080 exit (u.c[sizeof (long) - 1] == 1);
26083 rm -f conftest
$ac_exeext
26084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26085 (eval $ac_link) 2>&5
26087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26088 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26090 (eval $ac_try) 2>&5
26092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26093 (exit $ac_status); }; }; then
26094 ac_cv_c_bigendian
=no
26096 echo "$as_me: program exited with status $ac_status" >&5
26097 echo "$as_me: failed program was:" >&5
26098 sed 's/^/| /' conftest.
$ac_ext >&5
26100 ( exit $ac_status )
26101 ac_cv_c_bigendian
=yes
26103 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26108 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26109 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
26110 case $ac_cv_c_bigendian in
26113 cat >>confdefs.h
<<\_ACEOF
26114 #define WORDS_BIGENDIAN 1
26120 { { echo "$as_me:$LINENO: error: unknown endianness
26121 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
26122 echo "$as_me: error: unknown endianness
26123 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
26124 { (exit 1); exit 1; }; } ;;
26132 if test -z "$ZLIBSPEC"; then
26133 # Use zlib from the GCC tree.
26134 ZINCS
='-I$(top_srcdir)/../zlib'
26135 ZLIBS
=..
/zlib
/libzgcj_convenience.la
26138 SYS_ZLIBS
="$ZLIBSPEC"
26151 if test "$NATIVE" = yes; then
26161 if test "$enable_shared" = yes; then
26162 ENABLE_SHARED_TRUE
=
26163 ENABLE_SHARED_FALSE
='#'
26165 ENABLE_SHARED_TRUE
='#'
26166 ENABLE_SHARED_FALSE
=
26171 if test "$NEEDS_DATA_START" = yes && test "$NATIVE" = yes; then
26172 NEEDS_DATA_START_TRUE
=
26173 NEEDS_DATA_START_FALSE
='#'
26175 NEEDS_DATA_START_TRUE
='#'
26176 NEEDS_DATA_START_FALSE
=
26181 # Process the option "--enable-version-specific-runtime-libs"
26182 # Calculate toolexeclibdir
26183 case ${version_specific_libs} in
26185 # Need the gcc compiler version to know where to install libraries
26186 # and header files if --enable-version-specific-runtime-libs option
26188 includedir
='$(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/include/'
26189 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
26190 toolexecmainlibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
26191 toolexeclibdir
=$toolexecmainlibdir
26194 if test -n "$with_cross_host" &&
26195 test x
"$with_cross_host" != x
"no"; then
26196 # Install a library built with a cross compiler in tooldir, not libdir.
26197 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
26198 toolexecmainlibdir
='$(toolexecdir)/lib'
26200 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
26201 toolexecmainlibdir
='$(libdir)'
26203 multi_os_directory
=`$CC -print-multi-os-directory`
26204 case $multi_os_directory in
26205 .
) toolexeclibdir
=$toolexecmainlibdir ;; # Avoid trailing /.
26206 *) toolexeclibdir
=$toolexecmainlibdir/$multi_os_directory ;;
26214 # Determine gcj and libgcj version number.
26215 gcjversion
=`cat "$srcdir/../gcc/BASE-VER"`
26216 libgcj_soversion
=`awk -F: '/^[^#].*:/ { print $1 }' $srcdir/libtool-version`
26217 GCJVERSION
=$gcjversion
26220 cat >>confdefs.h
<<_ACEOF
26221 #define GCJVERSION "$GCJVERSION"
26225 # Determine where the standard .db file and GNU Classpath JNI
26226 # libraries are found.
26227 gcjsubdir
=gcj-
$gcjversion-$libgcj_soversion
26228 multi_os_directory
=`$CC -print-multi-os-directory`
26229 case $multi_os_directory in
26231 dbexecdir
='$(libdir)/'$gcjsubdir # Avoid /.
26234 dbexecdir
='$(libdir)/'$multi_os_directory/$gcjsubdir
26240 cat >>confdefs.h
<<\_ACEOF
26241 #define JV_VERSION "1.5.0"
26245 cat >>confdefs.h
<<\_ACEOF
26246 #define JV_API_VERSION "1.5"
26251 case "${with_gxx_include_dir}" in
26253 { { echo "$as_me:$LINENO: error: --with-gxx-include-dir=[dir] requires a directory" >&5
26254 echo "$as_me: error: --with-gxx-include-dir=[dir] requires a directory" >&2;}
26255 { (exit 1); exit 1; }; }
26258 case "${enable_version_specific_runtime_libs}" in
26259 yes) gxx_include_dir
='$(libsubdir)/include/c++' ;;
26261 libstdcxx_incdir
='c++/$(gcc_version)'
26262 gxx_include_dir
='include/$(libstdcxx_incdir)'
26263 if test -n "$with_cross_host" &&
26264 test x
"$with_cross_host" != x
"no"; then
26265 gxx_include_dir
='${prefix}/${target_alias}/'"$gxx_include_dir"
26267 gxx_include_dir
='${prefix}/'"$gxx_include_dir"
26270 *) gxx_include_dir
=${with_gxx_include_dir} ;;
26276 # We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
26277 # On that system, sys/ioctl.h will not include sys/filio.h unless
26278 # BSD_COMP is defined; just including sys/filio.h is simpler.
26279 # We avoid AC_HEADER_DIRENT since we really only care about dirent.h
26280 # for now. If you change this, you also must update natFile.cc.
26304 for ac_header
in unistd.h bstring.h sys
/time.h sys
/types.h fcntl.h \
26305 sys
/ioctl.h sys
/filio.h sys
/stat.h sys
/select.h \
26306 sys
/socket.h netinet
/in.h arpa
/inet.h netdb.h net
/if.h \
26307 pwd.h sys
/config.h stdint.h langinfo.h locale.h \
26308 dirent.h sys
/rw_lock.h magic.h ifaddrs.h
26310 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26312 echo "$as_me:$LINENO: checking for $ac_header" >&5
26313 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26314 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26315 echo $ECHO_N "(cached) $ECHO_C" >&6
26317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26318 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26320 # Is the header compilable?
26321 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26322 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26323 cat >conftest.
$ac_ext <<_ACEOF
26326 cat confdefs.h
>>conftest.
$ac_ext
26327 cat >>conftest.
$ac_ext <<_ACEOF
26328 /* end confdefs.h. */
26329 $ac_includes_default
26330 #include <$ac_header>
26332 rm -f conftest.
$ac_objext
26333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26334 (eval $ac_compile) 2>conftest.er1
26336 grep -v '^ *+' conftest.er1
>conftest.err
26338 cat conftest.err
>&5
26339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26340 (exit $ac_status); } &&
26341 { ac_try
='test -z "$ac_c_werror_flag"
26342 || test ! -s conftest.err'
26343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26344 (eval $ac_try) 2>&5
26346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26347 (exit $ac_status); }; } &&
26348 { ac_try
='test -s conftest.$ac_objext'
26349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26350 (eval $ac_try) 2>&5
26352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26353 (exit $ac_status); }; }; then
26354 ac_header_compiler
=yes
26356 echo "$as_me: failed program was:" >&5
26357 sed 's/^/| /' conftest.
$ac_ext >&5
26359 ac_header_compiler
=no
26361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26362 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26363 echo "${ECHO_T}$ac_header_compiler" >&6
26365 # Is the header present?
26366 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26367 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26368 cat >conftest.
$ac_ext <<_ACEOF
26371 cat confdefs.h
>>conftest.
$ac_ext
26372 cat >>conftest.
$ac_ext <<_ACEOF
26373 /* end confdefs.h. */
26374 #include <$ac_header>
26376 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26377 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26379 grep -v '^ *+' conftest.er1
>conftest.err
26381 cat conftest.err
>&5
26382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26383 (exit $ac_status); } >/dev
/null
; then
26384 if test -s conftest.err
; then
26385 ac_cpp_err
=$ac_c_preproc_warn_flag
26386 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26393 if test -z "$ac_cpp_err"; then
26394 ac_header_preproc
=yes
26396 echo "$as_me: failed program was:" >&5
26397 sed 's/^/| /' conftest.
$ac_ext >&5
26399 ac_header_preproc
=no
26401 rm -f conftest.err conftest.
$ac_ext
26402 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26403 echo "${ECHO_T}$ac_header_preproc" >&6
26405 # So? What about this header?
26406 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26408 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26409 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26410 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26411 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26412 ac_header_preproc
=yes
26415 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26416 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26417 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26418 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26419 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26420 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26421 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26422 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26423 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26424 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26425 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26426 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26429 ## ---------------------------------- ##
26430 ## Report this to the libjava lists. ##
26431 ## ---------------------------------- ##
26434 sed "s/^/$as_me: WARNING: /" >&2
26437 echo "$as_me:$LINENO: checking for $ac_header" >&5
26438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26439 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26440 echo $ECHO_N "(cached) $ECHO_C" >&6
26442 eval "$as_ac_Header=\$ac_header_preproc"
26444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26445 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26448 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26449 cat >>confdefs.h
<<_ACEOF
26450 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26458 for ac_header
in inttypes.h
26460 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26462 echo "$as_me:$LINENO: checking for $ac_header" >&5
26463 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26464 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26465 echo $ECHO_N "(cached) $ECHO_C" >&6
26467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26468 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26470 # Is the header compilable?
26471 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26472 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26473 cat >conftest.
$ac_ext <<_ACEOF
26476 cat confdefs.h
>>conftest.
$ac_ext
26477 cat >>conftest.
$ac_ext <<_ACEOF
26478 /* end confdefs.h. */
26479 $ac_includes_default
26480 #include <$ac_header>
26482 rm -f conftest.
$ac_objext
26483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26484 (eval $ac_compile) 2>conftest.er1
26486 grep -v '^ *+' conftest.er1
>conftest.err
26488 cat conftest.err
>&5
26489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26490 (exit $ac_status); } &&
26491 { ac_try
='test -z "$ac_c_werror_flag"
26492 || test ! -s conftest.err'
26493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26494 (eval $ac_try) 2>&5
26496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26497 (exit $ac_status); }; } &&
26498 { ac_try
='test -s conftest.$ac_objext'
26499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26500 (eval $ac_try) 2>&5
26502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26503 (exit $ac_status); }; }; then
26504 ac_header_compiler
=yes
26506 echo "$as_me: failed program was:" >&5
26507 sed 's/^/| /' conftest.
$ac_ext >&5
26509 ac_header_compiler
=no
26511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26512 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26513 echo "${ECHO_T}$ac_header_compiler" >&6
26515 # Is the header present?
26516 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26517 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26518 cat >conftest.
$ac_ext <<_ACEOF
26521 cat confdefs.h
>>conftest.
$ac_ext
26522 cat >>conftest.
$ac_ext <<_ACEOF
26523 /* end confdefs.h. */
26524 #include <$ac_header>
26526 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26527 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26529 grep -v '^ *+' conftest.er1
>conftest.err
26531 cat conftest.err
>&5
26532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26533 (exit $ac_status); } >/dev
/null
; then
26534 if test -s conftest.err
; then
26535 ac_cpp_err
=$ac_c_preproc_warn_flag
26536 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26543 if test -z "$ac_cpp_err"; then
26544 ac_header_preproc
=yes
26546 echo "$as_me: failed program was:" >&5
26547 sed 's/^/| /' conftest.
$ac_ext >&5
26549 ac_header_preproc
=no
26551 rm -f conftest.err conftest.
$ac_ext
26552 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26553 echo "${ECHO_T}$ac_header_preproc" >&6
26555 # So? What about this header?
26556 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26558 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26559 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26560 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26561 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26562 ac_header_preproc
=yes
26565 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26566 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26567 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26568 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26569 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26570 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26571 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26572 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26573 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26574 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26575 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26576 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26579 ## ---------------------------------- ##
26580 ## Report this to the libjava lists. ##
26581 ## ---------------------------------- ##
26584 sed "s/^/$as_me: WARNING: /" >&2
26587 echo "$as_me:$LINENO: checking for $ac_header" >&5
26588 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26589 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26590 echo $ECHO_N "(cached) $ECHO_C" >&6
26592 eval "$as_ac_Header=\$ac_header_preproc"
26594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26595 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26598 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26599 cat >>confdefs.h
<<_ACEOF
26600 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26604 cat >>confdefs.h
<<\_ACEOF
26605 #define HAVE_INTTYPES_H 1
26609 cat >>confdefs.h
<<\_ACEOF
26610 #define JV_HAVE_INTTYPES_H 1
26619 echo "$as_me:$LINENO: checking for ssize_t" >&5
26620 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
26621 if test "${ac_cv_type_ssize_t+set}" = set; then
26622 echo $ECHO_N "(cached) $ECHO_C" >&6
26624 cat >conftest.
$ac_ext <<_ACEOF
26627 cat confdefs.h
>>conftest.
$ac_ext
26628 cat >>conftest.
$ac_ext <<_ACEOF
26629 /* end confdefs.h. */
26630 $ac_includes_default
26636 if (sizeof (ssize_t))
26642 rm -f conftest.
$ac_objext
26643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26644 (eval $ac_compile) 2>conftest.er1
26646 grep -v '^ *+' conftest.er1
>conftest.err
26648 cat conftest.err
>&5
26649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26650 (exit $ac_status); } &&
26651 { ac_try
='test -z "$ac_c_werror_flag"
26652 || test ! -s conftest.err'
26653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26654 (eval $ac_try) 2>&5
26656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26657 (exit $ac_status); }; } &&
26658 { ac_try
='test -s conftest.$ac_objext'
26659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26660 (eval $ac_try) 2>&5
26662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26663 (exit $ac_status); }; }; then
26664 ac_cv_type_ssize_t
=yes
26666 echo "$as_me: failed program was:" >&5
26667 sed 's/^/| /' conftest.
$ac_ext >&5
26669 ac_cv_type_ssize_t
=no
26671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26673 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
26674 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
26675 if test $ac_cv_type_ssize_t = yes; then
26679 cat >>confdefs.h
<<_ACEOF
26680 #define ssize_t int
26685 echo "$as_me:$LINENO: checking for magic_t" >&5
26686 echo $ECHO_N "checking for magic_t... $ECHO_C" >&6
26687 if test "${ac_cv_type_magic_t+set}" = set; then
26688 echo $ECHO_N "(cached) $ECHO_C" >&6
26690 cat >conftest.
$ac_ext <<_ACEOF
26693 cat confdefs.h
>>conftest.
$ac_ext
26694 cat >>conftest.
$ac_ext <<_ACEOF
26695 /* end confdefs.h. */
26697 #ifdef HAVE_MAGIC_H
26706 if (sizeof (magic_t))
26712 rm -f conftest.
$ac_objext
26713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26714 (eval $ac_compile) 2>conftest.er1
26716 grep -v '^ *+' conftest.er1
>conftest.err
26718 cat conftest.err
>&5
26719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26720 (exit $ac_status); } &&
26721 { ac_try
='test -z "$ac_c_werror_flag"
26722 || test ! -s conftest.err'
26723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26724 (eval $ac_try) 2>&5
26726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26727 (exit $ac_status); }; } &&
26728 { ac_try
='test -s conftest.$ac_objext'
26729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26730 (eval $ac_try) 2>&5
26732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26733 (exit $ac_status); }; }; then
26734 ac_cv_type_magic_t
=yes
26736 echo "$as_me: failed program was:" >&5
26737 sed 's/^/| /' conftest.
$ac_ext >&5
26739 ac_cv_type_magic_t
=no
26741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26743 echo "$as_me:$LINENO: result: $ac_cv_type_magic_t" >&5
26744 echo "${ECHO_T}$ac_cv_type_magic_t" >&6
26745 if test $ac_cv_type_magic_t = yes; then
26748 cat >>confdefs.h
<<\_ACEOF
26749 #define HAVE_MAGIC_T 1
26755 echo "$as_me:$LINENO: checking for in_addr_t" >&5
26756 echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6
26757 cat >conftest.
$ac_ext <<_ACEOF
26760 cat confdefs.h
>>conftest.
$ac_ext
26761 cat >>conftest.
$ac_ext <<_ACEOF
26762 /* end confdefs.h. */
26763 #include <sys/types.h>
26765 #include <stdlib.h>
26766 #include <stddef.h>
26768 #if HAVE_NETINET_IN_H
26769 #include <netinet/in.h>
26779 rm -f conftest.
$ac_objext
26780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26781 (eval $ac_compile) 2>conftest.er1
26783 grep -v '^ *+' conftest.er1
>conftest.err
26785 cat conftest.err
>&5
26786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26787 (exit $ac_status); } &&
26788 { ac_try
='test -z "$ac_c_werror_flag"
26789 || test ! -s conftest.err'
26790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26791 (eval $ac_try) 2>&5
26793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26794 (exit $ac_status); }; } &&
26795 { ac_try
='test -s conftest.$ac_objext'
26796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26797 (eval $ac_try) 2>&5
26799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26800 (exit $ac_status); }; }; then
26802 cat >>confdefs.h
<<\_ACEOF
26803 #define HAVE_IN_ADDR_T 1
26806 echo "$as_me:$LINENO: result: yes" >&5
26807 echo "${ECHO_T}yes" >&6
26809 echo "$as_me: failed program was:" >&5
26810 sed 's/^/| /' conftest.
$ac_ext >&5
26812 echo "$as_me:$LINENO: result: no" >&5
26813 echo "${ECHO_T}no" >&6
26815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26817 echo "$as_me:$LINENO: checking whether struct ip_mreq is in netinet/in.h" >&5
26818 echo $ECHO_N "checking whether struct ip_mreq is in netinet/in.h... $ECHO_C" >&6
26819 cat >conftest.
$ac_ext <<_ACEOF
26822 cat confdefs.h
>>conftest.
$ac_ext
26823 cat >>conftest.
$ac_ext <<_ACEOF
26824 /* end confdefs.h. */
26825 #include <netinet/in.h>
26829 struct ip_mreq mreq;
26834 rm -f conftest.
$ac_objext
26835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26836 (eval $ac_compile) 2>conftest.er1
26838 grep -v '^ *+' conftest.er1
>conftest.err
26840 cat conftest.err
>&5
26841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26842 (exit $ac_status); } &&
26843 { ac_try
='test -z "$ac_c_werror_flag"
26844 || test ! -s conftest.err'
26845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26846 (eval $ac_try) 2>&5
26848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26849 (exit $ac_status); }; } &&
26850 { ac_try
='test -s conftest.$ac_objext'
26851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26852 (eval $ac_try) 2>&5
26854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26855 (exit $ac_status); }; }; then
26857 cat >>confdefs.h
<<\_ACEOF
26858 #define HAVE_STRUCT_IP_MREQ 1
26861 echo "$as_me:$LINENO: result: yes" >&5
26862 echo "${ECHO_T}yes" >&6
26864 echo "$as_me: failed program was:" >&5
26865 sed 's/^/| /' conftest.
$ac_ext >&5
26867 echo "$as_me:$LINENO: result: no" >&5
26868 echo "${ECHO_T}no" >&6
26870 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26872 echo "$as_me:$LINENO: checking whether struct ipv6_mreq is in netinet/in.h" >&5
26873 echo $ECHO_N "checking whether struct ipv6_mreq is in netinet/in.h... $ECHO_C" >&6
26874 cat >conftest.
$ac_ext <<_ACEOF
26877 cat confdefs.h
>>conftest.
$ac_ext
26878 cat >>conftest.
$ac_ext <<_ACEOF
26879 /* end confdefs.h. */
26880 #include <netinet/in.h>
26884 struct ipv6_mreq mreq6;
26889 rm -f conftest.
$ac_objext
26890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26891 (eval $ac_compile) 2>conftest.er1
26893 grep -v '^ *+' conftest.er1
>conftest.err
26895 cat conftest.err
>&5
26896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26897 (exit $ac_status); } &&
26898 { ac_try
='test -z "$ac_c_werror_flag"
26899 || test ! -s conftest.err'
26900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26901 (eval $ac_try) 2>&5
26903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26904 (exit $ac_status); }; } &&
26905 { ac_try
='test -s conftest.$ac_objext'
26906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26907 (eval $ac_try) 2>&5
26909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26910 (exit $ac_status); }; }; then
26912 cat >>confdefs.h
<<\_ACEOF
26913 #define HAVE_STRUCT_IPV6_MREQ 1
26916 echo "$as_me:$LINENO: result: yes" >&5
26917 echo "${ECHO_T}yes" >&6
26919 echo "$as_me: failed program was:" >&5
26920 sed 's/^/| /' conftest.
$ac_ext >&5
26922 echo "$as_me:$LINENO: result: no" >&5
26923 echo "${ECHO_T}no" >&6
26925 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26927 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
26928 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
26929 cat >conftest.
$ac_ext <<_ACEOF
26932 cat confdefs.h
>>conftest.
$ac_ext
26933 cat >>conftest.
$ac_ext <<_ACEOF
26934 /* end confdefs.h. */
26935 #include <netinet/in.h>
26939 struct sockaddr_in6 addr6;
26944 rm -f conftest.
$ac_objext
26945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26946 (eval $ac_compile) 2>conftest.er1
26948 grep -v '^ *+' conftest.er1
>conftest.err
26950 cat conftest.err
>&5
26951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26952 (exit $ac_status); } &&
26953 { ac_try
='test -z "$ac_c_werror_flag"
26954 || test ! -s conftest.err'
26955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26956 (eval $ac_try) 2>&5
26958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26959 (exit $ac_status); }; } &&
26960 { ac_try
='test -s conftest.$ac_objext'
26961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26962 (eval $ac_try) 2>&5
26964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26965 (exit $ac_status); }; }; then
26967 cat >>confdefs.h
<<\_ACEOF
26968 #define HAVE_INET6 1
26971 echo "$as_me:$LINENO: result: yes" >&5
26972 echo "${ECHO_T}yes" >&6
26974 echo "$as_me: failed program was:" >&5
26975 sed 's/^/| /' conftest.
$ac_ext >&5
26977 echo "$as_me:$LINENO: result: no" >&5
26978 echo "${ECHO_T}no" >&6
26980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26982 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
26983 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
26984 cat >conftest.
$ac_ext <<_ACEOF
26987 cat confdefs.h
>>conftest.
$ac_ext
26988 cat >>conftest.
$ac_ext <<_ACEOF
26989 /* end confdefs.h. */
26990 #define _POSIX_PII_SOCKET
26991 #include <sys/types.h>
26992 #include <sys/socket.h>
27001 rm -f conftest.
$ac_objext
27002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27003 (eval $ac_compile) 2>conftest.er1
27005 grep -v '^ *+' conftest.er1
>conftest.err
27007 cat conftest.err
>&5
27008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27009 (exit $ac_status); } &&
27010 { ac_try
='test -z "$ac_c_werror_flag"
27011 || test ! -s conftest.err'
27012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27013 (eval $ac_try) 2>&5
27015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27016 (exit $ac_status); }; } &&
27017 { ac_try
='test -s conftest.$ac_objext'
27018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27019 (eval $ac_try) 2>&5
27021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27022 (exit $ac_status); }; }; then
27024 cat >>confdefs.h
<<\_ACEOF
27025 #define HAVE_SOCKLEN_T 1
27028 echo "$as_me:$LINENO: result: yes" >&5
27029 echo "${ECHO_T}yes" >&6
27031 echo "$as_me: failed program was:" >&5
27032 sed 's/^/| /' conftest.
$ac_ext >&5
27034 echo "$as_me:$LINENO: result: no" >&5
27035 echo "${ECHO_T}no" >&6
27037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27039 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
27040 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
27041 cat >conftest.
$ac_ext <<_ACEOF
27044 cat confdefs.h
>>conftest.
$ac_ext
27045 cat >>conftest.
$ac_ext <<_ACEOF
27046 /* end confdefs.h. */
27051 struct tm tim; tim.tm_gmtoff = 0;
27056 rm -f conftest.
$ac_objext
27057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27058 (eval $ac_compile) 2>conftest.er1
27060 grep -v '^ *+' conftest.er1
>conftest.err
27062 cat conftest.err
>&5
27063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27064 (exit $ac_status); } &&
27065 { ac_try
='test -z "$ac_c_werror_flag"
27066 || test ! -s conftest.err'
27067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27068 (eval $ac_try) 2>&5
27070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27071 (exit $ac_status); }; } &&
27072 { ac_try
='test -s conftest.$ac_objext'
27073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27074 (eval $ac_try) 2>&5
27076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27077 (exit $ac_status); }; }; then
27079 cat >>confdefs.h
<<\_ACEOF
27080 #define STRUCT_TM_HAS_GMTOFF 1
27083 echo "$as_me:$LINENO: result: yes" >&5
27084 echo "${ECHO_T}yes" >&6
27086 echo "$as_me: failed program was:" >&5
27087 sed 's/^/| /' conftest.
$ac_ext >&5
27089 echo "$as_me:$LINENO: result: no" >&5
27090 echo "${ECHO_T}no" >&6
27091 echo "$as_me:$LINENO: checking for global timezone variable" >&5
27092 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
27093 cat >conftest.
$ac_ext <<_ACEOF
27096 cat confdefs.h
>>conftest.
$ac_ext
27097 cat >>conftest.
$ac_ext <<_ACEOF
27098 /* end confdefs.h. */
27103 void i(){long z2 = 2*timezone;}
27108 rm -f conftest.
$ac_objext
27109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27110 (eval $ac_compile) 2>conftest.er1
27112 grep -v '^ *+' conftest.er1
>conftest.err
27114 cat conftest.err
>&5
27115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27116 (exit $ac_status); } &&
27117 { ac_try
='test -z "$ac_c_werror_flag"
27118 || test ! -s conftest.err'
27119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27120 (eval $ac_try) 2>&5
27122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27123 (exit $ac_status); }; } &&
27124 { ac_try
='test -s conftest.$ac_objext'
27125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27126 (eval $ac_try) 2>&5
27128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27129 (exit $ac_status); }; }; then
27131 cat >>confdefs.h
<<\_ACEOF
27132 #define HAVE_TIMEZONE 1
27135 echo "$as_me:$LINENO: result: yes" >&5
27136 echo "${ECHO_T}yes" >&6
27138 echo "$as_me: failed program was:" >&5
27139 sed 's/^/| /' conftest.
$ac_ext >&5
27141 echo "$as_me:$LINENO: result: no" >&5
27142 echo "${ECHO_T}no" >&6
27143 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
27144 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
27145 cat >conftest.
$ac_ext <<_ACEOF
27148 cat confdefs.h
>>conftest.
$ac_ext
27149 cat >>conftest.
$ac_ext <<_ACEOF
27150 /* end confdefs.h. */
27155 long z2 = _timezone;
27160 rm -f conftest.
$ac_objext
27161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27162 (eval $ac_compile) 2>conftest.er1
27164 grep -v '^ *+' conftest.er1
>conftest.err
27166 cat conftest.err
>&5
27167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27168 (exit $ac_status); } &&
27169 { ac_try
='test -z "$ac_c_werror_flag"
27170 || test ! -s conftest.err'
27171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27172 (eval $ac_try) 2>&5
27174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27175 (exit $ac_status); }; } &&
27176 { ac_try
='test -s conftest.$ac_objext'
27177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27178 (eval $ac_try) 2>&5
27180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27181 (exit $ac_status); }; }; then
27183 cat >>confdefs.h
<<\_ACEOF
27184 #define HAVE_UNDERSCORE_TIMEZONE 1
27187 echo "$as_me:$LINENO: result: yes" >&5
27188 echo "${ECHO_T}yes" >&6
27190 echo "$as_me: failed program was:" >&5
27191 sed 's/^/| /' conftest.
$ac_ext >&5
27193 echo "$as_me:$LINENO: result: no" >&5
27194 echo "${ECHO_T}no" >&6
27196 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27202 for ac_prog
in perl
27204 # Extract the first word of "$ac_prog", so it can be a program name with args.
27205 set dummy
$ac_prog; ac_word
=$2
27206 echo "$as_me:$LINENO: checking for $ac_word" >&5
27207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27208 if test "${ac_cv_prog_PERL+set}" = set; then
27209 echo $ECHO_N "(cached) $ECHO_C" >&6
27211 if test -n "$PERL"; then
27212 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
27214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27215 for as_dir
in $PATH
27218 test -z "$as_dir" && as_dir
=.
27219 for ac_exec_ext
in '' $ac_executable_extensions; do
27220 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27221 ac_cv_prog_PERL
="$ac_prog"
27222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27230 PERL
=$ac_cv_prog_PERL
27231 if test -n "$PERL"; then
27232 echo "$as_me:$LINENO: result: $PERL" >&5
27233 echo "${ECHO_T}$PERL" >&6
27235 echo "$as_me:$LINENO: result: no" >&5
27236 echo "${ECHO_T}no" >&6
27239 test -n "$PERL" && break
27241 test -n "$PERL" || PERL
="false"
27245 SIGNAL_HANDLER_AUX
=
27249 SIGNAL_HANDLER
=include
/i386-signal.h
27251 sparc
*-sun-solaris*)
27252 SIGNAL_HANDLER
=include
/sparc-signal.h
27255 # SYSDEP_SOURCES=sysdep/ia64.c
27256 # test -d sysdep || mkdir sysdep
27259 SIGNAL_HANDLER
=include
/pa-signal.h
27262 SIGNAL_HANDLER
=include
/hppa-signal.h
27265 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27268 SIGNAL_HANDLER
=include
/powerpc-signal.h
27271 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27274 SIGNAL_HANDLER
=include
/s390-signal.h
27277 SIGNAL_HANDLER
=include
/x86_64-signal.h
27278 SIGNAL_HANDLER_AUX
=include
/i386-signal.h
27281 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27284 SIGNAL_HANDLER
=include
/sh-signal.h
27287 SIGNAL_HANDLER
=include
/win32-signal.h
27290 SIGNAL_HANDLER
=include
/mips-signal.h
27293 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27295 powerpc
*-*-darwin* | i?
86-*-darwin9* | x86_64-
*-darwin9*)
27296 SIGNAL_HANDLER
=include
/darwin-signal.h
27299 SIGNAL_HANDLER
=include
/default-signal.h
27303 # If we're using sjlj exceptions, forget what we just learned.
27304 if test "$enable_sjlj_exceptions" = yes; then
27305 SIGNAL_HANDLER
=include
/default-signal.h
27306 SIGNAL_HANDLER_AUX
=
27311 if test -z "$SIGNAL_HANDLER_AUX"; then
27312 SIGNAL_HANDLER_AUX
=$SIGNAL_HANDLER
27315 ac_config_links
="$ac_config_links include/java-signal.h:$SIGNAL_HANDLER include/java-signal-aux.h:$SIGNAL_HANDLER_AUX"
27318 if test "${multilib}" = "yes"; then
27319 multilib_arg
="--enable-multilib"
27324 # See if we support thread-local storage.
27326 # Check whether --enable-tls or --disable-tls was given.
27327 if test "${enable_tls+set}" = set; then
27328 enableval
="$enable_tls"
27330 case "$enableval" in
27332 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
27333 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
27334 { (exit 1); exit 1; }; } ;;
27341 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
27342 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
27343 if test "${gcc_cv_have_tls+set}" = set; then
27344 echo $ECHO_N "(cached) $ECHO_C" >&6
27347 if test "$cross_compiling" = yes; then
27348 if test x
$gcc_no_link = xyes
; then
27349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27351 { (exit 1); exit 1; }; }
27353 cat >conftest.
$ac_ext <<_ACEOF
27354 __thread int a; int b; int main() { return a = b; }
27356 rm -f conftest.
$ac_objext conftest
$ac_exeext
27357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27358 (eval $ac_link) 2>conftest.er1
27360 grep -v '^ *+' conftest.er1
>conftest.err
27362 cat conftest.err
>&5
27363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27364 (exit $ac_status); } &&
27365 { ac_try
='test -z "$ac_c_werror_flag"
27366 || test ! -s conftest.err'
27367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27368 (eval $ac_try) 2>&5
27370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27371 (exit $ac_status); }; } &&
27372 { ac_try
='test -s conftest$ac_exeext'
27373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27374 (eval $ac_try) 2>&5
27376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27377 (exit $ac_status); }; }; then
27378 gcc_cv_have_tls
=yes
27380 echo "$as_me: failed program was:" >&5
27381 sed 's/^/| /' conftest.
$ac_ext >&5
27385 rm -f conftest.err conftest.
$ac_objext \
27386 conftest
$ac_exeext conftest.
$ac_ext
27390 cat >conftest.
$ac_ext <<_ACEOF
27391 __thread int a; int b; int main() { return a = b; }
27393 rm -f conftest
$ac_exeext
27394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27395 (eval $ac_link) 2>&5
27397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27398 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27400 (eval $ac_try) 2>&5
27402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27403 (exit $ac_status); }; }; then
27404 chktls_save_LDFLAGS
="$LDFLAGS"
27405 LDFLAGS
="-static $LDFLAGS"
27406 if test x
$gcc_no_link = xyes
; then
27407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27409 { (exit 1); exit 1; }; }
27411 cat >conftest.
$ac_ext <<_ACEOF
27412 int main() { return 0; }
27414 rm -f conftest.
$ac_objext conftest
$ac_exeext
27415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27416 (eval $ac_link) 2>conftest.er1
27418 grep -v '^ *+' conftest.er1
>conftest.err
27420 cat conftest.err
>&5
27421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27422 (exit $ac_status); } &&
27423 { ac_try
='test -z "$ac_c_werror_flag"
27424 || test ! -s conftest.err'
27425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27426 (eval $ac_try) 2>&5
27428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27429 (exit $ac_status); }; } &&
27430 { ac_try
='test -s conftest$ac_exeext'
27431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27432 (eval $ac_try) 2>&5
27434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27435 (exit $ac_status); }; }; then
27436 if test "$cross_compiling" = yes; then
27437 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27438 See \`config.log' for more details." >&5
27439 echo "$as_me: error: cannot run test program while cross compiling
27440 See \`config.log' for more details." >&2;}
27441 { (exit 1); exit 1; }; }
27443 cat >conftest.
$ac_ext <<_ACEOF
27444 __thread int a; int b; int main() { return a = b; }
27446 rm -f conftest
$ac_exeext
27447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27448 (eval $ac_link) 2>&5
27450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27451 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27453 (eval $ac_try) 2>&5
27455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27456 (exit $ac_status); }; }; then
27457 gcc_cv_have_tls
=yes
27459 echo "$as_me: program exited with status $ac_status" >&5
27460 echo "$as_me: failed program was:" >&5
27461 sed 's/^/| /' conftest.
$ac_ext >&5
27463 ( exit $ac_status )
27466 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27469 echo "$as_me: failed program was:" >&5
27470 sed 's/^/| /' conftest.
$ac_ext >&5
27472 gcc_cv_have_tls
=yes
27474 rm -f conftest.err conftest.
$ac_objext \
27475 conftest
$ac_exeext conftest.
$ac_ext
27476 LDFLAGS
="$chktls_save_LDFLAGS"
27477 if test $gcc_cv_have_tls = yes; then
27478 chktls_save_CFLAGS
="$CFLAGS"
27479 thread_CFLAGS
=failed
27480 for flag
in '' '-pthread' '-lpthread'; do
27481 CFLAGS
="$flag $chktls_save_CFLAGS"
27482 if test x
$gcc_no_link = xyes
; then
27483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27485 { (exit 1); exit 1; }; }
27487 cat >conftest.
$ac_ext <<_ACEOF
27490 cat confdefs.h
>>conftest.
$ac_ext
27491 cat >>conftest.
$ac_ext <<_ACEOF
27492 /* end confdefs.h. */
27493 #include <pthread.h>
27494 void *g(void *d) { return NULL; }
27498 pthread_t t; pthread_create(&t,NULL,g,NULL);
27503 rm -f conftest.
$ac_objext conftest
$ac_exeext
27504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27505 (eval $ac_link) 2>conftest.er1
27507 grep -v '^ *+' conftest.er1
>conftest.err
27509 cat conftest.err
>&5
27510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27511 (exit $ac_status); } &&
27512 { ac_try
='test -z "$ac_c_werror_flag"
27513 || test ! -s conftest.err'
27514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27515 (eval $ac_try) 2>&5
27517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27518 (exit $ac_status); }; } &&
27519 { ac_try
='test -s conftest$ac_exeext'
27520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27521 (eval $ac_try) 2>&5
27523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27524 (exit $ac_status); }; }; then
27525 thread_CFLAGS
="$flag"
27527 echo "$as_me: failed program was:" >&5
27528 sed 's/^/| /' conftest.
$ac_ext >&5
27531 rm -f conftest.err conftest.
$ac_objext \
27532 conftest
$ac_exeext conftest.
$ac_ext
27533 if test "X$thread_CFLAGS" != Xfailed
; then
27537 CFLAGS
="$chktls_save_CFLAGS"
27538 if test "X$thread_CFLAGS" != Xfailed
; then
27539 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
27540 if test "$cross_compiling" = yes; then
27541 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27542 See \`config.log' for more details." >&5
27543 echo "$as_me: error: cannot run test program while cross compiling
27544 See \`config.log' for more details." >&2;}
27545 { (exit 1); exit 1; }; }
27547 cat >conftest.
$ac_ext <<_ACEOF
27550 cat confdefs.h
>>conftest.
$ac_ext
27551 cat >>conftest.
$ac_ext <<_ACEOF
27552 /* end confdefs.h. */
27553 #include <pthread.h>
27555 static int *a_in_other_thread;
27557 thread_func (void *arg)
27559 a_in_other_thread = &a;
27566 void *thread_retval;
27567 int *a_in_main_thread;
27568 if (pthread_create (&thread, (pthread_attr_t *)0,
27569 thread_func, (void *)0))
27571 a_in_main_thread = &a;
27572 if (pthread_join (thread, &thread_retval))
27574 return (a_in_other_thread == a_in_main_thread);
27579 rm -f conftest
$ac_exeext
27580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27581 (eval $ac_link) 2>&5
27583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27584 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27586 (eval $ac_try) 2>&5
27588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27589 (exit $ac_status); }; }; then
27590 gcc_cv_have_tls
=yes
27592 echo "$as_me: program exited with status $ac_status" >&5
27593 echo "$as_me: failed program was:" >&5
27594 sed 's/^/| /' conftest.
$ac_ext >&5
27596 ( exit $ac_status )
27599 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27601 CFLAGS
="$chktls_save_CFLAGS"
27605 echo "$as_me: program exited with status $ac_status" >&5
27606 echo "$as_me: failed program was:" >&5
27607 sed 's/^/| /' conftest.
$ac_ext >&5
27609 ( exit $ac_status )
27612 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27615 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
27616 echo "${ECHO_T}$gcc_cv_have_tls" >&6
27617 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27619 cat >>confdefs.h
<<\_ACEOF
27625 # For _Unwind_GetIPInfo.
27630 ac_cpp
='$CXXCPP $CPPFLAGS'
27631 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27632 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27633 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27635 ac_save_CXXFLAGS
="$CXXFLAGS"
27636 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
27637 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
27638 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
27639 if test "${gcc_cv_getipinfo+set}" = set; then
27640 echo $ECHO_N "(cached) $ECHO_C" >&6
27643 if test x
$gcc_no_link = xyes
; then
27644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27646 { (exit 1); exit 1; }; }
27648 cat >conftest.
$ac_ext <<_ACEOF
27651 cat confdefs.h
>>conftest.
$ac_ext
27652 cat >>conftest.
$ac_ext <<_ACEOF
27653 /* end confdefs.h. */
27654 extern "C" { extern void _Unwind_GetIPInfo(); }
27658 _Unwind_GetIPInfo();
27663 rm -f conftest.
$ac_objext conftest
$ac_exeext
27664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27665 (eval $ac_link) 2>conftest.er1
27667 grep -v '^ *+' conftest.er1
>conftest.err
27669 cat conftest.err
>&5
27670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27671 (exit $ac_status); } &&
27672 { ac_try
='test -z "$ac_cxx_werror_flag"
27673 || test ! -s conftest.err'
27674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27675 (eval $ac_try) 2>&5
27677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27678 (exit $ac_status); }; } &&
27679 { ac_try
='test -s conftest$ac_exeext'
27680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27681 (eval $ac_try) 2>&5
27683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27684 (exit $ac_status); }; }; then
27685 gcc_cv_getipinfo
=yes
27687 echo "$as_me: failed program was:" >&5
27688 sed 's/^/| /' conftest.
$ac_ext >&5
27690 gcc_cv_getipinfo
=no
27692 rm -f conftest.err conftest.
$ac_objext \
27693 conftest
$ac_exeext conftest.
$ac_ext
27697 if test $gcc_cv_getipinfo = yes; then
27699 cat >>confdefs.h
<<\_ACEOF
27700 #define HAVE_GETIPINFO 1
27704 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
27705 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
27706 CXXFLAGS
="$ac_save_CXXFLAGS"
27708 ac_cpp
='$CPP $CPPFLAGS'
27709 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27710 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27711 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27715 # See if linker supports anonymous version scripts.
27716 echo "$as_me:$LINENO: checking whether ld supports anonymous version scripts" >&5
27717 echo $ECHO_N "checking whether ld supports anonymous version scripts... $ECHO_C" >&6
27718 if test "${libjava_cv_anon_version_script+set}" = set; then
27719 echo $ECHO_N "(cached) $ECHO_C" >&6
27721 save_CFLAGS
="$CFLAGS"; save_LDFLAGS
="$LDFLAGS"
27722 libjava_cv_anon_version_script
=no
27723 CFLAGS
="$CFLAGS -fPIC"; LDFLAGS
="$LDFLAGS -shared -Wl,--version-script,conftest.map"
27724 echo '{ global: globalsymb*; local: *; };' > conftest.map
27725 if test x
$gcc_no_link = xyes
; then
27726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27728 { (exit 1); exit 1; }; }
27730 cat >conftest.
$ac_ext <<_ACEOF
27733 cat confdefs.h
>>conftest.
$ac_ext
27734 cat >>conftest.
$ac_ext <<_ACEOF
27735 /* end confdefs.h. */
27736 void globalsymbol (void) {} void localsymbol (void) {}
27745 rm -f conftest.
$ac_objext conftest
$ac_exeext
27746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27747 (eval $ac_link) 2>conftest.er1
27749 grep -v '^ *+' conftest.er1
>conftest.err
27751 cat conftest.err
>&5
27752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27753 (exit $ac_status); } &&
27754 { ac_try
='test -z "$ac_c_werror_flag"
27755 || test ! -s conftest.err'
27756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27757 (eval $ac_try) 2>&5
27759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27760 (exit $ac_status); }; } &&
27761 { ac_try
='test -s conftest$ac_exeext'
27762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27763 (eval $ac_try) 2>&5
27765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27766 (exit $ac_status); }; }; then
27767 libjava_cv_anon_version_script
=yes
27769 echo "$as_me: failed program was:" >&5
27770 sed 's/^/| /' conftest.
$ac_ext >&5
27773 rm -f conftest.err conftest.
$ac_objext \
27774 conftest
$ac_exeext conftest.
$ac_ext
27775 CFLAGS
="$save_CFLAGS"; LDFLAGS
="$save_LDFLAGS"
27778 echo "$as_me:$LINENO: result: $libjava_cv_anon_version_script" >&5
27779 echo "${ECHO_T}$libjava_cv_anon_version_script" >&6
27782 if test "$libjava_cv_anon_version_script" = yes; then
27783 ANONVERSCRIPT_TRUE
=
27784 ANONVERSCRIPT_FALSE
='#'
27786 ANONVERSCRIPT_TRUE
='#'
27787 ANONVERSCRIPT_FALSE
=
27791 # Check if linker supports static linking on a per library basis
27792 LD_START_STATIC_SPEC
=
27793 LD_FINISH_STATIC_SPEC
=
27794 if $LD --help 2>&1 |
grep -q -e -call_shared ; then
27795 if $LD --help 2>&1 |
grep -q -e -non_shared ; then
27796 LD_START_STATIC_SPEC
='%{static-libgcj:-non_shared}'
27797 LD_FINISH_STATIC_SPEC
='%{static-libgcj:-call_shared}'
27803 here
=`${PWDCMD-pwd}`
27806 # We get this from the environment.
27809 ac_config_files
="$ac_config_files Makefile libgcj.pc libgcj.spec libgcj-test.spec gcj/Makefile include/Makefile testsuite/Makefile"
27812 if test ${multilib} = yes; then
27813 multilib_arg
="--enable-multilib"
27818 ac_config_files
="$ac_config_files scripts/jar"
27820 cat >confcache
<<\_ACEOF
27821 # This file is a shell script that caches the results of configure
27822 # tests run on this system so they can be shared between configure
27823 # scripts and configure runs, see configure's option --config-cache.
27824 # It is not useful on other systems. If it contains results you don't
27825 # want to keep, you may remove or edit it.
27827 # config.status only pays attention to the cache file if you give it
27828 # the --recheck option to rerun configure.
27830 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27831 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27832 # following values.
27836 # The following way of writing the cache mishandles newlines in values,
27837 # but we know of no workaround that is simple, portable, and efficient.
27838 # So, don't put newlines in cache variables' values.
27839 # Ultrix sh set writes to stderr and can't be redirected directly,
27840 # and sets the high bit in the cache file unless we assign to the vars.
27843 case `(ac_space=' '; set | grep ac_space) 2>&1` in
27845 # `set' does not quote correctly, so add quotes (double-quote
27846 # substitution turns \\\\ into \\, and sed turns \\ into \).
27849 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27852 # `set' quotes correctly as required by POSIX, so do not add quotes.
27854 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
27861 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27863 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27865 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
27866 if test -w $cache_file; then
27867 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
27868 cat confcache
>$cache_file
27870 echo "not updating unwritable cache $cache_file"
27875 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
27876 # Let make expand exec_prefix.
27877 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
27879 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27880 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27881 # trailing colons and then remove the whole line if VPATH becomes empty
27882 # (actually we leave an empty line to preserve line numbers).
27883 if test "x$srcdir" = x.
; then
27884 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
27885 s/:*\$(srcdir):*/:/;
27886 s/:*\${srcdir}:*/:/;
27888 s/^\([^=]*=[ ]*\):*/\1/;
27894 DEFS
=-DHAVE_CONFIG_H
27898 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
27899 # 1. Remove the extension, and $U if already installed.
27900 ac_i
=`echo "$ac_i" |
27901 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
27903 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
27904 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
27906 LIBOBJS
=$ac_libobjs
27908 LTLIBOBJS
=$ac_ltlibobjs
27911 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
27912 { { echo "$as_me:$LINENO: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
27913 Usually this means the macro was only invoked conditionally." >&5
27914 echo "$as_me: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
27915 Usually this means the macro was only invoked conditionally." >&2;}
27916 { (exit 1); exit 1; }; }
27918 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
27919 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
27920 Usually this means the macro was only invoked conditionally." >&5
27921 echo "$as_me: error: conditional \"AMDEP\" was never defined.
27922 Usually this means the macro was only invoked conditionally." >&2;}
27923 { (exit 1); exit 1; }; }
27925 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27926 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
27927 Usually this means the macro was only invoked conditionally." >&5
27928 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
27929 Usually this means the macro was only invoked conditionally." >&2;}
27930 { (exit 1); exit 1; }; }
27932 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
27933 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
27934 Usually this means the macro was only invoked conditionally." >&5
27935 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
27936 Usually this means the macro was only invoked conditionally." >&2;}
27937 { (exit 1); exit 1; }; }
27939 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
27940 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
27941 Usually this means the macro was only invoked conditionally." >&5
27942 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
27943 Usually this means the macro was only invoked conditionally." >&2;}
27944 { (exit 1); exit 1; }; }
27946 if test -z "${XLIB_AWT_TRUE}" && test -z "${XLIB_AWT_FALSE}"; then
27947 { { echo "$as_me:$LINENO: error: conditional \"XLIB_AWT\" was never defined.
27948 Usually this means the macro was only invoked conditionally." >&5
27949 echo "$as_me: error: conditional \"XLIB_AWT\" was never defined.
27950 Usually this means the macro was only invoked conditionally." >&2;}
27951 { (exit 1); exit 1; }; }
27953 if test -z "${X_AWT_TRUE}" && test -z "${X_AWT_FALSE}"; then
27954 { { echo "$as_me:$LINENO: error: conditional \"X_AWT\" was never defined.
27955 Usually this means the macro was only invoked conditionally." >&5
27956 echo "$as_me: error: conditional \"X_AWT\" was never defined.
27957 Usually this means the macro was only invoked conditionally." >&2;}
27958 { (exit 1); exit 1; }; }
27960 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
27961 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
27962 Usually this means the macro was only invoked conditionally." >&5
27963 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
27964 Usually this means the macro was only invoked conditionally." >&2;}
27965 { (exit 1); exit 1; }; }
27967 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
27968 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
27969 Usually this means the macro was only invoked conditionally." >&5
27970 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
27971 Usually this means the macro was only invoked conditionally." >&2;}
27972 { (exit 1); exit 1; }; }
27974 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
27975 { { echo "$as_me:$LINENO: error: conditional \"TESTSUBDIR\" was never defined.
27976 Usually this means the macro was only invoked conditionally." >&5
27977 echo "$as_me: error: conditional \"TESTSUBDIR\" was never defined.
27978 Usually this means the macro was only invoked conditionally." >&2;}
27979 { (exit 1); exit 1; }; }
27981 if test -z "${BUILD_ECJ1_TRUE}" && test -z "${BUILD_ECJ1_FALSE}"; then
27982 { { echo "$as_me:$LINENO: error: conditional \"BUILD_ECJ1\" was never defined.
27983 Usually this means the macro was only invoked conditionally." >&5
27984 echo "$as_me: error: conditional \"BUILD_ECJ1\" was never defined.
27985 Usually this means the macro was only invoked conditionally." >&2;}
27986 { (exit 1); exit 1; }; }
27988 if test -z "${INSTALL_ECJ_JAR_TRUE}" && test -z "${INSTALL_ECJ_JAR_FALSE}"; then
27989 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_ECJ_JAR\" was never defined.
27990 Usually this means the macro was only invoked conditionally." >&5
27991 echo "$as_me: error: conditional \"INSTALL_ECJ_JAR\" was never defined.
27992 Usually this means the macro was only invoked conditionally." >&2;}
27993 { (exit 1); exit 1; }; }
27995 if test -z "${JAVA_HOME_SET_TRUE}" && test -z "${JAVA_HOME_SET_FALSE}"; then
27996 { { echo "$as_me:$LINENO: error: conditional \"JAVA_HOME_SET\" was never defined.
27997 Usually this means the macro was only invoked conditionally." >&5
27998 echo "$as_me: error: conditional \"JAVA_HOME_SET\" was never defined.
27999 Usually this means the macro was only invoked conditionally." >&2;}
28000 { (exit 1); exit 1; }; }
28002 if test -z "${SUPPRESS_LIBGCJ_BC_TRUE}" && test -z "${SUPPRESS_LIBGCJ_BC_FALSE}"; then
28003 { { echo "$as_me:$LINENO: error: conditional \"SUPPRESS_LIBGCJ_BC\" was never defined.
28004 Usually this means the macro was only invoked conditionally." >&5
28005 echo "$as_me: error: conditional \"SUPPRESS_LIBGCJ_BC\" was never defined.
28006 Usually this means the macro was only invoked conditionally." >&2;}
28007 { (exit 1); exit 1; }; }
28009 if test -z "${INTERPRETER_TRUE}" && test -z "${INTERPRETER_FALSE}"; then
28010 { { echo "$as_me:$LINENO: error: conditional \"INTERPRETER\" was never defined.
28011 Usually this means the macro was only invoked conditionally." >&5
28012 echo "$as_me: error: conditional \"INTERPRETER\" was never defined.
28013 Usually this means the macro was only invoked conditionally." >&2;}
28014 { (exit 1); exit 1; }; }
28016 if test -z "${USING_WIN32_PLATFORM_TRUE}" && test -z "${USING_WIN32_PLATFORM_FALSE}"; then
28017 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
28018 Usually this means the macro was only invoked conditionally." >&5
28019 echo "$as_me: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
28020 Usually this means the macro was only invoked conditionally." >&2;}
28021 { (exit 1); exit 1; }; }
28023 if test -z "${USING_POSIX_PLATFORM_TRUE}" && test -z "${USING_POSIX_PLATFORM_FALSE}"; then
28024 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
28025 Usually this means the macro was only invoked conditionally." >&5
28026 echo "$as_me: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
28027 Usually this means the macro was only invoked conditionally." >&2;}
28028 { (exit 1); exit 1; }; }
28030 if test -z "${USING_DARWIN_CRT_TRUE}" && test -z "${USING_DARWIN_CRT_FALSE}"; then
28031 { { echo "$as_me:$LINENO: error: conditional \"USING_DARWIN_CRT\" was never defined.
28032 Usually this means the macro was only invoked conditionally." >&5
28033 echo "$as_me: error: conditional \"USING_DARWIN_CRT\" was never defined.
28034 Usually this means the macro was only invoked conditionally." >&2;}
28035 { (exit 1); exit 1; }; }
28037 if test -z "${USING_BOEHMGC_TRUE}" && test -z "${USING_BOEHMGC_FALSE}"; then
28038 { { echo "$as_me:$LINENO: error: conditional \"USING_BOEHMGC\" was never defined.
28039 Usually this means the macro was only invoked conditionally." >&5
28040 echo "$as_me: error: conditional \"USING_BOEHMGC\" was never defined.
28041 Usually this means the macro was only invoked conditionally." >&2;}
28042 { (exit 1); exit 1; }; }
28044 if test -z "${USING_NOGC_TRUE}" && test -z "${USING_NOGC_FALSE}"; then
28045 { { echo "$as_me:$LINENO: error: conditional \"USING_NOGC\" was never defined.
28046 Usually this means the macro was only invoked conditionally." >&5
28047 echo "$as_me: error: conditional \"USING_NOGC\" was never defined.
28048 Usually this means the macro was only invoked conditionally." >&2;}
28049 { (exit 1); exit 1; }; }
28051 if test -z "${USING_POSIX_THREADS_TRUE}" && test -z "${USING_POSIX_THREADS_FALSE}"; then
28052 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_THREADS\" was never defined.
28053 Usually this means the macro was only invoked conditionally." >&5
28054 echo "$as_me: error: conditional \"USING_POSIX_THREADS\" was never defined.
28055 Usually this means the macro was only invoked conditionally." >&2;}
28056 { (exit 1); exit 1; }; }
28058 if test -z "${USING_WIN32_THREADS_TRUE}" && test -z "${USING_WIN32_THREADS_FALSE}"; then
28059 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_THREADS\" was never defined.
28060 Usually this means the macro was only invoked conditionally." >&5
28061 echo "$as_me: error: conditional \"USING_WIN32_THREADS\" was never defined.
28062 Usually this means the macro was only invoked conditionally." >&2;}
28063 { (exit 1); exit 1; }; }
28065 if test -z "${USING_NO_THREADS_TRUE}" && test -z "${USING_NO_THREADS_FALSE}"; then
28066 { { echo "$as_me:$LINENO: error: conditional \"USING_NO_THREADS\" was never defined.
28067 Usually this means the macro was only invoked conditionally." >&5
28068 echo "$as_me: error: conditional \"USING_NO_THREADS\" was never defined.
28069 Usually this means the macro was only invoked conditionally." >&2;}
28070 { (exit 1); exit 1; }; }
28072 if test -z "${USE_LIBGCJ_BC_TRUE}" && test -z "${USE_LIBGCJ_BC_FALSE}"; then
28073 { { echo "$as_me:$LINENO: error: conditional \"USE_LIBGCJ_BC\" was never defined.
28074 Usually this means the macro was only invoked conditionally." >&5
28075 echo "$as_me: error: conditional \"USE_LIBGCJ_BC\" was never defined.
28076 Usually this means the macro was only invoked conditionally." >&2;}
28077 { (exit 1); exit 1; }; }
28079 if test -z "${USING_GCC_TRUE}" && test -z "${USING_GCC_FALSE}"; then
28080 { { echo "$as_me:$LINENO: error: conditional \"USING_GCC\" was never defined.
28081 Usually this means the macro was only invoked conditionally." >&5
28082 echo "$as_me: error: conditional \"USING_GCC\" was never defined.
28083 Usually this means the macro was only invoked conditionally." >&2;}
28084 { (exit 1); exit 1; }; }
28086 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
28087 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
28088 Usually this means the macro was only invoked conditionally." >&5
28089 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
28090 Usually this means the macro was only invoked conditionally." >&2;}
28091 { (exit 1); exit 1; }; }
28093 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
28094 { { echo "$as_me:$LINENO: error: conditional \"NATIVE\" was never defined.
28095 Usually this means the macro was only invoked conditionally." >&5
28096 echo "$as_me: error: conditional \"NATIVE\" was never defined.
28097 Usually this means the macro was only invoked conditionally." >&2;}
28098 { (exit 1); exit 1; }; }
28100 if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
28101 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SHARED\" was never defined.
28102 Usually this means the macro was only invoked conditionally." >&5
28103 echo "$as_me: error: conditional \"ENABLE_SHARED\" was never defined.
28104 Usually this means the macro was only invoked conditionally." >&2;}
28105 { (exit 1); exit 1; }; }
28107 if test -z "${NEEDS_DATA_START_TRUE}" && test -z "${NEEDS_DATA_START_FALSE}"; then
28108 { { echo "$as_me:$LINENO: error: conditional \"NEEDS_DATA_START\" was never defined.
28109 Usually this means the macro was only invoked conditionally." >&5
28110 echo "$as_me: error: conditional \"NEEDS_DATA_START\" was never defined.
28111 Usually this means the macro was only invoked conditionally." >&2;}
28112 { (exit 1); exit 1; }; }
28114 if test -z "${ANONVERSCRIPT_TRUE}" && test -z "${ANONVERSCRIPT_FALSE}"; then
28115 { { echo "$as_me:$LINENO: error: conditional \"ANONVERSCRIPT\" was never defined.
28116 Usually this means the macro was only invoked conditionally." >&5
28117 echo "$as_me: error: conditional \"ANONVERSCRIPT\" was never defined.
28118 Usually this means the macro was only invoked conditionally." >&2;}
28119 { (exit 1); exit 1; }; }
28122 : ${CONFIG_STATUS=./config.status}
28123 ac_clean_files_save
=$ac_clean_files
28124 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
28125 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
28126 echo "$as_me: creating $CONFIG_STATUS" >&6;}
28127 cat >$CONFIG_STATUS <<_ACEOF
28129 # Generated by $as_me.
28130 # Run this file to recreate the current configuration.
28131 # Compiler output produced by configure, useful for debugging
28132 # configure, is in config.log if it exists.
28135 ac_cs_recheck=false
28137 SHELL=\${CONFIG_SHELL-$SHELL}
28140 cat >>$CONFIG_STATUS <<\_ACEOF
28141 ## --------------------- ##
28142 ## M4sh Initialization. ##
28143 ## --------------------- ##
28145 # Be Bourne compatible
28146 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
28149 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
28150 # is contrary to our usage. Disable this feature.
28151 alias -g '${1+"$@"}'='"$@"'
28152 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
28155 DUALCASE
=1; export DUALCASE
# for MKS sh
28157 # Support unset when possible.
28158 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
28165 # Work around bugs in pre-3.0 UWIN ksh.
28166 $as_unset ENV MAIL MAILPATH
28173 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
28174 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
28175 LC_TELEPHONE LC_TIME
28177 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
28178 eval $as_var=C
; export $as_var
28184 # Required to use basename.
28185 if expr a
: '\(a\)' >/dev
/null
2>&1; then
28191 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
28192 as_basename
=basename
28198 # Name of the executable.
28199 as_me
=`$as_basename "$0" ||
28200 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
28201 X"$0" : 'X\(//\)$' \| \
28202 X"$0" : 'X\(/\)$' \| \
28203 . : '\(.\)' 2>/dev/null ||
28205 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
28206 /^X\/\(\/\/\)$/{ s//\1/; q; }
28207 /^X\/\(\/\).*/{ s//\1/; q; }
28211 # PATH needs CR, and LINENO needs CR and PATH.
28212 # Avoid depending upon Character Ranges.
28213 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
28214 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
28215 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
28216 as_cr_digits
='0123456789'
28217 as_cr_alnum
=$as_cr_Letters$as_cr_digits
28219 # The user is always right.
28220 if test "${PATH_SEPARATOR+set}" != set; then
28221 echo "#! /bin/sh" >conf$$.sh
28222 echo "exit 0" >>conf$$.sh
28224 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
28233 as_lineno_1
=$LINENO
28234 as_lineno_2
=$LINENO
28235 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
28236 test "x$as_lineno_1" != "x$as_lineno_2" &&
28237 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
28238 # Find who we are. Look in the path if we contain no path at all
28241 *[\\/]* ) as_myself
=$0 ;;
28242 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28243 for as_dir
in $PATH
28246 test -z "$as_dir" && as_dir
=.
28247 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
28252 # We did not find ourselves, most probably we were run as `sh COMMAND'
28253 # in which case we are not to be found in the path.
28254 if test "x$as_myself" = x
; then
28257 if test ! -f "$as_myself"; then
28258 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
28259 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
28260 { (exit 1); exit 1; }; }
28262 case $CONFIG_SHELL in
28264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28265 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
28268 test -z "$as_dir" && as_dir
=.
28269 for as_base
in sh bash ksh sh5
; do
28272 if ("$as_dir/$as_base" -c '
28273 as_lineno_1=$LINENO
28274 as_lineno_2=$LINENO
28275 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
28276 test "x$as_lineno_1" != "x$as_lineno_2" &&
28277 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
28278 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
28279 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
28280 CONFIG_SHELL
=$as_dir/$as_base
28281 export CONFIG_SHELL
28282 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
28290 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
28291 # uniformly replaced by the line number. The first 'sed' inserts a
28292 # line-number line before each line; the second 'sed' does the real
28293 # work. The second script uses 'N' to pair each line-number line
28294 # with the numbered line, and appends trailing '-' during
28295 # substitution so that $LINENO is not a special case at line end.
28296 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
28297 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
28298 sed '=' <$as_myself |
28303 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
28306 s,^['$as_cr_digits']*\n,,
28307 ' >$as_me.lineno
&&
28308 chmod +x
$as_me.lineno ||
28309 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
28310 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
28311 { (exit 1); exit 1; }; }
28313 # Don't try to exec as it changes $[0], causing all sort of problems
28314 # (the dirname of $[0] is not the place where we might find the
28315 # original and so on. Autoconf is especially sensible to this).
28317 # Exit status is that of the last command.
28322 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
28323 *c
*,-n*) ECHO_N
= ECHO_C
='
28325 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
28326 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
28329 if expr a
: '\(a\)' >/dev
/null
2>&1; then
28335 rm -f conf$$ conf$$.exe conf$$.
file
28337 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
28338 # We could just check for DJGPP; but this test a) works b) is more generic
28339 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
28340 if test -f conf$$.exe
; then
28341 # Don't use ln at all; we don't have any links
28346 elif ln conf$$.
file conf$$
2>/dev
/null
; then
28351 rm -f conf$$ conf$$.exe conf$$.
file
28353 if mkdir
-p .
2>/dev
/null
; then
28356 test -d .
/-p && rmdir .
/-p
28360 as_executable_p
="test -f"
28362 # Sed expression to map a string onto a valid CPP name.
28363 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
28365 # Sed expression to map a string onto a valid variable name.
28366 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
28370 # We need space, tab and new line, in precisely that order.
28380 # Open the log real soon, to keep \$[0] and so on meaningful, and to
28381 # report actual input values of CONFIG_FILES etc. instead of their
28382 # values after options handling. Logging --version etc. is OK.
28386 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
28387 ## Running $as_me. ##
28392 This file was extended by libjava $as_me version-unused, which was
28393 generated by GNU Autoconf 2.59. Invocation command line was
28395 CONFIG_FILES = $CONFIG_FILES
28396 CONFIG_HEADERS = $CONFIG_HEADERS
28397 CONFIG_LINKS = $CONFIG_LINKS
28398 CONFIG_COMMANDS = $CONFIG_COMMANDS
28402 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
28406 # Files that config.status was made for.
28407 if test -n "$ac_config_files"; then
28408 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
28411 if test -n "$ac_config_headers"; then
28412 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
28415 if test -n "$ac_config_links"; then
28416 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
28419 if test -n "$ac_config_commands"; then
28420 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
28423 cat >>$CONFIG_STATUS <<\_ACEOF
28426 \`$as_me' instantiates files from templates according to the
28427 current configuration.
28429 Usage: $0 [OPTIONS] [FILE]...
28431 -h, --help print this help, then exit
28432 -V, --version print version number, then exit
28433 -q, --quiet do not print progress messages
28434 -d, --debug don't remove temporary files
28435 --recheck update $as_me by reconfiguring in the same conditions
28436 --file=FILE[:TEMPLATE]
28437 instantiate the configuration file FILE
28438 --header=FILE[:TEMPLATE]
28439 instantiate the configuration header FILE
28441 Configuration files:
28444 Configuration headers:
28447 Configuration links:
28450 Configuration commands:
28453 Report bugs to <bug-autoconf@gnu.org>."
28456 cat >>$CONFIG_STATUS <<_ACEOF
28458 libjava config.status version-unused
28459 configured by $0, generated by GNU Autoconf 2.59,
28460 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
28462 Copyright (C) 2003 Free Software Foundation, Inc.
28463 This config.status script is free software; the Free Software Foundation
28464 gives unlimited permission to copy, distribute and modify it."
28469 cat >>$CONFIG_STATUS <<\_ACEOF
28470 # If no file are specified by the user, then we need to provide default
28471 # value. By we need to know if files were specified by the user.
28477 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
28478 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
28486 *) # This is not an option, so the user has probably given explicit
28489 ac_need_defaults
=false
;;
28493 # Handling of the options.
28495 cat >>$CONFIG_STATUS <<\_ACEOF
28496 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
28498 --version |
--vers* |
-V )
28499 echo "$ac_cs_version"; exit 0 ;;
28501 # Conflict between --help and --header
28502 { { echo "$as_me:$LINENO: error: ambiguous option: $1
28503 Try \`$0 --help' for more information." >&5
28504 echo "$as_me: error: ambiguous option: $1
28505 Try \`$0 --help' for more information." >&2;}
28506 { (exit 1); exit 1; }; };;
28507 --help |
--hel |
-h )
28508 echo "$ac_cs_usage"; exit 0 ;;
28509 --debug |
--d* |
-d )
28511 --file |
--fil |
--fi |
--f )
28513 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
28514 ac_need_defaults
=false
;;
28515 --header |
--heade |
--head |
--hea )
28517 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
28518 ac_need_defaults
=false
;;
28519 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
28520 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
28523 # This is an error.
28524 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
28525 Try \`$0 --help' for more information." >&5
28526 echo "$as_me: error: unrecognized option: $1
28527 Try \`$0 --help' for more information." >&2;}
28528 { (exit 1); exit 1; }; } ;;
28530 *) ac_config_targets
="$ac_config_targets $1" ;;
28536 ac_configure_extra_args
=
28538 if $ac_cs_silent; then
28540 ac_configure_extra_args
="$ac_configure_extra_args --silent"
28544 cat >>$CONFIG_STATUS <<_ACEOF
28545 if \$ac_cs_recheck; then
28546 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
28547 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
28552 cat >>$CONFIG_STATUS <<_ACEOF
28554 # INIT-COMMANDS section.
28561 with_multisubdir="$with_multisubdir"
28562 with_multisrctop="$with_multisrctop"
28563 with_target_subdir="$with_target_subdir"
28564 ac_configure_args="${multilib_arg} ${ac_configure_args}"
28565 multi_basedir="$multi_basedir"
28566 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
28568 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
28571 # The HP-UX ksh and POSIX shell print the target directory to stdout
28572 # if CDPATH is set.
28573 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
28575 sed_quote_subst='$sed_quote_subst'
28576 double_quote_subst='$double_quote_subst'
28577 delay_variable_subst='$delay_variable_subst'
28578 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
28579 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
28580 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
28581 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
28582 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
28583 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
28584 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
28585 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
28586 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
28587 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
28588 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
28589 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
28590 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
28591 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
28592 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
28593 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
28594 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
28595 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
28596 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
28597 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
28598 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
28599 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
28600 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
28601 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
28602 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
28603 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
28604 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
28605 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28606 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
28607 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
28608 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
28609 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
28610 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
28611 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
28612 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28613 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28614 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28615 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
28616 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
28617 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
28618 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
28619 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
28620 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
28621 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"`'
28622 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
28623 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
28624 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
28625 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
28626 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
28627 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
28628 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
28629 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
28630 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
28631 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
28632 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
28633 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28634 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28635 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
28636 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
28637 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
28638 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
28639 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
28640 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28641 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28642 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28643 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28644 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28645 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28646 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
28647 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
28648 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
28649 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
28650 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
28651 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
28652 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
28653 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
28654 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
28655 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
28656 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
28657 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
28658 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
28659 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
28660 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
28661 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28662 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
28663 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
28664 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28665 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
28666 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
28667 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
28668 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
28669 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
28670 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
28671 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
28672 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
28673 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
28674 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
28675 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
28676 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28677 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28678 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28679 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
28680 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
28681 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
28682 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
28683 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
28684 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
28685 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
28686 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
28687 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
28688 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
28689 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
28690 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
28691 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
28692 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
28693 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
28694 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28695 LD_GCJ='`$ECHO "X$LD_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28696 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28697 old_archive_cmds_GCJ='`$ECHO "X$old_archive_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28698 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28699 compiler_GCJ='`$ECHO "X$compiler_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28700 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28701 GCC_GCJ='`$ECHO "X$GCC_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28702 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28703 lt_prog_compiler_no_builtin_flag_GCJ='`$ECHO "X$lt_prog_compiler_no_builtin_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28704 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28705 lt_prog_compiler_wl_GCJ='`$ECHO "X$lt_prog_compiler_wl_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28706 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28707 lt_prog_compiler_pic_GCJ='`$ECHO "X$lt_prog_compiler_pic_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28708 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28709 lt_prog_compiler_static_GCJ='`$ECHO "X$lt_prog_compiler_static_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28710 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28711 lt_cv_prog_compiler_c_o_GCJ='`$ECHO "X$lt_cv_prog_compiler_c_o_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28712 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28713 archive_cmds_need_lc_GCJ='`$ECHO "X$archive_cmds_need_lc_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28714 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28715 enable_shared_with_static_runtimes_GCJ='`$ECHO "X$enable_shared_with_static_runtimes_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28716 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28717 export_dynamic_flag_spec_GCJ='`$ECHO "X$export_dynamic_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28718 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28719 whole_archive_flag_spec_GCJ='`$ECHO "X$whole_archive_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28720 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28721 compiler_needs_object_GCJ='`$ECHO "X$compiler_needs_object_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28722 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28723 old_archive_from_new_cmds_GCJ='`$ECHO "X$old_archive_from_new_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28724 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28725 old_archive_from_expsyms_cmds_GCJ='`$ECHO "X$old_archive_from_expsyms_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28726 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28727 archive_cmds_GCJ='`$ECHO "X$archive_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28728 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28729 archive_expsym_cmds_GCJ='`$ECHO "X$archive_expsym_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28730 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28731 module_cmds_GCJ='`$ECHO "X$module_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28732 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28733 module_expsym_cmds_GCJ='`$ECHO "X$module_expsym_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28734 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28735 with_gnu_ld_GCJ='`$ECHO "X$with_gnu_ld_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28736 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28737 allow_undefined_flag_GCJ='`$ECHO "X$allow_undefined_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28738 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28739 no_undefined_flag_GCJ='`$ECHO "X$no_undefined_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28740 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28741 hardcode_libdir_flag_spec_GCJ='`$ECHO "X$hardcode_libdir_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28742 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28743 hardcode_libdir_flag_spec_ld_GCJ='`$ECHO "X$hardcode_libdir_flag_spec_ld_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28744 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28745 hardcode_libdir_separator_GCJ='`$ECHO "X$hardcode_libdir_separator_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28746 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28747 hardcode_direct_GCJ='`$ECHO "X$hardcode_direct_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28748 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28749 hardcode_direct_absolute_GCJ='`$ECHO "X$hardcode_direct_absolute_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28750 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28751 hardcode_minus_L_GCJ='`$ECHO "X$hardcode_minus_L_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28752 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28753 hardcode_shlibpath_var_GCJ='`$ECHO "X$hardcode_shlibpath_var_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28754 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28755 hardcode_automatic_GCJ='`$ECHO "X$hardcode_automatic_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28756 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28757 inherit_rpath_GCJ='`$ECHO "X$inherit_rpath_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28758 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28759 link_all_deplibs_GCJ='`$ECHO "X$link_all_deplibs_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28760 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28761 fix_srcfile_path_GCJ='`$ECHO "X$fix_srcfile_path_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28762 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28763 always_export_symbols_GCJ='`$ECHO "X$always_export_symbols_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28764 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28765 export_symbols_cmds_GCJ='`$ECHO "X$export_symbols_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28766 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28767 exclude_expsyms_GCJ='`$ECHO "X$exclude_expsyms_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28768 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28769 include_expsyms_GCJ='`$ECHO "X$include_expsyms_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28770 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28771 prelink_cmds_GCJ='`$ECHO "X$prelink_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28772 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28773 file_list_spec_GCJ='`$ECHO "X$file_list_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28774 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28775 hardcode_action_GCJ='`$ECHO "X$hardcode_action_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28776 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28777 predep_objects_GCJ='`$ECHO "X$predep_objects_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28778 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28779 postdep_objects_GCJ='`$ECHO "X$postdep_objects_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28780 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28781 predeps_GCJ='`$ECHO "X$predeps_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28782 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28783 postdeps_GCJ='`$ECHO "X$postdeps_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28784 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28785 compiler_lib_search_path_GCJ='`$ECHO "X$compiler_lib_search_path_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28788 LTCFLAGS='$LTCFLAGS'
28789 compiler='$compiler_DEFAULT'
28791 # Quote evaled strings.
28802 deplibs_check_method \
28811 lt_cv_sys_global_symbol_pipe \
28812 lt_cv_sys_global_symbol_to_cdecl \
28813 lt_cv_sys_global_symbol_to_c_name_address \
28816 lt_prog_compiler_no_builtin_flag \
28817 lt_prog_compiler_wl \
28818 lt_prog_compiler_pic \
28819 lt_prog_compiler_static \
28820 lt_cv_prog_compiler_c_o \
28823 export_dynamic_flag_spec \
28824 whole_archive_flag_spec \
28825 compiler_needs_object \
28827 allow_undefined_flag \
28828 no_undefined_flag \
28829 hardcode_libdir_flag_spec \
28830 hardcode_libdir_flag_spec_ld \
28831 hardcode_libdir_separator \
28836 variables_saved_for_relink \
28838 library_names_spec \
28847 compiler_lib_search_path \
28852 lt_prog_compiler_no_builtin_flag_CXX \
28853 lt_prog_compiler_no_builtin_flag_GCJ \
28854 lt_prog_compiler_wl_CXX \
28855 lt_prog_compiler_wl_GCJ \
28856 lt_prog_compiler_pic_CXX \
28857 lt_prog_compiler_pic_GCJ \
28858 lt_prog_compiler_static_CXX \
28859 lt_prog_compiler_static_GCJ \
28860 lt_cv_prog_compiler_c_o_CXX \
28861 lt_cv_prog_compiler_c_o_GCJ \
28862 export_dynamic_flag_spec_CXX \
28863 export_dynamic_flag_spec_GCJ \
28864 whole_archive_flag_spec_CXX \
28865 whole_archive_flag_spec_GCJ \
28866 compiler_needs_object_CXX \
28867 compiler_needs_object_GCJ \
28870 allow_undefined_flag_CXX \
28871 allow_undefined_flag_GCJ \
28872 no_undefined_flag_CXX \
28873 no_undefined_flag_GCJ \
28874 hardcode_libdir_flag_spec_CXX \
28875 hardcode_libdir_flag_spec_GCJ \
28876 hardcode_libdir_flag_spec_ld_CXX \
28877 hardcode_libdir_flag_spec_ld_GCJ \
28878 hardcode_libdir_separator_CXX \
28879 hardcode_libdir_separator_GCJ \
28880 fix_srcfile_path_CXX \
28881 fix_srcfile_path_GCJ \
28882 exclude_expsyms_CXX \
28883 exclude_expsyms_GCJ \
28884 include_expsyms_CXX \
28885 include_expsyms_GCJ \
28886 file_list_spec_CXX \
28887 file_list_spec_GCJ \
28888 predep_objects_CXX \
28889 predep_objects_GCJ \
28890 postdep_objects_CXX \
28891 postdep_objects_GCJ \
28896 compiler_lib_search_path_CXX \
28897 compiler_lib_search_path_GCJ; do
28898 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
28899 *[\\\\\\\`\\"\\\$]*)
28900 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
28903 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
28908 # Double-quote double-evaled strings.
28909 for var in reload_cmds \
28910 old_postinstall_cmds \
28911 old_postuninstall_cmds \
28913 extract_expsyms_cmds \
28914 old_archive_from_new_cmds \
28915 old_archive_from_expsyms_cmds \
28917 archive_expsym_cmds \
28919 module_expsym_cmds \
28920 export_symbols_cmds \
28923 postuninstall_cmds \
28925 sys_lib_search_path_spec \
28926 sys_lib_dlsearch_path_spec \
28927 old_archive_cmds_CXX \
28928 old_archive_cmds_GCJ \
28929 old_archive_from_new_cmds_CXX \
28930 old_archive_from_new_cmds_GCJ \
28931 old_archive_from_expsyms_cmds_CXX \
28932 old_archive_from_expsyms_cmds_GCJ \
28935 archive_expsym_cmds_CXX \
28936 archive_expsym_cmds_GCJ \
28939 module_expsym_cmds_CXX \
28940 module_expsym_cmds_GCJ \
28941 export_symbols_cmds_CXX \
28942 export_symbols_cmds_GCJ \
28944 prelink_cmds_GCJ; do
28945 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
28946 *[\\\\\\\`\\"\\\$]*)
28947 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
28950 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
28955 # Fix-up fallback echo if it was mangled by the above quoting rules.
28957 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
28961 ac_aux_dir='$ac_aux_dir'
28962 xsi_shell='$xsi_shell'
28963 lt_shell_append='$lt_shell_append'
28965 # See if we are running on zsh, and set the options which allow our
28966 # commands through without removal of \ escapes INIT.
28967 if test -n "\${ZSH_VERSION+set}" ; then
28968 setopt NO_GLOB_SUBST
28974 TIMESTAMP='$TIMESTAMP'
28989 cat >>$CONFIG_STATUS <<\_ACEOF
28990 for ac_config_target
in $ac_config_targets
28992 case "$ac_config_target" in
28993 # Handling of arguments.
28994 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
28995 "libgcj.pc" ) CONFIG_FILES
="$CONFIG_FILES libgcj.pc" ;;
28996 "libgcj.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj.spec" ;;
28997 "libgcj-test.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj-test.spec" ;;
28998 "gcj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gcj/Makefile" ;;
28999 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
29000 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
29001 "scripts/jar" ) CONFIG_FILES
="$CONFIG_FILES scripts/jar" ;;
29002 "include/platform.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/platform.h:include/$PLATFORMH" ;;
29003 "java/io/natFile.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc" ;;
29004 "java/lang/natConcreteProcess.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc" ;;
29005 "java/net/natVMInetAddress.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc" ;;
29006 "java/net/natVMNetworkInterface.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc" ;;
29007 "gnu/java/net/natPlainSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc" ;;
29008 "gnu/java/net/natPlainDatagramSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc" ;;
29009 "gnu/java/nio/natVMPipe.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc" ;;
29010 "gnu/java/nio/natVMSelector.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc" ;;
29011 "gnu/java/nio/channels/natFileChannelImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc" ;;
29012 "include/java-gc.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-gc.h:include/$GCHDR" ;;
29013 "include/java-threads.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-threads.h:include/$THREADH" ;;
29014 "sysdep/locks.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/locks.h:sysdep/$sysdeps_dir/locks.h" ;;
29015 "sysdep/backtrace.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/backtrace.h:$fallback_backtrace_h" ;;
29016 "sysdep/descriptor.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/descriptor.h:$descriptor_h" ;;
29017 "include/java-signal.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal.h:$SIGNAL_HANDLER" ;;
29018 "include/java-signal-aux.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal-aux.h:$SIGNAL_HANDLER_AUX" ;;
29019 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
29020 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
29021 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
29022 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
29023 "gcj/libgcj-config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS gcj/libgcj-config.h" ;;
29024 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
29025 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
29026 { (exit 1); exit 1; }; };;
29030 # If the user did not use the arguments to specify the items to instantiate,
29031 # then the envvar interface is used. Set only those that are not.
29032 # We use the long form for the default assignment because of an extremely
29033 # bizarre bug on SunOS 4.1.3.
29034 if $ac_need_defaults; then
29035 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
29036 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
29037 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
29038 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
29041 # Have a temporary directory for convenience. Make it in the build tree
29042 # simply because there is no reason to put it here, and in addition,
29043 # creating and moving files from /tmp can sometimes cause problems.
29044 # Create a temporary directory, and hook for its removal unless debugging.
29047 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
29048 trap '{ (exit 1); exit 1; }' 1 2 13 15
29051 # Create a (secure) tmp directory for tmp files.
29054 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
29055 test -n "$tmp" && test -d "$tmp"
29058 tmp
=.
/confstat$$
-$RANDOM
29059 (umask 077 && mkdir
$tmp)
29062 echo "$me: cannot create a temporary directory in ." >&2
29063 { (exit 1); exit 1; }
29068 cat >>$CONFIG_STATUS <<_ACEOF
29071 # CONFIG_FILES section.
29074 # No need to generate the scripts if there are no CONFIG_FILES.
29075 # This happens for instance when ./config.status config.h
29076 if test -n "\$CONFIG_FILES"; then
29077 # Protect against being on the right side of a sed subst in config.status.
29078 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
29079 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
29080 s,@SHELL@,$SHELL,;t t
29081 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
29082 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
29083 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
29084 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
29085 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
29086 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
29087 s,@exec_prefix@,$exec_prefix,;t t
29088 s,@prefix@,$prefix,;t t
29089 s,@program_transform_name@,$program_transform_name,;t t
29090 s,@bindir@,$bindir,;t t
29091 s,@sbindir@,$sbindir,;t t
29092 s,@libexecdir@,$libexecdir,;t t
29093 s,@datadir@,$datadir,;t t
29094 s,@sysconfdir@,$sysconfdir,;t t
29095 s,@sharedstatedir@,$sharedstatedir,;t t
29096 s,@localstatedir@,$localstatedir,;t t
29097 s,@libdir@,$libdir,;t t
29098 s,@includedir@,$includedir,;t t
29099 s,@oldincludedir@,$oldincludedir,;t t
29100 s,@infodir@,$infodir,;t t
29101 s,@mandir@,$mandir,;t t
29102 s,@build_alias@,$build_alias,;t t
29103 s,@host_alias@,$host_alias,;t t
29104 s,@target_alias@,$target_alias,;t t
29105 s,@DEFS@,$DEFS,;t t
29106 s,@ECHO_C@,$ECHO_C,;t t
29107 s,@ECHO_N@,$ECHO_N,;t t
29108 s,@ECHO_T@,$ECHO_T,;t t
29109 s,@LIBS@,$LIBS,;t t
29110 s,@build@,$build,;t t
29111 s,@build_cpu@,$build_cpu,;t t
29112 s,@build_vendor@,$build_vendor,;t t
29113 s,@build_os@,$build_os,;t t
29114 s,@build_libsubdir@,$build_libsubdir,;t t
29115 s,@build_subdir@,$build_subdir,;t t
29116 s,@host_subdir@,$host_subdir,;t t
29117 s,@target_subdir@,$target_subdir,;t t
29118 s,@multi_basedir@,$multi_basedir,;t t
29119 s,@host@,$host,;t t
29120 s,@host_cpu@,$host_cpu,;t t
29121 s,@host_vendor@,$host_vendor,;t t
29122 s,@host_os@,$host_os,;t t
29123 s,@target@,$target,;t t
29124 s,@target_cpu@,$target_cpu,;t t
29125 s,@target_vendor@,$target_vendor,;t t
29126 s,@target_os@,$target_os,;t t
29127 s,@target_noncanonical@,$target_noncanonical,;t t
29128 s,@LN_S@,$LN_S,;t t
29129 s,@mkinstalldirs@,$mkinstalldirs,;t t
29130 s,@JAVA_MAINTAINER_MODE_TRUE@,$JAVA_MAINTAINER_MODE_TRUE,;t t
29131 s,@JAVA_MAINTAINER_MODE_FALSE@,$JAVA_MAINTAINER_MODE_FALSE,;t t
29133 s,@ac_ct_CC@,$ac_ct_CC,;t t
29134 s,@EXEEXT@,$EXEEXT,;t t
29135 s,@OBJEXT@,$OBJEXT,;t t
29137 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
29138 s,@CFLAGS@,$CFLAGS,;t t
29139 s,@CXXFLAGS@,$CXXFLAGS,;t t
29140 s,@LDFLAGS@,$LDFLAGS,;t t
29141 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
29142 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
29143 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
29144 s,@CYGPATH_W@,$CYGPATH_W,;t t
29145 s,@PACKAGE@,$PACKAGE,;t t
29146 s,@VERSION@,$VERSION,;t t
29147 s,@ACLOCAL@,$ACLOCAL,;t t
29148 s,@AUTOCONF@,$AUTOCONF,;t t
29149 s,@AUTOMAKE@,$AUTOMAKE,;t t
29150 s,@AUTOHEADER@,$AUTOHEADER,;t t
29151 s,@MAKEINFO@,$MAKEINFO,;t t
29152 s,@install_sh@,$install_sh,;t t
29153 s,@STRIP@,$STRIP,;t t
29154 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
29155 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
29156 s,@mkdir_p@,$mkdir_p,;t t
29158 s,@SET_MAKE@,$SET_MAKE,;t t
29159 s,@am__leading_dot@,$am__leading_dot,;t t
29160 s,@AMTAR@,$AMTAR,;t t
29161 s,@am__tar@,$am__tar,;t t
29162 s,@am__untar@,$am__untar,;t t
29163 s,@DEPDIR@,$DEPDIR,;t t
29164 s,@am__include@,$am__include,;t t
29165 s,@am__quote@,$am__quote,;t t
29166 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
29167 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
29168 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
29169 s,@CCDEPMODE@,$CCDEPMODE,;t t
29170 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
29171 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
29172 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
29173 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
29174 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
29176 s,@ac_ct_AS@,$ac_ct_AS,;t t
29178 s,@ac_ct_LD@,$ac_ct_LD,;t t
29180 s,@ac_ct_AR@,$ac_ct_AR,;t t
29181 s,@RANLIB@,$RANLIB,;t t
29182 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
29185 s,@UNZIP@,$UNZIP,;t t
29186 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
29187 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
29188 s,@MAINT@,$MAINT,;t t
29189 s,@LIBGCJ_CFLAGS@,$LIBGCJ_CFLAGS,;t t
29190 s,@LIBGCJ_CXXFLAGS@,$LIBGCJ_CXXFLAGS,;t t
29191 s,@LIBGCJ_JAVAFLAGS@,$LIBGCJ_JAVAFLAGS,;t t
29192 s,@LIBGCJ_LD_SYMBOLIC@,$LIBGCJ_LD_SYMBOLIC,;t t
29193 s,@LIBGCJ_LD_SYMBOLIC_FUNCTIONS@,$LIBGCJ_LD_SYMBOLIC_FUNCTIONS,;t t
29194 s,@LIBGCJDEBUG@,$LIBGCJDEBUG,;t t
29195 s,@TOOLKIT@,$TOOLKIT,;t t
29196 s,@XLIB_AWT_TRUE@,$XLIB_AWT_TRUE,;t t
29197 s,@XLIB_AWT_FALSE@,$XLIB_AWT_FALSE,;t t
29198 s,@X_AWT_TRUE@,$X_AWT_TRUE,;t t
29199 s,@X_AWT_FALSE@,$X_AWT_FALSE,;t t
29200 s,@GCJ_FOR_ECJX@,$GCJ_FOR_ECJX,;t t
29201 s,@GCJH@,$GCJH,;t t
29202 s,@host_exeext@,$host_exeext,;t t
29203 s,@INCLTDL@,$INCLTDL,;t t
29204 s,@LIBLTDL@,$LIBLTDL,;t t
29205 s,@DIRLTDL@,$DIRLTDL,;t t
29206 s,@LIBTOOL@,$LIBTOOL,;t t
29208 s,@EGREP@,$EGREP,;t t
29209 s,@FGREP@,$FGREP,;t t
29210 s,@GREP@,$GREP,;t t
29211 s,@DUMPBIN@,$DUMPBIN,;t t
29212 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
29214 s,@lt_ECHO@,$lt_ECHO,;t t
29216 s,@CPPFLAGS@,$CPPFLAGS,;t t
29217 s,@CXXCPP@,$CXXCPP,;t t
29219 s,@GCJFLAGS@,$GCJFLAGS,;t t
29220 s,@GCJDEPMODE@,$GCJDEPMODE,;t t
29221 s,@am__fastdepGCJ_TRUE@,$am__fastdepGCJ_TRUE,;t t
29222 s,@am__fastdepGCJ_FALSE@,$am__fastdepGCJ_FALSE,;t t
29223 s,@subdirs@,$subdirs,;t t
29224 s,@TESTSUBDIR_TRUE@,$TESTSUBDIR_TRUE,;t t
29225 s,@TESTSUBDIR_FALSE@,$TESTSUBDIR_FALSE,;t t
29226 s,@ECJ_BUILD_JAR@,$ECJ_BUILD_JAR,;t t
29227 s,@ECJ_JAR@,$ECJ_JAR,;t t
29228 s,@BUILD_ECJ1_TRUE@,$BUILD_ECJ1_TRUE,;t t
29229 s,@BUILD_ECJ1_FALSE@,$BUILD_ECJ1_FALSE,;t t
29230 s,@INSTALL_ECJ_JAR_TRUE@,$INSTALL_ECJ_JAR_TRUE,;t t
29231 s,@INSTALL_ECJ_JAR_FALSE@,$INSTALL_ECJ_JAR_FALSE,;t t
29232 s,@JAVA_HOME_SET_TRUE@,$JAVA_HOME_SET_TRUE,;t t
29233 s,@JAVA_HOME_SET_FALSE@,$JAVA_HOME_SET_FALSE,;t t
29234 s,@JAVA_HOME@,$JAVA_HOME,;t t
29235 s,@SUPPRESS_LIBGCJ_BC_TRUE@,$SUPPRESS_LIBGCJ_BC_TRUE,;t t
29236 s,@SUPPRESS_LIBGCJ_BC_FALSE@,$SUPPRESS_LIBGCJ_BC_FALSE,;t t
29237 s,@INTERPRETER@,$INTERPRETER,;t t
29238 s,@INTERPRETER_TRUE@,$INTERPRETER_TRUE,;t t
29239 s,@INTERPRETER_FALSE@,$INTERPRETER_FALSE,;t t
29240 s,@LIBFFI@,$LIBFFI,;t t
29241 s,@LIBFFIINCS@,$LIBFFIINCS,;t t
29242 s,@PLATFORM@,$PLATFORM,;t t
29243 s,@USING_WIN32_PLATFORM_TRUE@,$USING_WIN32_PLATFORM_TRUE,;t t
29244 s,@USING_WIN32_PLATFORM_FALSE@,$USING_WIN32_PLATFORM_FALSE,;t t
29245 s,@USING_POSIX_PLATFORM_TRUE@,$USING_POSIX_PLATFORM_TRUE,;t t
29246 s,@USING_POSIX_PLATFORM_FALSE@,$USING_POSIX_PLATFORM_FALSE,;t t
29247 s,@USING_DARWIN_CRT_TRUE@,$USING_DARWIN_CRT_TRUE,;t t
29248 s,@USING_DARWIN_CRT_FALSE@,$USING_DARWIN_CRT_FALSE,;t t
29249 s,@SYSTEMSPEC@,$SYSTEMSPEC,;t t
29250 s,@ZLIBSPEC@,$ZLIBSPEC,;t t
29251 s,@ZLIBTESTSPEC@,$ZLIBTESTSPEC,;t t
29252 s,@X_CFLAGS@,$X_CFLAGS,;t t
29253 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
29254 s,@X_LIBS@,$X_LIBS,;t t
29255 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
29256 s,@extra_ldflags_libjava@,$extra_ldflags_libjava,;t t
29257 s,@extra_gij_ldflags@,$extra_gij_ldflags,;t t
29258 s,@extra_ldflags@,$extra_ldflags,;t t
29259 s,@LIBSTDCXXSPEC@,$LIBSTDCXXSPEC,;t t
29260 s,@LIBGCJTESTSPEC@,$LIBGCJTESTSPEC,;t t
29261 s,@GCLIBS@,$GCLIBS,;t t
29262 s,@GCINCS@,$GCINCS,;t t
29263 s,@GCDEPS@,$GCDEPS,;t t
29264 s,@GCSPEC@,$GCSPEC,;t t
29265 s,@JC1GCSPEC@,$JC1GCSPEC,;t t
29266 s,@GCTESTSPEC@,$GCTESTSPEC,;t t
29267 s,@USING_BOEHMGC_TRUE@,$USING_BOEHMGC_TRUE,;t t
29268 s,@USING_BOEHMGC_FALSE@,$USING_BOEHMGC_FALSE,;t t
29269 s,@USING_NOGC_TRUE@,$USING_NOGC_TRUE,;t t
29270 s,@USING_NOGC_FALSE@,$USING_NOGC_FALSE,;t t
29271 s,@THREADLIBS@,$THREADLIBS,;t t
29272 s,@THREADINCS@,$THREADINCS,;t t
29273 s,@THREADDEPS@,$THREADDEPS,;t t
29274 s,@THREADSPEC@,$THREADSPEC,;t t
29275 s,@THREADSTARTFILESPEC@,$THREADSTARTFILESPEC,;t t
29276 s,@THREADLDFLAGS@,$THREADLDFLAGS,;t t
29277 s,@THREADCXXFLAGS@,$THREADCXXFLAGS,;t t
29278 s,@USING_POSIX_THREADS_TRUE@,$USING_POSIX_THREADS_TRUE,;t t
29279 s,@USING_POSIX_THREADS_FALSE@,$USING_POSIX_THREADS_FALSE,;t t
29280 s,@USING_WIN32_THREADS_TRUE@,$USING_WIN32_THREADS_TRUE,;t t
29281 s,@USING_WIN32_THREADS_FALSE@,$USING_WIN32_THREADS_FALSE,;t t
29282 s,@USING_NO_THREADS_TRUE@,$USING_NO_THREADS_TRUE,;t t
29283 s,@USING_NO_THREADS_FALSE@,$USING_NO_THREADS_FALSE,;t t
29284 s,@USE_LIBGCJ_BC_TRUE@,$USE_LIBGCJ_BC_TRUE,;t t
29285 s,@USE_LIBGCJ_BC_FALSE@,$USE_LIBGCJ_BC_FALSE,;t t
29286 s,@LIBGCJ_SPEC@,$LIBGCJ_SPEC,;t t
29287 s,@HASH_SYNC_SPEC@,$HASH_SYNC_SPEC,;t t
29288 s,@USING_GCC_TRUE@,$USING_GCC_TRUE,;t t
29289 s,@USING_GCC_FALSE@,$USING_GCC_FALSE,;t t
29290 s,@LIBICONV@,$LIBICONV,;t t
29291 s,@LTLIBICONV@,$LTLIBICONV,;t t
29292 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
29293 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
29294 s,@GTK_LIBS@,$GTK_LIBS,;t t
29295 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
29296 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
29297 s,@LIBART_CFLAGS@,$LIBART_CFLAGS,;t t
29298 s,@LIBART_LIBS@,$LIBART_LIBS,;t t
29299 s,@CLASSPATH_SEPARATOR@,$CLASSPATH_SEPARATOR,;t t
29300 s,@ZLIBS@,$ZLIBS,;t t
29301 s,@SYS_ZLIBS@,$SYS_ZLIBS,;t t
29302 s,@ZINCS@,$ZINCS,;t t
29303 s,@DIVIDESPEC@,$DIVIDESPEC,;t t
29304 s,@CHECKREFSPEC@,$CHECKREFSPEC,;t t
29305 s,@EXCEPTIONSPEC@,$EXCEPTIONSPEC,;t t
29306 s,@BACKTRACESPEC@,$BACKTRACESPEC,;t t
29307 s,@IEEESPEC@,$IEEESPEC,;t t
29308 s,@NATIVE_TRUE@,$NATIVE_TRUE,;t t
29309 s,@NATIVE_FALSE@,$NATIVE_FALSE,;t t
29310 s,@ENABLE_SHARED_TRUE@,$ENABLE_SHARED_TRUE,;t t
29311 s,@ENABLE_SHARED_FALSE@,$ENABLE_SHARED_FALSE,;t t
29312 s,@NEEDS_DATA_START_TRUE@,$NEEDS_DATA_START_TRUE,;t t
29313 s,@NEEDS_DATA_START_FALSE@,$NEEDS_DATA_START_FALSE,;t t
29314 s,@GCC_UNWIND_INCLUDE@,$GCC_UNWIND_INCLUDE,;t t
29315 s,@toolexecdir@,$toolexecdir,;t t
29316 s,@toolexecmainlibdir@,$toolexecmainlibdir,;t t
29317 s,@toolexeclibdir@,$toolexeclibdir,;t t
29318 s,@GCJVERSION@,$GCJVERSION,;t t
29319 s,@dbexecdir@,$dbexecdir,;t t
29320 s,@gxx_include_dir@,$gxx_include_dir,;t t
29321 s,@libstdcxx_incdir@,$libstdcxx_incdir,;t t
29322 s,@PERL@,$PERL,;t t
29323 s,@SYSDEP_SOURCES@,$SYSDEP_SOURCES,;t t
29324 s,@ANONVERSCRIPT_TRUE@,$ANONVERSCRIPT_TRUE,;t t
29325 s,@ANONVERSCRIPT_FALSE@,$ANONVERSCRIPT_FALSE,;t t
29326 s,@LD_START_STATIC_SPEC@,$LD_START_STATIC_SPEC,;t t
29327 s,@LD_FINISH_STATIC_SPEC@,$LD_FINISH_STATIC_SPEC,;t t
29328 s,@here@,$here,;t t
29329 s,@LIBOBJS@,$LIBOBJS,;t t
29330 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
29335 cat >>$CONFIG_STATUS <<\_ACEOF
29336 # Split the substitutions into bite-sized pieces for seds with
29337 # small command number limits, like on Digital OSF/1 and HP-UX.
29338 ac_max_sed_lines
=48
29339 ac_sed_frag
=1 # Number of current file.
29340 ac_beg
=1 # First line for current file.
29341 ac_end
=$ac_max_sed_lines # Line after last line for current file.
29344 while $ac_more_lines; do
29345 if test $ac_beg -gt 1; then
29346 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
29348 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
29350 if test ! -s $tmp/subs.frag
; then
29351 ac_more_lines
=false
29353 # The purpose of the label and of the branching condition is to
29354 # speed up the sed processing (if there are no `@' at all, there
29355 # is no need to browse any of the substitutions).
29356 # These are the two extra sed commands mentioned above.
29358 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
29359 if test -z "$ac_sed_cmds"; then
29360 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
29362 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
29364 ac_sed_frag
=`expr $ac_sed_frag + 1`
29366 ac_end
=`expr $ac_end + $ac_max_sed_lines`
29369 if test -z "$ac_sed_cmds"; then
29372 fi # test -n "$CONFIG_FILES"
29375 cat >>$CONFIG_STATUS <<\_ACEOF
29376 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
29377 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
29379 - |
*:- |
*:-:* ) # input from stdin
29381 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29382 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29383 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29384 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29385 * ) ac_file_in
=$ac_file.
in ;;
29388 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
29389 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
29390 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29391 X"$ac_file" : 'X\(//\)[^/]' \| \
29392 X"$ac_file" : 'X\(//\)$' \| \
29393 X"$ac_file" : 'X\(/\)' \| \
29394 . : '\(.\)' 2>/dev/null ||
29396 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29397 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29398 /^X\(\/\/\)$/{ s//\1/; q; }
29399 /^X\(\/\).*/{ s//\1/; q; }
29401 { if $as_mkdir_p; then
29406 while test ! -d "$as_dir"; do
29407 as_dirs
="$as_dir $as_dirs"
29408 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
29409 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29410 X"$as_dir" : 'X\(//\)[^/]' \| \
29411 X"$as_dir" : 'X\(//\)$' \| \
29412 X"$as_dir" : 'X\(/\)' \| \
29413 . : '\(.\)' 2>/dev/null ||
29415 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29416 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29417 /^X\(\/\/\)$/{ s//\1/; q; }
29418 /^X\(\/\).*/{ s//\1/; q; }
29421 test ! -n "$as_dirs" || mkdir
$as_dirs
29422 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29423 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29424 { (exit 1); exit 1; }; }; }
29428 if test "$ac_dir" != .
; then
29429 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
29430 # A "../" for each directory in $ac_dir_suffix.
29431 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
29433 ac_dir_suffix
= ac_top_builddir
=
29437 .
) # No --srcdir option. We are building in place.
29439 if test -z "$ac_top_builddir"; then
29442 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
29444 [\\/]* | ?
:[\\/]* ) # Absolute path.
29445 ac_srcdir
=$srcdir$ac_dir_suffix;
29446 ac_top_srcdir
=$srcdir ;;
29447 *) # Relative path.
29448 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
29449 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
29452 # Do not use `cd foo && pwd` to compute absolute paths, because
29453 # the directories may not exist.
29455 .
) ac_abs_builddir
="$ac_dir";;
29458 .
) ac_abs_builddir
=`pwd`;;
29459 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
29460 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
29463 case $ac_abs_builddir in
29464 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29466 case ${ac_top_builddir}.
in
29467 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
29468 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29469 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
29472 case $ac_abs_builddir in
29473 .
) ac_abs_srcdir
=$ac_srcdir;;
29476 .
) ac_abs_srcdir
=$ac_abs_builddir;;
29477 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
29478 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
29481 case $ac_abs_builddir in
29482 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
29484 case $ac_top_srcdir in
29485 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
29486 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
29487 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
29493 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
29494 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
29497 if test x
"$ac_file" != x-
; then
29498 { echo "$as_me:$LINENO: creating $ac_file" >&5
29499 echo "$as_me: creating $ac_file" >&6;}
29502 # Let's still pretend it is `configure' which instantiates (i.e., don't
29503 # use $as_me), people would be surprised to read:
29504 # /* config.h. Generated by config.status. */
29505 if test x
"$ac_file" = x-
; then
29508 configure_input
="$ac_file. "
29510 configure_input
=$configure_input"Generated from `echo $ac_file_in |
29511 sed 's,.*/,,'` by configure."
29513 # First look for the input files in the build tree, otherwise in the
29515 ac_file_inputs
=`IFS=:
29516 for f in $ac_file_in; do
29518 -) echo $tmp/stdin ;;
29520 # Absolute (can't be DOS-style, as IFS=:)
29521 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29522 echo "$as_me: error: cannot find input file: $f" >&2;}
29523 { (exit 1); exit 1; }; }
29526 if test -f "$f"; then
29529 elif test -f "$srcdir/$f"; then
29534 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29535 echo "$as_me: error: cannot find input file: $f" >&2;}
29536 { (exit 1); exit 1; }; }
29539 done` ||
{ (exit 1); exit 1; }
29541 cat >>$CONFIG_STATUS <<_ACEOF
29545 cat >>$CONFIG_STATUS <<\_ACEOF
29547 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
29548 s
,@configure_input@
,$configure_input,;t t
29549 s
,@srcdir@
,$ac_srcdir,;t t
29550 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
29551 s
,@top_srcdir@
,$ac_top_srcdir,;t t
29552 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
29553 s
,@builddir@
,$ac_builddir,;t t
29554 s
,@abs_builddir@
,$ac_abs_builddir,;t t
29555 s
,@top_builddir@
,$ac_top_builddir,;t t
29556 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
29557 s
,@INSTALL@
,$ac_INSTALL,;t t
29558 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
29560 if test x"$ac_file" != x-; then
29561 mv $tmp/out $ac_file
29567 # Run the commands associated with the file.
29569 scripts/jar ) chmod +x scripts/jar ;;
29573 cat >>$CONFIG_STATUS <<\_ACEOF
29576 # CONFIG_HEADER section.
29579 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
29580 # NAME is the cpp macro being defined and VALUE is the value it is being given.
29582 # ac_d sets the value in "#define NAME VALUE" lines.
29583 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
29584 ac_dB
='[ ].*$,\1#\2'
29587 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
29588 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
29589 ac_uB
='$,\1#\2define\3'
29593 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
29594 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
29596 - |
*:- |
*:-:* ) # input from stdin
29598 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29599 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29600 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29601 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29602 * ) ac_file_in
=$ac_file.
in ;;
29605 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
29606 echo "$as_me: creating $ac_file" >&6;}
29608 # First look for the input files in the build tree, otherwise in the
29610 ac_file_inputs
=`IFS=:
29611 for f in $ac_file_in; do
29613 -) echo $tmp/stdin ;;
29615 # Absolute (can't be DOS-style, as IFS=:)
29616 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29617 echo "$as_me: error: cannot find input file: $f" >&2;}
29618 { (exit 1); exit 1; }; }
29619 # Do quote $f, to prevent DOS paths from being IFS'd.
29622 if test -f "$f"; then
29625 elif test -f "$srcdir/$f"; then
29630 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29631 echo "$as_me: error: cannot find input file: $f" >&2;}
29632 { (exit 1); exit 1; }; }
29635 done` ||
{ (exit 1); exit 1; }
29636 # Remove the trailing spaces.
29637 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
29641 # Transform confdefs.h into two sed scripts, `conftest.defines' and
29642 # `conftest.undefs', that substitutes the proper values into
29643 # config.h.in to produce config.h. The first handles `#define'
29644 # templates, and the second `#undef' templates.
29645 # And first: Protect against being on the right side of a sed subst in
29646 # config.status. Protect against being in an unquoted here document
29647 # in config.status.
29648 rm -f conftest.defines conftest.undefs
29649 # Using a here document instead of a string reduces the quoting nightmare.
29650 # Putting comments in sed scripts is not portable.
29652 # `end' is used to avoid that the second main sed command (meant for
29653 # 0-ary CPP macros) applies to n-ary macro definitions.
29654 # See the Autoconf documentation for `clear'.
29655 cat >confdef2sed.
sed <<\_ACEOF
29660 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
29662 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
29665 # If some macros were called several times there might be several times
29666 # the same #defines, which is useless. Nevertheless, we may not want to
29667 # sort them, since we want the *last* AC-DEFINE to be honored.
29668 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
29669 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
29670 rm -f confdef2sed.sed
29672 # This sed command replaces #undef with comments. This is necessary, for
29673 # example, in the case of _POSIX_SOURCE, which is predefined and required
29674 # on some systems where configure will not decide to define it.
29675 cat >>conftest.undefs <<\_ACEOF
29676 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
29679 # Break up conftest.defines because some shells have a limit on the size
29680 # of here documents, and old seds have small limits too (100 cmds).
29681 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
29682 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
29683 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
29684 echo ' :' >>$CONFIG_STATUS
29685 rm -f conftest.tail
29686 while grep . conftest.defines >/dev/null
29688 # Write a limited-size here document to $tmp/defines.sed.
29689 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
29690 # Speed up: don't consider the non `#define' lines.
29691 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
29692 # Work around the forget-to-reset-the-flag bug.
29693 echo 't clr' >>$CONFIG_STATUS
29694 echo ': clr' >>$CONFIG_STATUS
29695 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
29697 sed -f $tmp/defines.sed $tmp/in >$tmp/out
29699 mv $tmp/out $tmp/in
29701 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
29702 rm -f conftest.defines
29703 mv conftest.
tail conftest.defines
29705 rm -f conftest.defines
29706 echo ' fi # grep' >>$CONFIG_STATUS
29707 echo >>$CONFIG_STATUS
29709 # Break up conftest.undefs because some shells have a limit on the size
29710 # of here documents, and old seds have small limits too (100 cmds).
29711 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
29712 rm -f conftest.
tail
29713 while grep . conftest.undefs
>/dev
/null
29715 # Write a limited-size here document to $tmp/undefs.sed.
29716 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
29717 # Speed up: don't consider the non
`#undef'
29718 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
29719 # Work around the forget-to-reset-the-flag bug.
29720 echo 't clr' >>$CONFIG_STATUS
29721 echo ': clr' >>$CONFIG_STATUS
29722 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
29724 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
29726 mv $tmp/out $tmp/in
29728 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
29729 rm -f conftest.undefs
29730 mv conftest.tail conftest.undefs
29732 rm -f conftest.undefs
29734 cat >>$CONFIG_STATUS <<\_ACEOF
29735 # Let's still pretend it is `configure
' which instantiates (i.e., don't
29736 # use $as_me), people would be surprised to read:
29737 # /* config.h. Generated by config.status. */
29738 if test x
"$ac_file" = x-
; then
29739 echo "/* Generated by configure. */" >$tmp/config.h
29741 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
29743 cat $tmp/in >>$tmp/config.h
29745 if test x
"$ac_file" != x-
; then
29746 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
29747 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
29748 echo "$as_me: $ac_file is unchanged" >&6;}
29750 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
29751 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29752 X"$ac_file" : 'X\(//\)[^/]' \| \
29753 X"$ac_file" : 'X\(//\)$' \| \
29754 X"$ac_file" : 'X\(/\)' \| \
29755 . : '\(.\)' 2>/dev/null ||
29757 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29758 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29759 /^X\(\/\/\)$/{ s//\1/; q; }
29760 /^X\(\/\).*/{ s//\1/; q; }
29762 { if $as_mkdir_p; then
29767 while test ! -d "$as_dir"; do
29768 as_dirs
="$as_dir $as_dirs"
29769 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
29770 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29771 X"$as_dir" : 'X\(//\)[^/]' \| \
29772 X"$as_dir" : 'X\(//\)$' \| \
29773 X"$as_dir" : 'X\(/\)' \| \
29774 . : '\(.\)' 2>/dev/null ||
29776 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29777 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29778 /^X\(\/\/\)$/{ s//\1/; q; }
29779 /^X\(\/\).*/{ s//\1/; q; }
29782 test ! -n "$as_dirs" || mkdir
$as_dirs
29783 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29784 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29785 { (exit 1); exit 1; }; }; }
29788 mv $tmp/config.h
$ac_file
29792 rm -f $tmp/config.h
29794 # Compute $ac_file's index in $config_headers.
29796 for _am_header
in $config_headers :; do
29797 case $_am_header in
29798 $ac_file |
$ac_file:* )
29801 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
29804 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
29805 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29806 X$ac_file : 'X\(//\)[^/]' \| \
29807 X$ac_file : 'X\(//\)$' \| \
29808 X$ac_file : 'X\(/\)' \| \
29809 . : '\(.\)' 2>/dev/null ||
29811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29812 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29813 /^X\(\/\/\)$/{ s//\1/; q; }
29814 /^X\(\/\).*/{ s//\1/; q; }
29815 s/.*/./; q'`/stamp-h
$_am_stamp_count
29818 cat >>$CONFIG_STATUS <<\_ACEOF
29821 # CONFIG_LINKS section.
29824 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
29825 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
29826 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29828 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
29829 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
29831 if test ! -r $srcdir/$ac_source; then
29832 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
29833 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
29834 { (exit 1); exit 1; }; }
29838 # Make relative symlinks.
29839 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
29840 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29841 X"$ac_dest" : 'X\(//\)[^/]' \| \
29842 X"$ac_dest" : 'X\(//\)$' \| \
29843 X"$ac_dest" : 'X\(/\)' \| \
29844 . : '\(.\)' 2>/dev/null ||
29846 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29847 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29848 /^X\(\/\/\)$/{ s//\1/; q; }
29849 /^X\(\/\).*/{ s//\1/; q; }
29851 { if $as_mkdir_p; then
29852 mkdir
-p "$ac_dest_dir"
29854 as_dir
="$ac_dest_dir"
29856 while test ! -d "$as_dir"; do
29857 as_dirs
="$as_dir $as_dirs"
29858 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
29859 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29860 X"$as_dir" : 'X\(//\)[^/]' \| \
29861 X"$as_dir" : 'X\(//\)$' \| \
29862 X"$as_dir" : 'X\(/\)' \| \
29863 . : '\(.\)' 2>/dev/null ||
29865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29867 /^X\(\/\/\)$/{ s//\1/; q; }
29868 /^X\(\/\).*/{ s//\1/; q; }
29871 test ! -n "$as_dirs" || mkdir
$as_dirs
29872 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
29873 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
29874 { (exit 1); exit 1; }; }; }
29878 if test "$ac_dest_dir" != .
; then
29879 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
29880 # A "../" for each directory in $ac_dir_suffix.
29881 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
29883 ac_dir_suffix
= ac_top_builddir
=
29887 .
) # No --srcdir option. We are building in place.
29889 if test -z "$ac_top_builddir"; then
29892 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
29894 [\\/]* | ?
:[\\/]* ) # Absolute path.
29895 ac_srcdir
=$srcdir$ac_dir_suffix;
29896 ac_top_srcdir
=$srcdir ;;
29897 *) # Relative path.
29898 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
29899 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
29902 # Do not use `cd foo && pwd` to compute absolute paths, because
29903 # the directories may not exist.
29905 .
) ac_abs_builddir
="$ac_dest_dir";;
29907 case "$ac_dest_dir" in
29908 .
) ac_abs_builddir
=`pwd`;;
29909 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
29910 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
29913 case $ac_abs_builddir in
29914 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29916 case ${ac_top_builddir}.
in
29917 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
29918 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29919 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
29922 case $ac_abs_builddir in
29923 .
) ac_abs_srcdir
=$ac_srcdir;;
29926 .
) ac_abs_srcdir
=$ac_abs_builddir;;
29927 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
29928 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
29931 case $ac_abs_builddir in
29932 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
29934 case $ac_top_srcdir in
29935 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
29936 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
29937 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
29943 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
29944 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
29947 # Try a symlink, then a hard link, then a copy.
29948 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
29949 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
29950 cp -p $srcdir/$ac_source $ac_dest ||
29951 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
29952 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
29953 { (exit 1); exit 1; }; }
29956 cat >>$CONFIG_STATUS <<\_ACEOF
29959 # CONFIG_COMMANDS section.
29961 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
29962 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
29963 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29964 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
29965 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29966 X"$ac_dest" : 'X\(//\)[^/]' \| \
29967 X"$ac_dest" : 'X\(//\)$' \| \
29968 X"$ac_dest" : 'X\(/\)' \| \
29969 . : '\(.\)' 2>/dev/null ||
29971 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29972 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29973 /^X\(\/\/\)$/{ s//\1/; q; }
29974 /^X\(\/\).*/{ s//\1/; q; }
29976 { if $as_mkdir_p; then
29981 while test ! -d "$as_dir"; do
29982 as_dirs
="$as_dir $as_dirs"
29983 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
29984 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29985 X"$as_dir" : 'X\(//\)[^/]' \| \
29986 X"$as_dir" : 'X\(//\)$' \| \
29987 X"$as_dir" : 'X\(/\)' \| \
29988 . : '\(.\)' 2>/dev/null ||
29990 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29991 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29992 /^X\(\/\/\)$/{ s//\1/; q; }
29993 /^X\(\/\).*/{ s//\1/; q; }
29996 test ! -n "$as_dirs" || mkdir
$as_dirs
29997 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29998 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29999 { (exit 1); exit 1; }; }; }
30003 if test "$ac_dir" != .
; then
30004 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30005 # A "../" for each directory in $ac_dir_suffix.
30006 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30008 ac_dir_suffix
= ac_top_builddir
=
30012 .
) # No --srcdir option. We are building in place.
30014 if test -z "$ac_top_builddir"; then
30017 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
30019 [\\/]* | ?
:[\\/]* ) # Absolute path.
30020 ac_srcdir
=$srcdir$ac_dir_suffix;
30021 ac_top_srcdir
=$srcdir ;;
30022 *) # Relative path.
30023 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
30024 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
30027 # Do not use `cd foo && pwd` to compute absolute paths, because
30028 # the directories may not exist.
30030 .
) ac_abs_builddir
="$ac_dir";;
30033 .
) ac_abs_builddir
=`pwd`;;
30034 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
30035 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
30038 case $ac_abs_builddir in
30039 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30041 case ${ac_top_builddir}.
in
30042 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
30043 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30044 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
30047 case $ac_abs_builddir in
30048 .
) ac_abs_srcdir
=$ac_srcdir;;
30051 .
) ac_abs_srcdir
=$ac_abs_builddir;;
30052 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
30053 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
30056 case $ac_abs_builddir in
30057 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
30059 case $ac_top_srcdir in
30060 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
30061 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
30062 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
30067 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
30068 echo "$as_me: executing $ac_dest commands" >&6;}
30071 # Only add multilib support code if we just rebuilt the top-level
30073 case " $CONFIG_FILES " in
30075 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
30078 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
30079 # Strip MF so we end up with the name of the file.
30080 mf
=`echo "$mf" | sed -e 's/:.*$//'`
30081 # Check whether this is an Automake generated Makefile or not.
30082 # We used to match only the files named `Makefile.in', but
30083 # some people rename them; so instead we look at the file content.
30084 # Grep'ing the first line is not enough: some people post-process
30085 # each Makefile.in and add a new line on top of each file to say so.
30086 # So let's grep whole file.
30087 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
30088 dirpart
=`(dirname "$mf") 2>/dev/null ||
30089 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30090 X"$mf" : 'X\(//\)[^/]' \| \
30091 X"$mf" : 'X\(//\)$' \| \
30092 X"$mf" : 'X\(/\)' \| \
30093 . : '\(.\)' 2>/dev/null ||
30095 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30096 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30097 /^X\(\/\/\)$/{ s//\1/; q; }
30098 /^X\(\/\).*/{ s//\1/; q; }
30103 # Extract the definition of DEPDIR, am__include, and am__quote
30104 # from the Makefile without running `make'.
30105 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
30106 test -z "$DEPDIR" && continue
30107 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
30108 test -z "am__include" && continue
30109 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
30110 # When using ansi2knr, U may be empty or an underscore; expand it
30111 U
=`sed -n 's/^U = //p' < "$mf"`
30112 # Find all dependency output files, they are included files with
30113 # $(DEPDIR) in their names. We invoke sed twice because it is the
30114 # simplest approach to changing $(DEPDIR) to its actual value in the
30116 for file in `sed -n "
30117 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
30118 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
30119 # Make sure the directory exists.
30120 test -f "$dirpart/$file" && continue
30121 fdir
=`(dirname "$file") 2>/dev/null ||
30122 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30123 X"$file" : 'X\(//\)[^/]' \| \
30124 X"$file" : 'X\(//\)$' \| \
30125 X"$file" : 'X\(/\)' \| \
30126 . : '\(.\)' 2>/dev/null ||
30128 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30129 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30130 /^X\(\/\/\)$/{ s//\1/; q; }
30131 /^X\(\/\).*/{ s//\1/; q; }
30133 { if $as_mkdir_p; then
30134 mkdir
-p $dirpart/$fdir
30136 as_dir
=$dirpart/$fdir
30138 while test ! -d "$as_dir"; do
30139 as_dirs
="$as_dir $as_dirs"
30140 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30141 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30142 X"$as_dir" : 'X\(//\)[^/]' \| \
30143 X"$as_dir" : 'X\(//\)$' \| \
30144 X"$as_dir" : 'X\(/\)' \| \
30145 . : '\(.\)' 2>/dev/null ||
30147 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30148 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30149 /^X\(\/\/\)$/{ s//\1/; q; }
30150 /^X\(\/\).*/{ s//\1/; q; }
30153 test ! -n "$as_dirs" || mkdir
$as_dirs
30154 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
30155 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
30156 { (exit 1); exit 1; }; }; }
30158 # echo "creating $dirpart/$file"
30159 echo '# dummy' > "$dirpart/$file"
30165 # See if we are running on zsh, and set the options which allow our
30166 # commands through without removal of \ escapes.
30167 if test -n "${ZSH_VERSION+set}" ; then
30168 setopt NO_GLOB_SUBST
30171 cfgfile
="${ofile}T"
30172 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
30175 cat <<_LT_EOF >> "$cfgfile"
30178 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
30179 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
30180 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
30181 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
30183 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
30184 # 2006, 2007 Free Software Foundation, Inc.
30186 # This file is part of GNU Libtool:
30187 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
30189 # This program is free software; you can redistribute it and/or modify
30190 # it under the terms of the GNU General Public License as published by
30191 # the Free Software Foundation; either version 2 of the License, or
30192 # (at your option) any later version.
30194 # This program is distributed in the hope that it will be useful, but
30195 # WITHOUT ANY WARRANTY; without even the implied warranty of
30196 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
30197 # General Public License for more details.
30199 # You should have received a copy of the GNU General Public License
30200 # along with this program; if not, a copy can be downloaded from
30201 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
30202 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
30203 # MA 02110-1301, USA.
30205 # As a special exception to the GNU General Public License, if you
30206 # distribute this file as part of a program that contains a
30207 # configuration script generated by Autoconf, you may include it under
30208 # the same distribution terms that you use for the rest of that program.
30211 # The names of the tagged configurations supported by this script.
30212 available_tags="CXX GCJ "
30214 # ### BEGIN LIBTOOL CONFIG
30216 # Which release of libtool.m4 was used?
30217 macro_version=$macro_version
30218 macro_revision=$macro_revision
30220 # Whether or not to build shared libraries.
30221 build_libtool_libs=$enable_shared
30223 # Whether or not to build static libraries.
30224 build_old_libs=$enable_static
30226 # What type of objects to build.
30229 # Whether or not to optimize for fast installation.
30230 fast_install=$enable_fast_install
30233 host_alias=$host_alias
30237 # The build system.
30238 build_alias=$build_alias
30242 # A sed program that does not truncate output.
30245 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
30246 Xsed="\$SED -e 1s/^X//"
30248 # A grep program that handles long lines.
30254 # A literal string matcher.
30257 # A BSD- or MS-compatible name lister.
30260 # Whether we need soft or hard links.
30263 # What is the maximum length of a command?
30264 max_cmd_len=$max_cmd_len
30266 # Object file suffix (normally "o").
30269 # Executable file suffix (normally "").
30272 # whether the shell understands "unset".
30275 # turn spaces into newlines.
30278 # turn newlines into spaces.
30281 # How to create reloadable object files.
30282 reload_flag=$lt_reload_flag
30283 reload_cmds=$lt_reload_cmds
30285 # Method to check whether dependent libraries are shared objects.
30286 deplibs_check_method=$lt_deplibs_check_method
30288 # Command to use when deplibs_check_method == "file_magic".
30289 file_magic_cmd=$lt_file_magic_cmd
30293 AR_FLAGS=$lt_AR_FLAGS
30295 # A symbol stripping program.
30298 # Commands used to install an old-style archive.
30300 old_postinstall_cmds=$lt_old_postinstall_cmds
30301 old_postuninstall_cmds=$lt_old_postuninstall_cmds
30306 # LTCC compiler flags.
30307 LTCFLAGS=$lt_CFLAGS
30309 # Take the output of nm and produce a listing of raw symbols and C names.
30310 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
30312 # Transform the output of nm in a proper C declaration.
30313 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
30315 # Transform the output of nm in a C name address pair.
30316 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
30318 # The name of the directory that contains temporary libtool files.
30321 # Shell to use when invoking shell scripts.
30324 # An echo program that does not interpret backslashes.
30327 # Used to examine libraries when file_magic_cmd begins with "file".
30328 MAGIC_CMD=$MAGIC_CMD
30330 # Must we lock files when doing compilation?
30331 need_locks=$lt_need_locks
30333 # Old archive suffix (normally "a").
30336 # Shared library suffix (normally ".so").
30337 shrext_cmds=$lt_shrext_cmds
30339 # The commands to extract the exported symbol list from a shared archive.
30340 extract_expsyms_cmds=$lt_extract_expsyms_cmds
30342 # Variables whose values should be saved in libtool wrapper scripts and
30343 # restored at link time.
30344 variables_saved_for_relink=$lt_variables_saved_for_relink
30346 # Do we need the "lib" prefix for modules?
30347 need_lib_prefix=$need_lib_prefix
30349 # Do we need a version for libraries?
30350 need_version=$need_version
30352 # Library versioning type.
30353 version_type=$version_type
30355 # Shared library runtime path variable.
30356 runpath_var=$runpath_var
30358 # Shared library path variable.
30359 shlibpath_var=$shlibpath_var
30361 # Is shlibpath searched before the hard-coded library search path?
30362 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
30364 # Format of library name prefix.
30365 libname_spec=$lt_libname_spec
30367 # List of archive names. First name is the real one, the rest are links.
30368 # The last name is the one that the linker finds with -lNAME
30369 library_names_spec=$lt_library_names_spec
30371 # The coded name of the library, if different from the real name.
30372 soname_spec=$lt_soname_spec
30374 # Command to use after installation of a shared archive.
30375 postinstall_cmds=$lt_postinstall_cmds
30377 # Command to use after uninstallation of a shared archive.
30378 postuninstall_cmds=$lt_postuninstall_cmds
30380 # Commands used to finish a libtool library installation in a directory.
30381 finish_cmds=$lt_finish_cmds
30383 # As "finish_cmds", except a single script fragment to be evaled but
30385 finish_eval=$lt_finish_eval
30387 # Whether we should hardcode library paths into libraries.
30388 hardcode_into_libs=$hardcode_into_libs
30390 # Compile-time system search path for libraries.
30391 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
30393 # Run-time system search path for libraries.
30394 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
30396 # Whether dlopen is supported.
30397 dlopen_support=$enable_dlopen
30399 # Whether dlopen of programs is supported.
30400 dlopen_self=$enable_dlopen_self
30402 # Whether dlopen of statically linked programs is supported.
30403 dlopen_self_static=$enable_dlopen_self_static
30405 # Commands to strip libraries.
30406 old_striplib=$lt_old_striplib
30407 striplib=$lt_striplib
30410 # The linker used to build libraries.
30413 # Commands used to build an old-style archive.
30414 old_archive_cmds=$lt_old_archive_cmds
30416 # A language specific compiler.
30419 # Is the compiler the GNU compiler?
30422 # Compiler flag to turn off builtin functions.
30423 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
30425 # How to pass a linker flag through the compiler.
30426 wl=$lt_lt_prog_compiler_wl
30428 # Additional compiler flags for building library objects.
30429 pic_flag=$lt_lt_prog_compiler_pic
30431 # Compiler flag to prevent dynamic linking.
30432 link_static_flag=$lt_lt_prog_compiler_static
30434 # Does compiler simultaneously support -c and -o options?
30435 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
30437 # Whether or not to add -lc for building shared libraries.
30438 build_libtool_need_lc=$archive_cmds_need_lc
30440 # Whether or not to disallow shared libs when runtime libs are static.
30441 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
30443 # Compiler flag to allow reflexive dlopens.
30444 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
30446 # Compiler flag to generate shared objects directly from archives.
30447 whole_archive_flag_spec=$lt_whole_archive_flag_spec
30449 # Whether the compiler copes with passing no objects directly.
30450 compiler_needs_object=$lt_compiler_needs_object
30452 # Create an old-style archive from a shared archive.
30453 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
30455 # Create a temporary old-style archive to link instead of a shared archive.
30456 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
30458 # Commands used to build a shared archive.
30459 archive_cmds=$lt_archive_cmds
30460 archive_expsym_cmds=$lt_archive_expsym_cmds
30462 # Commands used to build a loadable module if different from building
30463 # a shared archive.
30464 module_cmds=$lt_module_cmds
30465 module_expsym_cmds=$lt_module_expsym_cmds
30467 # Whether we are building with GNU ld or not.
30468 with_gnu_ld=$lt_with_gnu_ld
30470 # Flag that allows shared libraries with undefined symbols to be built.
30471 allow_undefined_flag=$lt_allow_undefined_flag
30473 # Flag that enforces no undefined symbols.
30474 no_undefined_flag=$lt_no_undefined_flag
30476 # Flag to hardcode \$libdir into a binary during linking.
30477 # This must work even if \$libdir does not exist
30478 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
30480 # If ld is used when linking, flag to hardcode \$libdir into a binary
30481 # during linking. This must work even if \$libdir does not exist.
30482 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
30484 # Whether we need a single "-rpath" flag with a separated argument.
30485 hardcode_libdir_separator=$lt_hardcode_libdir_separator
30487 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30488 # DIR into the resulting binary.
30489 hardcode_direct=$hardcode_direct
30491 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30492 # DIR into the resulting binary and the resulting library dependency is
30493 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
30494 # library is relocated.
30495 hardcode_direct_absolute=$hardcode_direct_absolute
30497 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30498 # into the resulting binary.
30499 hardcode_minus_L=$hardcode_minus_L
30501 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
30502 # into the resulting binary.
30503 hardcode_shlibpath_var=$hardcode_shlibpath_var
30505 # Set to "yes" if building a shared library automatically hardcodes DIR
30506 # into the library and all subsequent libraries and executables linked
30508 hardcode_automatic=$hardcode_automatic
30510 # Set to yes if linker adds runtime paths of dependent libraries
30511 # to runtime path list.
30512 inherit_rpath=$inherit_rpath
30514 # Whether libtool must link a program against all its dependency libraries.
30515 link_all_deplibs=$link_all_deplibs
30517 # Fix the shell variable \$srcfile for the compiler.
30518 fix_srcfile_path=$lt_fix_srcfile_path
30520 # Set to "yes" if exported symbols are required.
30521 always_export_symbols=$always_export_symbols
30523 # The commands to list exported symbols.
30524 export_symbols_cmds=$lt_export_symbols_cmds
30526 # Symbols that should not be listed in the preloaded symbols.
30527 exclude_expsyms=$lt_exclude_expsyms
30529 # Symbols that must always be exported.
30530 include_expsyms=$lt_include_expsyms
30532 # Commands necessary for linking programs (against libraries) with templates.
30533 prelink_cmds=$lt_prelink_cmds
30535 # Specify filename containing input files.
30536 file_list_spec=$lt_file_list_spec
30538 # How to hardcode a shared library path into an executable.
30539 hardcode_action=$hardcode_action
30541 # Dependencies to place before and after the objects being linked to
30542 # create a shared library.
30543 predep_objects=$lt_predep_objects
30544 postdep_objects=$lt_postdep_objects
30545 predeps=$lt_predeps
30546 postdeps=$lt_postdeps
30548 # The library search path used internally by the compiler when linking
30549 # a shared library.
30550 compiler_lib_search_path=$lt_compiler_lib_search_path
30552 # ### END LIBTOOL CONFIG
30558 cat <<\_LT_EOF
>> "$cfgfile"
30559 # AIX sometimes has problems with the GCC collect2 program. For some
30560 # reason, if we set the COLLECT_NAMES environment variable, the problems
30561 # vanish in a puff of smoke.
30562 if test "X${COLLECT_NAMES+set}" != Xset
; then
30564 export COLLECT_NAMES
30571 ltmain
="$ac_aux_dir/ltmain.sh"
30574 # We use sed instead of cat because bash on DJGPP gets confused if
30575 # if finds mixed CR/LF and LF-only lines. Since sed operates in
30576 # text mode, it properly converts lines to CR/LF. This bash problem
30577 # is reportedly fixed, but why not run on old versions too?
30578 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
30579 ||
(rm -f "$cfgfile"; exit 1)
30583 cat << \_LT_EOF
>> "$cfgfile"
30584 # func_dirname file append nondir_replacement
30585 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
30586 # otherwise set result to NONDIR_REPLACEMENT.
30590 */*) func_dirname_result
="${1%/*}${2}" ;;
30591 * ) func_dirname_result
="${3}" ;;
30595 # func_basename file
30598 func_basename_result
="${1##*/}"
30601 # func_stripname prefix suffix name
30602 # strip PREFIX and SUFFIX off of NAME.
30603 # PREFIX and SUFFIX must not contain globbing or regex special
30604 # characters, hashes, percent signs, but SUFFIX may contain a leading
30605 # dot (in which case that matches only a dot).
30608 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
30609 # positional parameters, so assign one to ordinary parameter first.
30610 func_stripname_result
=${3}
30611 func_stripname_result
=${func_stripname_result#"${1}"}
30612 func_stripname_result
=${func_stripname_result%"${2}"}
30618 func_opt_split_opt
=${1%%=*}
30619 func_opt_split_arg
=${1#*=}
30626 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
30627 *) func_lo2o_result
=${1} ;;
30632 *) # Bourne compatible functions.
30633 cat << \_LT_EOF
>> "$cfgfile"
30634 # func_dirname file append nondir_replacement
30635 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
30636 # otherwise set result to NONDIR_REPLACEMENT.
30639 # Extract subdirectory from the argument.
30640 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
30641 if test "X$func_dirname_result" = "X${1}"; then
30642 func_dirname_result
="${3}"
30644 func_dirname_result
="$func_dirname_result${2}"
30648 # func_basename file
30651 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
30654 # func_stripname prefix suffix name
30655 # strip PREFIX and SUFFIX off of NAME.
30656 # PREFIX and SUFFIX must not contain globbing or regex special
30657 # characters, hashes, percent signs, but SUFFIX may contain a leading
30658 # dot (in which case that matches only a dot).
30659 # func_strip_suffix prefix name
30663 .
*) func_stripname_result
=`$ECHO "X${3}" \
30664 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
30665 *) func_stripname_result
=`$ECHO "X${3}" \
30666 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
30671 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
30672 my_sed_long_arg
='1s/^-[^=]*=//'
30677 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
30678 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
30684 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
30689 case $lt_shell_append in
30691 cat << \_LT_EOF
>> "$cfgfile"
30693 # func_append var value
30694 # Append VALUE to the end of shell variable VAR.
30702 cat << \_LT_EOF
>> "$cfgfile"
30704 # func_append var value
30705 # Append VALUE to the end of shell variable VAR.
30715 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
30716 ||
(rm -f "$cfgfile"; exit 1)
30718 mv -f "$cfgfile" "$ofile" ||
30719 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
30723 cat <<_LT_EOF >> "$ofile"
30725 # ### BEGIN LIBTOOL TAG CONFIG: CXX
30727 # The linker used to build libraries.
30730 # Commands used to build an old-style archive.
30731 old_archive_cmds=$lt_old_archive_cmds_CXX
30733 # A language specific compiler.
30734 CC=$lt_compiler_CXX
30736 # Is the compiler the GNU compiler?
30739 # Compiler flag to turn off builtin functions.
30740 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
30742 # How to pass a linker flag through the compiler.
30743 wl=$lt_lt_prog_compiler_wl_CXX
30745 # Additional compiler flags for building library objects.
30746 pic_flag=$lt_lt_prog_compiler_pic_CXX
30748 # Compiler flag to prevent dynamic linking.
30749 link_static_flag=$lt_lt_prog_compiler_static_CXX
30751 # Does compiler simultaneously support -c and -o options?
30752 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
30754 # Whether or not to add -lc for building shared libraries.
30755 build_libtool_need_lc=$archive_cmds_need_lc_CXX
30757 # Whether or not to disallow shared libs when runtime libs are static.
30758 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
30760 # Compiler flag to allow reflexive dlopens.
30761 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
30763 # Compiler flag to generate shared objects directly from archives.
30764 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
30766 # Whether the compiler copes with passing no objects directly.
30767 compiler_needs_object=$lt_compiler_needs_object_CXX
30769 # Create an old-style archive from a shared archive.
30770 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
30772 # Create a temporary old-style archive to link instead of a shared archive.
30773 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
30775 # Commands used to build a shared archive.
30776 archive_cmds=$lt_archive_cmds_CXX
30777 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
30779 # Commands used to build a loadable module if different from building
30780 # a shared archive.
30781 module_cmds=$lt_module_cmds_CXX
30782 module_expsym_cmds=$lt_module_expsym_cmds_CXX
30784 # Whether we are building with GNU ld or not.
30785 with_gnu_ld=$lt_with_gnu_ld_CXX
30787 # Flag that allows shared libraries with undefined symbols to be built.
30788 allow_undefined_flag=$lt_allow_undefined_flag_CXX
30790 # Flag that enforces no undefined symbols.
30791 no_undefined_flag=$lt_no_undefined_flag_CXX
30793 # Flag to hardcode \$libdir into a binary during linking.
30794 # This must work even if \$libdir does not exist
30795 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
30797 # If ld is used when linking, flag to hardcode \$libdir into a binary
30798 # during linking. This must work even if \$libdir does not exist.
30799 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
30801 # Whether we need a single "-rpath" flag with a separated argument.
30802 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
30804 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30805 # DIR into the resulting binary.
30806 hardcode_direct=$hardcode_direct_CXX
30808 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30809 # DIR into the resulting binary and the resulting library dependency is
30810 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
30811 # library is relocated.
30812 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
30814 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30815 # into the resulting binary.
30816 hardcode_minus_L=$hardcode_minus_L_CXX
30818 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
30819 # into the resulting binary.
30820 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
30822 # Set to "yes" if building a shared library automatically hardcodes DIR
30823 # into the library and all subsequent libraries and executables linked
30825 hardcode_automatic=$hardcode_automatic_CXX
30827 # Set to yes if linker adds runtime paths of dependent libraries
30828 # to runtime path list.
30829 inherit_rpath=$inherit_rpath_CXX
30831 # Whether libtool must link a program against all its dependency libraries.
30832 link_all_deplibs=$link_all_deplibs_CXX
30834 # Fix the shell variable \$srcfile for the compiler.
30835 fix_srcfile_path=$lt_fix_srcfile_path_CXX
30837 # Set to "yes" if exported symbols are required.
30838 always_export_symbols=$always_export_symbols_CXX
30840 # The commands to list exported symbols.
30841 export_symbols_cmds=$lt_export_symbols_cmds_CXX
30843 # Symbols that should not be listed in the preloaded symbols.
30844 exclude_expsyms=$lt_exclude_expsyms_CXX
30846 # Symbols that must always be exported.
30847 include_expsyms=$lt_include_expsyms_CXX
30849 # Commands necessary for linking programs (against libraries) with templates.
30850 prelink_cmds=$lt_prelink_cmds_CXX
30852 # Specify filename containing input files.
30853 file_list_spec=$lt_file_list_spec_CXX
30855 # How to hardcode a shared library path into an executable.
30856 hardcode_action=$hardcode_action_CXX
30858 # Dependencies to place before and after the objects being linked to
30859 # create a shared library.
30860 predep_objects=$lt_predep_objects_CXX
30861 postdep_objects=$lt_postdep_objects_CXX
30862 predeps=$lt_predeps_CXX
30863 postdeps=$lt_postdeps_CXX
30865 # The library search path used internally by the compiler when linking
30866 # a shared library.
30867 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
30869 # ### END LIBTOOL TAG CONFIG: CXX
30873 cat <<_LT_EOF >> "$ofile"
30875 # ### BEGIN LIBTOOL TAG CONFIG: GCJ
30877 # The linker used to build libraries.
30880 # Commands used to build an old-style archive.
30881 old_archive_cmds=$lt_old_archive_cmds_GCJ
30883 # A language specific compiler.
30884 CC=$lt_compiler_GCJ
30886 # Is the compiler the GNU compiler?
30889 # Compiler flag to turn off builtin functions.
30890 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
30892 # How to pass a linker flag through the compiler.
30893 wl=$lt_lt_prog_compiler_wl_GCJ
30895 # Additional compiler flags for building library objects.
30896 pic_flag=$lt_lt_prog_compiler_pic_GCJ
30898 # Compiler flag to prevent dynamic linking.
30899 link_static_flag=$lt_lt_prog_compiler_static_GCJ
30901 # Does compiler simultaneously support -c and -o options?
30902 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
30904 # Whether or not to add -lc for building shared libraries.
30905 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
30907 # Whether or not to disallow shared libs when runtime libs are static.
30908 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
30910 # Compiler flag to allow reflexive dlopens.
30911 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
30913 # Compiler flag to generate shared objects directly from archives.
30914 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
30916 # Whether the compiler copes with passing no objects directly.
30917 compiler_needs_object=$lt_compiler_needs_object_GCJ
30919 # Create an old-style archive from a shared archive.
30920 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
30922 # Create a temporary old-style archive to link instead of a shared archive.
30923 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
30925 # Commands used to build a shared archive.
30926 archive_cmds=$lt_archive_cmds_GCJ
30927 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
30929 # Commands used to build a loadable module if different from building
30930 # a shared archive.
30931 module_cmds=$lt_module_cmds_GCJ
30932 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
30934 # Whether we are building with GNU ld or not.
30935 with_gnu_ld=$lt_with_gnu_ld_GCJ
30937 # Flag that allows shared libraries with undefined symbols to be built.
30938 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
30940 # Flag that enforces no undefined symbols.
30941 no_undefined_flag=$lt_no_undefined_flag_GCJ
30943 # Flag to hardcode \$libdir into a binary during linking.
30944 # This must work even if \$libdir does not exist
30945 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
30947 # If ld is used when linking, flag to hardcode \$libdir into a binary
30948 # during linking. This must work even if \$libdir does not exist.
30949 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
30951 # Whether we need a single "-rpath" flag with a separated argument.
30952 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
30954 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30955 # DIR into the resulting binary.
30956 hardcode_direct=$hardcode_direct_GCJ
30958 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30959 # DIR into the resulting binary and the resulting library dependency is
30960 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
30961 # library is relocated.
30962 hardcode_direct_absolute=$hardcode_direct_absolute_GCJ
30964 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30965 # into the resulting binary.
30966 hardcode_minus_L=$hardcode_minus_L_GCJ
30968 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
30969 # into the resulting binary.
30970 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
30972 # Set to "yes" if building a shared library automatically hardcodes DIR
30973 # into the library and all subsequent libraries and executables linked
30975 hardcode_automatic=$hardcode_automatic_GCJ
30977 # Set to yes if linker adds runtime paths of dependent libraries
30978 # to runtime path list.
30979 inherit_rpath=$inherit_rpath_GCJ
30981 # Whether libtool must link a program against all its dependency libraries.
30982 link_all_deplibs=$link_all_deplibs_GCJ
30984 # Fix the shell variable \$srcfile for the compiler.
30985 fix_srcfile_path=$lt_fix_srcfile_path_GCJ
30987 # Set to "yes" if exported symbols are required.
30988 always_export_symbols=$always_export_symbols_GCJ
30990 # The commands to list exported symbols.
30991 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
30993 # Symbols that should not be listed in the preloaded symbols.
30994 exclude_expsyms=$lt_exclude_expsyms_GCJ
30996 # Symbols that must always be exported.
30997 include_expsyms=$lt_include_expsyms_GCJ
30999 # Commands necessary for linking programs (against libraries) with templates.
31000 prelink_cmds=$lt_prelink_cmds_GCJ
31002 # Specify filename containing input files.
31003 file_list_spec=$lt_file_list_spec_GCJ
31005 # How to hardcode a shared library path into an executable.
31006 hardcode_action=$hardcode_action_GCJ
31008 # Dependencies to place before and after the objects being linked to
31009 # create a shared library.
31010 predep_objects=$lt_predep_objects_GCJ
31011 postdep_objects=$lt_postdep_objects_GCJ
31012 predeps=$lt_predeps_GCJ
31013 postdeps=$lt_postdeps_GCJ
31015 # The library search path used internally by the compiler when linking
31016 # a shared library.
31017 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
31019 # ### END LIBTOOL TAG CONFIG: GCJ
31027 cat >>$CONFIG_STATUS <<\_ACEOF
31029 { (exit 0); exit 0; }
31031 chmod +x
$CONFIG_STATUS
31032 ac_clean_files
=$ac_clean_files_save
31035 # configure is writing to config.log, and then calls config.status.
31036 # config.status does its own redirection, appending to config.log.
31037 # Unfortunately, on DOS this fails, as config.log is still kept open
31038 # by configure, so config.status won't be able to write to it; its
31039 # output is simply discarded. So we exec the FD to /dev/null,
31040 # effectively closing config.log, so it can be properly (re)opened and
31041 # appended to by config.status. When coming back to configure, we
31042 # need to make the FD available again.
31043 if test "$no_create" != yes; then
31045 ac_config_status_args
=
31046 test "$silent" = yes &&
31047 ac_config_status_args
="$ac_config_status_args --quiet"
31049 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
31051 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
31052 # would make configure fail if this is the last instruction.
31053 $ac_cs_success ||
{ (exit 1); exit 1; }
31057 # CONFIG_SUBDIRS section, as fixed in confsubdir.m4.
31059 if test "$no_recursion" != yes; then
31061 # Remove --cache-file and --srcdir arguments so they do not pile up.
31062 ac_sub_configure_args
=
31064 eval "set x $ac_configure_args"
31068 if test -n "$ac_prev"; then
31073 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
31074 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
31075 ac_prev
=cache_file
;;
31076 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
31077 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
31080 --config-cache |
-C)
31082 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
31084 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
31086 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
31088 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
31092 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
31094 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
31098 # Always prepend --prefix to ensure using the same prefix
31099 # in subdir configurations.
31100 ac_arg
="--prefix=$prefix"
31102 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
31104 ac_sub_configure_args
="$ac_arg $ac_sub_configure_args"
31107 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
31109 # Do not complain, so a configure script can configure whichever
31110 # parts of a large source tree are present.
31111 test -d "$srcdir/$ac_dir" ||
continue
31113 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
31114 echo "$as_me: configuring in $ac_dir" >&6;}
31115 { if $as_mkdir_p; then
31120 while test ! -d "$as_dir"; do
31121 as_dirs
="$as_dir $as_dirs"
31122 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31123 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31124 X"$as_dir" : 'X\(//\)[^/]' \| \
31125 X"$as_dir" : 'X\(//\)$' \| \
31126 X"$as_dir" : 'X\(/\)' \| \
31127 . : '\(.\)' 2>/dev/null ||
31129 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31130 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31131 /^X\(\/\/\)$/{ s//\1/; q; }
31132 /^X\(\/\).*/{ s//\1/; q; }
31135 test ! -n "$as_dirs" || mkdir
$as_dirs
31136 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31137 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31138 { (exit 1); exit 1; }; }; }
31142 if test "$ac_dir" != .
; then
31143 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31144 # A "../" for each directory in $ac_dir_suffix.
31145 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31147 ac_dir_suffix
= ac_top_builddir
=
31151 .
) # No --srcdir option. We are building in place.
31153 if test -z "$ac_top_builddir"; then
31156 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
31158 [\\/]* | ?
:[\\/]* ) # Absolute path.
31159 ac_srcdir
=$srcdir$ac_dir_suffix;
31160 ac_top_srcdir
=$srcdir ;;
31161 *) # Relative path.
31162 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
31163 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
31166 # Do not use `cd foo && pwd` to compute absolute paths, because
31167 # the directories may not exist.
31169 .
) ac_abs_builddir
="$ac_dir";;
31172 .
) ac_abs_builddir
=`pwd`;;
31173 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
31174 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
31177 case $ac_abs_builddir in
31178 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31180 case ${ac_top_builddir}.
in
31181 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
31182 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31183 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
31186 case $ac_abs_builddir in
31187 .
) ac_abs_srcdir
=$ac_srcdir;;
31190 .
) ac_abs_srcdir
=$ac_abs_builddir;;
31191 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
31192 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
31195 case $ac_abs_builddir in
31196 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
31198 case $ac_top_srcdir in
31199 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
31200 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
31201 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
31208 # Check for guested configure; otherwise get Cygnus style configure.
31209 if test -f "$ac_srcdir/configure.gnu"; then
31210 ac_sub_configure
=$ac_srcdir/configure.gnu
31211 elif test -f "$ac_srcdir/configure"; then
31212 ac_sub_configure
=$ac_srcdir/configure
31213 elif test -f "$ac_srcdir/configure.in"; then
31214 # This should be Cygnus configure.
31215 ac_sub_configure
=$ac_aux_dir/configure
31217 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
31218 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
31222 # The recursion is here.
31223 if test -n "$ac_sub_configure"; then
31224 # Make the cache file name correct relative to the subdirectory.
31225 case $cache_file in
31226 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
31227 *) # Relative path.
31228 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
31231 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
31232 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
31233 # The eval makes quoting arguments work.
31234 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
31235 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
31236 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
31237 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
31238 { (exit 1); exit 1; }; }