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 # differences in whitespace do not lead to failure.
1474 ac_old_val_w
=`echo x $ac_old_val`
1475 ac_new_val_w
=`echo x $ac_new_val`
1476 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1477 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1478 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1479 ac_cache_corrupted
=:
1481 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1482 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1483 eval $ac_var=\
$ac_old_val
1485 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1486 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1487 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1488 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1491 # Pass precious variables to config.status.
1492 if test "$ac_new_set" = set; then
1494 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1495 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1496 *) ac_arg
=$ac_var=$ac_new_val ;;
1498 case " $ac_configure_args " in
1499 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1500 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1504 if $ac_cache_corrupted; then
1505 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1506 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1507 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1508 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1509 { (exit 1); exit 1; }; }
1513 ac_cpp
='$CPP $CPPFLAGS'
1514 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1515 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1516 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1548 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1549 if test -f $ac_dir/install-sh
; then
1551 ac_install_sh
="$ac_aux_dir/install-sh -c"
1553 elif test -f $ac_dir/install.sh
; then
1555 ac_install_sh
="$ac_aux_dir/install.sh -c"
1557 elif test -f $ac_dir/shtool
; then
1559 ac_install_sh
="$ac_aux_dir/shtool install -c"
1563 if test -z "$ac_aux_dir"; then
1564 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1565 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1566 { (exit 1); exit 1; }; }
1568 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1569 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1570 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1572 # Make sure we can run config.sub.
1573 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1574 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1575 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1576 { (exit 1); exit 1; }; }
1578 echo "$as_me:$LINENO: checking build system type" >&5
1579 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1580 if test "${ac_cv_build+set}" = set; then
1581 echo $ECHO_N "(cached) $ECHO_C" >&6
1583 ac_cv_build_alias
=$build_alias
1584 test -z "$ac_cv_build_alias" &&
1585 ac_cv_build_alias
=`$ac_config_guess`
1586 test -z "$ac_cv_build_alias" &&
1587 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1588 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1589 { (exit 1); exit 1; }; }
1590 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1591 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1592 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1593 { (exit 1); exit 1; }; }
1596 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1597 echo "${ECHO_T}$ac_cv_build" >&6
1599 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1600 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1601 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1604 case ${build_alias} in
1605 "") build_noncanonical
=${build} ;;
1606 *) build_noncanonical
=${build_alias} ;;
1609 case ${host_alias} in
1610 "") host_noncanonical
=${build_noncanonical} ;;
1611 *) host_noncanonical
=${host_alias} ;;
1614 case ${target_alias} in
1615 "") target_noncanonical
=${host_noncanonical} ;;
1616 *) target_noncanonical
=${target_alias} ;;
1620 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1621 # have matching libraries, they should use host libraries: Makefile.tpl
1622 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1623 # However, they still use the build modules, because the corresponding
1624 # host modules (e.g. bison) are only built for the host when bootstrap
1626 # - build_subdir is where we find build modules, and never changes.
1627 # - build_libsubdir is where we find build libraries, and can be overridden.
1629 # Prefix 'build-' so this never conflicts with target_subdir.
1630 build_subdir
="build-${build_noncanonical}"
1632 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1633 if test "${with_build_libsubdir+set}" = set; then
1634 withval
="$with_build_libsubdir"
1635 build_libsubdir
="$withval"
1637 build_libsubdir
="$build_subdir"
1639 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1640 if ( test $srcdir = .
&& test -d gcc
) \
1641 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1642 host_subdir
="host-${host_noncanonical}"
1647 target_subdir
=${target_noncanonical}
1650 # We use these options to decide which functions to include.
1652 # Check whether --with-target-subdir or --without-target-subdir was given.
1653 if test "${with_target_subdir+set}" = set; then
1654 withval
="$with_target_subdir"
1658 # We may get other options which we don't document:
1659 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1661 # Find the rest of the source tree framework.
1662 # Default to --enable-multilib
1663 # Check whether --enable-multilib or --disable-multilib was given.
1664 if test "${enable_multilib+set}" = set; then
1665 enableval
="$enable_multilib"
1666 case "$enableval" in
1667 yes) multilib
=yes ;;
1669 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1670 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1671 { (exit 1); exit 1; }; } ;;
1677 # We may get other options which we leave undocumented:
1678 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1679 # See config-ml.in if you want the gory details.
1681 if test "$srcdir" = "."; then
1682 if test "$with_target_subdir" != "."; then
1683 multi_basedir
="$srcdir/$with_multisrctop../.."
1685 multi_basedir
="$srcdir/$with_multisrctop.."
1688 multi_basedir
="$srcdir/.."
1692 # Even if the default multilib is not a cross compilation,
1693 # it may be that some of the other multilibs are.
1694 if test $cross_compiling = no
&& test $multilib = yes \
1695 && test "x${with_multisubdir}" != x
; then
1696 cross_compiling
=maybe
1699 ac_config_commands
="$ac_config_commands default-1"
1702 echo "$as_me:$LINENO: checking host system type" >&5
1703 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1704 if test "${ac_cv_host+set}" = set; then
1705 echo $ECHO_N "(cached) $ECHO_C" >&6
1707 ac_cv_host_alias
=$host_alias
1708 test -z "$ac_cv_host_alias" &&
1709 ac_cv_host_alias
=$ac_cv_build_alias
1710 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1711 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1712 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1713 { (exit 1); exit 1; }; }
1716 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1717 echo "${ECHO_T}$ac_cv_host" >&6
1719 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1720 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1721 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1724 echo "$as_me:$LINENO: checking target system type" >&5
1725 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1726 if test "${ac_cv_target+set}" = set; then
1727 echo $ECHO_N "(cached) $ECHO_C" >&6
1729 ac_cv_target_alias
=$target_alias
1730 test "x$ac_cv_target_alias" = "x" &&
1731 ac_cv_target_alias
=$ac_cv_host_alias
1732 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1733 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1734 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1735 { (exit 1); exit 1; }; }
1738 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1739 echo "${ECHO_T}$ac_cv_target" >&6
1740 target
=$ac_cv_target
1741 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1742 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1743 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1746 # The aliases save the names the user supplied, while $host etc.
1747 # will get canonicalized.
1748 test -n "$target_alias" &&
1749 test "$program_prefix$program_suffix$program_transform_name" = \
1751 program_prefix
=${target_alias}-
1752 case ${build_alias} in
1753 "") build_noncanonical
=${build} ;;
1754 *) build_noncanonical
=${build_alias} ;;
1757 case ${target_alias} in
1758 "") target_noncanonical
=${host_noncanonical} ;;
1759 *) target_noncanonical
=${target_alias} ;;
1765 # This works around the fact that libtool configuration may change LD
1766 # for this particular configuration, but some shells, instead of
1767 # keeping the changes in LD private, export them just because LD is
1769 ORIGINAL_LD_FOR_MULTILIBS
=$LD
1771 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1772 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1774 if test "$LN_S" = "ln -s"; then
1775 echo "$as_me:$LINENO: result: yes" >&5
1776 echo "${ECHO_T}yes" >&6
1778 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1779 echo "${ECHO_T}no, using $LN_S" >&6
1783 # This works around an automake problem.
1784 mkinstalldirs
="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
1788 # Check whether --with-cross-host or --without-cross-host was given.
1789 if test "${with_cross_host+set}" = set; then
1790 withval
="$with_cross_host"
1795 # Check whether --with-newlib or --without-newlib was given.
1796 if test "${with_newlib+set}" = set; then
1797 withval
="$with_newlib"
1801 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1802 if test "${enable_version_specific_runtime_libs+set}" = set; then
1803 enableval
="$enable_version_specific_runtime_libs"
1804 case "$enableval" in
1805 yes) version_specific_libs
=yes ;;
1806 no
) version_specific_libs
=no
;;
1807 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1808 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1809 { (exit 1); exit 1; }; };;
1812 version_specific_libs
=no
1816 # Check whether --enable-plugin or --disable-plugin was given.
1817 if test "${enable_plugin+set}" = set; then
1818 enableval
="$enable_plugin"
1819 case "$enableval" in
1820 yes) plugin_enabled
=yes ;;
1821 no
) plugin_enabled
=no
;;
1822 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable plugin" >&5
1823 echo "$as_me: error: Unknown argument to enable/disable plugin" >&2;}
1824 { (exit 1); exit 1; }; };;
1831 # Check whether --enable-gconf-peer or --disable-gconf-peer was given.
1832 if test "${enable_gconf_peer+set}" = set; then
1833 enableval
="$enable_gconf_peer"
1834 case "$enableval" in
1835 yes) gconf_enabled
=yes ;;
1836 no
) gconf_enabled
=no
;;
1837 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable gconf-peer" >&5
1838 echo "$as_me: error: Unknown argument to enable/disable gconf-peer" >&2;}
1839 { (exit 1); exit 1; }; };;
1846 # Check whether --enable-java-maintainer-mode or --disable-java-maintainer-mode was given.
1847 if test "${enable_java_maintainer_mode+set}" = set; then
1848 enableval
="$enable_java_maintainer_mode"
1853 if test "$enable_java_maintainer_mode" = yes; then
1854 JAVA_MAINTAINER_MODE_TRUE
=
1855 JAVA_MAINTAINER_MODE_FALSE
='#'
1857 JAVA_MAINTAINER_MODE_TRUE
='#'
1858 JAVA_MAINTAINER_MODE_FALSE
=
1862 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
1865 # (1) We use an abnormal CXX (without library references), so we
1866 # must cache it under a different name.
1867 # (2) CC, CFLAGS, CXX, CXXFLAGS, LDFLAGS must not be 'precious', or
1868 # the non-multilib-adjusted value will be used in multilibs.
1869 # (3) As a side effect, we must SUBST CXXFLAGS, CFLAGS, and LDFLAGS ourselves.
1870 # (4) As another side effect, automake doesn't automatically include them
1872 # (5) For libstdc++-v3, -fno-builtin must be present here so that a
1873 # non-conflicting form of std::exit can be guessed by AC_PROG_CXX, and
1874 # used in later tests. This may not be necessary in libjava; I don't know.
1877 save_CXXFLAGS
="$CXXFLAGS"
1878 CXXFLAGS
="$CXXFLAGS -fno-builtin"
1880 ac_cpp
='$CPP $CPPFLAGS'
1881 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1882 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1883 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1884 if test -n "$ac_tool_prefix"; then
1885 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1886 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1887 echo "$as_me:$LINENO: checking for $ac_word" >&5
1888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1889 if test "${ac_cv_prog_CC+set}" = set; then
1890 echo $ECHO_N "(cached) $ECHO_C" >&6
1892 if test -n "$CC"; then
1893 ac_cv_prog_CC
="$CC" # Let the user override the test.
1895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1899 test -z "$as_dir" && as_dir
=.
1900 for ac_exec_ext
in '' $ac_executable_extensions; do
1901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1902 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1912 if test -n "$CC"; then
1913 echo "$as_me:$LINENO: result: $CC" >&5
1914 echo "${ECHO_T}$CC" >&6
1916 echo "$as_me:$LINENO: result: no" >&5
1917 echo "${ECHO_T}no" >&6
1921 if test -z "$ac_cv_prog_CC"; then
1923 # Extract the first word of "gcc", so it can be a program name with args.
1924 set dummy gcc
; ac_word
=$2
1925 echo "$as_me:$LINENO: checking for $ac_word" >&5
1926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1927 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1928 echo $ECHO_N "(cached) $ECHO_C" >&6
1930 if test -n "$ac_ct_CC"; then
1931 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1937 test -z "$as_dir" && as_dir
=.
1938 for ac_exec_ext
in '' $ac_executable_extensions; do
1939 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1940 ac_cv_prog_ac_ct_CC
="gcc"
1941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1949 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1950 if test -n "$ac_ct_CC"; then
1951 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1952 echo "${ECHO_T}$ac_ct_CC" >&6
1954 echo "$as_me:$LINENO: result: no" >&5
1955 echo "${ECHO_T}no" >&6
1963 if test -z "$CC"; then
1964 if test -n "$ac_tool_prefix"; then
1965 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1966 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1967 echo "$as_me:$LINENO: checking for $ac_word" >&5
1968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1969 if test "${ac_cv_prog_CC+set}" = set; then
1970 echo $ECHO_N "(cached) $ECHO_C" >&6
1972 if test -n "$CC"; then
1973 ac_cv_prog_CC
="$CC" # Let the user override the test.
1975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1979 test -z "$as_dir" && as_dir
=.
1980 for ac_exec_ext
in '' $ac_executable_extensions; do
1981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1982 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1992 if test -n "$CC"; then
1993 echo "$as_me:$LINENO: result: $CC" >&5
1994 echo "${ECHO_T}$CC" >&6
1996 echo "$as_me:$LINENO: result: no" >&5
1997 echo "${ECHO_T}no" >&6
2001 if test -z "$ac_cv_prog_CC"; then
2003 # Extract the first word of "cc", so it can be a program name with args.
2004 set dummy cc
; ac_word
=$2
2005 echo "$as_me:$LINENO: checking for $ac_word" >&5
2006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2007 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2008 echo $ECHO_N "(cached) $ECHO_C" >&6
2010 if test -n "$ac_ct_CC"; then
2011 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2017 test -z "$as_dir" && as_dir
=.
2018 for ac_exec_ext
in '' $ac_executable_extensions; do
2019 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2020 ac_cv_prog_ac_ct_CC
="cc"
2021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2029 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2030 if test -n "$ac_ct_CC"; then
2031 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2032 echo "${ECHO_T}$ac_ct_CC" >&6
2034 echo "$as_me:$LINENO: result: no" >&5
2035 echo "${ECHO_T}no" >&6
2044 if test -z "$CC"; then
2045 # Extract the first word of "cc", so it can be a program name with args.
2046 set dummy cc
; ac_word
=$2
2047 echo "$as_me:$LINENO: checking for $ac_word" >&5
2048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2049 if test "${ac_cv_prog_CC+set}" = set; then
2050 echo $ECHO_N "(cached) $ECHO_C" >&6
2052 if test -n "$CC"; then
2053 ac_cv_prog_CC
="$CC" # Let the user override the test.
2056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2060 test -z "$as_dir" && as_dir
=.
2061 for ac_exec_ext
in '' $ac_executable_extensions; do
2062 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2063 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2064 ac_prog_rejected
=yes
2068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2074 if test $ac_prog_rejected = yes; then
2075 # We found a bogon in the path, so make sure we never use it.
2076 set dummy
$ac_cv_prog_CC
2078 if test $# != 0; then
2079 # We chose a different compiler from the bogus one.
2080 # However, it has the same basename, so the bogon will be chosen
2081 # first if we set CC to just the basename; use the full file name.
2083 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2089 if test -n "$CC"; then
2090 echo "$as_me:$LINENO: result: $CC" >&5
2091 echo "${ECHO_T}$CC" >&6
2093 echo "$as_me:$LINENO: result: no" >&5
2094 echo "${ECHO_T}no" >&6
2098 if test -z "$CC"; then
2099 if test -n "$ac_tool_prefix"; then
2102 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2103 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2104 echo "$as_me:$LINENO: checking for $ac_word" >&5
2105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2106 if test "${ac_cv_prog_CC+set}" = set; then
2107 echo $ECHO_N "(cached) $ECHO_C" >&6
2109 if test -n "$CC"; then
2110 ac_cv_prog_CC
="$CC" # Let the user override the test.
2112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2116 test -z "$as_dir" && as_dir
=.
2117 for ac_exec_ext
in '' $ac_executable_extensions; do
2118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2119 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2129 if test -n "$CC"; then
2130 echo "$as_me:$LINENO: result: $CC" >&5
2131 echo "${ECHO_T}$CC" >&6
2133 echo "$as_me:$LINENO: result: no" >&5
2134 echo "${ECHO_T}no" >&6
2137 test -n "$CC" && break
2140 if test -z "$CC"; then
2144 # Extract the first word of "$ac_prog", so it can be a program name with args.
2145 set dummy
$ac_prog; ac_word
=$2
2146 echo "$as_me:$LINENO: checking for $ac_word" >&5
2147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2148 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2149 echo $ECHO_N "(cached) $ECHO_C" >&6
2151 if test -n "$ac_ct_CC"; then
2152 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2158 test -z "$as_dir" && as_dir
=.
2159 for ac_exec_ext
in '' $ac_executable_extensions; do
2160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2161 ac_cv_prog_ac_ct_CC
="$ac_prog"
2162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2170 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2171 if test -n "$ac_ct_CC"; then
2172 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2173 echo "${ECHO_T}$ac_ct_CC" >&6
2175 echo "$as_me:$LINENO: result: no" >&5
2176 echo "${ECHO_T}no" >&6
2179 test -n "$ac_ct_CC" && break
2188 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2189 See \`config.log' for more details." >&5
2190 echo "$as_me: error: no acceptable C compiler found in \$PATH
2191 See \`config.log' for more details." >&2;}
2192 { (exit 1); exit 1; }; }
2194 # Provide some information about the compiler.
2195 echo "$as_me:$LINENO:" \
2196 "checking for C compiler version" >&5
2197 ac_compiler
=`set X $ac_compile; echo $2`
2198 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2199 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2202 (exit $ac_status); }
2203 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2204 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2207 (exit $ac_status); }
2208 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2209 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2212 (exit $ac_status); }
2214 cat >conftest.
$ac_ext <<_ACEOF
2217 cat confdefs.h
>>conftest.
$ac_ext
2218 cat >>conftest.
$ac_ext <<_ACEOF
2219 /* end confdefs.h. */
2230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2231 (eval $ac_link) 2>&5
2233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2234 (exit $ac_status); }; then
2240 if test x
$gcc_no_link = xyes
; then
2241 # Setting cross_compile will disable run tests; it will
2242 # also disable AC_CHECK_FILE but that's generally
2243 # correct if we can't link.
2247 cat >conftest.
$ac_ext <<_ACEOF
2250 cat confdefs.h
>>conftest.
$ac_ext
2251 cat >>conftest.
$ac_ext <<_ACEOF
2252 /* end confdefs.h. */
2262 ac_clean_files_save
=$ac_clean_files
2263 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2264 # Try to create an executable without -o first, disregard a.out.
2265 # It will help us diagnose broken compilers, and finding out an intuition
2267 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2268 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2269 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2270 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2271 (eval $ac_link_default) 2>&5
2273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274 (exit $ac_status); }; then
2275 # Find the output, starting from the most likely. This scheme is
2276 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2279 # Be careful to initialize this variable, since it used to be cached.
2280 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2282 # b.out is created by i960 compilers.
2283 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2285 test -f "$ac_file" ||
continue
2287 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2290 # This is the source file.
2293 # We found the default executable, but exeext='' is most
2297 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2298 # FIXME: I believe we export ac_cv_exeext for Libtool,
2299 # but it would be cool to find out if it's true. Does anybody
2300 # maintain Libtool? --akim.
2308 echo "$as_me: failed program was:" >&5
2309 sed 's/^/| /' conftest.
$ac_ext >&5
2311 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2312 See \`config.log' for more details." >&5
2313 echo "$as_me: error: C compiler cannot create executables
2314 See \`config.log' for more details." >&2;}
2315 { (exit 77); exit 77; }; }
2318 ac_exeext
=$ac_cv_exeext
2319 echo "$as_me:$LINENO: result: $ac_file" >&5
2320 echo "${ECHO_T}$ac_file" >&6
2322 # Check the compiler produces executables we can run. If not, either
2323 # the compiler is broken, or we cross compile.
2324 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2325 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2326 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2327 # If not cross compiling, check that we can run a simple program.
2328 if test "$cross_compiling" != yes; then
2329 if { ac_try
='./$ac_file'
2330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334 (exit $ac_status); }; }; then
2337 if test "$cross_compiling" = maybe
; then
2340 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2341 If you meant to cross compile, use \`--host'.
2342 See \`config.log' for more details." >&5
2343 echo "$as_me: error: cannot run C compiled programs.
2344 If you meant to cross compile, use \`--host'.
2345 See \`config.log' for more details." >&2;}
2346 { (exit 1); exit 1; }; }
2350 echo "$as_me:$LINENO: result: yes" >&5
2351 echo "${ECHO_T}yes" >&6
2353 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2354 ac_clean_files
=$ac_clean_files_save
2355 # Check the compiler produces executables we can run. If not, either
2356 # the compiler is broken, or we cross compile.
2357 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2358 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2359 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2360 echo "${ECHO_T}$cross_compiling" >&6
2362 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2363 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2365 (eval $ac_link) 2>&5
2367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368 (exit $ac_status); }; then
2369 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2370 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2371 # work properly (i.e., refer to `conftest.exe'), while it won't with
2373 for ac_file
in conftest.exe conftest conftest.
*; do
2374 test -f "$ac_file" ||
continue
2376 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2377 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2384 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2385 See \`config.log' for more details." >&5
2386 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2387 See \`config.log' for more details." >&2;}
2388 { (exit 1); exit 1; }; }
2391 rm -f conftest
$ac_cv_exeext
2392 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2393 echo "${ECHO_T}$ac_cv_exeext" >&6
2395 rm -f conftest.
$ac_ext
2396 EXEEXT
=$ac_cv_exeext
2399 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2400 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2401 if test "${ac_cv_objext+set}" = set; then
2402 echo $ECHO_N "(cached) $ECHO_C" >&6
2404 cat >conftest.
$ac_ext <<_ACEOF
2407 cat confdefs.h
>>conftest.
$ac_ext
2408 cat >>conftest.
$ac_ext <<_ACEOF
2409 /* end confdefs.h. */
2419 rm -f conftest.o conftest.obj
2420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2421 (eval $ac_compile) 2>&5
2423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424 (exit $ac_status); }; then
2425 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2427 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2428 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2433 echo "$as_me: failed program was:" >&5
2434 sed 's/^/| /' conftest.
$ac_ext >&5
2436 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2437 See \`config.log' for more details." >&5
2438 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2439 See \`config.log' for more details." >&2;}
2440 { (exit 1); exit 1; }; }
2443 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2445 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2446 echo "${ECHO_T}$ac_cv_objext" >&6
2447 OBJEXT
=$ac_cv_objext
2449 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2450 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2451 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2452 echo $ECHO_N "(cached) $ECHO_C" >&6
2454 cat >conftest.
$ac_ext <<_ACEOF
2457 cat confdefs.h
>>conftest.
$ac_ext
2458 cat >>conftest.
$ac_ext <<_ACEOF
2459 /* end confdefs.h. */
2472 rm -f conftest.
$ac_objext
2473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2474 (eval $ac_compile) 2>conftest.er1
2476 grep -v '^ *+' conftest.er1
>conftest.err
2478 cat conftest.err
>&5
2479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2480 (exit $ac_status); } &&
2481 { ac_try
='test -z "$ac_c_werror_flag"
2482 || test ! -s conftest.err'
2483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2487 (exit $ac_status); }; } &&
2488 { ac_try
='test -s conftest.$ac_objext'
2489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2493 (exit $ac_status); }; }; then
2496 echo "$as_me: failed program was:" >&5
2497 sed 's/^/| /' conftest.
$ac_ext >&5
2501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2502 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2505 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2506 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2507 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2508 ac_test_CFLAGS
=${CFLAGS+set}
2509 ac_save_CFLAGS
=$CFLAGS
2511 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2512 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2513 if test "${ac_cv_prog_cc_g+set}" = set; then
2514 echo $ECHO_N "(cached) $ECHO_C" >&6
2516 cat >conftest.
$ac_ext <<_ACEOF
2519 cat confdefs.h
>>conftest.
$ac_ext
2520 cat >>conftest.
$ac_ext <<_ACEOF
2521 /* end confdefs.h. */
2531 rm -f conftest.
$ac_objext
2532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2533 (eval $ac_compile) 2>conftest.er1
2535 grep -v '^ *+' conftest.er1
>conftest.err
2537 cat conftest.err
>&5
2538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2539 (exit $ac_status); } &&
2540 { ac_try
='test -z "$ac_c_werror_flag"
2541 || test ! -s conftest.err'
2542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546 (exit $ac_status); }; } &&
2547 { ac_try
='test -s conftest.$ac_objext'
2548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552 (exit $ac_status); }; }; then
2555 echo "$as_me: failed program was:" >&5
2556 sed 's/^/| /' conftest.
$ac_ext >&5
2560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2562 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2563 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2564 if test "$ac_test_CFLAGS" = set; then
2565 CFLAGS
=$ac_save_CFLAGS
2566 elif test $ac_cv_prog_cc_g = yes; then
2567 if test "$GCC" = yes; then
2573 if test "$GCC" = yes; then
2579 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2580 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2581 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2582 echo $ECHO_N "(cached) $ECHO_C" >&6
2584 ac_cv_prog_cc_stdc
=no
2586 cat >conftest.
$ac_ext <<_ACEOF
2589 cat confdefs.h
>>conftest.
$ac_ext
2590 cat >>conftest.
$ac_ext <<_ACEOF
2591 /* end confdefs.h. */
2594 #include <sys/types.h>
2595 #include <sys/stat.h>
2596 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2597 struct buf { int x; };
2598 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2599 static char *e (p, i)
2605 static char *f (char * (*g) (char **, int), char **p, ...)
2610 s = g (p, va_arg (v,int));
2615 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2616 function prototypes and stuff, but not '\xHH' hex character constants.
2617 These don't provoke an error unfortunately, instead are silently treated
2618 as 'x'. The following induces an error, until -std1 is added to get
2619 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2620 array size at least. It's necessary to write '\x00'==0 to get something
2621 that's true only with -std1. */
2622 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2624 int test (int i, double x);
2625 struct s1 {int (*f) (int a);};
2626 struct s2 {int (*f) (double a);};
2627 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2633 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2638 # Don't try gcc -ansi; that turns off useful extensions and
2639 # breaks some systems' header files.
2640 # AIX -qlanglvl=ansi
2641 # Ultrix and OSF/1 -std1
2642 # HP-UX 10.20 and later -Ae
2643 # HP-UX older versions -Aa -D_HPUX_SOURCE
2644 # SVR4 -Xc -D__EXTENSIONS__
2645 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2647 CC
="$ac_save_CC $ac_arg"
2648 rm -f conftest.
$ac_objext
2649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2650 (eval $ac_compile) 2>conftest.er1
2652 grep -v '^ *+' conftest.er1
>conftest.err
2654 cat conftest.err
>&5
2655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656 (exit $ac_status); } &&
2657 { ac_try
='test -z "$ac_c_werror_flag"
2658 || test ! -s conftest.err'
2659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); }; } &&
2664 { ac_try
='test -s conftest.$ac_objext'
2665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); }; }; then
2670 ac_cv_prog_cc_stdc
=$ac_arg
2673 echo "$as_me: failed program was:" >&5
2674 sed 's/^/| /' conftest.
$ac_ext >&5
2677 rm -f conftest.err conftest.
$ac_objext
2679 rm -f conftest.
$ac_ext conftest.
$ac_objext
2684 case "x$ac_cv_prog_cc_stdc" in
2686 echo "$as_me:$LINENO: result: none needed" >&5
2687 echo "${ECHO_T}none needed" >&6 ;;
2689 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2690 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2691 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2694 # Some people use a C++ compiler to compile C. Since we use `exit',
2695 # in C++ we need to declare it. In case someone uses the same compiler
2696 # for both compiling C and C++ we need to have the C++ compiler decide
2697 # the declaration of exit, since it's the most demanding environment.
2698 cat >conftest.
$ac_ext <<_ACEOF
2703 rm -f conftest.
$ac_objext
2704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2705 (eval $ac_compile) 2>conftest.er1
2707 grep -v '^ *+' conftest.er1
>conftest.err
2709 cat conftest.err
>&5
2710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2711 (exit $ac_status); } &&
2712 { ac_try
='test -z "$ac_c_werror_flag"
2713 || test ! -s conftest.err'
2714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2718 (exit $ac_status); }; } &&
2719 { ac_try
='test -s conftest.$ac_objext'
2720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724 (exit $ac_status); }; }; then
2725 for ac_declaration
in \
2727 'extern "C" void std::exit (int) throw (); using std::exit;' \
2728 'extern "C" void std::exit (int); using std::exit;' \
2729 'extern "C" void exit (int) throw ();' \
2730 'extern "C" void exit (int);' \
2733 cat >conftest.
$ac_ext <<_ACEOF
2736 cat confdefs.h
>>conftest.
$ac_ext
2737 cat >>conftest.
$ac_ext <<_ACEOF
2738 /* end confdefs.h. */
2749 rm -f conftest.
$ac_objext
2750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2751 (eval $ac_compile) 2>conftest.er1
2753 grep -v '^ *+' conftest.er1
>conftest.err
2755 cat conftest.err
>&5
2756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2757 (exit $ac_status); } &&
2758 { ac_try
='test -z "$ac_c_werror_flag"
2759 || test ! -s conftest.err'
2760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); }; } &&
2765 { ac_try
='test -s conftest.$ac_objext'
2766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770 (exit $ac_status); }; }; then
2773 echo "$as_me: failed program was:" >&5
2774 sed 's/^/| /' conftest.
$ac_ext >&5
2778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2779 cat >conftest.
$ac_ext <<_ACEOF
2782 cat confdefs.h
>>conftest.
$ac_ext
2783 cat >>conftest.
$ac_ext <<_ACEOF
2784 /* end confdefs.h. */
2794 rm -f conftest.
$ac_objext
2795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2796 (eval $ac_compile) 2>conftest.er1
2798 grep -v '^ *+' conftest.er1
>conftest.err
2800 cat conftest.err
>&5
2801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2802 (exit $ac_status); } &&
2803 { ac_try
='test -z "$ac_c_werror_flag"
2804 || test ! -s conftest.err'
2805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2809 (exit $ac_status); }; } &&
2810 { ac_try
='test -s conftest.$ac_objext'
2811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2815 (exit $ac_status); }; }; then
2818 echo "$as_me: failed program was:" >&5
2819 sed 's/^/| /' conftest.
$ac_ext >&5
2822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2825 if test -n "$ac_declaration"; then
2826 echo '#ifdef __cplusplus' >>confdefs.h
2827 echo $ac_declaration >>confdefs.h
2828 echo '#endif' >>confdefs.h
2832 echo "$as_me: failed program was:" >&5
2833 sed 's/^/| /' conftest.
$ac_ext >&5
2836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2838 ac_cpp
='$CPP $CPPFLAGS'
2839 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2840 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2841 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2844 ac_cpp
='$CXXCPP $CPPFLAGS'
2845 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2846 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2847 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2848 if test -n "$ac_tool_prefix"; then
2849 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2851 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2852 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2853 echo "$as_me:$LINENO: checking for $ac_word" >&5
2854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2855 if test "${ac_cv_prog_CXX+set}" = set; then
2856 echo $ECHO_N "(cached) $ECHO_C" >&6
2858 if test -n "$CXX"; then
2859 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2865 test -z "$as_dir" && as_dir
=.
2866 for ac_exec_ext
in '' $ac_executable_extensions; do
2867 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2868 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2878 if test -n "$CXX"; then
2879 echo "$as_me:$LINENO: result: $CXX" >&5
2880 echo "${ECHO_T}$CXX" >&6
2882 echo "$as_me:$LINENO: result: no" >&5
2883 echo "${ECHO_T}no" >&6
2886 test -n "$CXX" && break
2889 if test -z "$CXX"; then
2891 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2893 # Extract the first word of "$ac_prog", so it can be a program name with args.
2894 set dummy
$ac_prog; ac_word
=$2
2895 echo "$as_me:$LINENO: checking for $ac_word" >&5
2896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2897 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2898 echo $ECHO_N "(cached) $ECHO_C" >&6
2900 if test -n "$ac_ct_CXX"; then
2901 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2907 test -z "$as_dir" && as_dir
=.
2908 for ac_exec_ext
in '' $ac_executable_extensions; do
2909 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2910 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2919 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2920 if test -n "$ac_ct_CXX"; then
2921 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2922 echo "${ECHO_T}$ac_ct_CXX" >&6
2924 echo "$as_me:$LINENO: result: no" >&5
2925 echo "${ECHO_T}no" >&6
2928 test -n "$ac_ct_CXX" && break
2930 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2936 # Provide some information about the compiler.
2937 echo "$as_me:$LINENO:" \
2938 "checking for C++ compiler version" >&5
2939 ac_compiler
=`set X $ac_compile; echo $2`
2940 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2941 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944 (exit $ac_status); }
2945 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2946 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949 (exit $ac_status); }
2950 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2951 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2954 (exit $ac_status); }
2956 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2957 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2958 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2959 echo $ECHO_N "(cached) $ECHO_C" >&6
2961 cat >conftest.
$ac_ext <<_ACEOF
2964 cat confdefs.h
>>conftest.
$ac_ext
2965 cat >>conftest.
$ac_ext <<_ACEOF
2966 /* end confdefs.h. */
2979 rm -f conftest.
$ac_objext
2980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2981 (eval $ac_compile) 2>conftest.er1
2983 grep -v '^ *+' conftest.er1
>conftest.err
2985 cat conftest.err
>&5
2986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987 (exit $ac_status); } &&
2988 { ac_try
='test -z "$ac_cxx_werror_flag"
2989 || test ! -s conftest.err'
2990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994 (exit $ac_status); }; } &&
2995 { ac_try
='test -s conftest.$ac_objext'
2996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3000 (exit $ac_status); }; }; then
3003 echo "$as_me: failed program was:" >&5
3004 sed 's/^/| /' conftest.
$ac_ext >&5
3008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3009 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3012 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3013 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3014 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3015 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3016 ac_save_CXXFLAGS
=$CXXFLAGS
3018 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3019 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3020 if test "${ac_cv_prog_cxx_g+set}" = set; then
3021 echo $ECHO_N "(cached) $ECHO_C" >&6
3023 cat >conftest.
$ac_ext <<_ACEOF
3026 cat confdefs.h
>>conftest.
$ac_ext
3027 cat >>conftest.
$ac_ext <<_ACEOF
3028 /* end confdefs.h. */
3038 rm -f conftest.
$ac_objext
3039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3040 (eval $ac_compile) 2>conftest.er1
3042 grep -v '^ *+' conftest.er1
>conftest.err
3044 cat conftest.err
>&5
3045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046 (exit $ac_status); } &&
3047 { ac_try
='test -z "$ac_cxx_werror_flag"
3048 || test ! -s conftest.err'
3049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3053 (exit $ac_status); }; } &&
3054 { ac_try
='test -s conftest.$ac_objext'
3055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3059 (exit $ac_status); }; }; then
3060 ac_cv_prog_cxx_g
=yes
3062 echo "$as_me: failed program was:" >&5
3063 sed 's/^/| /' conftest.
$ac_ext >&5
3067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3069 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3070 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3071 if test "$ac_test_CXXFLAGS" = set; then
3072 CXXFLAGS
=$ac_save_CXXFLAGS
3073 elif test $ac_cv_prog_cxx_g = yes; then
3074 if test "$GXX" = yes; then
3080 if test "$GXX" = yes; then
3086 for ac_declaration
in \
3088 'extern "C" void std::exit (int) throw (); using std::exit;' \
3089 'extern "C" void std::exit (int); using std::exit;' \
3090 'extern "C" void exit (int) throw ();' \
3091 'extern "C" void exit (int);' \
3094 cat >conftest.
$ac_ext <<_ACEOF
3097 cat confdefs.h
>>conftest.
$ac_ext
3098 cat >>conftest.
$ac_ext <<_ACEOF
3099 /* end confdefs.h. */
3110 rm -f conftest.
$ac_objext
3111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3112 (eval $ac_compile) 2>conftest.er1
3114 grep -v '^ *+' conftest.er1
>conftest.err
3116 cat conftest.err
>&5
3117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118 (exit $ac_status); } &&
3119 { ac_try
='test -z "$ac_cxx_werror_flag"
3120 || test ! -s conftest.err'
3121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125 (exit $ac_status); }; } &&
3126 { ac_try
='test -s conftest.$ac_objext'
3127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131 (exit $ac_status); }; }; then
3134 echo "$as_me: failed program was:" >&5
3135 sed 's/^/| /' conftest.
$ac_ext >&5
3139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3140 cat >conftest.
$ac_ext <<_ACEOF
3143 cat confdefs.h
>>conftest.
$ac_ext
3144 cat >>conftest.
$ac_ext <<_ACEOF
3145 /* end confdefs.h. */
3155 rm -f conftest.
$ac_objext
3156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3157 (eval $ac_compile) 2>conftest.er1
3159 grep -v '^ *+' conftest.er1
>conftest.err
3161 cat conftest.err
>&5
3162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); } &&
3164 { ac_try
='test -z "$ac_cxx_werror_flag"
3165 || test ! -s conftest.err'
3166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); }; } &&
3171 { ac_try
='test -s conftest.$ac_objext'
3172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176 (exit $ac_status); }; }; then
3179 echo "$as_me: failed program was:" >&5
3180 sed 's/^/| /' conftest.
$ac_ext >&5
3183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3186 if test -n "$ac_declaration"; then
3187 echo '#ifdef __cplusplus' >>confdefs.h
3188 echo $ac_declaration >>confdefs.h
3189 echo '#endif' >>confdefs.h
3193 ac_cpp
='$CPP $CPPFLAGS'
3194 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3195 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3196 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3198 CXXFLAGS
="$save_CXXFLAGS"
3204 am__api_version
="1.9"
3205 # Find a good install program. We prefer a C program (faster),
3206 # so one script is as good as another. But avoid the broken or
3207 # incompatible versions:
3208 # SysV /etc/install, /usr/sbin/install
3209 # SunOS /usr/etc/install
3210 # IRIX /sbin/install
3212 # AmigaOS /C/install, which installs bootblocks on floppy discs
3213 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3214 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3215 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3216 # OS/2's system install, which has a completely different semantic
3217 # ./install, which can be erroneously created by make from ./install.sh.
3218 # Reject install programs that cannot install multiple files.
3219 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3220 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3221 if test -z "$INSTALL"; then
3222 if test "${ac_cv_path_install+set}" = set; then
3223 echo $ECHO_N "(cached) $ECHO_C" >&6
3225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3229 test -z "$as_dir" && as_dir
=.
3230 # Account for people who put trailing slashes in PATH elements.
3232 .
/ | .
// |
/cC
/* | \
3233 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3234 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3237 # OSF1 and SCO ODT 3.0 have their own names for install.
3238 # Don't use installbsd from OSF since it installs stuff as root
3240 for ac_prog
in ginstall scoinst
install; do
3241 for ac_exec_ext
in '' $ac_executable_extensions; do
3242 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3243 if test $ac_prog = install &&
3244 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3245 # AIX install. It has an incompatible calling convention.
3247 elif test $ac_prog = install &&
3248 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3249 # program-specific install script used by HP pwplus--don't use.
3252 rm -rf conftest.one conftest.two conftest.dir
3253 echo one
> conftest.one
3254 echo two
> conftest.two
3256 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3257 test -s conftest.one
&& test -s conftest.two
&&
3258 test -s conftest.dir
/conftest.one
&&
3259 test -s conftest.dir
/conftest.two
3261 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3272 rm -rf conftest.one conftest.two conftest.dir
3275 if test "${ac_cv_path_install+set}" = set; then
3276 INSTALL
=$ac_cv_path_install
3278 # As a last resort, use the slow shell script. Don't cache a
3279 # value for INSTALL within a source directory, because that will
3280 # break other packages using the cache if that directory is
3281 # removed, or if the value is a relative name.
3282 INSTALL
=$ac_install_sh
3285 echo "$as_me:$LINENO: result: $INSTALL" >&5
3286 echo "${ECHO_T}$INSTALL" >&6
3288 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3289 # It thinks the first close brace ends the variable substitution.
3290 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3292 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3294 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3296 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3297 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
3300 echo timestamp
> conftest.
file
3301 # Do `set' in a subshell so we don't clobber the current shell's
3302 # arguments. Must try -L first in case configure is actually a
3303 # symlink; some systems play weird games with the mod time of symlinks
3304 # (eg FreeBSD returns the mod time of the symlink's containing
3307 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
3308 if test "$*" = "X"; then
3310 set X
`ls -t $srcdir/configure conftest.file`
3313 if test "$*" != "X $srcdir/configure conftest.file" \
3314 && test "$*" != "X conftest.file $srcdir/configure"; then
3316 # If neither matched, then we have a broken ls. This can happen
3317 # if, for instance, CONFIG_SHELL is bash and it inherits a
3318 # broken ls alias from the environment. This has actually
3319 # happened. Such a system could not be considered "sane".
3320 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
3321 alias in your environment" >&5
3322 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
3323 alias in your environment" >&2;}
3324 { (exit 1); exit 1; }; }
3327 test "$2" = conftest.
file
3333 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
3334 Check your system clock" >&5
3335 echo "$as_me: error: newly created file is older than distributed files!
3336 Check your system clock" >&2;}
3337 { (exit 1); exit 1; }; }
3339 echo "$as_me:$LINENO: result: yes" >&5
3340 echo "${ECHO_T}yes" >&6
3341 test "$program_prefix" != NONE
&&
3342 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
3343 # Use a double $ so make ignores it.
3344 test "$program_suffix" != NONE
&&
3345 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
3346 # Double any \ or $. echo might interpret backslashes.
3347 # By default was `s,x,x', remove it if useless.
3348 cat <<\_ACEOF
>conftest.
sed
3349 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
3351 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
3354 # expand $ac_aux_dir to an absolute path
3355 am_aux_dir
=`cd $ac_aux_dir && pwd`
3357 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
3358 # Use eval to expand $SHELL
3359 if eval "$MISSING --run true"; then
3360 am_missing_run
="$MISSING --run "
3363 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
3364 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3367 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
3368 # We used to keeping the `.' as first argument, in order to
3369 # allow $(mkdir_p) to be used without argument. As in
3370 # $(mkdir_p) $(somedir)
3371 # where $(somedir) is conditionally defined. However this is wrong
3373 # 1. if the package is installed by a user who cannot write `.'
3374 # make install will fail,
3375 # 2. the above comment should most certainly read
3376 # $(mkdir_p) $(DESTDIR)$(somedir)
3377 # so it does not work when $(somedir) is undefined and
3378 # $(DESTDIR) is not.
3379 # To support the latter case, we have to write
3380 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
3381 # so the `.' trick is pointless.
3382 mkdir_p
='mkdir -p --'
3384 # On NextStep and OpenStep, the `mkdir' command does not
3385 # recognize any option. It will interpret all options as
3386 # directories to create, and then abort because `.' already
3388 for d
in .
/-p .
/--version;
3390 test -d $d && rmdir $d
3392 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
3393 if test -f "$ac_aux_dir/mkinstalldirs"; then
3394 mkdir_p
='$(mkinstalldirs)'
3396 mkdir_p
='$(install_sh) -d'
3400 for ac_prog
in gawk mawk nawk
awk
3402 # Extract the first word of "$ac_prog", so it can be a program name with args.
3403 set dummy
$ac_prog; ac_word
=$2
3404 echo "$as_me:$LINENO: checking for $ac_word" >&5
3405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3406 if test "${ac_cv_prog_AWK+set}" = set; then
3407 echo $ECHO_N "(cached) $ECHO_C" >&6
3409 if test -n "$AWK"; then
3410 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3416 test -z "$as_dir" && as_dir
=.
3417 for ac_exec_ext
in '' $ac_executable_extensions; do
3418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3419 ac_cv_prog_AWK
="$ac_prog"
3420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3429 if test -n "$AWK"; then
3430 echo "$as_me:$LINENO: result: $AWK" >&5
3431 echo "${ECHO_T}$AWK" >&6
3433 echo "$as_me:$LINENO: result: no" >&5
3434 echo "${ECHO_T}no" >&6
3437 test -n "$AWK" && break
3440 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3441 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3442 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3443 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3444 echo $ECHO_N "(cached) $ECHO_C" >&6
3446 cat >conftest.
make <<\_ACEOF
3448 @
echo 'ac_maketemp="$(MAKE)"'
3450 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3451 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3452 if test -n "$ac_maketemp"; then
3453 eval ac_cv_prog_make_
${ac_make}_set
=yes
3455 eval ac_cv_prog_make_
${ac_make}_set
=no
3459 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3460 echo "$as_me:$LINENO: result: yes" >&5
3461 echo "${ECHO_T}yes" >&6
3464 echo "$as_me:$LINENO: result: no" >&5
3465 echo "${ECHO_T}no" >&6
3466 SET_MAKE
="MAKE=${MAKE-make}"
3469 rm -rf .tst
2>/dev
/null
3470 mkdir .tst
2>/dev
/null
3471 if test -d .tst
; then
3476 rmdir .tst
2>/dev
/null
3478 DEPDIR
="${am__leading_dot}deps"
3480 ac_config_commands
="$ac_config_commands depfiles"
3483 am_make
=${MAKE-make}
3484 cat > confinc
<< 'END'
3489 # If we don't find an include directive, just comment out the code.
3490 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3491 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3495 # First try GNU make style include.
3496 echo "include confinc" > confmf
3497 # We grep out `Entering directory' and `Leaving directory'
3498 # messages which can occur if `w' ends up in MAKEFLAGS.
3499 # In particular we don't look at `^make:' because GNU make might
3500 # be invoked under some other name (usually "gmake"), in which
3501 # case it prints its new name instead of `make'.
3502 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3507 # Now try BSD make style include.
3508 if test "$am__include" = "#"; then
3509 echo '.include "confinc"' > confmf
3510 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3511 am__include
=.include
3518 echo "$as_me:$LINENO: result: $_am_result" >&5
3519 echo "${ECHO_T}$_am_result" >&6
3520 rm -f confinc confmf
3522 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3523 if test "${enable_dependency_tracking+set}" = set; then
3524 enableval
="$enable_dependency_tracking"
3527 if test "x$enable_dependency_tracking" != xno
; then
3528 am_depcomp
="$ac_aux_dir/depcomp"
3533 if test "x$enable_dependency_tracking" != xno; then
3543 # test to see if srcdir already configured
3544 if test "`cd $srcdir && pwd`" != "`pwd`" &&
3545 test -f $srcdir/config.status
; then
3546 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3547 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3548 { (exit 1); exit 1; }; }
3551 # test whether we have cygpath
3552 if test -z "$CYGPATH_W"; then
3553 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3554 CYGPATH_W
='cygpath -w'
3561 # Define the identity of the package.
3563 VERSION
='version-unused'
3566 cat >>confdefs.h
<<_ACEOF
3567 #define PACKAGE "$PACKAGE"
3571 cat >>confdefs.h
<<_ACEOF
3572 #define VERSION "$VERSION"
3575 # Some tools Automake needs.
3577 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3580 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3583 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3586 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3589 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3591 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3593 # Installed binaries are usually stripped using `strip' when the user
3594 # run `make install-strip'. However `strip' might not be the right
3595 # tool to use in cross-compilation environments, therefore Automake
3596 # will honor the `STRIP' environment variable to overrule this program.
3597 if test "$cross_compiling" != no
; then
3598 if test -n "$ac_tool_prefix"; then
3599 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3600 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3601 echo "$as_me:$LINENO: checking for $ac_word" >&5
3602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3603 if test "${ac_cv_prog_STRIP+set}" = set; then
3604 echo $ECHO_N "(cached) $ECHO_C" >&6
3606 if test -n "$STRIP"; then
3607 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3613 test -z "$as_dir" && as_dir
=.
3614 for ac_exec_ext
in '' $ac_executable_extensions; do
3615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3616 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3625 STRIP
=$ac_cv_prog_STRIP
3626 if test -n "$STRIP"; then
3627 echo "$as_me:$LINENO: result: $STRIP" >&5
3628 echo "${ECHO_T}$STRIP" >&6
3630 echo "$as_me:$LINENO: result: no" >&5
3631 echo "${ECHO_T}no" >&6
3635 if test -z "$ac_cv_prog_STRIP"; then
3637 # Extract the first word of "strip", so it can be a program name with args.
3638 set dummy strip
; ac_word
=$2
3639 echo "$as_me:$LINENO: checking for $ac_word" >&5
3640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3641 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3642 echo $ECHO_N "(cached) $ECHO_C" >&6
3644 if test -n "$ac_ct_STRIP"; then
3645 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3651 test -z "$as_dir" && as_dir
=.
3652 for ac_exec_ext
in '' $ac_executable_extensions; do
3653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3654 ac_cv_prog_ac_ct_STRIP
="strip"
3655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3661 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3664 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3665 if test -n "$ac_ct_STRIP"; then
3666 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3667 echo "${ECHO_T}$ac_ct_STRIP" >&6
3669 echo "$as_me:$LINENO: result: no" >&5
3670 echo "${ECHO_T}no" >&6
3675 STRIP
="$ac_cv_prog_STRIP"
3679 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3681 # We need awk for the "check" target. The system "awk" is bad on
3683 # Always define AMTAR for backward compatibility.
3685 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3687 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3692 depcc
="$CC" am_compiler_list
=
3694 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3695 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3696 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3697 echo $ECHO_N "(cached) $ECHO_C" >&6
3699 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3700 # We make a subdir and do the tests there. Otherwise we can end up
3701 # making bogus files that we don't know about and never remove. For
3702 # instance it was reported that on HP-UX the gcc test will end up
3703 # making a dummy file named `D' -- because `-MD' means `put the output
3706 # Copy depcomp to subdir because otherwise we won't find it if we're
3707 # using a relative directory.
3708 cp "$am_depcomp" conftest.dir
3710 # We will build objects and dependencies in a subdirectory because
3711 # it helps to detect inapplicable dependency modes. For instance
3712 # both Tru64's cc and ICC support -MD to output dependencies as a
3713 # side effect of compilation, but ICC will put the dependencies in
3714 # the current directory while Tru64 will put them in the object
3718 am_cv_CC_dependencies_compiler_type
=none
3719 if test "$am_compiler_list" = ""; then
3720 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3722 for depmode
in $am_compiler_list; do
3723 # Setup a source with many dependencies, because some compilers
3724 # like to wrap large dependency lists on column 80 (with \), and
3725 # we should not choose a depcomp mode which is confused by this.
3727 # We need to recreate these files for each test, as the compiler may
3728 # overwrite some of them when testing with obscure command lines.
3729 # This happens at least with the AIX C compiler.
3731 for i
in 1 2 3 4 5 6; do
3732 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3733 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3734 # Solaris 8's {/usr,}/bin/sh.
3735 touch sub
/conftst
$i.h
3737 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3741 # after this tag, mechanisms are not by side-effect, so they'll
3742 # only be used when explicitly requested
3743 if test "x$enable_dependency_tracking" = xyes
; then
3751 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3752 # mode. It turns out that the SunPro C++ compiler does not properly
3753 # handle `-M -o', and we need to detect this.
3754 if depmode
=$depmode \
3755 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3756 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3757 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3758 >/dev
/null
2>conftest.err
&&
3759 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3760 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3761 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3762 # icc doesn't choke on unknown options, it will just issue warnings
3763 # or remarks (even with -Werror). So we grep stderr for any message
3764 # that says an option was ignored or not supported.
3765 # When given -MP, icc 7.0 and 7.1 complain thusly:
3766 # icc: Command line warning: ignoring option '-M'; no argument required
3767 # The diagnosis changed in icc 8.0:
3768 # icc: Command line remark: option '-MP' not supported
3769 if (grep 'ignoring option' conftest.err ||
3770 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3771 am_cv_CC_dependencies_compiler_type
=$depmode
3780 am_cv_CC_dependencies_compiler_type
=none
3784 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3785 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3786 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3791 test "x$enable_dependency_tracking" != xno \
3792 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3794 am__fastdepCC_FALSE
='#'
3796 am__fastdepCC_TRUE
='#'
3797 am__fastdepCC_FALSE
=
3801 depcc
="$CXX" am_compiler_list
=
3803 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3804 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3805 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3806 echo $ECHO_N "(cached) $ECHO_C" >&6
3808 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3809 # We make a subdir and do the tests there. Otherwise we can end up
3810 # making bogus files that we don't know about and never remove. For
3811 # instance it was reported that on HP-UX the gcc test will end up
3812 # making a dummy file named `D' -- because `-MD' means `put the output
3815 # Copy depcomp to subdir because otherwise we won't find it if we're
3816 # using a relative directory.
3817 cp "$am_depcomp" conftest.dir
3819 # We will build objects and dependencies in a subdirectory because
3820 # it helps to detect inapplicable dependency modes. For instance
3821 # both Tru64's cc and ICC support -MD to output dependencies as a
3822 # side effect of compilation, but ICC will put the dependencies in
3823 # the current directory while Tru64 will put them in the object
3827 am_cv_CXX_dependencies_compiler_type
=none
3828 if test "$am_compiler_list" = ""; then
3829 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3831 for depmode
in $am_compiler_list; do
3832 # Setup a source with many dependencies, because some compilers
3833 # like to wrap large dependency lists on column 80 (with \), and
3834 # we should not choose a depcomp mode which is confused by this.
3836 # We need to recreate these files for each test, as the compiler may
3837 # overwrite some of them when testing with obscure command lines.
3838 # This happens at least with the AIX C compiler.
3840 for i
in 1 2 3 4 5 6; do
3841 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3842 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3843 # Solaris 8's {/usr,}/bin/sh.
3844 touch sub
/conftst
$i.h
3846 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3850 # after this tag, mechanisms are not by side-effect, so they'll
3851 # only be used when explicitly requested
3852 if test "x$enable_dependency_tracking" = xyes
; then
3860 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3861 # mode. It turns out that the SunPro C++ compiler does not properly
3862 # handle `-M -o', and we need to detect this.
3863 if depmode
=$depmode \
3864 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3865 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3866 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3867 >/dev
/null
2>conftest.err
&&
3868 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3869 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3870 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3871 # icc doesn't choke on unknown options, it will just issue warnings
3872 # or remarks (even with -Werror). So we grep stderr for any message
3873 # that says an option was ignored or not supported.
3874 # When given -MP, icc 7.0 and 7.1 complain thusly:
3875 # icc: Command line warning: ignoring option '-M'; no argument required
3876 # The diagnosis changed in icc 8.0:
3877 # icc: Command line remark: option '-MP' not supported
3878 if (grep 'ignoring option' conftest.err ||
3879 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3880 am_cv_CXX_dependencies_compiler_type
=$depmode
3889 am_cv_CXX_dependencies_compiler_type
=none
3893 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3894 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3895 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3900 test "x$enable_dependency_tracking" != xno \
3901 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3902 am__fastdepCXX_TRUE
=
3903 am__fastdepCXX_FALSE
='#'
3905 am__fastdepCXX_TRUE
='#'
3906 am__fastdepCXX_FALSE
=
3912 if test -n "$ac_tool_prefix"; then
3913 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3914 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3915 echo "$as_me:$LINENO: checking for $ac_word" >&5
3916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3917 if test "${ac_cv_prog_AS+set}" = set; then
3918 echo $ECHO_N "(cached) $ECHO_C" >&6
3920 if test -n "$AS"; then
3921 ac_cv_prog_AS
="$AS" # Let the user override the test.
3923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3927 test -z "$as_dir" && as_dir
=.
3928 for ac_exec_ext
in '' $ac_executable_extensions; do
3929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3930 ac_cv_prog_AS
="${ac_tool_prefix}as"
3931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3940 if test -n "$AS"; then
3941 echo "$as_me:$LINENO: result: $AS" >&5
3942 echo "${ECHO_T}$AS" >&6
3944 echo "$as_me:$LINENO: result: no" >&5
3945 echo "${ECHO_T}no" >&6
3949 if test -z "$ac_cv_prog_AS"; then
3951 # Extract the first word of "as", so it can be a program name with args.
3952 set dummy as
; ac_word
=$2
3953 echo "$as_me:$LINENO: checking for $ac_word" >&5
3954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3955 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3956 echo $ECHO_N "(cached) $ECHO_C" >&6
3958 if test -n "$ac_ct_AS"; then
3959 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3965 test -z "$as_dir" && as_dir
=.
3966 for ac_exec_ext
in '' $ac_executable_extensions; do
3967 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3968 ac_cv_prog_ac_ct_AS
="as"
3969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3977 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3978 if test -n "$ac_ct_AS"; then
3979 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3980 echo "${ECHO_T}$ac_ct_AS" >&6
3982 echo "$as_me:$LINENO: result: no" >&5
3983 echo "${ECHO_T}no" >&6
3991 if test -n "$ac_tool_prefix"; then
3992 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
3993 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
3994 echo "$as_me:$LINENO: checking for $ac_word" >&5
3995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3996 if test "${ac_cv_prog_LD+set}" = set; then
3997 echo $ECHO_N "(cached) $ECHO_C" >&6
3999 if test -n "$LD"; then
4000 ac_cv_prog_LD
="$LD" # Let the user override the test.
4002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4006 test -z "$as_dir" && as_dir
=.
4007 for ac_exec_ext
in '' $ac_executable_extensions; do
4008 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4009 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4019 if test -n "$LD"; then
4020 echo "$as_me:$LINENO: result: $LD" >&5
4021 echo "${ECHO_T}$LD" >&6
4023 echo "$as_me:$LINENO: result: no" >&5
4024 echo "${ECHO_T}no" >&6
4028 if test -z "$ac_cv_prog_LD"; then
4030 # Extract the first word of "ld", so it can be a program name with args.
4031 set dummy ld
; ac_word
=$2
4032 echo "$as_me:$LINENO: checking for $ac_word" >&5
4033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4034 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4035 echo $ECHO_N "(cached) $ECHO_C" >&6
4037 if test -n "$ac_ct_LD"; then
4038 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4044 test -z "$as_dir" && as_dir
=.
4045 for ac_exec_ext
in '' $ac_executable_extensions; do
4046 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4047 ac_cv_prog_ac_ct_LD
="ld"
4048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4056 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4057 if test -n "$ac_ct_LD"; then
4058 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4059 echo "${ECHO_T}$ac_ct_LD" >&6
4061 echo "$as_me:$LINENO: result: no" >&5
4062 echo "${ECHO_T}no" >&6
4070 if test -n "$ac_tool_prefix"; then
4071 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4072 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4073 echo "$as_me:$LINENO: checking for $ac_word" >&5
4074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4075 if test "${ac_cv_prog_AR+set}" = set; then
4076 echo $ECHO_N "(cached) $ECHO_C" >&6
4078 if test -n "$AR"; then
4079 ac_cv_prog_AR
="$AR" # Let the user override the test.
4081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4085 test -z "$as_dir" && as_dir
=.
4086 for ac_exec_ext
in '' $ac_executable_extensions; do
4087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4088 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4098 if test -n "$AR"; then
4099 echo "$as_me:$LINENO: result: $AR" >&5
4100 echo "${ECHO_T}$AR" >&6
4102 echo "$as_me:$LINENO: result: no" >&5
4103 echo "${ECHO_T}no" >&6
4107 if test -z "$ac_cv_prog_AR"; then
4109 # Extract the first word of "ar", so it can be a program name with args.
4110 set dummy
ar; ac_word
=$2
4111 echo "$as_me:$LINENO: checking for $ac_word" >&5
4112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4113 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4114 echo $ECHO_N "(cached) $ECHO_C" >&6
4116 if test -n "$ac_ct_AR"; then
4117 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4123 test -z "$as_dir" && as_dir
=.
4124 for ac_exec_ext
in '' $ac_executable_extensions; do
4125 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4126 ac_cv_prog_ac_ct_AR
="ar"
4127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4135 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4136 if test -n "$ac_ct_AR"; then
4137 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4138 echo "${ECHO_T}$ac_ct_AR" >&6
4140 echo "$as_me:$LINENO: result: no" >&5
4141 echo "${ECHO_T}no" >&6
4149 if test -n "$ac_tool_prefix"; then
4150 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4151 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4152 echo "$as_me:$LINENO: checking for $ac_word" >&5
4153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4154 if test "${ac_cv_prog_RANLIB+set}" = set; then
4155 echo $ECHO_N "(cached) $ECHO_C" >&6
4157 if test -n "$RANLIB"; then
4158 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4164 test -z "$as_dir" && as_dir
=.
4165 for ac_exec_ext
in '' $ac_executable_extensions; do
4166 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4167 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4176 RANLIB
=$ac_cv_prog_RANLIB
4177 if test -n "$RANLIB"; then
4178 echo "$as_me:$LINENO: result: $RANLIB" >&5
4179 echo "${ECHO_T}$RANLIB" >&6
4181 echo "$as_me:$LINENO: result: no" >&5
4182 echo "${ECHO_T}no" >&6
4186 if test -z "$ac_cv_prog_RANLIB"; then
4187 ac_ct_RANLIB
=$RANLIB
4188 # Extract the first word of "ranlib", so it can be a program name with args.
4189 set dummy ranlib
; ac_word
=$2
4190 echo "$as_me:$LINENO: checking for $ac_word" >&5
4191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4192 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4193 echo $ECHO_N "(cached) $ECHO_C" >&6
4195 if test -n "$ac_ct_RANLIB"; then
4196 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4202 test -z "$as_dir" && as_dir
=.
4203 for ac_exec_ext
in '' $ac_executable_extensions; do
4204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4205 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4212 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4215 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4216 if test -n "$ac_ct_RANLIB"; then
4217 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4218 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4220 echo "$as_me:$LINENO: result: no" >&5
4221 echo "${ECHO_T}no" >&6
4224 RANLIB
=$ac_ct_RANLIB
4226 RANLIB
="$ac_cv_prog_RANLIB"
4229 for ac_prog
in gawk mawk nawk
awk
4231 # Extract the first word of "$ac_prog", so it can be a program name with args.
4232 set dummy
$ac_prog; ac_word
=$2
4233 echo "$as_me:$LINENO: checking for $ac_word" >&5
4234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4235 if test "${ac_cv_prog_AWK+set}" = set; then
4236 echo $ECHO_N "(cached) $ECHO_C" >&6
4238 if test -n "$AWK"; then
4239 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4245 test -z "$as_dir" && as_dir
=.
4246 for ac_exec_ext
in '' $ac_executable_extensions; do
4247 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4248 ac_cv_prog_AWK
="$ac_prog"
4249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4258 if test -n "$AWK"; then
4259 echo "$as_me:$LINENO: result: $AWK" >&5
4260 echo "${ECHO_T}$AWK" >&6
4262 echo "$as_me:$LINENO: result: no" >&5
4263 echo "${ECHO_T}no" >&6
4266 test -n "$AWK" && break
4269 for ac_prog
in jar fastjar gjar
4271 # Extract the first word of "$ac_prog", so it can be a program name with args.
4272 set dummy
$ac_prog; ac_word
=$2
4273 echo "$as_me:$LINENO: checking for $ac_word" >&5
4274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4275 if test "${ac_cv_prog_JAR+set}" = set; then
4276 echo $ECHO_N "(cached) $ECHO_C" >&6
4278 if test -n "$JAR"; then
4279 ac_cv_prog_JAR
="$JAR" # Let the user override the test.
4281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4285 test -z "$as_dir" && as_dir
=.
4286 for ac_exec_ext
in '' $ac_executable_extensions; do
4287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4288 ac_cv_prog_JAR
="$ac_prog"
4289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4298 if test -n "$JAR"; then
4299 echo "$as_me:$LINENO: result: $JAR" >&5
4300 echo "${ECHO_T}$JAR" >&6
4302 echo "$as_me:$LINENO: result: no" >&5
4303 echo "${ECHO_T}no" >&6
4306 test -n "$JAR" && break
4308 test -n "$JAR" || JAR
="no"
4310 # Extract the first word of "zip", so it can be a program name with args.
4311 set dummy
zip; ac_word
=$2
4312 echo "$as_me:$LINENO: checking for $ac_word" >&5
4313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4314 if test "${ac_cv_path_ZIP+set}" = set; then
4315 echo $ECHO_N "(cached) $ECHO_C" >&6
4319 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
4322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4326 test -z "$as_dir" && as_dir
=.
4327 for ac_exec_ext
in '' $ac_executable_extensions; do
4328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4329 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
4330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4336 test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP
="no"
4342 if test -n "$ZIP"; then
4343 echo "$as_me:$LINENO: result: $ZIP" >&5
4344 echo "${ECHO_T}$ZIP" >&6
4346 echo "$as_me:$LINENO: result: no" >&5
4347 echo "${ECHO_T}no" >&6
4350 # Extract the first word of "unzip", so it can be a program name with args.
4351 set dummy
unzip; ac_word
=$2
4352 echo "$as_me:$LINENO: checking for $ac_word" >&5
4353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4354 if test "${ac_cv_path_UNZIP+set}" = set; then
4355 echo $ECHO_N "(cached) $ECHO_C" >&6
4359 ac_cv_path_UNZIP
="$UNZIP" # Let the user override the test with a path.
4362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4366 test -z "$as_dir" && as_dir
=.
4367 for ac_exec_ext
in '' $ac_executable_extensions; do
4368 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4369 ac_cv_path_UNZIP
="$as_dir/$ac_word$ac_exec_ext"
4370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4376 test -z "$ac_cv_path_UNZIP" && ac_cv_path_UNZIP
="unzip"
4380 UNZIP
=$ac_cv_path_UNZIP
4382 if test -n "$UNZIP"; then
4383 echo "$as_me:$LINENO: result: $UNZIP" >&5
4384 echo "${ECHO_T}$UNZIP" >&6
4386 echo "$as_me:$LINENO: result: no" >&5
4387 echo "${ECHO_T}no" >&6
4391 # We need a jar that supports -@. This is a GNU extension.
4392 if test "$JAR" != no
; then
4393 rm -f config-test.jar
4394 echo $srcdir/configure.ac |
$JAR -cf@ config-test.jar
4395 if test -f config-test.jar
; then
4396 rm -f config-test.jar
4402 # Prefer the jar we found, but fall back to our jar script.
4403 if test "$JAR" = no
; then
4404 if test "$ZIP" = no
; then
4405 { { echo "$as_me:$LINENO: error: cannot find neither zip nor jar, cannot continue" >&5
4406 echo "$as_me: error: cannot find neither zip nor jar, cannot continue" >&2;}
4407 { (exit 1); exit 1; }; }
4409 # InfoZIP available, use the 'guaranteed' Bourne-shell JAR to build libjava
4410 JAR
=`pwd`/scripts
/jar
4414 # Find a good install program. We prefer a C program (faster),
4415 # so one script is as good as another. But avoid the broken or
4416 # incompatible versions:
4417 # SysV /etc/install, /usr/sbin/install
4418 # SunOS /usr/etc/install
4419 # IRIX /sbin/install
4421 # AmigaOS /C/install, which installs bootblocks on floppy discs
4422 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4423 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4424 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4425 # OS/2's system install, which has a completely different semantic
4426 # ./install, which can be erroneously created by make from ./install.sh.
4427 # Reject install programs that cannot install multiple files.
4428 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4429 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4430 if test -z "$INSTALL"; then
4431 if test "${ac_cv_path_install+set}" = set; then
4432 echo $ECHO_N "(cached) $ECHO_C" >&6
4434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4438 test -z "$as_dir" && as_dir
=.
4439 # Account for people who put trailing slashes in PATH elements.
4441 .
/ | .
// |
/cC
/* | \
4442 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4443 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4446 # OSF1 and SCO ODT 3.0 have their own names for install.
4447 # Don't use installbsd from OSF since it installs stuff as root
4449 for ac_prog
in ginstall scoinst
install; do
4450 for ac_exec_ext
in '' $ac_executable_extensions; do
4451 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4452 if test $ac_prog = install &&
4453 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4454 # AIX install. It has an incompatible calling convention.
4456 elif test $ac_prog = install &&
4457 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4458 # program-specific install script used by HP pwplus--don't use.
4461 rm -rf conftest.one conftest.two conftest.dir
4462 echo one
> conftest.one
4463 echo two
> conftest.two
4465 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4466 test -s conftest.one
&& test -s conftest.two
&&
4467 test -s conftest.dir
/conftest.one
&&
4468 test -s conftest.dir
/conftest.two
4470 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4481 rm -rf conftest.one conftest.two conftest.dir
4484 if test "${ac_cv_path_install+set}" = set; then
4485 INSTALL
=$ac_cv_path_install
4487 # As a last resort, use the slow shell script. Don't cache a
4488 # value for INSTALL within a source directory, because that will
4489 # break other packages using the cache if that directory is
4490 # removed, or if the value is a relative name.
4491 INSTALL
=$ac_install_sh
4494 echo "$as_me:$LINENO: result: $INSTALL" >&5
4495 echo "${ECHO_T}$INSTALL" >&6
4497 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4498 # It thinks the first close brace ends the variable substitution.
4499 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4501 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4503 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4506 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4507 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4508 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4509 if test "${enable_maintainer_mode+set}" = set; then
4510 enableval
="$enable_maintainer_mode"
4511 USE_MAINTAINER_MODE
=$enableval
4513 USE_MAINTAINER_MODE
=no
4515 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4516 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4519 if test $USE_MAINTAINER_MODE = yes; then
4520 MAINTAINER_MODE_TRUE
=
4521 MAINTAINER_MODE_FALSE
='#'
4523 MAINTAINER_MODE_TRUE
='#'
4524 MAINTAINER_MODE_FALSE
=
4527 MAINT
=$MAINTAINER_MODE_TRUE
4533 # configure.host sets the following important variables
4534 # libgcj_cflags - host specific C compiler flags
4535 # libgcj_cxxflags - host specific C++ compiler flags
4536 # libgcj_javaflags - host specific Java compiler flags
4542 .
${srcdir}/configure.
host
4544 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4545 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4546 if test "${acl_cv_prog_gnu_ld+set}" = set; then
4547 echo $ECHO_N "(cached) $ECHO_C" >&6
4549 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4550 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4551 acl_cv_prog_gnu_ld
=yes
4553 acl_cv_prog_gnu_ld
=no
4556 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
4557 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
4558 with_gnu_ld
=$acl_cv_prog_gnu_ld
4560 echo "$as_me:$LINENO: checking if the GNU linker ($LD) supports -Bsymbolic-functions" >&5
4561 echo $ECHO_N "checking if the GNU linker ($LD) supports -Bsymbolic-functions... $ECHO_C" >&6
4562 if test "${acl_cv_prog_gnu_ld_symbolic+set}" = set; then
4563 echo $ECHO_N "(cached) $ECHO_C" >&6
4566 acl_cv_prog_gnu_ld_symbolic
=no
4568 if test x
"$with_gnu_ld" = x
"yes"; then
4569 if $LD --help 2>&1 </dev
/null |
grep Bsymbolic-functions
1>&5; then
4570 acl_cv_prog_gnu_ld_symbolic
=yes
4574 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld_symbolic" >&5
4575 echo "${ECHO_T}$acl_cv_prog_gnu_ld_symbolic" >&6
4576 if test x
"$acl_cv_prog_gnu_ld_symbolic" = x
"yes"; then
4577 SYMBOLIC_LDFLAGS
="-Wl,-Bsymbolic-functions"
4582 libgcj_ld_symbolic_functions
=$SYMBOLIC_LDFLAGS
4583 if test -z "$libgcj_ld_symbolic"; then
4584 libgcj_ld_symbolic
=$SYMBOLIC_LDFLAGS
4587 LIBGCJ_CFLAGS
="${libgcj_cflags}"
4588 LIBGCJ_CXXFLAGS
="${libgcj_cxxflags}"
4589 LIBGCJ_JAVAFLAGS
="${libgcj_javaflags}"
4590 LIBGCJ_LD_SYMBOLIC
="${libgcj_ld_symbolic}"
4591 LIBGCJ_LD_SYMBOLIC_FUNCTIONS
="${libgcj_ld_symbolic_functions}"
4598 # Only use libltdl for non-newlib builds.
4599 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
4600 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
4601 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
4603 libname_spec
='lib$name'
4611 shlibpath_overrides_runpath
=unknown
4613 dynamic_linker
="$host_os ld.so"
4614 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
4615 if test "$GCC" = yes; then
4616 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
4617 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
4618 # if the path contains ";" then we assume it to be the separator
4619 # otherwise default to the standard path separator (i.e. ":") - it is
4620 # assumed that no part of a normal pathname contains ";" but that should
4621 # okay in the real world where ";" in dirpaths is itself problematic.
4622 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
4624 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
4627 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
4629 need_lib_prefix
=unknown
4630 hardcode_into_libs
=no
4632 # when you set need_version to no, make sure it does not cause -set_version
4633 # flags to be left without arguments
4634 need_version
=unknown
4639 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
4640 shlibpath_var
=LIBPATH
4642 # AIX 3 has no versioning support, so we append a major version to the name.
4643 soname_spec
='${libname}${release}${shared_ext}$major'
4650 hardcode_into_libs
=yes
4651 if test "$host_cpu" = ia64
; then
4652 # AIX 5 supports IA64
4653 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
4654 shlibpath_var
=LD_LIBRARY_PATH
4656 # With GCC up to 2.95.x, collect2 would create an import file
4657 # for dependence libraries. The import file would start with
4658 # the line `#! .'. This would cause the generated library to
4659 # depend on `.', always an invalid library. This was fixed in
4660 # development snapshots of GCC prior to 3.0.
4662 aix4 | aix4.
[01] | aix4.
[01].
*)
4663 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
4665 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
4672 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
4673 # soname into executable. Probably we can add versioning support to
4674 # collect2, so additional links can be useful in future.
4675 if test "$aix_use_runtimelinking" = yes; then
4676 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
4677 # instead of lib<name>.a to let people know that these are not
4678 # typical AIX shared libraries.
4679 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4681 # We preserve .a as extension for shared libraries through AIX4.2
4682 # and later when we are not doing run time linking.
4683 library_names_spec
='${libname}${release}.a $libname.a'
4684 soname_spec
='${libname}${release}${shared_ext}$major'
4686 shlibpath_var
=LIBPATH
4691 library_names_spec
='$libname.ixlibrary $libname.a'
4692 # Create ${libname}_ixlibrary.a entries in /sys/libs.
4693 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'
4697 library_names_spec
='${libname}${shared_ext}'
4698 dynamic_linker
="$host_os ld.so"
4699 shlibpath_var
=LIBRARY_PATH
4705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4706 soname_spec
='${libname}${release}${shared_ext}$major'
4707 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
4708 shlibpath_var
=LD_LIBRARY_PATH
4709 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
4710 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
4711 # the default ld.so.conf also contains /usr/contrib/lib and
4712 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
4713 # libtool to hard-code these into programs
4716 cygwin
* | mingw
* | pw32
*)
4717 version_type
=windows
4722 case $GCC,$host_os in
4723 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
4724 library_names_spec
='$libname.dll.a'
4725 # DLL is installed to $(libdir)/../bin by postinstall_cmds
4726 postinstall_cmds
='base_file=`basename \${file}`~
4727 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
4728 dldir=$destdir/`dirname \$dlpath`~
4729 test -d \$dldir || mkdir -p \$dldir~
4730 $install_prog $dir/$dlname \$dldir/$dlname'
4731 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
4732 dlpath=$dir/\$dldll~
4734 shlibpath_overrides_runpath
=yes
4738 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
4739 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
4740 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
4743 # MinGW DLLs use traditional 'lib' prefix
4744 soname_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
4745 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
4746 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
4747 # It is most probably a Windows format PATH printed by
4748 # mingw gcc, but we are running on Cygwin. Gcc prints its search
4749 # path with ; separators, and with drive letters. We can handle the
4750 # drive letters (cygwin fileutils understands them), so leave them,
4751 # especially as we might pass files found there to a mingw objdump,
4752 # which wouldn't understand a cygwinified path. Ahh.
4753 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
4755 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
4759 # pw32 DLLs use 'pw' prefix rather than 'lib'
4760 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}${shared_ext}'
4766 library_names_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
4769 dynamic_linker
='Win32 ld.exe'
4770 # FIXME: first we should search . and the directory the executable is in
4774 darwin
* | rhapsody
*)
4775 dynamic_linker
="$host_os dyld"
4779 # FIXME: Relying on posixy $() will cause problems for
4780 # cross-compilation, but unfortunately the echo tests do not
4781 # yet detect zsh echo's removal of \ escapes.
4782 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
4783 soname_spec
='${libname}${release}${major}$shared_ext'
4784 shlibpath_overrides_runpath
=yes
4785 shlibpath_var
=DYLD_LIBRARY_PATH
4786 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
4787 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
4788 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
4789 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"`
4791 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
4798 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
4799 soname_spec
='${libname}${release}${shared_ext}$major'
4800 shlibpath_var
=LD_LIBRARY_PATH
4808 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
4809 version_type
=freebsd-
$objformat
4810 case $version_type in
4812 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
4817 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
4821 shlibpath_var
=LD_LIBRARY_PATH
4824 shlibpath_overrides_runpath
=yes
4826 freebsd3.01
* | freebsdelf3.01
*)
4827 shlibpath_overrides_runpath
=yes
4828 hardcode_into_libs
=yes
4831 shlibpath_overrides_runpath
=no
4832 hardcode_into_libs
=yes
4841 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
4842 soname_spec
='${libname}${release}${shared_ext}$major'
4843 shlibpath_var
=LD_LIBRARY_PATH
4844 hardcode_into_libs
=yes
4847 hpux9
* | hpux10
* | hpux11
*)
4848 # Give a soname corresponding to the major version so that dld.sl refuses to
4849 # link against other versions.
4856 hardcode_into_libs
=yes
4857 dynamic_linker
="$host_os dld.so"
4858 shlibpath_var
=LD_LIBRARY_PATH
4859 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
4860 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4861 soname_spec
='${libname}${release}${shared_ext}$major'
4862 if test "X$HPUX_IA64_MODE" = X32
; then
4863 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
4865 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
4867 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
4871 hardcode_into_libs
=yes
4872 dynamic_linker
="$host_os dld.sl"
4873 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
4874 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
4875 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4876 soname_spec
='${libname}${release}${shared_ext}$major'
4877 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
4878 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
4882 dynamic_linker
="$host_os dld.sl"
4883 shlibpath_var
=SHLIB_PATH
4884 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
4885 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4886 soname_spec
='${libname}${release}${shared_ext}$major'
4889 # HP-UX runs *really* slowly unless shared libraries are mode 555.
4890 postinstall_cmds
='chmod 555 $lib'
4893 irix5
* | irix6
* | nonstopux
*)
4895 nonstopux
*) version_type
=nonstopux
;;
4897 if test "$lt_cv_prog_gnu_ld" = yes; then
4905 soname_spec
='${libname}${release}${shared_ext}$major'
4906 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
4908 irix5
* | nonstopux
*)
4912 case $LD in # libtool.m4 will add one of these switches to LD
4913 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
4914 libsuff
= shlibsuff
= libmagic
=32-bit;;
4915 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
4916 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
4917 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
4918 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
4919 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
4923 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
4924 shlibpath_overrides_runpath
=no
4925 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
4926 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
4927 hardcode_into_libs
=yes
4930 # No shared lib support for Linux oldld, aout, or coff.
4931 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
4935 # This must be Linux ELF.
4940 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4941 soname_spec
='${libname}${release}${shared_ext}$major'
4942 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
4943 shlibpath_var
=LD_LIBRARY_PATH
4944 shlibpath_overrides_runpath
=no
4945 # This implies no fast_install, which is unacceptable.
4946 # Some rework will be needed to allow for fast_install
4947 # before this can be enabled.
4948 hardcode_into_libs
=yes
4950 # We used to test for /lib/ld.so.1 and disable shared libraries on
4951 # powerpc, because MkLinux only supported shared libraries with the
4952 # GNU dynamic linker. Since this was broken with cross compilers,
4953 # most powerpc-linux boxes support dynamic linking these days and
4954 # people can always --disable-shared, the test was removed, and we
4955 # assume the GNU/Linux dynamic linker is in use.
4956 dynamic_linker
='GNU/Linux ld.so'
4963 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
4964 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4965 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4966 dynamic_linker
='NetBSD (a.out) ld.so'
4968 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
4969 soname_spec
='${libname}${release}${shared_ext}$major'
4970 dynamic_linker
='NetBSD ld.elf_so'
4972 shlibpath_var
=LD_LIBRARY_PATH
4973 shlibpath_overrides_runpath
=yes
4974 hardcode_into_libs
=yes
4979 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4980 shlibpath_var
=LD_LIBRARY_PATH
4981 shlibpath_overrides_runpath
=yes
4988 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4989 soname_spec
='${libname}${release}${shared_ext}$major'
4990 shlibpath_var
=LD_LIBRARY_PATH
4991 shlibpath_overrides_runpath
=yes
4998 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4999 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
5000 shlibpath_var
=LD_LIBRARY_PATH
5001 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5003 openbsd2.
[89] | openbsd2.
[89].
*)
5004 shlibpath_overrides_runpath
=no
5007 shlibpath_overrides_runpath
=yes
5011 shlibpath_overrides_runpath
=yes
5016 libname_spec
='$name'
5019 library_names_spec
='$libname${shared_ext} $libname.a'
5020 dynamic_linker
='OS/2 ld.exe'
5021 shlibpath_var
=LIBPATH
5024 osf3
* | osf4
* | osf5
*)
5028 soname_spec
='${libname}${release}${shared_ext}$major'
5029 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5030 shlibpath_var
=LD_LIBRARY_PATH
5031 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
5032 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
5037 soname_spec
='${libname}${release}${shared_ext}$major'
5038 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5039 shlibpath_var
=LD_LIBRARY_PATH
5046 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5047 soname_spec
='${libname}${release}${shared_ext}$major'
5048 shlibpath_var
=LD_LIBRARY_PATH
5049 shlibpath_overrides_runpath
=yes
5050 hardcode_into_libs
=yes
5051 # ldd complains unless libraries are executable
5052 postinstall_cmds
='chmod +x $lib'
5057 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5058 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
5059 shlibpath_var
=LD_LIBRARY_PATH
5060 shlibpath_overrides_runpath
=yes
5061 if test "$with_gnu_ld" = yes; then
5067 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
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
5072 case $host_vendor in
5074 shlibpath_overrides_runpath
=no
5076 export_dynamic_flag_spec
='${wl}-Blargedynsym'
5077 runpath_var
=LD_RUN_PATH
5085 shlibpath_overrides_runpath
=no
5086 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
5092 if test -d /usr
/nec
;then
5094 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
5095 soname_spec
='$libname${shared_ext}.$major'
5096 shlibpath_var
=LD_LIBRARY_PATH
5102 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5103 soname_spec
='${libname}${release}${shared_ext}$major'
5104 shlibpath_var
=LD_LIBRARY_PATH
5111 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
5112 echo "${ECHO_T}$dynamic_linker" >&6
5113 test "$dynamic_linker" = no
&& can_build_shared
=no
5116 echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
5117 echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6
5118 if test "${libltdl_cv_shlibpath_var+set}" = set; then
5119 echo $ECHO_N "(cached) $ECHO_C" >&6
5121 libltdl_cv_shlibpath_var
="$shlibpath_var"
5123 echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
5124 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6
5125 if test -n "$libltdl_cv_shlibpath_var"; then
5127 cat >>confdefs.h
<<_ACEOF
5128 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
5135 ac_config_headers
="$ac_config_headers include/config.h gcj/libgcj-config.h"
5138 # See if the user has requested runtime debugging.
5139 LIBGCJDEBUG
="disable"
5141 # Check whether --enable-libgcj-debug or --disable-libgcj-debug was given.
5142 if test "${enable_libgcj_debug+set}" = set; then
5143 enableval
="$enable_libgcj_debug"
5144 if test "$enable_libgcj_debug" = yes; then
5146 cat >>confdefs.h
<<\_ACEOF
5150 LIBGCJDEBUG
="enable"
5155 # Check whether --with-escher or --without-escher was given.
5156 if test "${with_escher+set}" = set; then
5157 withval
="$with_escher"
5160 case "$with_escher" in
5168 { { echo "$as_me:$LINENO: error: Please supply an absolute path to Escher library" >&5
5169 echo "$as_me: error: Please supply an absolute path to Escher library" >&2;}
5170 { (exit 1); exit 1; }; }
5177 # Determine which AWT peer libraries to build
5178 # Check whether --enable-java-awt or --disable-java-awt was given.
5179 if test "${enable_java_awt+set}" = set; then
5180 enableval
="$enable_java_awt"
5184 peerlibs
="`echo ${enable_java_awt} | tr ',' ' '`"
5189 # The default toolkit to use is the first one specified.
5193 for peer
in $peerlibs ; do
5196 if test "$no_x" = yes; then
5197 echo "*** xlib peers requested but no X library available" 1>&2
5201 if test -z "$TOOLKIT"; then
5202 TOOLKIT
=gnu.awt.xlib.XToolkit
5207 if test "$no_x" = yes; then
5208 echo "*** gtk peers requested but no X library available" 1>&2
5212 if test -z "$TOOLKIT"; then
5213 TOOLKIT
=gnu.java.awt.peer.gtk.GtkToolkit
5218 if test "$no_x" = yes; then
5219 # Perhaps we should admit the possibility of embedded Qt.
5220 echo "*** Qt peers requested but no X library available" 1>&2
5224 if test -z "$TOOLKIT"; then
5225 TOOLKIT
=gnu.java.awt.peer.qt.QtToolkit
5231 if test -z "$TOOLKIT"; then
5232 TOOLKIT
=gnu.java.awt.peer.x.XToolkit
5243 echo "*** unrecognised argument \"${peer}\" for --enable-java-awt" 1>&2
5250 if test "$use_xlib_awt" = yes; then
5260 if test "$use_x_awt" = yes; then
5270 cat >>confdefs.h
<<_ACEOF
5271 #define AWT_TOOLKIT "$TOOLKIT"
5276 cat >>confdefs.h
<<_ACEOF
5277 #define LIBGCJ_PREFIX "$prefix"
5281 # Create standard.omit based on decisions we just made.
5282 cp $srcdir/standard.omit.
in standard.omit
5283 if test "$use_xlib_awt" != yes; then
5284 echo gnu
/awt
/xlib
>> standard.omit
5285 echo gnu
/gcj
/xlib
>> standard.omit
5287 if test "$use_x_awt" != yes; then
5288 echo gnu
/java
/awt
/peer
/x
>> standard.omit
5291 # Tools that need to be compiled against classpath's tools classes
5292 : > vm-tools-packages
5293 for package
in gnu
/gcj
/tools
/gc_analyze
; do
5294 echo $package >> standard.omit
5295 echo $package >> vm-tools-packages
5298 if test -z "${with_multisubdir}"; then
5301 builddotdot
=`echo ${with_multisubdir} | sed -e 's:[^/][^/]*:..:g'`
5306 # Which gcj and host gcj (for ecjx) do we use?
5308 host_exeext
=${ac_exeext}
5310 built_gcc_dir
="`cd ${builddotdot}/../../${host_subdir}/gcc && ${PWDCMD-pwd}`"
5311 if test -n "${with_cross_host}"; then
5312 # We are being configured with a cross compiler. We can't
5313 # use ac_exeext, because that is for the target platform.
5316 GCJ_FOR_ECJX
="${with_cross_host}-gcj"
5317 case "${with_cross_host}" in
5319 cross_host_exeext
=.exe
5322 host_exeext
=${cross_host_exeext}
5323 if test -x "${built_gcc_dir}/gcj${cross_host_exeext}"; then
5324 if test x
"$build_noncanonical" = x
"$with_cross_host"; then
5325 # Ordinary cross (host!=target and host=build)
5328 # Canadian cross (host!=target and host!=build)
5335 # We are being configured with a native or crossed-native compiler
5336 if test -x "${built_gcc_dir}/gcj${ac_exeext}"; then
5337 if test x
"$build" = x
"$host"; then
5338 # True native build (host=target and host=build)
5341 # Crossed-native build (host=target and host!=build)
5348 case "${which_gcj}" in
5350 GCJ
="$built_gcc_dir/gcj -B`${PWDCMD-pwd}`/ -B$built_gcc_dir/"
5351 GCJH
='$(top_builddir)/$(MULTIBUILDTOP)../../$(host_subdir)/gcc/gcjh'
5354 if test "x${with_newlib}" = "xyes"; then
5355 # FIXME (comment): Why is this needed?
5357 GCJ
="${target_noncanonical}-gcj"
5359 GCJ
="${target_noncanonical}-gcj -B`${PWDCMD-pwd}`/"
5361 GCJH
='$(target_noncanonical)-gcjh'
5364 GCJ
="gcj -B`${PWDCMD-pwd}`/"
5373 # Create it, so that compile/link tests don't fail
5374 test -f libgcj.spec ||
touch libgcj.spec
5378 # Set up to configure Classpath.
5379 # FIXME: no supported way to pass args in autoconf.
5380 ac_configure_args
="$ac_configure_args --with-fastjar=$JAR"
5381 # Disable tool wrappers to avoid ltdl.h configure check.
5382 ac_configure_args
="$ac_configure_args --disable-tool-wrappers"
5383 ac_configure_args
="$ac_configure_args --disable-load-library"
5384 ac_configure_args
="$ac_configure_args --${LIBGCJDEBUG}-debug"
5385 ac_configure_args
="$ac_configure_args --enable-default-toolkit=$TOOLKIT"
5386 dir1
=`cd $srcdir && pwd`
5388 ac_configure_args
="$ac_configure_args --with-vm-classes=$dir1:$dir2"
5389 ac_configure_args
="$ac_configure_args --disable-core-jni"
5390 ac_configure_args
="$ac_configure_args --disable-examples"
5391 ac_configure_args
="$ac_configure_args --with-glibj=build"
5392 if test "$plugin_enabled" != yes; then
5393 ac_configure_args
="$ac_configure_args --disable-plugin"
5395 if test "$gconf_enabled" != yes; then
5396 ac_configure_args
="$ac_configure_args --disable-gconf-peer"
5397 ac_configure_args
="$ac_configure_args --enable-default-preferences-peer=gnu.java.util.prefs.FileBasedFactory"
5399 if test "$use_gtk_awt" != yes; then
5400 ac_configure_args
="$ac_configure_args --disable-gtk-peer --disable-plugin"
5402 if test "$use_qt_awt" != yes; then
5403 ac_configure_args
="$ac_configure_args --disable-qt-peer"
5405 # We need this as qt is disabled by default in classpath.
5406 ac_configure_args
="$ac_configure_args --enable-qt-peer"
5408 if test "$use_x_awt" != yes; then
5409 ac_configure_args
="$ac_configure_args --without-escher"
5411 # We need this as escher is disabled by default in classpath.
5412 if test "$use_escher" != true
; then
5413 { { echo "$as_me:$LINENO: error: Please supply an absolute path to the Escher library" >&5
5414 echo "$as_me: error: Please supply an absolute path to the Escher library" >&2;}
5415 { (exit 1); exit 1; }; }
5417 ac_configure_args
="$ac_configure_args --with-escher=$with_escher"
5420 # -Werror causes unavoidable problems in code using alsa.
5421 ac_configure_args
="$ac_configure_args --disable-Werror"
5423 # Only use libltdl for non-newlib builds.
5424 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
5425 case $enable_ltdl_convenience in
5426 no
) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
5427 echo "$as_me: error: this package needs a convenience libltdl" >&2;}
5428 { (exit 1); exit 1; }; } ;;
5429 "") enable_ltdl_convenience
=yes
5430 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
5432 LIBLTDL
='${top_builddir}/''libltdl'/libltdlc.la
5433 LTDLINCL
='-I${top_srcdir}/''libltdl'
5434 # For backwards non-gettext consistent compatibility...
5443 cat >>confdefs.h
<<\_ACEOF
5447 # Sigh. Libtool's macro doesn't do the right thing.
5448 INCLTDL
="-I\$(top_srcdir)/libltdl $INCLTDL"
5449 # FIXME: this is a hack.
5450 sub_auxdir
="`cd $ac_aux_dir && ${PWDCMD-pwd}`"
5451 ac_configure_args
="$ac_configure_args --with-auxdir=$sub_auxdir"
5458 macro_version
='2.1a'
5459 macro_revision
='1.2435'
5472 ltmain
="$ac_aux_dir/ltmain.sh"
5480 # Check whether --enable-shared or --disable-shared was given.
5481 if test "${enable_shared+set}" = set; then
5482 enableval
="$enable_shared"
5483 p
=${PACKAGE-default}
5485 yes) enable_shared
=yes ;;
5486 no
) enable_shared
=no
;;
5489 # Look at the argument we got. We use all the common list separators.
5490 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5491 for pkg
in $enableval; do
5493 if test "X$pkg" = "X$p"; then
5511 # Check whether --enable-static or --disable-static was given.
5512 if test "${enable_static+set}" = set; then
5513 enableval
="$enable_static"
5514 p
=${PACKAGE-default}
5516 yes) enable_static
=yes ;;
5517 no
) enable_static
=no
;;
5520 # Look at the argument we got. We use all the common list separators.
5521 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5522 for pkg
in $enableval; do
5524 if test "X$pkg" = "X$p"; then
5543 # Check whether --with-pic or --without-pic was given.
5544 if test "${with_pic+set}" = set; then
5551 test -z "$pic_mode" && pic_mode
=default
5559 # Check whether --enable-fast-install or --disable-fast-install was given.
5560 if test "${enable_fast_install+set}" = set; then
5561 enableval
="$enable_fast_install"
5562 p
=${PACKAGE-default}
5564 yes) enable_fast_install
=yes ;;
5565 no
) enable_fast_install
=no
;;
5567 enable_fast_install
=no
5568 # Look at the argument we got. We use all the common list separators.
5569 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5570 for pkg
in $enableval; do
5572 if test "X$pkg" = "X$p"; then
5573 enable_fast_install
=yes
5580 enable_fast_install
=yes
5590 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5591 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
5592 if test "${lt_cv_path_SED+set}" = set; then
5593 echo $ECHO_N "(cached) $ECHO_C" >&6
5595 # Loop through the user's path and test for sed and gsed.
5596 # Then use that list of sed's as ones to test for truncation.
5597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5601 test -z "$as_dir" && as_dir
=.
5602 for lt_ac_prog
in sed gsed
; do
5603 for ac_exec_ext
in '' $ac_executable_extensions; do
5604 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5605 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5613 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5614 # along with /bin/sed that truncates output.
5615 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
5616 test ! -f $lt_ac_sed && continue
5617 cat /dev
/null
> conftest.
in
5619 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
5620 # Check for GNU sed and select it if it is found.
5621 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
5622 lt_cv_path_SED
=$lt_ac_sed
5626 cat conftest.
in conftest.
in >conftest.tmp
5627 mv conftest.tmp conftest.
in
5628 cp conftest.
in conftest.
nl
5630 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
5631 cmp -s conftest.out conftest.
nl ||
break
5632 # 10000 chars as input seems more than enough
5633 test $lt_ac_count -gt 10 && break
5634 lt_ac_count
=`expr $lt_ac_count + 1`
5635 if test $lt_ac_count -gt $lt_ac_max; then
5636 lt_ac_max
=$lt_ac_count
5637 lt_cv_path_SED
=$lt_ac_sed
5646 echo "$as_me:$LINENO: result: $SED" >&5
5647 echo "${ECHO_T}$SED" >&6
5649 test -z "$SED" && SED
=sed
5650 Xsed
="$SED -e 1s/^X//"
5662 echo "$as_me:$LINENO: checking for egrep" >&5
5663 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5664 if test "${ac_cv_prog_egrep+set}" = set; then
5665 echo $ECHO_N "(cached) $ECHO_C" >&6
5667 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5668 then ac_cv_prog_egrep
='grep -E'
5669 else ac_cv_prog_egrep
='egrep'
5672 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5673 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5674 EGREP
=$ac_cv_prog_egrep
5677 echo "$as_me:$LINENO: checking for fgrep" >&5
5678 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
5679 if test "${ac_cv_prog_fgrep+set}" = set; then
5680 echo $ECHO_N "(cached) $ECHO_C" >&6
5682 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
5683 then ac_cv_prog_fgrep
='grep -F'
5684 else ac_cv_prog_fgrep
='fgrep'
5687 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
5688 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
5689 FGREP
=$ac_cv_prog_fgrep
5692 test -z "$GREP" && GREP
=grep
5712 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5713 if test "${with_gnu_ld+set}" = set; then
5714 withval
="$with_gnu_ld"
5715 test "$withval" = no || with_gnu_ld
=yes
5720 if test "$GCC" = yes; then
5721 # Check if gcc -print-prog-name=ld gives a path.
5722 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5723 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5726 # gcc leaves a trailing carriage return which upsets mingw
5727 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5729 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5732 # Accept absolute paths.
5734 re_direlt
='/[^/][^/]*/\.\./'
5735 # Canonicalize the pathname of ld
5736 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5737 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5738 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5740 test -z "$LD" && LD
="$ac_prog"
5743 # If it fails, then pretend we aren't using GCC.
5747 # If it is relative, then search for the first ld in PATH.
5751 elif test "$with_gnu_ld" = yes; then
5752 echo "$as_me:$LINENO: checking for GNU ld" >&5
5753 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5755 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5756 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5758 if test "${lt_cv_path_LD+set}" = set; then
5759 echo $ECHO_N "(cached) $ECHO_C" >&6
5761 if test -z "$LD"; then
5762 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5763 for ac_dir
in $PATH; do
5765 test -z "$ac_dir" && ac_dir
=.
5766 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5767 lt_cv_path_LD
="$ac_dir/$ac_prog"
5768 # Check to see if the program is GNU ld. I'd rather use --version,
5769 # but apparently some variants of GNU ld only accept -v.
5770 # Break only if it was the GNU/non-GNU ld that we prefer.
5771 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5772 *GNU
* |
*'with BFD'*)
5773 test "$with_gnu_ld" != no
&& break
5776 test "$with_gnu_ld" != yes && break
5783 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5788 if test -n "$LD"; then
5789 echo "$as_me:$LINENO: result: $LD" >&5
5790 echo "${ECHO_T}$LD" >&6
5792 echo "$as_me:$LINENO: result: no" >&5
5793 echo "${ECHO_T}no" >&6
5795 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5796 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5797 { (exit 1); exit 1; }; }
5798 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5799 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5800 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5801 echo $ECHO_N "(cached) $ECHO_C" >&6
5803 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5804 case `$LD -v 2>&1 </dev/null` in
5805 *GNU
* |
*'with BFD'*)
5806 lt_cv_prog_gnu_ld
=yes
5809 lt_cv_prog_gnu_ld
=no
5813 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5814 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5815 with_gnu_ld
=$lt_cv_prog_gnu_ld
5826 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5827 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
5828 if test "${lt_cv_path_NM+set}" = set; then
5829 echo $ECHO_N "(cached) $ECHO_C" >&6
5831 if test -n "$NM"; then
5832 # Let the user override the test.
5835 lt_nm_to_check
="${ac_tool_prefix}nm"
5836 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5837 lt_nm_to_check
="$lt_nm_to_check nm"
5839 for lt_tmp_nm
in $lt_nm_to_check; do
5840 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5841 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5843 test -z "$ac_dir" && ac_dir
=.
5844 tmp_nm
="$ac_dir/$lt_tmp_nm"
5845 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5846 # Check to see if the nm accepts a BSD-compat flag.
5847 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5848 # nm: unknown option "B" ignored
5849 # Tru64's nm complains that /dev/null is an invalid object file
5850 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5851 */dev
/null
* |
*'Invalid file or object type'*)
5852 lt_cv_path_NM
="$tmp_nm -B"
5856 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5858 lt_cv_path_NM
="$tmp_nm -p"
5862 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5863 continue # so that we can try to find one that supports BSD flags
5872 : ${lt_cv_path_NM=no}
5875 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5876 echo "${ECHO_T}$lt_cv_path_NM" >&6
5877 if test "$lt_cv_path_NM" != "no"; then
5880 # Didn't find any BSD compatible name lister, look for dumpbin.
5881 if test -n "$ac_tool_prefix"; then
5882 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5884 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5885 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5886 echo "$as_me:$LINENO: checking for $ac_word" >&5
5887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5888 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5889 echo $ECHO_N "(cached) $ECHO_C" >&6
5891 if test -n "$DUMPBIN"; then
5892 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5898 test -z "$as_dir" && as_dir
=.
5899 for ac_exec_ext
in '' $ac_executable_extensions; do
5900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5901 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5910 DUMPBIN
=$ac_cv_prog_DUMPBIN
5911 if test -n "$DUMPBIN"; then
5912 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5913 echo "${ECHO_T}$DUMPBIN" >&6
5915 echo "$as_me:$LINENO: result: no" >&5
5916 echo "${ECHO_T}no" >&6
5919 test -n "$DUMPBIN" && break
5922 if test -z "$DUMPBIN"; then
5923 ac_ct_DUMPBIN
=$DUMPBIN
5924 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5926 # Extract the first word of "$ac_prog", so it can be a program name with args.
5927 set dummy
$ac_prog; ac_word
=$2
5928 echo "$as_me:$LINENO: checking for $ac_word" >&5
5929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5930 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5931 echo $ECHO_N "(cached) $ECHO_C" >&6
5933 if test -n "$ac_ct_DUMPBIN"; then
5934 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5940 test -z "$as_dir" && as_dir
=.
5941 for ac_exec_ext
in '' $ac_executable_extensions; do
5942 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5943 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5952 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5953 if test -n "$ac_ct_DUMPBIN"; then
5954 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5955 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
5957 echo "$as_me:$LINENO: result: no" >&5
5958 echo "${ECHO_T}no" >&6
5961 test -n "$ac_ct_DUMPBIN" && break
5963 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
5965 DUMPBIN
=$ac_ct_DUMPBIN
5969 if test "$DUMPBIN" != ":"; then
5973 test -z "$NM" && NM
=nm
5980 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5981 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
5982 if test "${lt_cv_nm_interface+set}" = set; then
5983 echo $ECHO_N "(cached) $ECHO_C" >&6
5985 lt_cv_nm_interface
="BSD nm"
5986 echo "int some_variable = 0;" > conftest.
$ac_ext
5987 (eval echo "\"\$as_me:5987: $ac_compile\"" >&5)
5988 (eval "$ac_compile" 2>conftest.err
)
5989 cat conftest.err
>&5
5990 (eval echo "\"\$as_me:5990: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5991 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5992 cat conftest.err
>&5
5993 (eval echo "\"\$as_me:5993: output\"" >&5)
5994 cat conftest.out
>&5
5995 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5996 lt_cv_nm_interface
="MS dumpbin"
6000 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
6001 echo "${ECHO_T}$lt_cv_nm_interface" >&6
6003 # find the maximum length of command line arguments
6004 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6005 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
6006 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6007 echo $ECHO_N "(cached) $ECHO_C" >&6
6014 # On DJGPP, this test can blow up pretty badly due to problems in libc
6015 # (any single argument exceeding 2000 bytes causes a buffer overrun
6016 # during glob expansion). Even if it were fixed, the result of this
6017 # check would be larger than it should be.
6018 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6022 # Under GNU Hurd, this test is not required because there is
6023 # no limit to the length of command line arguments.
6024 # Libtool will interpret -1 as no limit whatsoever
6025 lt_cv_sys_max_cmd_len
=-1;
6029 # On Win9x/ME, this test blows up -- it succeeds, but takes
6030 # about 5 minutes as the teststring grows exponentially.
6031 # Worse, since 9x/ME are not pre-emptively multitasking,
6032 # you end up with a "frozen" computer, even though with patience
6033 # the test eventually succeeds (with a max line length of 256k).
6034 # Instead, let's just punt: use the minimum linelength reported by
6035 # all of the supported platforms: 8192 (on NT/2K/XP).
6036 lt_cv_sys_max_cmd_len
=8192;
6040 # On AmigaOS with pdksh, this test takes hours, literally.
6041 # So we just punt and use a minimum line length of 8192.
6042 lt_cv_sys_max_cmd_len
=8192;
6045 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6046 # This has been around since 386BSD, at least. Likely further.
6047 if test -x /sbin
/sysctl
; then
6048 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6049 elif test -x /usr
/sbin
/sysctl
; then
6050 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6052 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6054 # And add a safety zone
6055 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6056 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6060 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6061 lt_cv_sys_max_cmd_len
=196608
6065 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6066 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6067 # nice to cause kernel panics so lets avoid the loop below.
6068 # First set a reasonable default.
6069 lt_cv_sys_max_cmd_len
=16384
6071 if test -x /sbin
/sysconfig
; then
6072 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6073 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6078 lt_cv_sys_max_cmd_len
=102400
6080 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6081 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6082 if test -n "$kargmax"; then
6083 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6085 lt_cv_sys_max_cmd_len
=32768
6089 lt_cv_sys_max_cmd_len
=`getconf ARG_MAX 2> /dev/null`
6090 if test -n $lt_cv_sys_max_cmd_len; then
6091 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6092 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6094 # Make teststring a little bigger before we do anything with it.
6095 # a 1K string should be a reasonable start.
6096 for i
in 1 2 3 4 5 6 7 8 ; do
6097 teststring
=$teststring$teststring
6099 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6100 # If test is not a shell built-in, we'll probably end up computing a
6101 # maximum length that is only half of the actual maximum length, but
6103 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6104 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
6105 test $i != 17 # 1/2 MB should be enough
6108 teststring
=$teststring$teststring
6110 # Only check the string length outside the loop.
6111 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6113 # Add a significant safety factor because C++ compilers can tack on
6114 # massive amounts of additional arguments before passing them to the
6115 # linker. It appears as though 1/2 is a usable value.
6116 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6123 if test -n $lt_cv_sys_max_cmd_len ; then
6124 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6125 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
6127 echo "$as_me:$LINENO: result: none" >&5
6128 echo "${ECHO_T}none" >&6
6130 max_cmd_len
=$lt_cv_sys_max_cmd_len
6141 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6142 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
6143 # Try some XSI features
6146 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6147 = c,a/b,, ) >/dev/null 2>&1 \
6149 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
6150 echo "${ECHO_T}$xsi_shell" >&6
6153 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
6154 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
6156 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6158 && lt_shell_append=yes
6159 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
6160 echo "${ECHO_T}$lt_shell_append" >&6
6163 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6173 # test EBCDIC or ASCII
6174 case `echo X|tr X '\101'` in
6175 A) # ASCII based system
6176 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6177 lt_SP2NL='tr \040 \012'
6178 lt_NL2SP='tr \015\012 \040\040'
6180 *) # EBCDIC based system
6181 lt_SP2NL='tr \100 \n'
6182 lt_NL2SP='tr \r\n \100\100'
6194 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
6195 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
6196 if test "${lt_cv_ld_reload_flag+set}" = set; then
6197 echo $ECHO_N "(cached
) $ECHO_C" >&6
6199 lt_cv_ld_reload_flag='-r'
6201 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
6202 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
6203 reload_flag=$lt_cv_ld_reload_flag
6204 case $reload_flag in
6206 *) reload_flag=" $reload_flag" ;;
6208 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6211 if test "$GCC" = yes; then
6212 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6214 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6228 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
6229 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
6230 if test "${lt_cv_deplibs_check_method+set}" = set; then
6231 echo $ECHO_N "(cached
) $ECHO_C" >&6
6233 lt_cv_file_magic_cmd='$MAGIC_CMD'
6234 lt_cv_file_magic_test_file=
6235 lt_cv_deplibs_check_method='unknown'
6236 # Need to set the preceding variable on all platforms that support
6237 # interlibrary dependencies.
6238 # 'none' -- dependencies not supported.
6239 # `unknown' -- same as none, but documents that we really don't know.
6240 # 'pass_all' -- all dependencies passed with no checks.
6241 # 'test_compile' -- check by making test program.
6242 # 'file_magic [[regex]]' -- check by looking for files in library path
6243 # which responds to the $file_magic_cmd with a given extended regex.
6244 # If you have `file' or equivalent on your system and you're not sure
6245 # whether `pass_all' will *always* work, you probably want this one.
6249 lt_cv_deplibs_check_method=pass_all
6253 lt_cv_deplibs_check_method=pass_all
6257 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6258 lt_cv_file_magic_cmd='/usr/bin/file -L'
6259 lt_cv_file_magic_test_file=/shlib/libc.so
6263 # func_win32_libid is a shell function defined in ltmain.sh
6264 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6265 lt_cv_file_magic_cmd='func_win32_libid'
6269 # Base MSYS/MinGW do not provide the 'file' command needed by
6270 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6271 # unless we find 'file', for example because we are cross-compiling.
6272 if ( file / ) >/dev/null 2>&1; then
6273 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6274 lt_cv_file_magic_cmd='func_win32_libid'
6276 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6277 lt_cv_file_magic_cmd='$OBJDUMP -f'
6281 darwin* | rhapsody*)
6282 lt_cv_deplibs_check_method=pass_all
6285 freebsd* | dragonfly*)
6286 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6289 # Not sure whether the presence of OpenBSD here was a mistake.
6290 # Let's accept both of them until this is cleared up.
6291 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6292 lt_cv_file_magic_cmd=/usr/bin/file
6293 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6297 lt_cv_deplibs_check_method=pass_all
6302 lt_cv_deplibs_check_method=pass_all
6305 hpux10.20* | hpux11*)
6306 lt_cv_file_magic_cmd=/usr/bin/file
6309 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6310 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6313 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]'
6314 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6317 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6318 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6324 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6325 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6328 irix5* | irix6* | nonstopux*)
6330 *-32|*"-32 ") libmagic=32-bit;;
6331 *-n32|*"-n32 ") libmagic=N32;;
6332 *-64|*"-64 ") libmagic=64-bit;;
6333 *) libmagic=never-match;;
6335 lt_cv_deplibs_check_method=pass_all
6338 # This must be Linux ELF.
6339 linux* | k*bsd*-gnu)
6340 lt_cv_deplibs_check_method=pass_all
6344 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6345 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6347 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6352 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6353 lt_cv_file_magic_cmd=/usr/bin/file
6354 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6358 lt_cv_deplibs_check_method=pass_all
6362 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6363 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6365 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6369 osf3* | osf4* | osf5*)
6370 lt_cv_deplibs_check_method=pass_all
6374 lt_cv_deplibs_check_method=pass_all
6378 lt_cv_deplibs_check_method=pass_all
6381 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6382 lt_cv_deplibs_check_method=pass_all
6386 case $host_vendor in
6388 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]'
6389 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6392 lt_cv_deplibs_check_method=pass_all
6395 lt_cv_file_magic_cmd='/bin/file'
6396 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6399 lt_cv_file_magic_cmd='/bin/file'
6400 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6401 lt_cv_file_magic_test_file=/lib/libc.so
6404 lt_cv_deplibs_check_method=pass_all
6407 lt_cv_deplibs_check_method=pass_all
6413 lt_cv_deplibs_check_method=pass_all
6418 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
6419 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
6420 file_magic_cmd=$lt_cv_file_magic_cmd
6421 deplibs_check_method=$lt_cv_deplibs_check_method
6422 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6435 if test -n "$ac_tool_prefix"; then
6436 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6437 set dummy ${ac_tool_prefix}ar; ac_word=$2
6438 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6439 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6440 if test "${ac_cv_prog_AR+set}" = set; then
6441 echo $ECHO_N "(cached
) $ECHO_C" >&6
6443 if test -n "$AR"; then
6444 ac_cv_prog_AR="$AR" # Let the user override the test.
6446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6450 test -z "$as_dir" && as_dir=.
6451 for ac_exec_ext in '' $ac_executable_extensions; do
6452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6453 ac_cv_prog_AR="${ac_tool_prefix}ar"
6454 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6463 if test -n "$AR"; then
6464 echo "$as_me:$LINENO: result
: $AR" >&5
6465 echo "${ECHO_T}$AR" >&6
6467 echo "$as_me:$LINENO: result
: no
" >&5
6468 echo "${ECHO_T}no
" >&6
6472 if test -z "$ac_cv_prog_AR"; then
6474 # Extract the first word of "ar", so it can be a program name with args.
6475 set dummy ar; ac_word=$2
6476 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6477 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6478 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6479 echo $ECHO_N "(cached
) $ECHO_C" >&6
6481 if test -n "$ac_ct_AR"; then
6482 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6488 test -z "$as_dir" && as_dir=.
6489 for ac_exec_ext in '' $ac_executable_extensions; do
6490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6491 ac_cv_prog_ac_ct_AR="ar"
6492 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6498 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
6501 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6502 if test -n "$ac_ct_AR"; then
6503 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
6504 echo "${ECHO_T}$ac_ct_AR" >&6
6506 echo "$as_me:$LINENO: result
: no
" >&5
6507 echo "${ECHO_T}no
" >&6
6515 test -z "$AR" && AR=ar
6516 test -z "$AR_FLAGS" && AR_FLAGS=cru
6528 if test -n "$ac_tool_prefix"; then
6529 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6530 set dummy ${ac_tool_prefix}strip; ac_word=$2
6531 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6532 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6533 if test "${ac_cv_prog_STRIP+set}" = set; then
6534 echo $ECHO_N "(cached
) $ECHO_C" >&6
6536 if test -n "$STRIP"; then
6537 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6543 test -z "$as_dir" && as_dir=.
6544 for ac_exec_ext in '' $ac_executable_extensions; do
6545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6546 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6547 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6555 STRIP=$ac_cv_prog_STRIP
6556 if test -n "$STRIP"; then
6557 echo "$as_me:$LINENO: result
: $STRIP" >&5
6558 echo "${ECHO_T}$STRIP" >&6
6560 echo "$as_me:$LINENO: result
: no
" >&5
6561 echo "${ECHO_T}no
" >&6
6565 if test -z "$ac_cv_prog_STRIP"; then
6567 # Extract the first word of "strip
", so it can be a program name with args.
6568 set dummy strip; ac_word=$2
6569 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6570 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6571 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6572 echo $ECHO_N "(cached
) $ECHO_C" >&6
6574 if test -n "$ac_ct_STRIP"; then
6575 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6581 test -z "$as_dir" && as_dir=.
6582 for ac_exec_ext in '' $ac_executable_extensions; do
6583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6584 ac_cv_prog_ac_ct_STRIP="strip
"
6585 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6591 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6594 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6595 if test -n "$ac_ct_STRIP"; then
6596 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
6597 echo "${ECHO_T}$ac_ct_STRIP" >&6
6599 echo "$as_me:$LINENO: result
: no
" >&5
6600 echo "${ECHO_T}no
" >&6
6605 STRIP="$ac_cv_prog_STRIP"
6608 test -z "$STRIP" && STRIP=:
6615 if test -n "$ac_tool_prefix"; then
6616 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6617 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6618 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6619 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6620 if test "${ac_cv_prog_RANLIB+set}" = set; then
6621 echo $ECHO_N "(cached
) $ECHO_C" >&6
6623 if test -n "$RANLIB"; then
6624 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6630 test -z "$as_dir" && as_dir=.
6631 for ac_exec_ext in '' $ac_executable_extensions; do
6632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6633 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6634 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6642 RANLIB=$ac_cv_prog_RANLIB
6643 if test -n "$RANLIB"; then
6644 echo "$as_me:$LINENO: result
: $RANLIB" >&5
6645 echo "${ECHO_T}$RANLIB" >&6
6647 echo "$as_me:$LINENO: result
: no
" >&5
6648 echo "${ECHO_T}no
" >&6
6652 if test -z "$ac_cv_prog_RANLIB"; then
6653 ac_ct_RANLIB=$RANLIB
6654 # Extract the first word of "ranlib
", so it can be a program name with args.
6655 set dummy ranlib; ac_word=$2
6656 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6657 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6658 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6659 echo $ECHO_N "(cached
) $ECHO_C" >&6
6661 if test -n "$ac_ct_RANLIB"; then
6662 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6668 test -z "$as_dir" && as_dir=.
6669 for ac_exec_ext in '' $ac_executable_extensions; do
6670 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6671 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6672 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6678 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6681 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6682 if test -n "$ac_ct_RANLIB"; then
6683 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
6684 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6686 echo "$as_me:$LINENO: result
: no
" >&5
6687 echo "${ECHO_T}no
" >&6
6690 RANLIB=$ac_ct_RANLIB
6692 RANLIB="$ac_cv_prog_RANLIB"
6695 test -z "$RANLIB" && RANLIB=:
6702 # Determine commands to create old-style static archives.
6703 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6704 old_postinstall_cmds='chmod 644 $oldlib'
6705 old_postuninstall_cmds=
6707 if test -n "$RANLIB"; then
6710 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6713 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6716 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6752 # If no C compiler was specified, use CC.
6755 # If no C compiler flags were specified, use CFLAGS.
6756 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6758 # Allow CC to be a program name with arguments.
6762 # Check for command to grab the raw symbol name followed by C symbol from nm.
6763 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
6764 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
6765 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6766 echo $ECHO_N "(cached
) $ECHO_C" >&6
6769 # These are sane defaults that work on at least a few old systems.
6770 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6772 # Character class describing NM global symbol codes.
6773 symcode='[BCDEGRST]'
6775 # Regexp to match symbols that can be accessed directly from C.
6776 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6778 # Define system-specific variables.
6783 cygwin* | mingw* | pw32*)
6784 symcode='[ABCDGISTW]'
6787 if test "$host_cpu" = ia64; then
6788 symcode='[ABCDEGRST]'
6792 symcode='[BCDEGRST]'
6795 symcode='[BCDEGQRST]'
6806 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6814 # If we're using GNU nm, then use its standard symbol codes.
6815 case `$NM -V 2>&1` in
6816 *GNU* | *'with BFD'*)
6817 symcode='[ABCDGIRSTW]' ;;
6820 # Transform an extracted symbol line into a proper C declaration.
6821 # Some systems (esp. on ia64) link data and code symbols differently,
6822 # so use this general approach.
6823 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6825 # Transform an extracted symbol line into symbol name and symbol address
6826 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6828 # Handle CRLF in mingw tool chain
6832 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6836 # Try without a prefix underscore, then with it.
6837 for ac_symprfx in "" "_
"; do
6839 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6840 symxfrm="\\1 $ac_symprfx\\2 \\2"
6842 # Write the raw and C identifiers.
6843 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6844 # Fake it for dumpbin and say T for any non-static function
6845 # and D for any global variable.
6846 # Also find C++ and __fastcall symbols from MSVC++,
6847 # which start with @ or ?.
6848 lt_cv_sys_global_symbol_pipe="$AWK '"\
6849 " {last_section=section; section=\$ 3};"\
6850 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6851 " \$ 0!~/External *\|/{next};"\
6852 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6853 " {if(hide[section]) next};"\
6854 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6855 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6856 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6857 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6858 " ' prfx
=^
$ac_symprfx"
6860 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6863 # Check to see that the pipe works correctly.
6867 cat > conftest.$ac_ext <<_LT_EOF
6872 void nm_test_func(void);
6873 void nm_test_func(void){}
6877 int main(){nm_test_var='a';nm_test_func();return(0);}
6880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6881 (eval $ac_compile) 2>&5
6883 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6884 (exit $ac_status); }; then
6885 # Now try to grab the symbols.
6887 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
6888 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6890 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6891 (exit $ac_status); } && test -s "$nlist"; then
6892 # Try sorting and uniquifying the output.
6893 if sort "$nlist" | uniq > "$nlist"T; then
6894 mv -f "$nlist"T "$nlist"
6899 # Make sure that we snagged all the symbols we need.
6900 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6901 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6902 cat <<_LT_EOF > conftest.$ac_ext
6908 # Now generate the symbol file.
6909 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6911 cat <<_LT_EOF >> conftest.$ac_ext
6913 /* The mapping between symbol names and symbols. */
6918 lt__PROGRAM__LTX_preloaded_symbols[] =
6920 { "@PROGRAM@
", (void *) 0 },
6922 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6923 cat <<\_LT_EOF >> conftest.$ac_ext
6927 /* This works around a problem in FreeBSD linker */
6928 #ifdef FREEBSD_WORKAROUND
6929 static const void *lt_preloaded_setup() {
6930 return lt__PROGRAM__LTX_preloaded_symbols;
6938 # Now try linking the two files.
6939 mv conftest.$ac_objext conftstm.$ac_objext
6940 lt_save_LIBS="$LIBS"
6941 lt_save_CFLAGS="$CFLAGS"
6942 LIBS="conftstm.
$ac_objext"
6943 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6945 (eval $ac_link) 2>&5
6947 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6948 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6951 LIBS="$lt_save_LIBS"
6952 CFLAGS="$lt_save_CFLAGS"
6954 echo "cannot
find nm_test_func
in $nlist" >&5
6957 echo "cannot
find nm_test_var
in $nlist" >&5
6960 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6963 echo "$progname: failed program was
:" >&5
6964 cat conftest.$ac_ext >&5
6966 rm -f conftest* conftst*
6968 # Do not use the global_symbol_pipe unless it works.
6969 if test "$pipe_works" = yes; then
6972 lt_cv_sys_global_symbol_pipe=
6978 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6979 lt_cv_sys_global_symbol_to_cdecl=
6981 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6982 echo "$as_me:$LINENO: result
: failed
" >&5
6983 echo "${ECHO_T}failed
" >&6
6985 echo "$as_me:$LINENO: result
: ok
" >&5
6986 echo "${ECHO_T}ok
" >&6
7006 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
7007 if test "${enable_libtool_lock+set}" = set; then
7008 enableval="$enable_libtool_lock"
7011 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7013 # Some flags need to be propagated to the compiler or linker for good
7017 # Find out which ABI we are using.
7018 echo 'int i;' > conftest.$ac_ext
7019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7020 (eval $ac_compile) 2>&5
7022 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7023 (exit $ac_status); }; then
7024 case `/usr/bin/file conftest.$ac_objext` in
7036 # Find out which ABI we are using.
7037 echo '#line 7037 "configure
"' > conftest.$ac_ext
7038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7039 (eval $ac_compile) 2>&5
7041 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7042 (exit $ac_status); }; then
7043 if test "$lt_cv_prog_gnu_ld" = yes; then
7044 case `/usr/bin/file conftest.$ac_objext` in
7046 LD="${LD-ld} -melf32bsmip"
7049 LD="${LD-ld} -melf32bmipn32"
7052 LD="${LD-ld} -melf64bmip"
7056 case `/usr/bin/file conftest.$ac_objext` in
7072 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7073 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7074 # Find out which ABI we are using.
7075 echo 'int i;' > conftest.$ac_ext
7076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7077 (eval $ac_compile) 2>&5
7079 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7080 (exit $ac_status); }; then
7081 case `/usr/bin/file conftest.o` in
7084 x86_64-*kfreebsd*-gnu)
7085 LD="${LD-ld} -m elf_i386_fbsd
"
7088 LD="${LD-ld} -m elf_i386
"
7090 ppc64-*linux*|powerpc64-*linux*)
7091 LD="${LD-ld} -m elf32ppclinux
"
7094 LD="${LD-ld} -m elf_s390
"
7097 LD="${LD-ld} -m elf32_sparc
"
7103 x86_64-*kfreebsd*-gnu)
7104 LD="${LD-ld} -m elf_x86_64_fbsd
"
7107 LD="${LD-ld} -m elf_x86_64
"
7109 ppc*-*linux*|powerpc*-*linux*)
7110 LD="${LD-ld} -m elf64ppc
"
7112 s390*-*linux*|s390*-*tpf*)
7113 LD="${LD-ld} -m elf64_s390
"
7116 LD="${LD-ld} -m elf64_sparc
"
7126 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7127 SAVE_CFLAGS="$CFLAGS"
7128 CFLAGS="$CFLAGS -belf"
7129 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
7130 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
7131 if test "${lt_cv_cc_needs_belf+set}" = set; then
7132 echo $ECHO_N "(cached
) $ECHO_C" >&6
7135 ac_cpp='$CPP $CPPFLAGS'
7136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7140 if test x$gcc_no_link = xyes; then
7141 { { echo "$as_me:$LINENO: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&5
7142 echo "$as_me: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&2;}
7143 { (exit 1); exit 1; }; }
7145 cat >conftest.$ac_ext <<_ACEOF
7148 cat confdefs.h >>conftest.$ac_ext
7149 cat >>conftest.$ac_ext <<_ACEOF
7150 /* end confdefs.h. */
7160 rm -f conftest.$ac_objext conftest$ac_exeext
7161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7162 (eval $ac_link) 2>conftest.er1
7164 grep -v '^ *+' conftest.er1 >conftest.err
7166 cat conftest.err >&5
7167 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7168 (exit $ac_status); } &&
7169 { ac_try='test -z "$ac_c_werror_flag"
7170 || test ! -s conftest.err'
7171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7174 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7175 (exit $ac_status); }; } &&
7176 { ac_try='test -s conftest$ac_exeext'
7177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7180 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7181 (exit $ac_status); }; }; then
7182 lt_cv_cc_needs_belf=yes
7184 echo "$as_me: failed program was
:" >&5
7185 sed 's/^/| /' conftest.$ac_ext >&5
7187 lt_cv_cc_needs_belf=no
7189 rm -f conftest.err conftest.$ac_objext \
7190 conftest$ac_exeext conftest.$ac_ext
7192 ac_cpp='$CPP $CPPFLAGS'
7193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7198 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
7199 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
7200 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7201 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7202 CFLAGS="$SAVE_CFLAGS"
7206 # Find out which ABI we are using.
7207 echo 'int i;' > conftest.$ac_ext
7208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7209 (eval $ac_compile) 2>&5
7211 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7212 (exit $ac_status); }; then
7213 case `/usr/bin/file conftest.o` in
7215 case $lt_cv_prog_gnu_ld in
7216 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7217 *) LD="${LD-ld} -64" ;;
7226 need_locks="$enable_libtool_lock"
7229 ac_cpp='$CPP $CPPFLAGS'
7230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7233 echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
7234 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6
7235 # On Suns, sometimes $CPP names a directory.
7236 if test -n "$CPP" && test -d "$CPP"; then
7239 if test -z "$CPP"; then
7240 if test "${ac_cv_prog_CPP+set}" = set; then
7241 echo $ECHO_N "(cached
) $ECHO_C" >&6
7243 # Double quotes because CPP needs to be expanded
7244 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7247 for ac_c_preproc_warn_flag in '' yes
7249 # Use a header file that comes with gcc, so configuring glibc
7250 # with a fresh cross-compiler works.
7251 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7252 # <limits.h> exists even on freestanding compilers.
7253 # On the NeXT, cc -E runs the code through the compiler's parser,
7254 # not just through cpp. "Syntax error
" is here to catch this case.
7255 cat >conftest.$ac_ext <<_ACEOF
7258 cat confdefs.h >>conftest.$ac_ext
7259 cat >>conftest.$ac_ext <<_ACEOF
7260 /* end confdefs.h. */
7262 # include <limits.h>
7264 # include <assert.h>
7268 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7269 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7271 grep -v '^ *+' conftest.er1 >conftest.err
7273 cat conftest.err >&5
7274 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7275 (exit $ac_status); } >/dev/null; then
7276 if test -s conftest.err; then
7277 ac_cpp_err=$ac_c_preproc_warn_flag
7278 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7285 if test -z "$ac_cpp_err"; then
7288 echo "$as_me: failed program was
:" >&5
7289 sed 's/^/| /' conftest.$ac_ext >&5
7291 # Broken: fails on valid input.
7294 rm -f conftest.err conftest.$ac_ext
7296 # OK, works on sane cases. Now check whether non-existent headers
7297 # can be detected and how.
7298 cat >conftest.$ac_ext <<_ACEOF
7301 cat confdefs.h >>conftest.$ac_ext
7302 cat >>conftest.$ac_ext <<_ACEOF
7303 /* end confdefs.h. */
7304 #include <ac_nonexistent.h>
7306 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7307 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7309 grep -v '^ *+' conftest.er1 >conftest.err
7311 cat conftest.err >&5
7312 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7313 (exit $ac_status); } >/dev/null; then
7314 if test -s conftest.err; then
7315 ac_cpp_err=$ac_c_preproc_warn_flag
7316 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7323 if test -z "$ac_cpp_err"; then
7324 # Broken: success on invalid input.
7327 echo "$as_me: failed program was
:" >&5
7328 sed 's/^/| /' conftest.$ac_ext >&5
7330 # Passes both tests.
7334 rm -f conftest.err conftest.$ac_ext
7337 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7338 rm -f conftest.err conftest.$ac_ext
7339 if $ac_preproc_ok; then
7351 echo "$as_me:$LINENO: result
: $CPP" >&5
7352 echo "${ECHO_T}$CPP" >&6
7354 for ac_c_preproc_warn_flag in '' yes
7356 # Use a header file that comes with gcc, so configuring glibc
7357 # with a fresh cross-compiler works.
7358 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7359 # <limits.h> exists even on freestanding compilers.
7360 # On the NeXT, cc -E runs the code through the compiler's parser,
7361 # not just through cpp. "Syntax error
" is here to catch this case.
7362 cat >conftest.$ac_ext <<_ACEOF
7365 cat confdefs.h >>conftest.$ac_ext
7366 cat >>conftest.$ac_ext <<_ACEOF
7367 /* end confdefs.h. */
7369 # include <limits.h>
7371 # include <assert.h>
7375 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7376 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7378 grep -v '^ *+' conftest.er1 >conftest.err
7380 cat conftest.err >&5
7381 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7382 (exit $ac_status); } >/dev/null; then
7383 if test -s conftest.err; then
7384 ac_cpp_err=$ac_c_preproc_warn_flag
7385 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7392 if test -z "$ac_cpp_err"; then
7395 echo "$as_me: failed program was
:" >&5
7396 sed 's/^/| /' conftest.$ac_ext >&5
7398 # Broken: fails on valid input.
7401 rm -f conftest.err conftest.$ac_ext
7403 # OK, works on sane cases. Now check whether non-existent headers
7404 # can be detected and how.
7405 cat >conftest.$ac_ext <<_ACEOF
7408 cat confdefs.h >>conftest.$ac_ext
7409 cat >>conftest.$ac_ext <<_ACEOF
7410 /* end confdefs.h. */
7411 #include <ac_nonexistent.h>
7413 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7414 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7416 grep -v '^ *+' conftest.er1 >conftest.err
7418 cat conftest.err >&5
7419 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7420 (exit $ac_status); } >/dev/null; then
7421 if test -s conftest.err; then
7422 ac_cpp_err=$ac_c_preproc_warn_flag
7423 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7430 if test -z "$ac_cpp_err"; then
7431 # Broken: success on invalid input.
7434 echo "$as_me: failed program was
:" >&5
7435 sed 's/^/| /' conftest.$ac_ext >&5
7437 # Passes both tests.
7441 rm -f conftest.err conftest.$ac_ext
7444 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7445 rm -f conftest.err conftest.$ac_ext
7446 if $ac_preproc_ok; then
7449 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
7450 See \
`config.log' for more details." >&5
7451 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7452 See \`config.log
' for more details." >&2;}
7453 { (exit 1); exit 1; }; }
7457 ac_cpp='$CPP $CPPFLAGS'
7458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
7459 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
7460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7463 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7464 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7465 if test "${ac_cv_header_stdc+set}" = set; then
7466 echo $ECHO_N "(cached) $ECHO_C" >&6
7468 cat >conftest.$ac_ext <<_ACEOF
7471 cat confdefs.h >>conftest.$ac_ext
7472 cat >>conftest.$ac_ext <<_ACEOF
7473 /* end confdefs.h. */
7487 rm -f conftest.$ac_objext
7488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7489 (eval $ac_compile) 2>conftest.er1
7491 grep -v '^
*+' conftest.er1 >conftest.err
7493 cat conftest.err >&5
7494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7495 (exit $ac_status); } &&
7496 { ac_try='test -z "$ac_c_werror_flag"
7497 ||
test ! -s conftest.err
'
7498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7502 (exit $ac_status); }; } &&
7503 { ac_try='test -s conftest.
$ac_objext'
7504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7508 (exit $ac_status); }; }; then
7509 ac_cv_header_stdc=yes
7511 echo "$as_me: failed program was:" >&5
7512 sed 's
/^
/|
/' conftest.$ac_ext >&5
7514 ac_cv_header_stdc=no
7516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7518 if test $ac_cv_header_stdc = yes; then
7519 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7520 cat >conftest.$ac_ext <<_ACEOF
7523 cat confdefs.h >>conftest.$ac_ext
7524 cat >>conftest.$ac_ext <<_ACEOF
7525 /* end confdefs.h. */
7529 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7530 $EGREP "memchr" >/dev/null 2>&1; then
7533 ac_cv_header_stdc=no
7539 if test $ac_cv_header_stdc = yes; then
7540 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7541 cat >conftest.$ac_ext <<_ACEOF
7544 cat confdefs.h >>conftest.$ac_ext
7545 cat >>conftest.$ac_ext <<_ACEOF
7546 /* end confdefs.h. */
7550 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7551 $EGREP "free" >/dev/null 2>&1; then
7554 ac_cv_header_stdc=no
7560 if test $ac_cv_header_stdc = yes; then
7561 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7562 if test "$cross_compiling" = yes; then
7565 cat >conftest.$ac_ext <<_ACEOF
7568 cat confdefs.h >>conftest.$ac_ext
7569 cat >>conftest.$ac_ext <<_ACEOF
7570 /* end confdefs.h. */
7572 #if ((' ' & 0x0FF) == 0x020)
7573 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
7574 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
7576 # define ISLOWER(c) \
7577 (('a
' <= (c) && (c) <= 'i
') \
7578 || ('j
' <= (c) && (c) <= 'r
') \
7579 || ('s
' <= (c) && (c) <= 'z
'))
7580 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7583 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7588 for (i = 0; i < 256; i++)
7589 if (XOR (islower (i), ISLOWER (i))
7590 || toupper (i) != TOUPPER (i))
7595 rm -f conftest$ac_exeext
7596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7597 (eval $ac_link) 2>&5
7599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7600 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
7601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7605 (exit $ac_status); }; }; then
7608 echo "$as_me: program exited with status $ac_status" >&5
7609 echo "$as_me: failed program was:" >&5
7610 sed 's
/^
/|
/' conftest.$ac_ext >&5
7613 ac_cv_header_stdc=no
7615 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7619 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7620 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7621 if test $ac_cv_header_stdc = yes; then
7623 cat >>confdefs.h <<\_ACEOF
7624 #define STDC_HEADERS 1
7629 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7639 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7640 inttypes.h stdint.h unistd.h
7642 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7643 echo "$as_me:$LINENO: checking for $ac_header" >&5
7644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7646 echo $ECHO_N "(cached) $ECHO_C" >&6
7648 cat >conftest.$ac_ext <<_ACEOF
7651 cat confdefs.h >>conftest.$ac_ext
7652 cat >>conftest.$ac_ext <<_ACEOF
7653 /* end confdefs.h. */
7654 $ac_includes_default
7656 #include <$ac_header>
7658 rm -f conftest.$ac_objext
7659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7660 (eval $ac_compile) 2>conftest.er1
7662 grep -v '^
*+' conftest.er1 >conftest.err
7664 cat conftest.err >&5
7665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7666 (exit $ac_status); } &&
7667 { ac_try='test -z "$ac_c_werror_flag"
7668 ||
test ! -s conftest.err
'
7669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7673 (exit $ac_status); }; } &&
7674 { ac_try='test -s conftest.
$ac_objext'
7675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7679 (exit $ac_status); }; }; then
7680 eval "$as_ac_Header=yes"
7682 echo "$as_me: failed program was:" >&5
7683 sed 's
/^
/|
/' conftest.$ac_ext >&5
7685 eval "$as_ac_Header=no"
7687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7690 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7691 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7692 cat >>confdefs.h <<_ACEOF
7693 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7702 for ac_header in dlfcn.h
7704 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7705 echo "$as_me:$LINENO: checking for $ac_header" >&5
7706 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7707 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7708 echo $ECHO_N "(cached) $ECHO_C" >&6
7710 cat >conftest.$ac_ext <<_ACEOF
7713 cat confdefs.h >>conftest.$ac_ext
7714 cat >>conftest.$ac_ext <<_ACEOF
7715 /* end confdefs.h. */
7716 $ac_includes_default
7718 #include <$ac_header>
7720 rm -f conftest.$ac_objext
7721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7722 (eval $ac_compile) 2>conftest.er1
7724 grep -v '^
*+' conftest.er1 >conftest.err
7726 cat conftest.err >&5
7727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7728 (exit $ac_status); } &&
7729 { ac_try='test -z "$ac_c_werror_flag"
7730 ||
test ! -s conftest.err
'
7731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7735 (exit $ac_status); }; } &&
7736 { ac_try='test -s conftest.
$ac_objext'
7737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7741 (exit $ac_status); }; }; then
7742 eval "$as_ac_Header=yes"
7744 echo "$as_me: failed program was:" >&5
7745 sed 's
/^
/|
/' conftest.$ac_ext >&5
7747 eval "$as_ac_Header=no"
7749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7752 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7753 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7754 cat >>confdefs.h <<_ACEOF
7755 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7765 ac_cpp='$CXXCPP $CPPFLAGS'
7766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
7767 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
7768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7769 if test -n "$ac_tool_prefix"; then
7770 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7772 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7773 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7774 echo "$as_me:$LINENO: checking for $ac_word" >&5
7775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7776 if test "${ac_cv_prog_CXX+set}" = set; then
7777 echo $ECHO_N "(cached) $ECHO_C" >&6
7779 if test -n "$CXX"; then
7780 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7786 test -z "$as_dir" && as_dir=.
7787 for ac_exec_ext in '' $ac_executable_extensions; do
7788 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7789 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7790 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7799 if test -n "$CXX"; then
7800 echo "$as_me:$LINENO: result: $CXX" >&5
7801 echo "${ECHO_T}$CXX" >&6
7803 echo "$as_me:$LINENO: result: no" >&5
7804 echo "${ECHO_T}no" >&6
7807 test -n "$CXX" && break
7810 if test -z "$CXX"; then
7812 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7814 # Extract the first word of "$ac_prog", so it can be a program name with args.
7815 set dummy $ac_prog; ac_word=$2
7816 echo "$as_me:$LINENO: checking for $ac_word" >&5
7817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7818 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7819 echo $ECHO_N "(cached) $ECHO_C" >&6
7821 if test -n "$ac_ct_CXX"; then
7822 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7828 test -z "$as_dir" && as_dir=.
7829 for ac_exec_ext in '' $ac_executable_extensions; do
7830 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7831 ac_cv_prog_ac_ct_CXX="$ac_prog"
7832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7840 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7841 if test -n "$ac_ct_CXX"; then
7842 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7843 echo "${ECHO_T}$ac_ct_CXX" >&6
7845 echo "$as_me:$LINENO: result: no" >&5
7846 echo "${ECHO_T}no" >&6
7849 test -n "$ac_ct_CXX" && break
7851 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
7857 # Provide some information about the compiler.
7858 echo "$as_me:$LINENO:" \
7859 "checking for C++ compiler version" >&5
7860 ac_compiler=`set X $ac_compile; echo $2`
7861 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7862 (eval $ac_compiler --version </dev/null >&5) 2>&5
7864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7865 (exit $ac_status); }
7866 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7867 (eval $ac_compiler -v </dev/null >&5) 2>&5
7869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7870 (exit $ac_status); }
7871 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7872 (eval $ac_compiler -V </dev/null >&5) 2>&5
7874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7875 (exit $ac_status); }
7877 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7878 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
7879 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7880 echo $ECHO_N "(cached) $ECHO_C" >&6
7882 cat >conftest.$ac_ext <<_ACEOF
7885 cat confdefs.h >>conftest.$ac_ext
7886 cat >>conftest.$ac_ext <<_ACEOF
7887 /* end confdefs.h. */
7900 rm -f conftest.$ac_objext
7901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7902 (eval $ac_compile) 2>conftest.er1
7904 grep -v '^
*+' conftest.er1 >conftest.err
7906 cat conftest.err >&5
7907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7908 (exit $ac_status); } &&
7909 { ac_try='test -z "$ac_cxx_werror_flag"
7910 ||
test ! -s conftest.err
'
7911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7915 (exit $ac_status); }; } &&
7916 { ac_try='test -s conftest.
$ac_objext'
7917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7921 (exit $ac_status); }; }; then
7924 echo "$as_me: failed program was:" >&5
7925 sed 's
/^
/|
/' conftest.$ac_ext >&5
7929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7930 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7933 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7934 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
7935 GXX=`test $ac_compiler_gnu = yes && echo yes`
7936 ac_test_CXXFLAGS=${CXXFLAGS+set}
7937 ac_save_CXXFLAGS=$CXXFLAGS
7939 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7940 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
7941 if test "${ac_cv_prog_cxx_g+set}" = set; then
7942 echo $ECHO_N "(cached) $ECHO_C" >&6
7944 cat >conftest.$ac_ext <<_ACEOF
7947 cat confdefs.h >>conftest.$ac_ext
7948 cat >>conftest.$ac_ext <<_ACEOF
7949 /* end confdefs.h. */
7959 rm -f conftest.$ac_objext
7960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7961 (eval $ac_compile) 2>conftest.er1
7963 grep -v '^
*+' conftest.er1 >conftest.err
7965 cat conftest.err >&5
7966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7967 (exit $ac_status); } &&
7968 { ac_try='test -z "$ac_cxx_werror_flag"
7969 ||
test ! -s conftest.err
'
7970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7974 (exit $ac_status); }; } &&
7975 { ac_try='test -s conftest.
$ac_objext'
7976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7980 (exit $ac_status); }; }; then
7981 ac_cv_prog_cxx_g=yes
7983 echo "$as_me: failed program was:" >&5
7984 sed 's
/^
/|
/' conftest.$ac_ext >&5
7988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7990 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7991 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
7992 if test "$ac_test_CXXFLAGS" = set; then
7993 CXXFLAGS=$ac_save_CXXFLAGS
7994 elif test $ac_cv_prog_cxx_g = yes; then
7995 if test "$GXX" = yes; then
8001 if test "$GXX" = yes; then
8007 for ac_declaration in \
8009 'extern
"C" void std
::exit (int
) throw
(); using std
::exit;' \
8010 'extern
"C" void std
::exit (int
); using std
::exit;' \
8011 'extern
"C" void
exit (int
) throw
();' \
8012 'extern
"C" void
exit (int
);' \
8015 cat >conftest.$ac_ext <<_ACEOF
8018 cat confdefs.h >>conftest.$ac_ext
8019 cat >>conftest.$ac_ext <<_ACEOF
8020 /* end confdefs.h. */
8031 rm -f conftest.$ac_objext
8032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8033 (eval $ac_compile) 2>conftest.er1
8035 grep -v '^
*+' conftest.er1 >conftest.err
8037 cat conftest.err >&5
8038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8039 (exit $ac_status); } &&
8040 { ac_try='test -z "$ac_cxx_werror_flag"
8041 ||
test ! -s conftest.err
'
8042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8046 (exit $ac_status); }; } &&
8047 { ac_try='test -s conftest.
$ac_objext'
8048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8052 (exit $ac_status); }; }; then
8055 echo "$as_me: failed program was:" >&5
8056 sed 's
/^
/|
/' conftest.$ac_ext >&5
8060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8061 cat >conftest.$ac_ext <<_ACEOF
8064 cat confdefs.h >>conftest.$ac_ext
8065 cat >>conftest.$ac_ext <<_ACEOF
8066 /* end confdefs.h. */
8076 rm -f conftest.$ac_objext
8077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8078 (eval $ac_compile) 2>conftest.er1
8080 grep -v '^
*+' conftest.er1 >conftest.err
8082 cat conftest.err >&5
8083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8084 (exit $ac_status); } &&
8085 { ac_try='test -z "$ac_cxx_werror_flag"
8086 ||
test ! -s conftest.err
'
8087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8091 (exit $ac_status); }; } &&
8092 { ac_try='test -s conftest.
$ac_objext'
8093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8097 (exit $ac_status); }; }; then
8100 echo "$as_me: failed program was:" >&5
8101 sed 's
/^
/|
/' conftest.$ac_ext >&5
8104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8107 if test -n "$ac_declaration"; then
8108 echo '#ifdef __cplusplus' >>confdefs.h
8109 echo $ac_declaration >>confdefs.h
8110 echo '#endif' >>confdefs.h
8114 ac_cpp
='$CPP $CPPFLAGS'
8115 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8116 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8117 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8119 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8120 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
8121 (test "X$CXX" != "Xg++"))) ; then
8123 ac_cpp
='$CXXCPP $CPPFLAGS'
8124 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8125 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8126 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
8127 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
8128 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
8129 if test -z "$CXXCPP"; then
8130 if test "${ac_cv_prog_CXXCPP+set}" = set; then
8131 echo $ECHO_N "(cached) $ECHO_C" >&6
8133 # Double quotes because CXXCPP needs to be expanded
8134 for CXXCPP
in "$CXX -E" "/lib/cpp"
8137 for ac_cxx_preproc_warn_flag
in '' yes
8139 # Use a header file that comes with gcc, so configuring glibc
8140 # with a fresh cross-compiler works.
8141 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8142 # <limits.h> exists even on freestanding compilers.
8143 # On the NeXT, cc -E runs the code through the compiler's parser,
8144 # not just through cpp. "Syntax error" is here to catch this case.
8145 cat >conftest.
$ac_ext <<_ACEOF
8148 cat confdefs.h
>>conftest.
$ac_ext
8149 cat >>conftest.
$ac_ext <<_ACEOF
8150 /* end confdefs.h. */
8152 # include <limits.h>
8154 # include <assert.h>
8158 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8159 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8161 grep -v '^ *+' conftest.er1
>conftest.err
8163 cat conftest.err
>&5
8164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8165 (exit $ac_status); } >/dev
/null
; then
8166 if test -s conftest.err
; then
8167 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8168 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8175 if test -z "$ac_cpp_err"; then
8178 echo "$as_me: failed program was:" >&5
8179 sed 's/^/| /' conftest.
$ac_ext >&5
8181 # Broken: fails on valid input.
8184 rm -f conftest.err conftest.
$ac_ext
8186 # OK, works on sane cases. Now check whether non-existent headers
8187 # can be detected and how.
8188 cat >conftest.
$ac_ext <<_ACEOF
8191 cat confdefs.h
>>conftest.
$ac_ext
8192 cat >>conftest.
$ac_ext <<_ACEOF
8193 /* end confdefs.h. */
8194 #include <ac_nonexistent.h>
8196 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8197 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8199 grep -v '^ *+' conftest.er1
>conftest.err
8201 cat conftest.err
>&5
8202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8203 (exit $ac_status); } >/dev
/null
; then
8204 if test -s conftest.err
; then
8205 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8206 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8213 if test -z "$ac_cpp_err"; then
8214 # Broken: success on invalid input.
8217 echo "$as_me: failed program was:" >&5
8218 sed 's/^/| /' conftest.
$ac_ext >&5
8220 # Passes both tests.
8224 rm -f conftest.err conftest.
$ac_ext
8227 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8228 rm -f conftest.err conftest.
$ac_ext
8229 if $ac_preproc_ok; then
8234 ac_cv_prog_CXXCPP
=$CXXCPP
8237 CXXCPP
=$ac_cv_prog_CXXCPP
8239 ac_cv_prog_CXXCPP
=$CXXCPP
8241 echo "$as_me:$LINENO: result: $CXXCPP" >&5
8242 echo "${ECHO_T}$CXXCPP" >&6
8244 for ac_cxx_preproc_warn_flag
in '' yes
8246 # Use a header file that comes with gcc, so configuring glibc
8247 # with a fresh cross-compiler works.
8248 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8249 # <limits.h> exists even on freestanding compilers.
8250 # On the NeXT, cc -E runs the code through the compiler's parser,
8251 # not just through cpp. "Syntax error" is here to catch this case.
8252 cat >conftest.
$ac_ext <<_ACEOF
8255 cat confdefs.h
>>conftest.
$ac_ext
8256 cat >>conftest.
$ac_ext <<_ACEOF
8257 /* end confdefs.h. */
8259 # include <limits.h>
8261 # include <assert.h>
8265 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8266 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8268 grep -v '^ *+' conftest.er1
>conftest.err
8270 cat conftest.err
>&5
8271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8272 (exit $ac_status); } >/dev
/null
; then
8273 if test -s conftest.err
; then
8274 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8275 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8282 if test -z "$ac_cpp_err"; then
8285 echo "$as_me: failed program was:" >&5
8286 sed 's/^/| /' conftest.
$ac_ext >&5
8288 # Broken: fails on valid input.
8291 rm -f conftest.err conftest.
$ac_ext
8293 # OK, works on sane cases. Now check whether non-existent headers
8294 # can be detected and how.
8295 cat >conftest.
$ac_ext <<_ACEOF
8298 cat confdefs.h
>>conftest.
$ac_ext
8299 cat >>conftest.
$ac_ext <<_ACEOF
8300 /* end confdefs.h. */
8301 #include <ac_nonexistent.h>
8303 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8304 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8306 grep -v '^ *+' conftest.er1
>conftest.err
8308 cat conftest.err
>&5
8309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8310 (exit $ac_status); } >/dev
/null
; then
8311 if test -s conftest.err
; then
8312 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8313 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8320 if test -z "$ac_cpp_err"; then
8321 # Broken: success on invalid input.
8324 echo "$as_me: failed program was:" >&5
8325 sed 's/^/| /' conftest.
$ac_ext >&5
8327 # Passes both tests.
8331 rm -f conftest.err conftest.
$ac_ext
8334 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8335 rm -f conftest.err conftest.
$ac_ext
8336 if $ac_preproc_ok; then
8339 _lt_caught_CXX_error
=yes
8343 ac_cpp
='$CPP $CPPFLAGS'
8344 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8345 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8346 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8349 _lt_caught_CXX_error
=yes
8356 # This can be used to rebuild libtool when needed
8357 LIBTOOL_DEPS
="$ltmain"
8359 # Always use our own libtool.
8360 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8386 test -z "$LN_S" && LN_S
="ln -s"
8401 if test -n "${ZSH_VERSION+set}" ; then
8402 setopt NO_GLOB_SUBST
8405 echo "$as_me:$LINENO: checking for objdir" >&5
8406 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
8407 if test "${lt_cv_objdir+set}" = set; then
8408 echo $ECHO_N "(cached) $ECHO_C" >&6
8410 rm -f .libs
2>/dev
/null
8411 mkdir .libs
2>/dev
/null
8412 if test -d .libs
; then
8415 # MS-DOS does not allow filenames that begin with a dot.
8418 rmdir .libs
2>/dev
/null
8420 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8421 echo "${ECHO_T}$lt_cv_objdir" >&6
8422 objdir
=$lt_cv_objdir
8428 cat >>confdefs.h
<<_ACEOF
8429 #define LT_OBJDIR "$lt_cv_objdir/"
8450 # AIX sometimes has problems with the GCC collect2 program. For some
8451 # reason, if we set the COLLECT_NAMES environment variable, the problems
8452 # vanish in a puff of smoke.
8453 if test "X${COLLECT_NAMES+set}" != Xset
; then
8455 export COLLECT_NAMES
8460 # Sed substitution that helps us do robust quoting. It backslashifies
8461 # metacharacters that are still active within double-quoted strings.
8462 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
8464 # Same as above, but do not quote variable references.
8465 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
8467 # Sed substitution to delay expansion of an escaped shell variable in a
8468 # double_quote_subst'ed string.
8469 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8471 # Sed substitution to delay expansion of an escaped single quote.
8472 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
8474 # Sed substitution to avoid accidental globbing in evaled expressions
8475 no_glob_subst
='s/\*/\\\*/g'
8479 can_build_shared
=yes
8481 # All known linkers require a `.a' archive for static linking (except MSVC,
8482 # which needs '.lib').
8485 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8488 old_CFLAGS
="$CFLAGS"
8490 # Set sane defaults for various variables
8491 test -z "$CC" && CC
=cc
8492 test -z "$LTCC" && LTCC
=$CC
8493 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8494 test -z "$LD" && LD
=ld
8495 test -z "$ac_objext" && ac_objext
=o
8497 for cc_temp
in $compiler""; do
8499 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8500 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8505 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8508 # Only perform the check for file, if the check method requires it
8509 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8510 case $deplibs_check_method in
8512 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8513 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8514 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
8515 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8516 echo $ECHO_N "(cached) $ECHO_C" >&6
8520 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8523 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8524 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8525 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8526 for ac_dir
in $ac_dummy; do
8528 test -z "$ac_dir" && ac_dir
=.
8529 if test -f $ac_dir/${ac_tool_prefix}file; then
8530 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8531 if test -n "$file_magic_test_file"; then
8532 case $deplibs_check_method in
8534 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8535 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8536 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8537 $EGREP "$file_magic_regex" > /dev
/null
; then
8542 *** Warning: the command libtool uses to detect shared libraries,
8543 *** $file_magic_cmd, produces output that libtool cannot recognize.
8544 *** The result is that libtool may fail to recognize shared libraries
8545 *** as such. This will affect the creation of libtool libraries that
8546 *** depend on shared libraries, but programs linked with such libtool
8547 *** libraries will work regardless of this problem. Nevertheless, you
8548 *** may want to report the problem to your system manager and/or to
8549 *** bug-libtool@gnu.org
8559 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8564 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8565 if test -n "$MAGIC_CMD"; then
8566 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8567 echo "${ECHO_T}$MAGIC_CMD" >&6
8569 echo "$as_me:$LINENO: result: no" >&5
8570 echo "${ECHO_T}no" >&6
8577 if test -z "$lt_cv_path_MAGIC_CMD"; then
8578 if test -n "$ac_tool_prefix"; then
8579 echo "$as_me:$LINENO: checking for file" >&5
8580 echo $ECHO_N "checking for file... $ECHO_C" >&6
8581 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8582 echo $ECHO_N "(cached) $ECHO_C" >&6
8586 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8589 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8590 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8591 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8592 for ac_dir
in $ac_dummy; do
8594 test -z "$ac_dir" && ac_dir
=.
8595 if test -f $ac_dir/file; then
8596 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8597 if test -n "$file_magic_test_file"; then
8598 case $deplibs_check_method in
8600 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8601 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8602 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8603 $EGREP "$file_magic_regex" > /dev
/null
; then
8608 *** Warning: the command libtool uses to detect shared libraries,
8609 *** $file_magic_cmd, produces output that libtool cannot recognize.
8610 *** The result is that libtool may fail to recognize shared libraries
8611 *** as such. This will affect the creation of libtool libraries that
8612 *** depend on shared libraries, but programs linked with such libtool
8613 *** libraries will work regardless of this problem. Nevertheless, you
8614 *** may want to report the problem to your system manager and/or to
8615 *** bug-libtool@gnu.org
8625 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8630 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8631 if test -n "$MAGIC_CMD"; then
8632 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8633 echo "${ECHO_T}$MAGIC_CMD" >&6
8635 echo "$as_me:$LINENO: result: no" >&5
8636 echo "${ECHO_T}no" >&6
8649 # Use C for the default configuration in the libtool script
8653 ac_cpp
='$CPP $CPPFLAGS'
8654 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8655 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8656 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8659 # Source file extension for C test sources.
8662 # Object file extension for compiled C test sources.
8666 # Code to be used in simple compile tests
8667 lt_simple_compile_test_code
="int some_variable = 0;"
8669 # Code to be used in simple link tests
8670 lt_simple_link_test_code
='int main(){return(0);}'
8678 # If no C compiler was specified, use CC.
8681 # If no C compiler flags were specified, use CFLAGS.
8682 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8684 # Allow CC to be a program name with arguments.
8687 # Save the default compiler, since it gets overwritten when the other
8688 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8689 compiler_DEFAULT
=$CC
8691 # save warnings/boilerplate of simple test code
8692 ac_outfile
=conftest.
$ac_objext
8693 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8694 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8695 _lt_compiler_boilerplate
=`cat conftest.err`
8698 ac_outfile
=conftest.
$ac_objext
8699 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8700 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8701 _lt_linker_boilerplate
=`cat conftest.err`
8706 ## There is no encapsulation within the following macros, do not change
8707 ## the running order or otherwise move them around unless you know exactly
8708 ## what you are doing...
8709 if test -n "$compiler"; then
8711 lt_prog_compiler_no_builtin_flag
=
8713 if test "$GCC" = yes; then
8714 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8716 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8717 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
8718 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8719 echo $ECHO_N "(cached) $ECHO_C" >&6
8721 lt_cv_prog_compiler_rtti_exceptions
=no
8722 ac_outfile
=conftest.
$ac_objext
8723 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8724 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8725 # Insert the option either (1) after the last *FLAGS variable, or
8726 # (2) before a word containing "conftest.", or (3) at the end.
8727 # Note that $ac_compile itself does not contain backslashes and begins
8728 # with a dollar sign (not a hyphen), so the echo should work correctly.
8729 # The option is referenced via a variable to avoid confusing sed.
8730 lt_compile
=`echo "$ac_compile" | $SED \
8731 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8732 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8733 -e 's:$: $lt_compiler_flag:'`
8734 (eval echo "\"\$as_me:8734: $lt_compile\"" >&5)
8735 (eval "$lt_compile" 2>conftest.err
)
8737 cat conftest.err
>&5
8738 echo "$as_me:8738: \$? = $ac_status" >&5
8739 if (exit $ac_status) && test -s "$ac_outfile"; then
8740 # The compiler can only warn and ignore the option if not recognized
8741 # So say no if there are warnings other than the usual output.
8742 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8743 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8744 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8745 lt_cv_prog_compiler_rtti_exceptions
=yes
8751 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8752 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
8754 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8755 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8767 lt_prog_compiler_wl
=
8768 lt_prog_compiler_pic
=
8769 lt_prog_compiler_static
=
8771 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8772 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
8774 if test "$GCC" = yes; then
8775 lt_prog_compiler_wl
='-Wl,'
8776 lt_prog_compiler_static
='-static'
8780 # All AIX code is PIC.
8781 if test "$host_cpu" = ia64
; then
8782 # AIX 5 now supports IA64 processor
8783 lt_prog_compiler_static
='-Bstatic'
8788 if test "$host_cpu" = m68k
; then
8789 # FIXME: we need at least 68020 code to build shared libraries, but
8790 # adding the `-m68020' flag to GCC prevents building anything better,
8792 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8796 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8797 # PIC is the default for these OSes.
8800 mingw
* | cygwin
* | pw32
* | os2
*)
8801 # This hack is so that the source file can tell whether it is being
8802 # built for inclusion in a dll (and should export symbols for example).
8803 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8804 # (--disable-auto-import) libraries
8805 lt_prog_compiler_pic
='-DDLL_EXPORT'
8808 darwin
* | rhapsody
*)
8809 # PIC is the default on this platform
8810 # Common symbols not allowed in MH_DYLIB files
8811 lt_prog_compiler_pic
='-fno-common'
8815 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8822 lt_prog_compiler_pic
='-fPIC'
8828 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8829 # Instead, we relocate shared libraries at runtime.
8833 # Just because we use GCC doesn't mean we suddenly get shared libraries
8834 # on systems that don't support them.
8835 lt_prog_compiler_can_build_shared
=no
8840 # QNX uses GNU C++, but need to define -shared option too, otherwise
8842 lt_prog_compiler_pic
='-fPIC -shared'
8846 if test -d /usr
/nec
; then
8847 lt_prog_compiler_pic
=-Kconform_pic
8852 lt_prog_compiler_pic
='-fPIC'
8856 # PORTME Check for flag to pass linker flags through the system compiler.
8859 lt_prog_compiler_wl
='-Wl,'
8860 if test "$host_cpu" = ia64
; then
8861 # AIX 5 now supports IA64 processor
8862 lt_prog_compiler_static
='-Bstatic'
8864 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8868 # PIC is the default on this platform
8869 # Common symbols not allowed in MH_DYLIB files
8870 case $cc_basename in
8872 lt_prog_compiler_pic
='-qnocommon'
8873 lt_prog_compiler_wl
='-Wl,'
8878 mingw
* | cygwin
* | pw32
* | os2
*)
8879 # This hack is so that the source file can tell whether it is being
8880 # built for inclusion in a dll (and should export symbols for example).
8881 lt_prog_compiler_pic
='-DDLL_EXPORT'
8884 hpux9
* | hpux10
* | hpux11
*)
8885 lt_prog_compiler_wl
='-Wl,'
8886 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8893 lt_prog_compiler_pic
='+Z'
8896 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8897 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8900 irix5
* | irix6
* | nonstopux
*)
8901 lt_prog_compiler_wl
='-Wl,'
8902 # PIC (with -KPIC) is the default.
8903 lt_prog_compiler_static
='-non_shared'
8906 linux
* | k
*bsd
*-gnu)
8907 case $cc_basename in
8909 lt_prog_compiler_wl
='-Wl,'
8910 lt_prog_compiler_pic
='-KPIC'
8911 lt_prog_compiler_static
='-static'
8913 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8914 # Portland Group compilers (*not* the Pentium gcc compiler,
8915 # which looks to be a dead project)
8916 lt_prog_compiler_wl
='-Wl,'
8917 lt_prog_compiler_pic
='-fpic'
8918 lt_prog_compiler_static
='-Bstatic'
8921 lt_prog_compiler_wl
='-Wl,'
8922 # All Alpha code is PIC.
8923 lt_prog_compiler_static
='-non_shared'
8926 case `$CC -V 2>&1 | sed 5q` in
8929 lt_prog_compiler_pic
='-KPIC'
8930 lt_prog_compiler_static
='-Bstatic'
8931 lt_prog_compiler_wl
='-Wl,'
8934 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8935 lt_prog_compiler_pic
='-KPIC'
8936 lt_prog_compiler_static
='-Bstatic'
8937 lt_prog_compiler_wl
=''
8945 lt_prog_compiler_pic
='-KPIC'
8946 lt_prog_compiler_static
='-Bstatic'
8950 # QNX uses GNU C++, but need to define -shared option too, otherwise
8952 lt_prog_compiler_pic
='-fPIC -shared'
8955 osf3
* | osf4
* | osf5
*)
8956 lt_prog_compiler_wl
='-Wl,'
8957 # All OSF/1 code is PIC.
8958 lt_prog_compiler_static
='-non_shared'
8962 lt_prog_compiler_static
='-non_shared'
8966 lt_prog_compiler_pic
='-KPIC'
8967 lt_prog_compiler_static
='-Bstatic'
8968 case $cc_basename in
8970 lt_prog_compiler_wl
='-Qoption ld ';;
8972 lt_prog_compiler_wl
='-Wl,';;
8977 lt_prog_compiler_wl
='-Qoption ld '
8978 lt_prog_compiler_pic
='-PIC'
8979 lt_prog_compiler_static
='-Bstatic'
8982 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8983 lt_prog_compiler_wl
='-Wl,'
8984 lt_prog_compiler_pic
='-KPIC'
8985 lt_prog_compiler_static
='-Bstatic'
8989 if test -d /usr
/nec
;then
8990 lt_prog_compiler_pic
='-Kconform_pic'
8991 lt_prog_compiler_static
='-Bstatic'
8995 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8996 lt_prog_compiler_wl
='-Wl,'
8997 lt_prog_compiler_pic
='-KPIC'
8998 lt_prog_compiler_static
='-Bstatic'
9002 lt_prog_compiler_wl
='-Wl,'
9003 lt_prog_compiler_can_build_shared
=no
9007 lt_prog_compiler_pic
='-pic'
9008 lt_prog_compiler_static
='-Bstatic'
9012 lt_prog_compiler_can_build_shared
=no
9018 # For platforms which do not support PIC, -DPIC is meaningless:
9020 lt_prog_compiler_pic
=
9023 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9026 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9027 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
9035 # Check to make sure the PIC flag actually works.
9037 if test -n "$lt_prog_compiler_pic"; then
9038 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9039 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
9040 if test "${lt_prog_compiler_pic_works+set}" = set; then
9041 echo $ECHO_N "(cached) $ECHO_C" >&6
9043 lt_prog_compiler_pic_works
=no
9044 ac_outfile
=conftest.
$ac_objext
9045 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9046 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9047 # Insert the option either (1) after the last *FLAGS variable, or
9048 # (2) before a word containing "conftest.", or (3) at the end.
9049 # Note that $ac_compile itself does not contain backslashes and begins
9050 # with a dollar sign (not a hyphen), so the echo should work correctly.
9051 # The option is referenced via a variable to avoid confusing sed.
9052 lt_compile
=`echo "$ac_compile" | $SED \
9053 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9054 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9055 -e 's:$: $lt_compiler_flag:'`
9056 (eval echo "\"\$as_me:9056: $lt_compile\"" >&5)
9057 (eval "$lt_compile" 2>conftest.err
)
9059 cat conftest.err
>&5
9060 echo "$as_me:9060: \$? = $ac_status" >&5
9061 if (exit $ac_status) && test -s "$ac_outfile"; then
9062 # The compiler can only warn and ignore the option if not recognized
9063 # So say no if there are warnings other than the usual output.
9064 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
9065 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9066 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9067 lt_prog_compiler_pic_works
=yes
9073 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
9074 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
9076 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
9077 case $lt_prog_compiler_pic in
9079 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9082 lt_prog_compiler_pic
=
9083 lt_prog_compiler_can_build_shared
=no
9094 # Check to make sure the static flag actually works.
9096 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9097 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9098 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
9099 if test "${lt_prog_compiler_static_works+set}" = set; then
9100 echo $ECHO_N "(cached) $ECHO_C" >&6
9102 lt_prog_compiler_static_works
=no
9103 save_LDFLAGS
="$LDFLAGS"
9104 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9105 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9106 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9107 # The linker can only warn and ignore the option if not recognized
9108 # So say no if there are warnings
9109 if test -s conftest.err
; then
9110 # Append any errors to the config.log.
9111 cat conftest.err
1>&5
9112 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
9113 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9114 if diff conftest.exp conftest.er2
>/dev
/null
; then
9115 lt_prog_compiler_static_works
=yes
9118 lt_prog_compiler_static_works
=yes
9122 LDFLAGS
="$save_LDFLAGS"
9125 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
9126 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
9128 if test x
"$lt_prog_compiler_static_works" = xyes
; then
9131 lt_prog_compiler_static
=
9140 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9141 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
9142 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9143 echo $ECHO_N "(cached) $ECHO_C" >&6
9145 lt_cv_prog_compiler_c_o
=no
9146 $RM -r conftest
2>/dev
/null
9150 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9152 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9153 # Insert the option either (1) after the last *FLAGS variable, or
9154 # (2) before a word containing "conftest.", or (3) at the end.
9155 # Note that $ac_compile itself does not contain backslashes and begins
9156 # with a dollar sign (not a hyphen), so the echo should work correctly.
9157 lt_compile
=`echo "$ac_compile" | $SED \
9158 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9159 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9160 -e 's:$: $lt_compiler_flag:'`
9161 (eval echo "\"\$as_me:9161: $lt_compile\"" >&5)
9162 (eval "$lt_compile" 2>out
/conftest.err
)
9164 cat out
/conftest.err
>&5
9165 echo "$as_me:9165: \$? = $ac_status" >&5
9166 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9168 # The compiler can only warn and ignore the option if not recognized
9169 # So say no if there are warnings
9170 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9171 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9172 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9173 lt_cv_prog_compiler_c_o
=yes
9178 # SGI C++ compiler will create directory out/ii_files/ for
9179 # template instantiation
9180 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9181 $RM out
/* && rmdir out
9187 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9188 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
9195 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9196 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
9197 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9198 echo $ECHO_N "(cached) $ECHO_C" >&6
9200 lt_cv_prog_compiler_c_o
=no
9201 $RM -r conftest
2>/dev
/null
9205 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9207 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9208 # Insert the option either (1) after the last *FLAGS variable, or
9209 # (2) before a word containing "conftest.", or (3) at the end.
9210 # Note that $ac_compile itself does not contain backslashes and begins
9211 # with a dollar sign (not a hyphen), so the echo should work correctly.
9212 lt_compile
=`echo "$ac_compile" | $SED \
9213 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9214 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9215 -e 's:$: $lt_compiler_flag:'`
9216 (eval echo "\"\$as_me:9216: $lt_compile\"" >&5)
9217 (eval "$lt_compile" 2>out
/conftest.err
)
9219 cat out
/conftest.err
>&5
9220 echo "$as_me:9220: \$? = $ac_status" >&5
9221 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9223 # The compiler can only warn and ignore the option if not recognized
9224 # So say no if there are warnings
9225 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9226 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9227 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9228 lt_cv_prog_compiler_c_o
=yes
9233 # SGI C++ compiler will create directory out/ii_files/ for
9234 # template instantiation
9235 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9236 $RM out
/* && rmdir out
9242 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9243 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
9248 hard_links
="nottested"
9249 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9250 # do not overwrite the value of need_locks provided by the user
9251 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9252 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
9255 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9257 ln conftest.a conftest.b
2>&5 || hard_links
=no
9258 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9259 echo "$as_me:$LINENO: result: $hard_links" >&5
9260 echo "${ECHO_T}$hard_links" >&6
9261 if test "$hard_links" = no
; then
9262 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9263 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9275 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9276 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9279 allow_undefined_flag
=
9280 always_export_symbols
=no
9282 archive_expsym_cmds
=
9283 compiler_needs_object
=no
9284 enable_shared_with_static_runtimes
=no
9285 export_dynamic_flag_spec
=
9286 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9287 hardcode_automatic
=no
9289 hardcode_direct_absolute
=no
9290 hardcode_libdir_flag_spec
=
9291 hardcode_libdir_flag_spec_ld
=
9292 hardcode_libdir_separator
=
9294 hardcode_shlibpath_var
=unsupported
9296 link_all_deplibs
=unknown
9299 old_archive_from_new_cmds
=
9300 old_archive_from_expsyms_cmds
=
9301 thread_safe_flag_spec
=
9302 whole_archive_flag_spec
=
9303 # include_expsyms should be a list of space-separated symbols to be *always*
9304 # included in the symbol list
9306 # exclude_expsyms can be an extended regexp of symbols to exclude
9307 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9308 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9309 # as well as any symbol that contains `d'.
9310 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
9311 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9312 # platforms (ab)use it in PIC code, but their linkers get confused if
9313 # the symbol is explicitly referenced. Since portable code cannot
9314 # rely on this symbol name, it's probably fine to never include it in
9315 # preloaded symbol tables.
9316 extract_expsyms_cmds
=
9319 cygwin
* | mingw
* | pw32
*)
9320 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9321 # When not using gcc, we currently assume that we are using
9322 # Microsoft Visual C++.
9323 if test "$GCC" != yes; then
9328 # we just hope/assume this is gcc and not c89 (= MSVC++)
9337 if test "$with_gnu_ld" = yes; then
9338 # If archive_cmds runs LD, not CC, wlarc should be empty
9341 # Set some defaults for GNU ld with shared library support. These
9342 # are reset later if shared libraries are not supported. Putting them
9343 # here allows them to be overridden if necessary.
9344 runpath_var
=LD_RUN_PATH
9345 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9346 export_dynamic_flag_spec
='${wl}--export-dynamic'
9347 # ancient GNU ld didn't support --whole-archive et. al.
9348 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9349 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9351 whole_archive_flag_spec
=
9353 supports_anon_versioning
=no
9354 case `$LD -v 2>&1` in
9355 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9356 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9357 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9358 *\
2.11.
*) ;; # other 2.11 versions
9359 *) supports_anon_versioning
=yes ;;
9362 # See if GNU ld supports shared libraries.
9365 # On AIX/PPC, the GNU linker is very broken
9366 if test "$host_cpu" != ia64
; then
9370 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9371 *** to be unable to reliably create shared libraries on AIX.
9372 *** Therefore, libtool is disabling shared libraries support. If you
9373 *** really care for shared libraries, you may want to modify your PATH
9374 *** so that a non-GNU linker is found, and then restart.
9381 if test "$host_cpu" = m68k
; then
9382 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)'
9383 hardcode_libdir_flag_spec
='-L$libdir'
9384 hardcode_minus_L
=yes
9387 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9388 # that the semantics of dynamic libraries on AmigaOS, at least up
9389 # to version 4, is to share data among multiple programs linked
9390 # with the same dynamic library. Since this doesn't match the
9391 # behavior of shared libraries on other platforms, we can't use
9397 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9398 allow_undefined_flag
=unsupported
9399 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9400 # support --undefined. This deserves some investigation. FIXME
9401 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9407 cygwin
* | mingw
* | pw32
*)
9408 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9409 # as there is no search path for DLLs.
9410 hardcode_libdir_flag_spec
='-L$libdir'
9411 allow_undefined_flag
=unsupported
9412 always_export_symbols
=no
9413 enable_shared_with_static_runtimes
=yes
9414 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9416 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9417 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9418 # If the export-symbols file already is a .def file (1st line
9419 # is EXPORTS), use it as is; otherwise, prepend...
9420 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9421 cp $export_symbols $output_objdir/$soname.def;
9423 echo EXPORTS > $output_objdir/$soname.def;
9424 cat $export_symbols >> $output_objdir/$soname.def;
9426 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9434 hardcode_shlibpath_var
=no
9435 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9436 export_dynamic_flag_spec
='${wl}-E'
9437 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9438 # Instead, shared libraries are loaded at an image base (0x10000000 by
9439 # default) and relocated if they conflict, which is a slow very memory
9440 # consuming and fragmenting process. To avoid this, we pick a random,
9441 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9442 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9443 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9444 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'
9447 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
9449 if test "$host_os" = linux-dietlibc
; then
9450 case $cc_basename in
9451 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9454 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9455 && test "$tmp_diet" = no
9458 case $cc_basename,$host_cpu in
9459 pgcc
*) # Portland Group C compiler
9460 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'
9461 tmp_addflag
=' $pic_flag'
9463 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9464 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'
9465 tmp_addflag
=' $pic_flag -Mnomain' ;;
9466 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9467 tmp_addflag
=' -i_dynamic' ;;
9468 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9469 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9470 ifc
* | ifort
*) # Intel Fortran compiler
9471 tmp_addflag
=' -nofor_main' ;;
9473 case `$CC -V 2>&1 | sed 5q` in
9474 *Sun\ C
*) # Sun C 5.9
9475 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'
9476 compiler_needs_object
=yes
9477 tmp_sharedflag
='-G' ;;
9478 *Sun\ F
*) # Sun Fortran 8.3
9479 tmp_sharedflag
='-G' ;;
9481 tmp_sharedflag
='-shared' ;;
9483 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9485 if test "x$supports_anon_versioning" = xyes
; then
9486 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9487 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9488 echo "local: *; };" >> $output_objdir/$libname.ver~
9489 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9497 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9498 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9501 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9502 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9507 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9511 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9512 *** create shared libraries on Solaris systems. Therefore, libtool
9513 *** is disabling shared libraries support. We urge you to upgrade GNU
9514 *** binutils to release 2.9.1 or newer. Another option is to modify
9515 *** your PATH or compiler configuration so that the native linker is
9516 *** used, and then restart.
9519 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9520 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9521 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9527 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9528 case `$LD -v 2>&1` in
9529 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9533 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9534 *** reliably create shared libraries on SCO systems. Therefore, libtool
9535 *** is disabling shared libraries support. We urge you to upgrade GNU
9536 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9537 *** your PATH or compiler configuration so that the native linker is
9538 *** used, and then restart.
9543 # For security reasons, it is highly recommended that you always
9544 # use absolute paths for naming shared libraries, and exclude the
9545 # DT_RUNPATH tag from executables and libraries. But doing so
9546 # requires that you compile everything twice, which is a pain.
9547 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9548 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9549 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9550 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9559 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9562 hardcode_shlibpath_var
=no
9566 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9567 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9568 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9575 if test "$ld_shlibs" = no
; then
9577 hardcode_libdir_flag_spec
=
9578 export_dynamic_flag_spec
=
9579 whole_archive_flag_spec
=
9582 # PORTME fill in a description of your system's linker (not GNU ld)
9585 allow_undefined_flag
=unsupported
9586 always_export_symbols
=yes
9587 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'
9588 # Note: this linker hardcodes the directories in LIBPATH if there
9589 # are no directories specified by -L.
9590 hardcode_minus_L
=yes
9591 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9592 # Neither direct hardcoding nor static linking is supported with a
9594 hardcode_direct
=unsupported
9599 if test "$host_cpu" = ia64
; then
9600 # On IA64, the linker does run time linking by default, so we don't
9601 # have to do anything special.
9602 aix_use_runtimelinking
=no
9603 exp_sym_flag
='-Bexport'
9606 # If we're using GNU nm, then we don't want the "-C" option.
9607 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9608 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9609 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'
9611 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'
9613 aix_use_runtimelinking
=no
9615 # Test if we are trying to use run time linking or normal
9616 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9617 # need to do runtime linking.
9618 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9619 for ld_flag
in $LDFLAGS; do
9620 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9621 aix_use_runtimelinking
=yes
9628 exp_sym_flag
='-bexport'
9629 no_entry_flag
='-bnoentry'
9632 # When large executables or shared objects are built, AIX ld can
9633 # have problems creating the table of contents. If linking a library
9634 # or program results in "error TOC overflow" add -mminimal-toc to
9635 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9636 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9640 hardcode_direct_absolute
=yes
9641 hardcode_libdir_separator
=':'
9642 link_all_deplibs
=yes
9643 file_list_spec
='${wl}-f,'
9645 if test "$GCC" = yes; then
9646 case $host_os in aix4.
[012]|aix4.
[012].
*)
9647 # We only want to do this on AIX 4.2 and lower, the check
9648 # below for broken collect2 doesn't work under 4.3+
9649 collect2name
=`${CC} -print-prog-name=collect2`
9650 if test -f "$collect2name" &&
9651 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9653 # We have reworked collect2
9656 # We have old collect2
9657 hardcode_direct
=unsupported
9658 # It fails to find uninstalled libraries when the uninstalled
9659 # path is not listed in the libpath. Setting hardcode_minus_L
9660 # to unsupported forces relinking
9661 hardcode_minus_L
=yes
9662 hardcode_libdir_flag_spec
='-L$libdir'
9663 hardcode_libdir_separator
=
9667 shared_flag
='-shared'
9668 if test "$aix_use_runtimelinking" = yes; then
9669 shared_flag
="$shared_flag "'${wl}-G'
9673 if test "$host_cpu" = ia64
; then
9674 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9675 # chokes on -Wl,-G. The following line is correct:
9678 if test "$aix_use_runtimelinking" = yes; then
9679 shared_flag
='${wl}-G'
9681 shared_flag
='${wl}-bM:SRE'
9686 # It seems that -bexpall does not export symbols beginning with
9687 # underscore (_), so it is better to generate a list of symbols to export.
9688 always_export_symbols
=yes
9689 if test "$aix_use_runtimelinking" = yes; then
9690 # Warning - without using the other runtime loading flags (-brtl),
9691 # -berok will link without error, but may produce a broken library.
9692 allow_undefined_flag
='-berok'
9693 # Determine the default libpath from the value encoded in an
9695 if test x
$gcc_no_link = xyes
; then
9696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9698 { (exit 1); exit 1; }; }
9700 cat >conftest.
$ac_ext <<_ACEOF
9703 cat confdefs.h
>>conftest.
$ac_ext
9704 cat >>conftest.
$ac_ext <<_ACEOF
9705 /* end confdefs.h. */
9715 rm -f conftest.
$ac_objext conftest
$ac_exeext
9716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9717 (eval $ac_link) 2>conftest.er1
9719 grep -v '^ *+' conftest.er1
>conftest.err
9721 cat conftest.err
>&5
9722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9723 (exit $ac_status); } &&
9724 { ac_try
='test -z "$ac_c_werror_flag"
9725 || test ! -s conftest.err'
9726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9730 (exit $ac_status); }; } &&
9731 { ac_try
='test -s conftest$ac_exeext'
9732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9736 (exit $ac_status); }; }; then
9738 lt_aix_libpath_sed
='
9739 /Import File Strings/,/^$/ {
9745 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9746 # Check for a 64-bit object if we didn't find anything.
9747 if test -z "$aix_libpath"; then
9748 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9751 echo "$as_me: failed program was:" >&5
9752 sed 's/^/| /' conftest.
$ac_ext >&5
9755 rm -f conftest.err conftest.
$ac_objext \
9756 conftest
$ac_exeext conftest.
$ac_ext
9757 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9759 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9760 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"
9762 if test "$host_cpu" = ia64
; then
9763 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9764 allow_undefined_flag
="-z nodefs"
9765 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"
9767 # Determine the default libpath from the value encoded in an
9769 if test x
$gcc_no_link = xyes
; then
9770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9772 { (exit 1); exit 1; }; }
9774 cat >conftest.
$ac_ext <<_ACEOF
9777 cat confdefs.h
>>conftest.
$ac_ext
9778 cat >>conftest.
$ac_ext <<_ACEOF
9779 /* end confdefs.h. */
9789 rm -f conftest.
$ac_objext conftest
$ac_exeext
9790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9791 (eval $ac_link) 2>conftest.er1
9793 grep -v '^ *+' conftest.er1
>conftest.err
9795 cat conftest.err
>&5
9796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9797 (exit $ac_status); } &&
9798 { ac_try
='test -z "$ac_c_werror_flag"
9799 || test ! -s conftest.err'
9800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9804 (exit $ac_status); }; } &&
9805 { ac_try
='test -s conftest$ac_exeext'
9806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9810 (exit $ac_status); }; }; then
9812 lt_aix_libpath_sed
='
9813 /Import File Strings/,/^$/ {
9819 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9820 # Check for a 64-bit object if we didn't find anything.
9821 if test -z "$aix_libpath"; then
9822 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9825 echo "$as_me: failed program was:" >&5
9826 sed 's/^/| /' conftest.
$ac_ext >&5
9829 rm -f conftest.err conftest.
$ac_objext \
9830 conftest
$ac_exeext conftest.
$ac_ext
9831 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9833 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9834 # Warning - without using the other run time loading flags,
9835 # -berok will link without error, but may produce a broken library.
9836 no_undefined_flag
=' ${wl}-bernotok'
9837 allow_undefined_flag
=' ${wl}-berok'
9838 # Exported symbols can be pulled into shared objects from archives
9839 whole_archive_flag_spec
='$convenience'
9840 archive_cmds_need_lc
=yes
9841 # This is similar to how AIX traditionally builds its shared libraries.
9842 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'
9848 if test "$host_cpu" = m68k
; then
9849 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)'
9850 hardcode_libdir_flag_spec
='-L$libdir'
9851 hardcode_minus_L
=yes
9853 # see comment about different semantics on the GNU ld section
9858 export_dynamic_flag_spec
=-rdynamic
9861 cygwin
* | mingw
* | pw32
*)
9862 # When not using gcc, we currently assume that we are using
9863 # Microsoft Visual C++.
9864 # hardcode_libdir_flag_spec is actually meaningless, as there is
9865 # no search path for DLLs.
9866 hardcode_libdir_flag_spec
=' '
9867 allow_undefined_flag
=unsupported
9868 # Tell ltmain to make .lib files, not .a files.
9870 # Tell ltmain to make .dll files, not .so files.
9872 # FIXME: Setting linknames here is a bad hack.
9873 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9874 # The linker will automatically build a .lib file if we build a DLL.
9875 old_archive_from_new_cmds
='true'
9876 # FIXME: Should let the user specify the lib program.
9877 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9878 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9879 enable_shared_with_static_runtimes
=yes
9882 darwin
* | rhapsody
*)
9884 rhapsody
* | darwin1.
[012])
9885 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
9888 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
9890 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9893 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
9898 archive_cmds_need_lc
=no
9900 hardcode_automatic
=yes
9901 hardcode_shlibpath_var
=unsupported
9902 whole_archive_flag_spec
=''
9903 link_all_deplibs
=yes
9904 if test "$GCC" = yes ; then
9905 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
9906 echo $ECHO_N "(cached) $ECHO_C" >&6
9908 lt_cv_apple_cc_single_mod
=no
9909 if test -z "${LT_MULTI_MODULE}"; then
9910 # By default we will add the -single_module flag. You can override
9911 # by either setting the environment variable LT_MULTI_MODULE
9912 # non-empty at configure time, or by adding -multi-module to the
9914 echo "int foo(void){return 1;}" > conftest.c
9915 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9916 -dynamiclib ${wl}-single_module conftest.c
9917 if test -f libconftest.dylib
; then
9918 lt_cv_apple_cc_single_mod
=yes
9919 rm libconftest.dylib
9925 output_verbose_link_cmd
=echo
9926 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
9927 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9928 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}'
9930 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9931 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}'
9933 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9934 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}'
9936 case $cc_basename in
9938 output_verbose_link_cmd
=echo
9939 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
9940 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9941 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9942 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}'
9943 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}'
9953 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9954 hardcode_libdir_flag_spec
='-L$libdir'
9955 hardcode_shlibpath_var
=no
9962 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9963 # support. Future versions do this automatically, but an explicit c++rt0.o
9964 # does not break anything, and helps significantly (at the cost of a little
9967 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9968 hardcode_libdir_flag_spec
='-R$libdir'
9970 hardcode_shlibpath_var
=no
9973 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9975 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9977 hardcode_minus_L
=yes
9978 hardcode_shlibpath_var
=no
9981 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9982 freebsd
* | dragonfly
*)
9983 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9984 hardcode_libdir_flag_spec
='-R$libdir'
9986 hardcode_shlibpath_var
=no
9990 if test "$GCC" = yes; then
9991 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'
9993 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'
9995 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9996 hardcode_libdir_separator
=:
9999 # hardcode_minus_L: Not really in the search PATH,
10000 # but as the default location of the library.
10001 hardcode_minus_L
=yes
10002 export_dynamic_flag_spec
='${wl}-E'
10006 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
10007 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10009 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10011 if test "$with_gnu_ld" = no
; then
10012 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10013 hardcode_libdir_flag_spec_ld
='+b $libdir'
10014 hardcode_libdir_separator
=:
10015 hardcode_direct
=yes
10016 hardcode_direct_absolute
=yes
10017 export_dynamic_flag_spec
='${wl}-E'
10018 # hardcode_minus_L: Not really in the search PATH,
10019 # but as the default location of the library.
10020 hardcode_minus_L
=yes
10025 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
10028 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10031 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10034 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10040 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10043 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10046 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10050 if test "$with_gnu_ld" = no
; then
10051 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10052 hardcode_libdir_separator
=:
10057 hardcode_shlibpath_var
=no
10060 hardcode_direct
=yes
10061 hardcode_direct_absolute
=yes
10062 export_dynamic_flag_spec
='${wl}-E'
10064 # hardcode_minus_L: Not really in the search PATH,
10065 # but as the default location of the library.
10066 hardcode_minus_L
=yes
10072 irix5
* | irix6
* | nonstopux
*)
10073 if test "$GCC" = yes; then
10074 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'
10075 # Try to use the -exported_symbol ld option, if it does not
10076 # work, assume that -exports_file does not work either and
10077 # implicitly export all symbols.
10078 save_LDFLAGS
="$LDFLAGS"
10079 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10080 if test x
$gcc_no_link = xyes
; then
10081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10083 { (exit 1); exit 1; }; }
10085 cat >conftest.
$ac_ext <<_ACEOF
10088 rm -f conftest.
$ac_objext conftest
$ac_exeext
10089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10090 (eval $ac_link) 2>conftest.er1
10092 grep -v '^ *+' conftest.er1
>conftest.err
10094 cat conftest.err
>&5
10095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10096 (exit $ac_status); } &&
10097 { ac_try
='test -z "$ac_c_werror_flag"
10098 || test ! -s conftest.err'
10099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10100 (eval $ac_try) 2>&5
10102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10103 (exit $ac_status); }; } &&
10104 { ac_try
='test -s conftest$ac_exeext'
10105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10106 (eval $ac_try) 2>&5
10108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10109 (exit $ac_status); }; }; then
10110 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'
10113 echo "$as_me: failed program was:" >&5
10114 sed 's/^/| /' conftest.
$ac_ext >&5
10117 rm -f conftest.err conftest.
$ac_objext \
10118 conftest
$ac_exeext conftest.
$ac_ext
10119 LDFLAGS
="$save_LDFLAGS"
10121 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'
10122 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'
10124 archive_cmds_need_lc
='no'
10125 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10126 hardcode_libdir_separator
=:
10128 link_all_deplibs
=yes
10132 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10133 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10135 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10137 hardcode_libdir_flag_spec
='-R$libdir'
10138 hardcode_direct
=yes
10139 hardcode_shlibpath_var
=no
10143 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10144 hardcode_direct
=yes
10145 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10146 hardcode_libdir_separator
=:
10147 hardcode_shlibpath_var
=no
10154 hardcode_direct
=yes
10155 hardcode_shlibpath_var
=no
10156 hardcode_direct_absolute
=yes
10157 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10158 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10159 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10160 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10161 export_dynamic_flag_spec
='${wl}-E'
10164 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10165 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10166 hardcode_libdir_flag_spec
='-R$libdir'
10169 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10170 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10177 hardcode_libdir_flag_spec
='-L$libdir'
10178 hardcode_minus_L
=yes
10179 allow_undefined_flag
=unsupported
10180 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'
10181 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10185 if test "$GCC" = yes; then
10186 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10187 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'
10189 allow_undefined_flag
=' -expect_unresolved \*'
10190 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'
10192 archive_cmds_need_lc
='no'
10193 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10194 hardcode_libdir_separator
=:
10197 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10198 if test "$GCC" = yes; then
10199 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10200 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'
10201 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10203 allow_undefined_flag
=' -expect_unresolved \*'
10204 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'
10205 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~
10206 $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'
10208 # Both c and cxx compiler support -rpath directly
10209 hardcode_libdir_flag_spec
='-rpath $libdir'
10211 archive_cmds_need_lc
='no'
10212 hardcode_libdir_separator
=:
10216 no_undefined_flag
=' -z defs'
10217 if test "$GCC" = yes; then
10219 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10220 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10221 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10223 case `$CC -V 2>&1` in
10226 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10227 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10228 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10232 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10233 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10234 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10238 hardcode_libdir_flag_spec
='-R$libdir'
10239 hardcode_shlibpath_var
=no
10241 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10243 # The compiler driver will combine and reorder linker options,
10244 # but understands `-z linker_flag'. GCC discards it without `$wl',
10245 # but is careful enough not to reorder.
10246 # Supported since Solaris 2.6 (maybe 2.5.1?)
10247 if test "$GCC" = yes; then
10248 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10250 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10254 link_all_deplibs
=yes
10258 if test "x$host_vendor" = xsequent
; then
10259 # Use $CC to link under sequent, because it throws in some extra .o
10260 # files that make .init and .fini sections work.
10261 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10263 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10265 hardcode_libdir_flag_spec
='-L$libdir'
10266 hardcode_direct
=yes
10267 hardcode_minus_L
=yes
10268 hardcode_shlibpath_var
=no
10272 case $host_vendor in
10274 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10275 hardcode_direct
=yes # is this really true???
10278 ## LD is ld it makes a PLAMLIB
10279 ## CC just makes a GrossModule.
10280 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10281 reload_cmds
='$CC -r -o $output$reload_objs'
10285 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10286 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10289 runpath_var
='LD_RUN_PATH'
10290 hardcode_shlibpath_var
=no
10294 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10295 hardcode_shlibpath_var
=no
10296 export_dynamic_flag_spec
='-Bexport'
10300 if test -d /usr
/nec
; then
10301 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10302 hardcode_shlibpath_var
=no
10303 runpath_var
=LD_RUN_PATH
10304 hardcode_runpath_var
=yes
10309 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10310 no_undefined_flag
='${wl}-z,text'
10311 archive_cmds_need_lc
=no
10312 hardcode_shlibpath_var
=no
10313 runpath_var
='LD_RUN_PATH'
10315 if test "$GCC" = yes; then
10316 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10317 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10319 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10320 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10324 sysv5
* | sco3.2v5
* | sco5v6
*)
10325 # Note: We can NOT use -z defs as we might desire, because we do not
10326 # link with -lc, and that would cause any symbols used from libc to
10327 # always be unresolved, which means just about no library would
10328 # ever link correctly. If we're not using GNU ld we use -z text
10329 # though, which does catch some bad symbols but isn't as heavy-handed
10331 no_undefined_flag
='${wl}-z,text'
10332 allow_undefined_flag
='${wl}-z,nodefs'
10333 archive_cmds_need_lc
=no
10334 hardcode_shlibpath_var
=no
10335 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10336 hardcode_libdir_separator
=':'
10337 link_all_deplibs
=yes
10338 export_dynamic_flag_spec
='${wl}-Bexport'
10339 runpath_var
='LD_RUN_PATH'
10341 if test "$GCC" = yes; then
10342 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10343 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10345 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10346 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10351 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10352 hardcode_libdir_flag_spec
='-L$libdir'
10353 hardcode_shlibpath_var
=no
10361 if test x
$host_vendor = xsni
; then
10363 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10364 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10370 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10371 echo "${ECHO_T}$ld_shlibs" >&6
10372 test "$ld_shlibs" = no
&& can_build_shared
=no
10374 with_gnu_ld
=$with_gnu_ld
10391 # Do we need to explicitly link libc?
10393 case "x$archive_cmds_need_lc" in
10395 # Assume -lc should be added
10396 archive_cmds_need_lc
=yes
10398 if test "$enable_shared" = yes && test "$GCC" = yes; then
10399 case $archive_cmds in
10401 # FIXME: we may have to deal with multi-command sequences.
10404 # Test whether the compiler implicitly links with -lc since on some
10405 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10406 # to ld, don't add -lc before -lgcc.
10407 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10408 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10410 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10413 (eval $ac_compile) 2>&5
10415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10416 (exit $ac_status); } 2>conftest.err
; then
10419 libobjs
=conftest.
$ac_objext
10421 wl
=$lt_prog_compiler_wl
10422 pic_flag
=$lt_prog_compiler_pic
10428 lt_save_allow_undefined_flag
=$allow_undefined_flag
10429 allow_undefined_flag
=
10430 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
10431 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10434 (exit $ac_status); }
10436 archive_cmds_need_lc
=no
10438 archive_cmds_need_lc
=yes
10440 allow_undefined_flag
=$lt_save_allow_undefined_flag
10442 cat conftest.err
1>&5
10445 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10446 echo "${ECHO_T}$archive_cmds_need_lc" >&6
10609 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10610 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
10612 if test "$withGCC" = yes; then
10614 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10615 *) lt_awk_arg
="/^libraries:/" ;;
10617 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10618 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
10619 # if the path contains ";" then we assume it to be the separator
10620 # otherwise default to the standard path separator (i.e. ":") - it is
10621 # assumed that no part of a normal pathname contains ";" but that should
10622 # okay in the real world where ";" in dirpaths is itself problematic.
10623 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10625 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10627 # Ok, now we have the path, separated by spaces, we can step through it
10628 # and add multilib dir if necessary.
10629 lt_tmp_lt_search_path_spec
=
10630 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10631 for lt_sys_path
in $lt_search_path_spec; do
10632 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10633 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10635 test -d "$lt_sys_path" && \
10636 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10639 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10640 BEGIN {RS=" "; FS="/|\n";} {
10643 for (lt_i = NF; lt_i > 0; lt_i--) {
10644 if ($lt_i != "" && $lt_i != ".") {
10645 if ($lt_i == "..") {
10648 if (lt_count == 0) {
10649 lt_foo="/" $lt_i lt_foo;
10656 if (lt_foo != "") { lt_freq[lt_foo]++; }
10657 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10659 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10661 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10663 library_names_spec
=
10664 libname_spec
='lib$name'
10668 postuninstall_cmds
=
10672 shlibpath_overrides_runpath
=unknown
10674 dynamic_linker
="$host_os ld.so"
10675 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10676 need_lib_prefix
=unknown
10677 hardcode_into_libs
=no
10679 # when you set need_version to no, make sure it does not cause -set_version
10680 # flags to be left without arguments
10681 need_version
=unknown
10686 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10687 shlibpath_var
=LIBPATH
10689 # AIX 3 has no versioning support, so we append a major version to the name.
10690 soname_spec
='${libname}${release}${shared_ext}$major'
10697 hardcode_into_libs
=yes
10698 if test "$host_cpu" = ia64
; then
10699 # AIX 5 supports IA64
10700 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10701 shlibpath_var
=LD_LIBRARY_PATH
10703 # With GCC up to 2.95.x, collect2 would create an import file
10704 # for dependence libraries. The import file would start with
10705 # the line `#! .'. This would cause the generated library to
10706 # depend on `.', always an invalid library. This was fixed in
10707 # development snapshots of GCC prior to 3.0.
10709 aix4 | aix4.
[01] | aix4.
[01].
*)
10710 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10712 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10715 can_build_shared
=no
10719 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10720 # soname into executable. Probably we can add versioning support to
10721 # collect2, so additional links can be useful in future.
10722 if test "$aix_use_runtimelinking" = yes; then
10723 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10724 # instead of lib<name>.a to let people know that these are not
10725 # typical AIX shared libraries.
10726 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10728 # We preserve .a as extension for shared libraries through AIX4.2
10729 # and later when we are not doing run time linking.
10730 library_names_spec
='${libname}${release}.a $libname.a'
10731 soname_spec
='${libname}${release}${shared_ext}$major'
10733 shlibpath_var
=LIBPATH
10738 if test "$host_cpu" = m68k
; then
10739 library_names_spec
='$libname.ixlibrary $libname.a'
10740 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10741 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'
10748 library_names_spec
='${libname}${shared_ext}'
10749 dynamic_linker
="$host_os ld.so"
10750 shlibpath_var
=LIBRARY_PATH
10756 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10757 soname_spec
='${libname}${release}${shared_ext}$major'
10758 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10759 shlibpath_var
=LD_LIBRARY_PATH
10760 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10761 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10762 # the default ld.so.conf also contains /usr/contrib/lib and
10763 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10764 # libtool to hard-code these into programs
10767 cygwin
* | mingw
* | pw32
*)
10768 version_type
=windows
10773 case $withGCC,$host_os in
10774 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
10775 library_names_spec
='$libname.dll.a'
10776 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10777 postinstall_cmds
='base_file=`basename \${file}`~
10778 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10779 dldir=$destdir/`dirname \$dlpath`~
10780 test -d \$dldir || mkdir -p \$dldir~
10781 $install_prog $dir/$dlname \$dldir/$dlname~
10782 chmod a+x \$dldir/$dlname~
10783 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10784 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10786 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10787 dlpath=$dir/\$dldll~
10789 shlibpath_overrides_runpath
=yes
10793 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10794 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10795 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10798 # MinGW DLLs use traditional 'lib' prefix
10799 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10800 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10801 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10802 # It is most probably a Windows format PATH printed by
10803 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10804 # path with ; separators, and with drive letters. We can handle the
10805 # drive letters (cygwin fileutils understands them), so leave them,
10806 # especially as we might pass files found there to a mingw objdump,
10807 # which wouldn't understand a cygwinified path. Ahh.
10808 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10810 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10814 # pw32 DLLs use 'pw' prefix rather than 'lib'
10815 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10821 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10824 dynamic_linker
='Win32 ld.exe'
10825 # FIXME: first we should search . and the directory the executable is in
10829 darwin
* | rhapsody
*)
10830 dynamic_linker
="$host_os dyld"
10831 version_type
=darwin
10834 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10835 soname_spec
='${libname}${release}${major}$shared_ext'
10836 shlibpath_overrides_runpath
=yes
10837 shlibpath_var
=DYLD_LIBRARY_PATH
10838 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10840 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10841 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10848 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10849 soname_spec
='${libname}${release}${shared_ext}$major'
10850 shlibpath_var
=LD_LIBRARY_PATH
10857 freebsd
* | dragonfly
*)
10858 # DragonFly does not have aout. When/if they implement a new
10859 # versioning mechanism, adjust this.
10860 if test -x /usr
/bin
/objformat
; then
10861 objformat
=`/usr/bin/objformat`
10864 freebsd
[123]*) objformat
=aout
;;
10865 *) objformat
=elf
;;
10868 version_type
=freebsd-
$objformat
10869 case $version_type in
10871 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10876 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10880 shlibpath_var
=LD_LIBRARY_PATH
10883 shlibpath_overrides_runpath
=yes
10885 freebsd3.
[01]* | freebsdelf3.
[01]*)
10886 shlibpath_overrides_runpath
=yes
10887 hardcode_into_libs
=yes
10889 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10890 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10891 shlibpath_overrides_runpath
=no
10892 hardcode_into_libs
=yes
10894 *) # from 4.6 on, and DragonFly
10895 shlibpath_overrides_runpath
=yes
10896 hardcode_into_libs
=yes
10905 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10906 soname_spec
='${libname}${release}${shared_ext}$major'
10907 shlibpath_var
=LD_LIBRARY_PATH
10908 hardcode_into_libs
=yes
10911 hpux9
* | hpux10
* | hpux11
*)
10912 # Give a soname corresponding to the major version so that dld.sl refuses to
10913 # link against other versions.
10920 hardcode_into_libs
=yes
10921 dynamic_linker
="$host_os dld.so"
10922 shlibpath_var
=LD_LIBRARY_PATH
10923 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10924 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10925 soname_spec
='${libname}${release}${shared_ext}$major'
10926 if test "X$HPUX_IA64_MODE" = X32
; then
10927 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10929 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10931 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10935 hardcode_into_libs
=yes
10936 dynamic_linker
="$host_os dld.sl"
10937 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10938 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10939 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10940 soname_spec
='${libname}${release}${shared_ext}$major'
10941 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10942 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10946 dynamic_linker
="$host_os dld.sl"
10947 shlibpath_var
=SHLIB_PATH
10948 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10949 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10950 soname_spec
='${libname}${release}${shared_ext}$major'
10953 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10954 postinstall_cmds
='chmod 555 $lib'
10961 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10962 soname_spec
='${libname}${release}${shared_ext}$major'
10963 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10964 shlibpath_var
=LD_LIBRARY_PATH
10965 shlibpath_overrides_runpath
=no
10966 hardcode_into_libs
=yes
10969 irix5
* | irix6
* | nonstopux
*)
10971 nonstopux
*) version_type
=nonstopux
;;
10973 if test "$lt_cv_prog_gnu_ld" = yes; then
10981 soname_spec
='${libname}${release}${shared_ext}$major'
10982 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10984 irix5
* | nonstopux
*)
10985 libsuff
= shlibsuff
=
10988 case $LD in # libtool.m4 will add one of these switches to LD
10989 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10990 libsuff
= shlibsuff
= libmagic
=32-bit;;
10991 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10992 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10993 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10994 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10995 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10999 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11000 shlibpath_overrides_runpath
=no
11001 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11002 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11003 hardcode_into_libs
=yes
11006 # No shared lib support for Linux oldld, aout, or coff.
11007 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11011 # This must be Linux ELF.
11012 linux
* | k
*bsd
*-gnu)
11016 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11017 soname_spec
='${libname}${release}${shared_ext}$major'
11018 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11019 shlibpath_var
=LD_LIBRARY_PATH
11020 shlibpath_overrides_runpath
=no
11021 # Some binutils ld are patched to set DT_RUNPATH
11022 save_LDFLAGS
=$LDFLAGS
11023 save_libdir
=$libdir
11024 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11025 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11026 if test x
$gcc_no_link = xyes
; then
11027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11029 { (exit 1); exit 1; }; }
11031 cat >conftest.
$ac_ext <<_ACEOF
11034 cat confdefs.h
>>conftest.
$ac_ext
11035 cat >>conftest.
$ac_ext <<_ACEOF
11036 /* end confdefs.h. */
11046 rm -f conftest.
$ac_objext conftest
$ac_exeext
11047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11048 (eval $ac_link) 2>conftest.er1
11050 grep -v '^ *+' conftest.er1
>conftest.err
11052 cat conftest.err
>&5
11053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11054 (exit $ac_status); } &&
11055 { ac_try
='test -z "$ac_c_werror_flag"
11056 || test ! -s conftest.err'
11057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11058 (eval $ac_try) 2>&5
11060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11061 (exit $ac_status); }; } &&
11062 { ac_try
='test -s conftest$ac_exeext'
11063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11064 (eval $ac_try) 2>&5
11066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11067 (exit $ac_status); }; }; then
11068 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
11069 shlibpath_overrides_runpath
=yes
11073 echo "$as_me: failed program was:" >&5
11074 sed 's/^/| /' conftest.
$ac_ext >&5
11077 rm -f conftest.err conftest.
$ac_objext \
11078 conftest
$ac_exeext conftest.
$ac_ext
11079 LDFLAGS
=$save_LDFLAGS
11080 libdir
=$save_libdir
11082 # This implies no fast_install, which is unacceptable.
11083 # Some rework will be needed to allow for fast_install
11084 # before this can be enabled.
11085 hardcode_into_libs
=yes
11087 # Append ld.so.conf contents to the search path
11088 if test -f /etc
/ld.so.conf
; then
11089 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' ' '`
11090 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11093 # We used to test for /lib/ld.so.1 and disable shared libraries on
11094 # powerpc, because MkLinux only supported shared libraries with the
11095 # GNU dynamic linker. Since this was broken with cross compilers,
11096 # most powerpc-linux boxes support dynamic linking these days and
11097 # people can always --disable-shared, the test was removed, and we
11098 # assume the GNU/Linux dynamic linker is in use.
11099 dynamic_linker
='GNU/Linux ld.so'
11106 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11107 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11108 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11109 dynamic_linker
='NetBSD (a.out) ld.so'
11111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11112 soname_spec
='${libname}${release}${shared_ext}$major'
11113 dynamic_linker
='NetBSD ld.elf_so'
11115 shlibpath_var
=LD_LIBRARY_PATH
11116 shlibpath_overrides_runpath
=yes
11117 hardcode_into_libs
=yes
11122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11123 shlibpath_var
=LD_LIBRARY_PATH
11124 shlibpath_overrides_runpath
=yes
11131 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11132 soname_spec
='${libname}${release}${shared_ext}$major'
11133 shlibpath_var
=LD_LIBRARY_PATH
11134 shlibpath_overrides_runpath
=no
11135 hardcode_into_libs
=yes
11136 dynamic_linker
='ldqnx.so'
11141 sys_lib_dlsearch_path_spec
="/usr/lib"
11143 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11145 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11146 *) need_version
=no
;;
11148 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11149 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11150 shlibpath_var
=LD_LIBRARY_PATH
11151 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11153 openbsd2.
[89] | openbsd2.
[89].
*)
11154 shlibpath_overrides_runpath
=no
11157 shlibpath_overrides_runpath
=yes
11161 shlibpath_overrides_runpath
=yes
11166 libname_spec
='$name'
11169 library_names_spec
='$libname${shared_ext} $libname.a'
11170 dynamic_linker
='OS/2 ld.exe'
11171 shlibpath_var
=LIBPATH
11174 osf3
* | osf4
* | osf5
*)
11178 soname_spec
='${libname}${release}${shared_ext}$major'
11179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11180 shlibpath_var
=LD_LIBRARY_PATH
11181 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11182 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11193 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11194 soname_spec
='${libname}${release}${shared_ext}$major'
11195 shlibpath_var
=LD_LIBRARY_PATH
11196 shlibpath_overrides_runpath
=yes
11197 hardcode_into_libs
=yes
11198 # ldd complains unless libraries are executable
11199 postinstall_cmds
='chmod +x $lib'
11204 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11205 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11206 shlibpath_var
=LD_LIBRARY_PATH
11207 shlibpath_overrides_runpath
=yes
11208 if test "$with_gnu_ld" = yes; then
11216 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11217 soname_spec
='${libname}${release}${shared_ext}$major'
11218 shlibpath_var
=LD_LIBRARY_PATH
11219 case $host_vendor in
11221 shlibpath_overrides_runpath
=no
11223 runpath_var
=LD_RUN_PATH
11231 shlibpath_overrides_runpath
=no
11232 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11238 if test -d /usr
/nec
;then
11240 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11241 soname_spec
='$libname${shared_ext}.$major'
11242 shlibpath_var
=LD_LIBRARY_PATH
11246 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11247 version_type
=freebsd-elf
11250 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11251 soname_spec
='${libname}${release}${shared_ext}$major'
11252 shlibpath_var
=LD_LIBRARY_PATH
11253 shlibpath_overrides_runpath
=yes
11254 hardcode_into_libs
=yes
11255 if test "$with_gnu_ld" = yes; then
11256 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11258 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11261 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11265 sys_lib_dlsearch_path_spec
='/usr/lib'
11269 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11273 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11274 shlibpath_var
=LD_LIBRARY_PATH
11275 shlibpath_overrides_runpath
=no
11276 hardcode_into_libs
=yes
11281 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11282 soname_spec
='${libname}${release}${shared_ext}$major'
11283 shlibpath_var
=LD_LIBRARY_PATH
11290 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11291 echo "${ECHO_T}$dynamic_linker" >&6
11292 test "$dynamic_linker" = no
&& can_build_shared
=no
11294 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11295 if test "$GCC" = yes; then
11296 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11385 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11386 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11388 if test -n "$hardcode_libdir_flag_spec" ||
11389 test -n "$runpath_var" ||
11390 test "X$hardcode_automatic" = "Xyes" ; then
11392 # We can hardcode non-existent directories.
11393 if test "$hardcode_direct" != no
&&
11394 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11395 # have to relink, otherwise we might link with an installed library
11396 # when we should be linking with a yet-to-be-installed one
11397 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11398 test "$hardcode_minus_L" != no
; then
11399 # Linking always hardcodes the temporary library directory.
11400 hardcode_action
=relink
11402 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11403 hardcode_action
=immediate
11406 # We cannot hardcode anything, or else we can only hardcode existing
11408 hardcode_action
=unsupported
11410 echo "$as_me:$LINENO: result: $hardcode_action" >&5
11411 echo "${ECHO_T}$hardcode_action" >&6
11413 if test "$hardcode_action" = relink ||
11414 test "$inherit_rpath" = yes; then
11415 # Fast installation is not supported
11416 enable_fast_install
=no
11417 elif test "$shlibpath_overrides_runpath" = yes ||
11418 test "$enable_shared" = no
; then
11419 # Fast installation is not necessary
11420 enable_fast_install
=needless
11428 if test "x$enable_dlopen" != xyes
; then
11429 enable_dlopen
=unknown
11430 enable_dlopen_self
=unknown
11431 enable_dlopen_self_static
=unknown
11438 lt_cv_dlopen
="load_add_on"
11440 lt_cv_dlopen_self
=yes
11444 lt_cv_dlopen
="LoadLibrary"
11449 lt_cv_dlopen
="dlopen"
11454 # if libdl is installed we need to link against it
11455 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11456 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11457 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11458 echo $ECHO_N "(cached) $ECHO_C" >&6
11460 ac_check_lib_save_LIBS
=$LIBS
11462 if test x
$gcc_no_link = xyes
; then
11463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11465 { (exit 1); exit 1; }; }
11467 cat >conftest.
$ac_ext <<_ACEOF
11470 cat confdefs.h
>>conftest.
$ac_ext
11471 cat >>conftest.
$ac_ext <<_ACEOF
11472 /* end confdefs.h. */
11474 /* Override any gcc2 internal prototype to avoid an error. */
11478 /* We use char because int might match the return type of a gcc2
11479 builtin and then its argument prototype would still apply. */
11489 rm -f conftest.
$ac_objext conftest
$ac_exeext
11490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11491 (eval $ac_link) 2>conftest.er1
11493 grep -v '^ *+' conftest.er1
>conftest.err
11495 cat conftest.err
>&5
11496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11497 (exit $ac_status); } &&
11498 { ac_try
='test -z "$ac_c_werror_flag"
11499 || test ! -s conftest.err'
11500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11501 (eval $ac_try) 2>&5
11503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11504 (exit $ac_status); }; } &&
11505 { ac_try
='test -s conftest$ac_exeext'
11506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11507 (eval $ac_try) 2>&5
11509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11510 (exit $ac_status); }; }; then
11511 ac_cv_lib_dl_dlopen
=yes
11513 echo "$as_me: failed program was:" >&5
11514 sed 's/^/| /' conftest.
$ac_ext >&5
11516 ac_cv_lib_dl_dlopen
=no
11518 rm -f conftest.err conftest.
$ac_objext \
11519 conftest
$ac_exeext conftest.
$ac_ext
11520 LIBS
=$ac_check_lib_save_LIBS
11522 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11523 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11524 if test $ac_cv_lib_dl_dlopen = yes; then
11525 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11528 lt_cv_dlopen
="dyld"
11530 lt_cv_dlopen_self
=yes
11537 echo "$as_me:$LINENO: checking for shl_load" >&5
11538 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11539 if test "${ac_cv_func_shl_load+set}" = set; then
11540 echo $ECHO_N "(cached) $ECHO_C" >&6
11542 if test x
$gcc_no_link = xyes
; then
11543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11545 { (exit 1); exit 1; }; }
11547 cat >conftest.
$ac_ext <<_ACEOF
11550 cat confdefs.h
>>conftest.
$ac_ext
11551 cat >>conftest.
$ac_ext <<_ACEOF
11552 /* end confdefs.h. */
11553 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11555 #define shl_load innocuous_shl_load
11557 /* System header to define __stub macros and hopefully few prototypes,
11558 which can conflict with char shl_load (); below.
11559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11560 <limits.h> exists even on freestanding compilers. */
11563 # include <limits.h>
11565 # include <assert.h>
11570 /* Override any gcc2 internal prototype to avoid an error. */
11575 /* We use char because int might match the return type of a gcc2
11576 builtin and then its argument prototype would still apply. */
11578 /* The GNU C library defines this for functions which it implements
11579 to always fail with ENOSYS. Some functions are actually named
11580 something starting with __ and the normal name is an alias. */
11581 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11584 char (*f) () = shl_load;
11593 return f != shl_load;
11598 rm -f conftest.
$ac_objext conftest
$ac_exeext
11599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11600 (eval $ac_link) 2>conftest.er1
11602 grep -v '^ *+' conftest.er1
>conftest.err
11604 cat conftest.err
>&5
11605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11606 (exit $ac_status); } &&
11607 { ac_try
='test -z "$ac_c_werror_flag"
11608 || test ! -s conftest.err'
11609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11610 (eval $ac_try) 2>&5
11612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11613 (exit $ac_status); }; } &&
11614 { ac_try
='test -s conftest$ac_exeext'
11615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11616 (eval $ac_try) 2>&5
11618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11619 (exit $ac_status); }; }; then
11620 ac_cv_func_shl_load
=yes
11622 echo "$as_me: failed program was:" >&5
11623 sed 's/^/| /' conftest.
$ac_ext >&5
11625 ac_cv_func_shl_load
=no
11627 rm -f conftest.err conftest.
$ac_objext \
11628 conftest
$ac_exeext conftest.
$ac_ext
11630 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11631 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11632 if test $ac_cv_func_shl_load = yes; then
11633 lt_cv_dlopen
="shl_load"
11635 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11636 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11637 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11638 echo $ECHO_N "(cached) $ECHO_C" >&6
11640 ac_check_lib_save_LIBS
=$LIBS
11642 if test x
$gcc_no_link = xyes
; then
11643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11645 { (exit 1); exit 1; }; }
11647 cat >conftest.
$ac_ext <<_ACEOF
11650 cat confdefs.h
>>conftest.
$ac_ext
11651 cat >>conftest.
$ac_ext <<_ACEOF
11652 /* end confdefs.h. */
11654 /* Override any gcc2 internal prototype to avoid an error. */
11658 /* We use char because int might match the return type of a gcc2
11659 builtin and then its argument prototype would still apply. */
11669 rm -f conftest.
$ac_objext conftest
$ac_exeext
11670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11671 (eval $ac_link) 2>conftest.er1
11673 grep -v '^ *+' conftest.er1
>conftest.err
11675 cat conftest.err
>&5
11676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11677 (exit $ac_status); } &&
11678 { ac_try
='test -z "$ac_c_werror_flag"
11679 || test ! -s conftest.err'
11680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11681 (eval $ac_try) 2>&5
11683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11684 (exit $ac_status); }; } &&
11685 { ac_try
='test -s conftest$ac_exeext'
11686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11687 (eval $ac_try) 2>&5
11689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11690 (exit $ac_status); }; }; then
11691 ac_cv_lib_dld_shl_load
=yes
11693 echo "$as_me: failed program was:" >&5
11694 sed 's/^/| /' conftest.
$ac_ext >&5
11696 ac_cv_lib_dld_shl_load
=no
11698 rm -f conftest.err conftest.
$ac_objext \
11699 conftest
$ac_exeext conftest.
$ac_ext
11700 LIBS
=$ac_check_lib_save_LIBS
11702 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11703 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11704 if test $ac_cv_lib_dld_shl_load = yes; then
11705 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
11707 echo "$as_me:$LINENO: checking for dlopen" >&5
11708 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11709 if test "${ac_cv_func_dlopen+set}" = set; then
11710 echo $ECHO_N "(cached) $ECHO_C" >&6
11712 if test x
$gcc_no_link = xyes
; then
11713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11715 { (exit 1); exit 1; }; }
11717 cat >conftest.
$ac_ext <<_ACEOF
11720 cat confdefs.h
>>conftest.
$ac_ext
11721 cat >>conftest.
$ac_ext <<_ACEOF
11722 /* end confdefs.h. */
11723 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11725 #define dlopen innocuous_dlopen
11727 /* System header to define __stub macros and hopefully few prototypes,
11728 which can conflict with char dlopen (); below.
11729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11730 <limits.h> exists even on freestanding compilers. */
11733 # include <limits.h>
11735 # include <assert.h>
11740 /* Override any gcc2 internal prototype to avoid an error. */
11745 /* We use char because int might match the return type of a gcc2
11746 builtin and then its argument prototype would still apply. */
11748 /* The GNU C library defines this for functions which it implements
11749 to always fail with ENOSYS. Some functions are actually named
11750 something starting with __ and the normal name is an alias. */
11751 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11754 char (*f) () = dlopen;
11763 return f != dlopen;
11768 rm -f conftest.
$ac_objext conftest
$ac_exeext
11769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11770 (eval $ac_link) 2>conftest.er1
11772 grep -v '^ *+' conftest.er1
>conftest.err
11774 cat conftest.err
>&5
11775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11776 (exit $ac_status); } &&
11777 { ac_try
='test -z "$ac_c_werror_flag"
11778 || test ! -s conftest.err'
11779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11780 (eval $ac_try) 2>&5
11782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11783 (exit $ac_status); }; } &&
11784 { ac_try
='test -s conftest$ac_exeext'
11785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11786 (eval $ac_try) 2>&5
11788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11789 (exit $ac_status); }; }; then
11790 ac_cv_func_dlopen
=yes
11792 echo "$as_me: failed program was:" >&5
11793 sed 's/^/| /' conftest.
$ac_ext >&5
11795 ac_cv_func_dlopen
=no
11797 rm -f conftest.err conftest.
$ac_objext \
11798 conftest
$ac_exeext conftest.
$ac_ext
11800 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11801 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11802 if test $ac_cv_func_dlopen = yes; then
11803 lt_cv_dlopen
="dlopen"
11805 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11806 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11807 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11808 echo $ECHO_N "(cached) $ECHO_C" >&6
11810 ac_check_lib_save_LIBS
=$LIBS
11812 if test x
$gcc_no_link = xyes
; then
11813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11815 { (exit 1); exit 1; }; }
11817 cat >conftest.
$ac_ext <<_ACEOF
11820 cat confdefs.h
>>conftest.
$ac_ext
11821 cat >>conftest.
$ac_ext <<_ACEOF
11822 /* end confdefs.h. */
11824 /* Override any gcc2 internal prototype to avoid an error. */
11828 /* We use char because int might match the return type of a gcc2
11829 builtin and then its argument prototype would still apply. */
11839 rm -f conftest.
$ac_objext conftest
$ac_exeext
11840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11841 (eval $ac_link) 2>conftest.er1
11843 grep -v '^ *+' conftest.er1
>conftest.err
11845 cat conftest.err
>&5
11846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11847 (exit $ac_status); } &&
11848 { ac_try
='test -z "$ac_c_werror_flag"
11849 || test ! -s conftest.err'
11850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11851 (eval $ac_try) 2>&5
11853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11854 (exit $ac_status); }; } &&
11855 { ac_try
='test -s conftest$ac_exeext'
11856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11857 (eval $ac_try) 2>&5
11859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11860 (exit $ac_status); }; }; then
11861 ac_cv_lib_dl_dlopen
=yes
11863 echo "$as_me: failed program was:" >&5
11864 sed 's/^/| /' conftest.
$ac_ext >&5
11866 ac_cv_lib_dl_dlopen
=no
11868 rm -f conftest.err conftest.
$ac_objext \
11869 conftest
$ac_exeext conftest.
$ac_ext
11870 LIBS
=$ac_check_lib_save_LIBS
11872 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11873 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11874 if test $ac_cv_lib_dl_dlopen = yes; then
11875 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11877 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11878 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11879 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11880 echo $ECHO_N "(cached) $ECHO_C" >&6
11882 ac_check_lib_save_LIBS
=$LIBS
11883 LIBS
="-lsvld $LIBS"
11884 if test x
$gcc_no_link = xyes
; then
11885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11887 { (exit 1); exit 1; }; }
11889 cat >conftest.
$ac_ext <<_ACEOF
11892 cat confdefs.h
>>conftest.
$ac_ext
11893 cat >>conftest.
$ac_ext <<_ACEOF
11894 /* end confdefs.h. */
11896 /* Override any gcc2 internal prototype to avoid an error. */
11900 /* We use char because int might match the return type of a gcc2
11901 builtin and then its argument prototype would still apply. */
11911 rm -f conftest.
$ac_objext conftest
$ac_exeext
11912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11913 (eval $ac_link) 2>conftest.er1
11915 grep -v '^ *+' conftest.er1
>conftest.err
11917 cat conftest.err
>&5
11918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11919 (exit $ac_status); } &&
11920 { ac_try
='test -z "$ac_c_werror_flag"
11921 || test ! -s conftest.err'
11922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11923 (eval $ac_try) 2>&5
11925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11926 (exit $ac_status); }; } &&
11927 { ac_try
='test -s conftest$ac_exeext'
11928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11929 (eval $ac_try) 2>&5
11931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11932 (exit $ac_status); }; }; then
11933 ac_cv_lib_svld_dlopen
=yes
11935 echo "$as_me: failed program was:" >&5
11936 sed 's/^/| /' conftest.
$ac_ext >&5
11938 ac_cv_lib_svld_dlopen
=no
11940 rm -f conftest.err conftest.
$ac_objext \
11941 conftest
$ac_exeext conftest.
$ac_ext
11942 LIBS
=$ac_check_lib_save_LIBS
11944 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11945 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11946 if test $ac_cv_lib_svld_dlopen = yes; then
11947 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11949 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11950 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11951 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11952 echo $ECHO_N "(cached) $ECHO_C" >&6
11954 ac_check_lib_save_LIBS
=$LIBS
11956 if test x
$gcc_no_link = xyes
; then
11957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11959 { (exit 1); exit 1; }; }
11961 cat >conftest.
$ac_ext <<_ACEOF
11964 cat confdefs.h
>>conftest.
$ac_ext
11965 cat >>conftest.
$ac_ext <<_ACEOF
11966 /* end confdefs.h. */
11968 /* Override any gcc2 internal prototype to avoid an error. */
11972 /* We use char because int might match the return type of a gcc2
11973 builtin and then its argument prototype would still apply. */
11983 rm -f conftest.
$ac_objext conftest
$ac_exeext
11984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11985 (eval $ac_link) 2>conftest.er1
11987 grep -v '^ *+' conftest.er1
>conftest.err
11989 cat conftest.err
>&5
11990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11991 (exit $ac_status); } &&
11992 { ac_try
='test -z "$ac_c_werror_flag"
11993 || test ! -s conftest.err'
11994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11995 (eval $ac_try) 2>&5
11997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11998 (exit $ac_status); }; } &&
11999 { ac_try
='test -s conftest$ac_exeext'
12000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12001 (eval $ac_try) 2>&5
12003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12004 (exit $ac_status); }; }; then
12005 ac_cv_lib_dld_dld_link
=yes
12007 echo "$as_me: failed program was:" >&5
12008 sed 's/^/| /' conftest.
$ac_ext >&5
12010 ac_cv_lib_dld_dld_link
=no
12012 rm -f conftest.err conftest.
$ac_objext \
12013 conftest
$ac_exeext conftest.
$ac_ext
12014 LIBS
=$ac_check_lib_save_LIBS
12016 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12017 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12018 if test $ac_cv_lib_dld_dld_link = yes; then
12019 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
12040 if test "x$lt_cv_dlopen" != xno
; then
12046 case $lt_cv_dlopen in
12048 save_CPPFLAGS
="$CPPFLAGS"
12049 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12051 save_LDFLAGS
="$LDFLAGS"
12052 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12055 LIBS
="$lt_cv_dlopen_libs $LIBS"
12057 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12058 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12059 if test "${lt_cv_dlopen_self+set}" = set; then
12060 echo $ECHO_N "(cached) $ECHO_C" >&6
12062 if test "$cross_compiling" = yes; then :
12063 lt_cv_dlopen_self
=cross
12065 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12066 lt_status
=$lt_dlunknown
12067 cat > conftest.
$ac_ext <<_LT_EOF
12068 #line 12068 "configure"
12069 #include "confdefs.h"
12078 # define LT_DLGLOBAL RTLD_GLOBAL
12081 # define LT_DLGLOBAL DL_GLOBAL
12083 # define LT_DLGLOBAL 0
12087 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12088 find out it does not work in some platform. */
12089 #ifndef LT_DLLAZY_OR_NOW
12091 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12094 # define LT_DLLAZY_OR_NOW DL_LAZY
12097 # define LT_DLLAZY_OR_NOW RTLD_NOW
12100 # define LT_DLLAZY_OR_NOW DL_NOW
12102 # define LT_DLLAZY_OR_NOW 0
12110 extern "C" void exit (int);
12113 void fnord() { int i=42;}
12116 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12117 int status = $lt_dlunknown;
12121 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12122 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12123 /* dlclose (self); */
12131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12132 (eval $ac_link) 2>&5
12134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12135 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12136 (.
/conftest
; exit; ) >&5 2>/dev
/null
12138 case x
$lt_status in
12139 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12140 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12141 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12144 # compilation failed
12145 lt_cv_dlopen_self
=no
12152 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12153 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12155 if test "x$lt_cv_dlopen_self" = xyes
; then
12156 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12157 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12158 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12159 if test "${lt_cv_dlopen_self_static+set}" = set; then
12160 echo $ECHO_N "(cached) $ECHO_C" >&6
12162 if test "$cross_compiling" = yes; then :
12163 lt_cv_dlopen_self_static
=cross
12165 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12166 lt_status
=$lt_dlunknown
12167 cat > conftest.
$ac_ext <<_LT_EOF
12168 #line 12168 "configure"
12169 #include "confdefs.h"
12178 # define LT_DLGLOBAL RTLD_GLOBAL
12181 # define LT_DLGLOBAL DL_GLOBAL
12183 # define LT_DLGLOBAL 0
12187 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12188 find out it does not work in some platform. */
12189 #ifndef LT_DLLAZY_OR_NOW
12191 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12194 # define LT_DLLAZY_OR_NOW DL_LAZY
12197 # define LT_DLLAZY_OR_NOW RTLD_NOW
12200 # define LT_DLLAZY_OR_NOW DL_NOW
12202 # define LT_DLLAZY_OR_NOW 0
12210 extern "C" void exit (int);
12213 void fnord() { int i=42;}
12216 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12217 int status = $lt_dlunknown;
12221 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12222 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12223 /* dlclose (self); */
12231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12232 (eval $ac_link) 2>&5
12234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12235 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12236 (.
/conftest
; exit; ) >&5 2>/dev
/null
12238 case x
$lt_status in
12239 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12240 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12241 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12244 # compilation failed
12245 lt_cv_dlopen_self_static
=no
12252 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12253 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12256 CPPFLAGS
="$save_CPPFLAGS"
12257 LDFLAGS
="$save_LDFLAGS"
12262 case $lt_cv_dlopen_self in
12263 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12264 *) enable_dlopen_self
=unknown
;;
12267 case $lt_cv_dlopen_self_static in
12268 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12269 *) enable_dlopen_self_static
=unknown
;;
12291 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12292 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
12293 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12294 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12295 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12296 echo "$as_me:$LINENO: result: yes" >&5
12297 echo "${ECHO_T}yes" >&6
12299 # FIXME - insert some real tests, host_os isn't really good enough
12302 if test -n "$STRIP" ; then
12303 striplib
="$STRIP -x"
12304 old_striplib
="$STRIP -S"
12305 echo "$as_me:$LINENO: result: yes" >&5
12306 echo "${ECHO_T}yes" >&6
12308 echo "$as_me:$LINENO: result: no" >&5
12309 echo "${ECHO_T}no" >&6
12313 echo "$as_me:$LINENO: result: no" >&5
12314 echo "${ECHO_T}no" >&6
12330 # Report which library types will actually be built
12331 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12332 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12333 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12334 echo "${ECHO_T}$can_build_shared" >&6
12336 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12337 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12338 test "$can_build_shared" = "no" && enable_shared
=no
12340 # On AIX, shared libraries and static libraries use the same namespace, and
12341 # are all built from PIC.
12344 test "$enable_shared" = yes && enable_static
=no
12345 if test -n "$RANLIB"; then
12346 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12347 postinstall_cmds
='$RANLIB $lib'
12352 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12353 test "$enable_shared" = yes && enable_static
=no
12357 echo "$as_me:$LINENO: result: $enable_shared" >&5
12358 echo "${ECHO_T}$enable_shared" >&6
12360 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12361 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12362 # Make sure either enable_shared or enable_static is yes.
12363 test "$enable_shared" = yes || enable_static
=yes
12364 echo "$as_me:$LINENO: result: $enable_static" >&5
12365 echo "${ECHO_T}$enable_static" >&6
12372 ac_cpp
='$CPP $CPPFLAGS'
12373 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12374 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12375 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12381 ac_cpp
='$CXXCPP $CPPFLAGS'
12382 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12383 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12384 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12386 archive_cmds_need_lc_CXX
=no
12387 allow_undefined_flag_CXX
=
12388 always_export_symbols_CXX
=no
12389 archive_expsym_cmds_CXX
=
12390 compiler_needs_object_CXX
=no
12391 export_dynamic_flag_spec_CXX
=
12392 hardcode_direct_CXX
=no
12393 hardcode_direct_absolute_CXX
=no
12394 hardcode_libdir_flag_spec_CXX
=
12395 hardcode_libdir_flag_spec_ld_CXX
=
12396 hardcode_libdir_separator_CXX
=
12397 hardcode_minus_L_CXX
=no
12398 hardcode_shlibpath_var_CXX
=unsupported
12399 hardcode_automatic_CXX
=no
12400 inherit_rpath_CXX
=no
12402 module_expsym_cmds_CXX
=
12403 link_all_deplibs_CXX
=unknown
12404 old_archive_cmds_CXX
=$old_archive_cmds
12405 no_undefined_flag_CXX
=
12406 whole_archive_flag_spec_CXX
=
12407 enable_shared_with_static_runtimes_CXX
=no
12409 # Source file extension for C++ test sources.
12412 # Object file extension for compiled C++ test sources.
12416 # No sense in running all these tests if we already determined that
12417 # the CXX compiler isn't working. Some variables (like enable_shared)
12418 # are currently assumed to apply to all compilers on this platform,
12419 # and will be corrupted by setting them based on a non-working compiler.
12420 if test "$_lt_caught_CXX_error" != yes; then
12421 # Code to be used in simple compile tests
12422 lt_simple_compile_test_code
="int some_variable = 0;"
12424 # Code to be used in simple link tests
12425 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12427 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12434 # If no C compiler was specified, use CC.
12437 # If no C compiler flags were specified, use CFLAGS.
12438 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12440 # Allow CC to be a program name with arguments.
12444 # save warnings/boilerplate of simple test code
12445 ac_outfile
=conftest.
$ac_objext
12446 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12447 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12448 _lt_compiler_boilerplate
=`cat conftest.err`
12451 ac_outfile
=conftest.
$ac_objext
12452 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12453 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12454 _lt_linker_boilerplate
=`cat conftest.err`
12458 # Allow CC to be a program name with arguments.
12463 lt_save_with_gnu_ld
=$with_gnu_ld
12464 lt_save_path_LD
=$lt_cv_path_LD
12465 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12466 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12468 $as_unset lt_cv_prog_gnu_ld
12470 if test -n "${lt_cv_path_LDCXX+set}"; then
12471 lt_cv_path_LD
=$lt_cv_path_LDCXX
12473 $as_unset lt_cv_path_LD
12475 test -z "${LDCXX+set}" || LD
=$LDCXX
12479 for cc_temp
in $compiler""; do
12481 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12482 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12487 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12490 if test -n "$compiler"; then
12491 # We don't want -fno-exception when compiling C++ code, so set the
12492 # no_builtin_flag separately
12493 if test "$GXX" = yes; then
12494 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12496 lt_prog_compiler_no_builtin_flag_CXX
=
12499 if test "$GXX" = yes; then
12500 # Set up default GNU C++ configuration
12504 # Check whether --with-gnu-ld or --without-gnu-ld was given.
12505 if test "${with_gnu_ld+set}" = set; then
12506 withval
="$with_gnu_ld"
12507 test "$withval" = no || with_gnu_ld
=yes
12512 if test "$GCC" = yes; then
12513 # Check if gcc -print-prog-name=ld gives a path.
12514 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12515 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
12518 # gcc leaves a trailing carriage return which upsets mingw
12519 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12521 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12524 # Accept absolute paths.
12526 re_direlt
='/[^/][^/]*/\.\./'
12527 # Canonicalize the pathname of ld
12528 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12529 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12530 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12532 test -z "$LD" && LD
="$ac_prog"
12535 # If it fails, then pretend we aren't using GCC.
12539 # If it is relative, then search for the first ld in PATH.
12540 with_gnu_ld
=unknown
12543 elif test "$with_gnu_ld" = yes; then
12544 echo "$as_me:$LINENO: checking for GNU ld" >&5
12545 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
12547 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12548 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
12550 if test "${lt_cv_path_LD+set}" = set; then
12551 echo $ECHO_N "(cached) $ECHO_C" >&6
12553 if test -z "$LD"; then
12554 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12555 for ac_dir
in $PATH; do
12557 test -z "$ac_dir" && ac_dir
=.
12558 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12559 lt_cv_path_LD
="$ac_dir/$ac_prog"
12560 # Check to see if the program is GNU ld. I'd rather use --version,
12561 # but apparently some variants of GNU ld only accept -v.
12562 # Break only if it was the GNU/non-GNU ld that we prefer.
12563 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12564 *GNU
* |
*'with BFD'*)
12565 test "$with_gnu_ld" != no
&& break
12568 test "$with_gnu_ld" != yes && break
12575 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12579 LD
="$lt_cv_path_LD"
12580 if test -n "$LD"; then
12581 echo "$as_me:$LINENO: result: $LD" >&5
12582 echo "${ECHO_T}$LD" >&6
12584 echo "$as_me:$LINENO: result: no" >&5
12585 echo "${ECHO_T}no" >&6
12587 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12588 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12589 { (exit 1); exit 1; }; }
12590 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12591 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
12592 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12593 echo $ECHO_N "(cached) $ECHO_C" >&6
12595 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12596 case `$LD -v 2>&1 </dev/null` in
12597 *GNU
* |
*'with BFD'*)
12598 lt_cv_prog_gnu_ld
=yes
12601 lt_cv_prog_gnu_ld
=no
12605 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12606 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
12607 with_gnu_ld
=$lt_cv_prog_gnu_ld
12615 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12616 # archiving commands below assume that GNU ld is being used.
12617 if test "$with_gnu_ld" = yes; then
12618 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12619 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'
12621 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12622 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12624 # If archive_cmds runs LD, not CC, wlarc should be empty
12625 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12626 # investigate it a little bit more. (MM)
12629 # ancient GNU ld didn't support --whole-archive et. al.
12630 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12631 $GREP 'no-whole-archive' > /dev
/null
; then
12632 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12634 whole_archive_flag_spec_CXX
=
12640 # A generic and very simple default shared library creation
12641 # command for GNU C++ for the case where it uses the native
12642 # linker, instead of GNU ld. If possible, this setting should
12643 # overridden to take advantage of the native linker features on
12644 # the platform it is being used on.
12645 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12648 # Commands to make compiler produce verbose output that lists
12649 # what "hidden" libraries, object files and flags are used when
12650 # linking a shared library.
12651 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12659 # PORTME: fill in a description of your system's C++ link characteristics
12660 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12661 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12665 # FIXME: insert proper C++ library support
12669 if test "$host_cpu" = ia64
; then
12670 # On IA64, the linker does run time linking by default, so we don't
12671 # have to do anything special.
12672 aix_use_runtimelinking
=no
12673 exp_sym_flag
='-Bexport'
12676 aix_use_runtimelinking
=no
12678 # Test if we are trying to use run time linking or normal
12679 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12680 # need to do runtime linking.
12681 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12682 for ld_flag
in $LDFLAGS; do
12685 aix_use_runtimelinking
=yes
12693 exp_sym_flag
='-bexport'
12694 no_entry_flag
='-bnoentry'
12697 # When large executables or shared objects are built, AIX ld can
12698 # have problems creating the table of contents. If linking a library
12699 # or program results in "error TOC overflow" add -mminimal-toc to
12700 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12701 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12703 archive_cmds_CXX
=''
12704 hardcode_direct_CXX
=yes
12705 hardcode_direct_absolute_CXX
=yes
12706 hardcode_libdir_separator_CXX
=':'
12707 link_all_deplibs_CXX
=yes
12708 file_list_spec_CXX
='${wl}-f,'
12710 if test "$GXX" = yes; then
12711 case $host_os in aix4.
[012]|aix4.
[012].
*)
12712 # We only want to do this on AIX 4.2 and lower, the check
12713 # below for broken collect2 doesn't work under 4.3+
12714 collect2name
=`${CC} -print-prog-name=collect2`
12715 if test -f "$collect2name" &&
12716 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12718 # We have reworked collect2
12721 # We have old collect2
12722 hardcode_direct_CXX
=unsupported
12723 # It fails to find uninstalled libraries when the uninstalled
12724 # path is not listed in the libpath. Setting hardcode_minus_L
12725 # to unsupported forces relinking
12726 hardcode_minus_L_CXX
=yes
12727 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12728 hardcode_libdir_separator_CXX
=
12731 shared_flag
='-shared'
12732 if test "$aix_use_runtimelinking" = yes; then
12733 shared_flag
="$shared_flag "'${wl}-G'
12737 if test "$host_cpu" = ia64
; then
12738 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12739 # chokes on -Wl,-G. The following line is correct:
12742 if test "$aix_use_runtimelinking" = yes; then
12743 shared_flag
='${wl}-G'
12745 shared_flag
='${wl}-bM:SRE'
12750 # It seems that -bexpall does not export symbols beginning with
12751 # underscore (_), so it is better to generate a list of symbols to
12753 always_export_symbols_CXX
=yes
12754 if test "$aix_use_runtimelinking" = yes; then
12755 # Warning - without using the other runtime loading flags (-brtl),
12756 # -berok will link without error, but may produce a broken library.
12757 allow_undefined_flag_CXX
='-berok'
12758 # Determine the default libpath from the value encoded in an empty
12760 if test x
$gcc_no_link = xyes
; then
12761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12763 { (exit 1); exit 1; }; }
12765 cat >conftest.
$ac_ext <<_ACEOF
12768 cat confdefs.h
>>conftest.
$ac_ext
12769 cat >>conftest.
$ac_ext <<_ACEOF
12770 /* end confdefs.h. */
12780 rm -f conftest.
$ac_objext conftest
$ac_exeext
12781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12782 (eval $ac_link) 2>conftest.er1
12784 grep -v '^ *+' conftest.er1
>conftest.err
12786 cat conftest.err
>&5
12787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12788 (exit $ac_status); } &&
12789 { ac_try
='test -z "$ac_cxx_werror_flag"
12790 || test ! -s conftest.err'
12791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12792 (eval $ac_try) 2>&5
12794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12795 (exit $ac_status); }; } &&
12796 { ac_try
='test -s conftest$ac_exeext'
12797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12798 (eval $ac_try) 2>&5
12800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12801 (exit $ac_status); }; }; then
12803 lt_aix_libpath_sed
='
12804 /Import File Strings/,/^$/ {
12810 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12811 # Check for a 64-bit object if we didn't find anything.
12812 if test -z "$aix_libpath"; then
12813 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12816 echo "$as_me: failed program was:" >&5
12817 sed 's/^/| /' conftest.
$ac_ext >&5
12820 rm -f conftest.err conftest.
$ac_objext \
12821 conftest
$ac_exeext conftest.
$ac_ext
12822 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12824 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12826 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"
12828 if test "$host_cpu" = ia64
; then
12829 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12830 allow_undefined_flag_CXX
="-z nodefs"
12831 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"
12833 # Determine the default libpath from the value encoded in an
12834 # empty executable.
12835 if test x
$gcc_no_link = xyes
; then
12836 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12838 { (exit 1); exit 1; }; }
12840 cat >conftest.
$ac_ext <<_ACEOF
12843 cat confdefs.h
>>conftest.
$ac_ext
12844 cat >>conftest.
$ac_ext <<_ACEOF
12845 /* end confdefs.h. */
12855 rm -f conftest.
$ac_objext conftest
$ac_exeext
12856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12857 (eval $ac_link) 2>conftest.er1
12859 grep -v '^ *+' conftest.er1
>conftest.err
12861 cat conftest.err
>&5
12862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12863 (exit $ac_status); } &&
12864 { ac_try
='test -z "$ac_cxx_werror_flag"
12865 || test ! -s conftest.err'
12866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12867 (eval $ac_try) 2>&5
12869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12870 (exit $ac_status); }; } &&
12871 { ac_try
='test -s conftest$ac_exeext'
12872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12873 (eval $ac_try) 2>&5
12875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12876 (exit $ac_status); }; }; then
12878 lt_aix_libpath_sed
='
12879 /Import File Strings/,/^$/ {
12885 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12886 # Check for a 64-bit object if we didn't find anything.
12887 if test -z "$aix_libpath"; then
12888 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12891 echo "$as_me: failed program was:" >&5
12892 sed 's/^/| /' conftest.
$ac_ext >&5
12895 rm -f conftest.err conftest.
$ac_objext \
12896 conftest
$ac_exeext conftest.
$ac_ext
12897 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12899 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12900 # Warning - without using the other run time loading flags,
12901 # -berok will link without error, but may produce a broken library.
12902 no_undefined_flag_CXX
=' ${wl}-bernotok'
12903 allow_undefined_flag_CXX
=' ${wl}-berok'
12904 # Exported symbols can be pulled into shared objects from archives
12905 whole_archive_flag_spec_CXX
='$convenience'
12906 archive_cmds_need_lc_CXX
=yes
12907 # This is similar to how AIX traditionally builds its shared
12909 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'
12915 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12916 allow_undefined_flag_CXX
=unsupported
12917 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12918 # support --undefined. This deserves some investigation. FIXME
12919 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12926 case $cc_basename in
12928 # FIXME: insert proper C++ library support
12934 cygwin
* | mingw
* | pw32
*)
12935 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12936 # as there is no search path for DLLs.
12937 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12938 allow_undefined_flag_CXX
=unsupported
12939 always_export_symbols_CXX
=no
12940 enable_shared_with_static_runtimes_CXX
=yes
12942 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12943 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'
12944 # If the export-symbols file already is a .def file (1st line
12945 # is EXPORTS), use it as is; otherwise, prepend...
12946 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12947 cp $export_symbols $output_objdir/$soname.def;
12949 echo EXPORTS > $output_objdir/$soname.def;
12950 cat $export_symbols >> $output_objdir/$soname.def;
12952 $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'
12957 darwin
* | rhapsody
*)
12959 rhapsody
* | darwin1.
[012])
12960 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
12963 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
12965 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12968 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
12973 archive_cmds_need_lc_CXX
=no
12974 hardcode_direct_CXX
=no
12975 hardcode_automatic_CXX
=yes
12976 hardcode_shlibpath_var_CXX
=unsupported
12977 whole_archive_flag_spec_CXX
=''
12978 link_all_deplibs_CXX
=yes
12980 if test "$GXX" = yes ; then
12981 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
12982 echo $ECHO_N "(cached) $ECHO_C" >&6
12984 lt_cv_apple_cc_single_mod
=no
12985 if test -z "${LT_MULTI_MODULE}"; then
12986 # By default we will add the -single_module flag. You can override
12987 # by either setting the environment variable LT_MULTI_MODULE
12988 # non-empty at configure time, or by adding -multi-module to the
12990 echo "int foo(void){return 1;}" > conftest.c
12991 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
12992 -dynamiclib ${wl}-single_module conftest.c
12993 if test -f libconftest.dylib
; then
12994 lt_cv_apple_cc_single_mod
=yes
12995 rm libconftest.dylib
12997 rm conftest.
$ac_ext
13001 output_verbose_link_cmd
=echo
13002 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
13003 archive_cmds_CXX
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13004 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}'
13006 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'
13007 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}'
13009 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13010 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}'
13012 case $cc_basename in
13014 output_verbose_link_cmd
=echo
13015 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'
13016 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13017 # Don't fix this by using the ld -exported_symbols_list flag,
13018 # it doesn't exist in older darwin lds
13019 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}'
13020 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}'
13030 case $cc_basename in
13032 # FIXME: insert proper C++ library support
13036 # Green Hills C++ Compiler
13037 # FIXME: insert proper C++ library support
13041 # FIXME: insert proper C++ library support
13048 # C++ shared libraries reported to be fairly broken before
13054 archive_cmds_need_lc_CXX
=no
13057 freebsd
* | dragonfly
*)
13058 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13067 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13068 hardcode_libdir_separator_CXX
=:
13069 export_dynamic_flag_spec_CXX
='${wl}-E'
13070 hardcode_direct_CXX
=yes
13071 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13072 # but as the default
13073 # location of the library.
13075 case $cc_basename in
13077 # FIXME: insert proper C++ library support
13081 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'
13082 # Commands to make compiler produce verbose output that lists
13083 # what "hidden" libraries, object files and flags are used when
13084 # linking a shared library.
13086 # There doesn't appear to be a way to prevent this compiler from
13087 # explicitly linking system object files so we need to strip them
13088 # from the output so that they don't get included in the library
13090 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'
13093 if test "$GXX" = yes; then
13094 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'
13096 # FIXME: insert proper C++ library support
13104 if test $with_gnu_ld = no
; then
13105 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13106 hardcode_libdir_separator_CXX
=:
13112 export_dynamic_flag_spec_CXX
='${wl}-E'
13118 hardcode_direct_CXX
=no
13119 hardcode_shlibpath_var_CXX
=no
13122 hardcode_direct_CXX
=yes
13123 hardcode_direct_absolute_CXX
=yes
13124 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13125 # but as the default
13126 # location of the library.
13130 case $cc_basename in
13132 # FIXME: insert proper C++ library support
13138 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13141 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13144 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13147 # Commands to make compiler produce verbose output that lists
13148 # what "hidden" libraries, object files and flags are used when
13149 # linking a shared library.
13151 # There doesn't appear to be a way to prevent this compiler from
13152 # explicitly linking system object files so we need to strip them
13153 # from the output so that they don't get included in the library
13155 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'
13158 if test "$GXX" = yes; then
13159 if test $with_gnu_ld = no
; then
13162 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13165 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13168 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'
13173 # FIXME: insert proper C++ library support
13181 hardcode_direct_CXX
=no
13182 hardcode_shlibpath_var_CXX
=no
13183 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13184 export_dynamic_flag_spec_CXX
='${wl}-E'
13185 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13186 # Instead, shared libraries are loaded at an image base (0x10000000 by
13187 # default) and relocated if they conflict, which is a slow very memory
13188 # consuming and fragmenting process. To avoid this, we pick a random,
13189 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13190 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13191 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'
13192 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'
13195 case $cc_basename in
13198 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'
13200 # Archives containing C++ object files must be created using
13201 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13202 # necessary to make sure instantiated templates are included
13204 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13207 if test "$GXX" = yes; then
13208 if test "$with_gnu_ld" = no
; then
13209 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'
13211 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'
13214 link_all_deplibs_CXX
=yes
13217 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13218 hardcode_libdir_separator_CXX
=:
13219 inherit_rpath_CXX
=yes
13222 linux
* | k
*bsd
*-gnu)
13223 case $cc_basename in
13225 # Kuck and Associates, Inc. (KAI) C++ Compiler
13227 # KCC will only create a shared library if the output file
13228 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13229 # to its proper name (with version) after linking.
13230 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'
13231 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'
13232 # Commands to make compiler produce verbose output that lists
13233 # what "hidden" libraries, object files and flags are used when
13234 # linking a shared library.
13236 # There doesn't appear to be a way to prevent this compiler from
13237 # explicitly linking system object files so we need to strip them
13238 # from the output so that they don't get included in the library
13240 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'
13242 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13243 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13245 # Archives containing C++ object files must be created using
13246 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13247 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13252 # version 8.0 and above of icpc choke on multiply defined symbols
13253 # if we add $predep_objects and $postdep_objects, however 7.1 and
13254 # earlier do not add the objects themselves.
13255 case `$CC -V 2>&1` in
13257 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13258 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'
13260 *) # Version 8.0 or newer
13263 ia64
*) tmp_idyn
=' -i_dynamic';;
13265 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13266 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'
13269 archive_cmds_need_lc_CXX
=no
13270 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13271 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13272 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13275 # Portland Group C++ compiler
13278 prelink_cmds_CXX
='tpldir=Template.dir~
13280 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13281 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13282 old_archive_cmds_CXX
='tpldir=Template.dir~
13284 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13285 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13287 archive_cmds_CXX
='tpldir=Template.dir~
13289 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13290 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13291 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13293 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13294 $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'
13296 *) # Version 6 will use weak symbols
13297 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13298 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'
13302 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13303 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13304 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'
13308 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13309 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'
13311 runpath_var
=LD_RUN_PATH
13312 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13313 hardcode_libdir_separator_CXX
=:
13315 # Commands to make compiler produce verbose output that lists
13316 # what "hidden" libraries, object files and flags are used when
13317 # linking a shared library.
13319 # There doesn't appear to be a way to prevent this compiler from
13320 # explicitly linking system object files so we need to strip them
13321 # from the output so that they don't get included in the library
13323 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'
13326 case `$CC -V 2>&1 | sed 5q` in
13329 no_undefined_flag_CXX
=' -zdefs'
13330 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13331 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'
13332 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13333 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'
13334 compiler_needs_object_CXX
=yes
13336 # Not sure whether something based on
13337 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13339 output_verbose_link_cmd
='echo'
13341 # Archives containing C++ object files must be created using
13342 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13343 # necessary to make sure instantiated templates are included
13345 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13353 # FIXME: insert proper C++ library support
13358 # FIXME: insert proper C++ library support
13363 case $cc_basename in
13365 # FIXME: insert proper C++ library support
13369 # FIXME: insert proper C++ library support
13376 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13377 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13379 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13380 hardcode_direct_CXX
=yes
13381 hardcode_shlibpath_var_CXX
=no
13383 # Workaround some broken pre-1.5 toolchains
13384 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13392 # C++ shared libraries are fairly broken
13397 hardcode_direct_CXX
=yes
13398 hardcode_shlibpath_var_CXX
=no
13399 hardcode_direct_absolute_CXX
=yes
13400 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13401 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13402 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13403 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13404 export_dynamic_flag_spec_CXX
='${wl}-E'
13405 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13407 output_verbose_link_cmd
=echo
13410 osf3
* | osf4
* | osf5
*)
13411 case $cc_basename in
13413 # Kuck and Associates, Inc. (KAI) C++ Compiler
13415 # KCC will only create a shared library if the output file
13416 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13417 # to its proper name (with version) after linking.
13418 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'
13420 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13421 hardcode_libdir_separator_CXX
=:
13423 # Archives containing C++ object files must be created using
13424 # the KAI C++ compiler.
13426 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13427 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13431 # Rational C++ 2.4.1
13432 # FIXME: insert proper C++ library support
13438 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13439 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'
13440 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13443 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13444 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'
13445 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13446 echo "-hidden">> $lib.exp~
13447 $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~
13449 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13453 hardcode_libdir_separator_CXX
=:
13455 # Commands to make compiler produce verbose output that lists
13456 # what "hidden" libraries, object files and flags are used when
13457 # linking a shared library.
13459 # There doesn't appear to be a way to prevent this compiler from
13460 # explicitly linking system object files so we need to strip them
13461 # from the output so that they don't get included in the library
13463 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'
13466 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13467 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13470 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'
13473 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'
13477 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13478 hardcode_libdir_separator_CXX
=:
13480 # Commands to make compiler produce verbose output that lists
13481 # what "hidden" libraries, object files and flags are used when
13482 # linking a shared library.
13483 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13486 # FIXME: insert proper C++ library support
13494 # FIXME: insert proper C++ library support
13499 case $cc_basename in
13502 # FIXME: insert proper C++ library support
13507 # FIXME: insert proper C++ library support
13511 # FIXME: insert proper C++ library support
13518 case $cc_basename in
13520 # Sun C++ 4.2, 5.x and Centerline C++
13521 archive_cmds_need_lc_CXX
=yes
13522 no_undefined_flag_CXX
=' -zdefs'
13523 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13524 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13525 $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'
13527 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13528 hardcode_shlibpath_var_CXX
=no
13530 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13532 # The compiler driver will combine and reorder linker options,
13533 # but understands `-z linker_flag'.
13534 # Supported since Solaris 2.6 (maybe 2.5.1?)
13535 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13538 link_all_deplibs_CXX
=yes
13540 output_verbose_link_cmd
='echo'
13542 # Archives containing C++ object files must be created using
13543 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13544 # necessary to make sure instantiated templates are included
13546 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13549 # Green Hills C++ Compiler
13550 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13552 # The C++ compiler must be used to create the archive.
13553 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13556 # GNU C++ compiler with Solaris linker
13557 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13558 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13559 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13560 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13561 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13562 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13564 # Commands to make compiler produce verbose output that lists
13565 # what "hidden" libraries, object files and flags are used when
13566 # linking a shared library.
13567 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13569 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13571 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13572 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13573 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13575 # Commands to make compiler produce verbose output that lists
13576 # what "hidden" libraries, object files and flags are used when
13577 # linking a shared library.
13578 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13581 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13583 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13585 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13593 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13594 no_undefined_flag_CXX
='${wl}-z,text'
13595 archive_cmds_need_lc_CXX
=no
13596 hardcode_shlibpath_var_CXX
=no
13597 runpath_var
='LD_RUN_PATH'
13599 case $cc_basename in
13601 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13602 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13605 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13606 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13611 sysv5
* | sco3.2v5
* | sco5v6
*)
13612 # Note: We can NOT use -z defs as we might desire, because we do not
13613 # link with -lc, and that would cause any symbols used from libc to
13614 # always be unresolved, which means just about no library would
13615 # ever link correctly. If we're not using GNU ld we use -z text
13616 # though, which does catch some bad symbols but isn't as heavy-handed
13618 no_undefined_flag_CXX
='${wl}-z,text'
13619 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13620 archive_cmds_need_lc_CXX
=no
13621 hardcode_shlibpath_var_CXX
=no
13622 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13623 hardcode_libdir_separator_CXX
=':'
13624 link_all_deplibs_CXX
=yes
13625 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13626 runpath_var
='LD_RUN_PATH'
13628 case $cc_basename in
13630 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13631 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13634 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13635 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13641 case $cc_basename in
13643 # NonStop-UX NCC 3.20
13644 # FIXME: insert proper C++ library support
13648 # FIXME: insert proper C++ library support
13655 # FIXME: insert proper C++ library support
13660 # FIXME: insert proper C++ library support
13665 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13666 echo "${ECHO_T}$ld_shlibs_CXX" >&6
13667 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13673 ## There is no encapsulation within the following macros, do not change
13674 ## the running order or otherwise move them around unless you know exactly
13675 ## what you are doing...
13676 # Dependencies to place before and after the object being linked:
13677 predep_objects_CXX
=
13678 postdep_objects_CXX
=
13681 compiler_lib_search_path_CXX
=
13683 cat > conftest.
$ac_ext <<_LT_EOF
13687 Foo (void) { a = 0; }
13693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13694 (eval $ac_compile) 2>&5
13696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13697 (exit $ac_status); }; then
13698 # Parse the compiler output and extract the necessary
13699 # objects, libraries and library flags.
13701 # Sentinel used to keep track of whether or not we are before
13702 # the conftest object file.
13703 pre_test_object_deps_done
=no
13705 # The `*' in the case matches for architectures that use `case' in
13706 # $output_verbose_cmd can trigger glob expansion during the loop
13707 # eval without this substitution.
13708 output_verbose_link_cmd
=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
13710 for p
in `eval $output_verbose_link_cmd`; do
13714 # Some compilers place space between "-{L,R}" and the path.
13715 # Remove the space.
13716 if test $p = "-L" ||
13717 test $p = "-R"; then
13724 if test "$pre_test_object_deps_done" = no
; then
13727 # Internal compiler library paths should come after those
13728 # provided the user. The postdeps already come after the
13729 # user supplied libs so there is no need to process them.
13730 if test -z "$compiler_lib_search_path_CXX"; then
13731 compiler_lib_search_path_CXX
="${prev}${p}"
13733 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13736 # The "-l" case would never come before the object being
13737 # linked, so don't bother handling this case.
13740 if test -z "$postdeps_CXX"; then
13741 postdeps_CXX
="${prev}${p}"
13743 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13749 # This assumes that the test object file only shows up
13750 # once in the compiler output.
13751 if test "$p" = "conftest.$objext"; then
13752 pre_test_object_deps_done
=yes
13756 if test "$pre_test_object_deps_done" = no
; then
13757 if test -z "$predep_objects_CXX"; then
13758 predep_objects_CXX
="$p"
13760 predep_objects_CXX
="$predep_objects_CXX $p"
13763 if test -z "$postdep_objects_CXX"; then
13764 postdep_objects_CXX
="$p"
13766 postdep_objects_CXX
="$postdep_objects_CXX $p"
13771 *) ;; # Ignore the rest.
13779 echo "libtool.m4: error: problem compiling CXX test program"
13782 $RM -f confest.
$objext
13784 # PORTME: override above test on systems where it is broken
13787 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13788 # hack all around it, let's just trust "g++" to DTRT.
13789 predep_objects_CXX
=
13790 postdep_objects_CXX
=
13795 case `$CC -V 2>&1 | sed 5q` in
13799 # The more standards-conforming stlport4 library is
13800 # incompatible with the Cstd library. Avoid specifying
13801 # it if it's in CXXFLAGS. Ignore libCrun as
13802 # -library=stlport4 depends on it.
13803 case " $CXX $CXXFLAGS " in
13804 *" -library=stlport4 "*)
13805 solaris_use_stlport4
=yes
13809 if test "$solaris_use_stlport4" != yes; then
13810 postdeps_CXX
='-library=Cstd -library=Crun'
13817 case $cc_basename in
13819 # The more standards-conforming stlport4 library is
13820 # incompatible with the Cstd library. Avoid specifying
13821 # it if it's in CXXFLAGS. Ignore libCrun as
13822 # -library=stlport4 depends on it.
13823 case " $CXX $CXXFLAGS " in
13824 *" -library=stlport4 "*)
13825 solaris_use_stlport4
=yes
13829 # Adding this requires a known-good setup of shared libraries for
13830 # Sun compiler versions before 5.6, else PIC objects from an old
13831 # archive will be linked into the output, leading to subtle bugs.
13832 if test "$solaris_use_stlport4" != yes; then
13833 postdeps_CXX
='-library=Cstd -library=Crun'
13841 case " $postdeps_CXX " in
13842 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13870 lt_prog_compiler_wl_CXX
=
13871 lt_prog_compiler_pic_CXX
=
13872 lt_prog_compiler_static_CXX
=
13874 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13875 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13877 # C++ specific cases for pic, static, wl, etc.
13878 if test "$GXX" = yes; then
13879 lt_prog_compiler_wl_CXX
='-Wl,'
13880 lt_prog_compiler_static_CXX
='-static'
13884 # All AIX code is PIC.
13885 if test "$host_cpu" = ia64
; then
13886 # AIX 5 now supports IA64 processor
13887 lt_prog_compiler_static_CXX
='-Bstatic'
13891 if test "$host_cpu" = m68k
; then
13892 # FIXME: we need at least 68020 code to build shared libraries, but
13893 # adding the `-m68020' flag to GCC prevents building anything better,
13895 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13898 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13899 # PIC is the default for these OSes.
13901 mingw
* | cygwin
* | os2
* | pw32
*)
13902 # This hack is so that the source file can tell whether it is being
13903 # built for inclusion in a dll (and should export symbols for example).
13904 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13905 # (--disable-auto-import) libraries
13906 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13908 darwin
* | rhapsody
*)
13909 # PIC is the default on this platform
13910 # Common symbols not allowed in MH_DYLIB files
13911 lt_prog_compiler_pic_CXX
='-fno-common'
13914 # DJGPP does not support shared libraries at all
13915 lt_prog_compiler_pic_CXX
=
13918 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13919 # Instead, we relocate shared libraries at runtime.
13922 if test -d /usr
/nec
; then
13923 lt_prog_compiler_pic_CXX
=-Kconform_pic
13927 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13928 # not for PA HP-UX.
13933 lt_prog_compiler_pic_CXX
='-fPIC'
13938 # QNX uses GNU C++, but need to define -shared option too, otherwise
13939 # it will coredump.
13940 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13943 lt_prog_compiler_pic_CXX
='-fPIC'
13949 # All AIX code is PIC.
13950 if test "$host_cpu" = ia64
; then
13951 # AIX 5 now supports IA64 processor
13952 lt_prog_compiler_static_CXX
='-Bstatic'
13954 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13958 case $cc_basename in
13960 # Green Hills C++ Compiler
13961 # _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"
13966 # PIC is the default on this platform
13967 # Common symbols not allowed in MH_DYLIB files
13968 case $cc_basename in
13970 lt_prog_compiler_pic_CXX
='-qnocommon'
13971 lt_prog_compiler_wl_CXX
='-Wl,'
13976 case $cc_basename in
13978 lt_prog_compiler_pic_CXX
='-KPIC'
13981 # Green Hills C++ Compiler
13982 lt_prog_compiler_pic_CXX
='-pic'
13988 freebsd
* | dragonfly
*)
13989 # FreeBSD uses GNU C++
13991 hpux9
* | hpux10
* | hpux11
*)
13992 case $cc_basename in
13994 lt_prog_compiler_wl_CXX
='-Wl,'
13995 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13996 if test "$host_cpu" != ia64
; then
13997 lt_prog_compiler_pic_CXX
='+Z'
14001 lt_prog_compiler_wl_CXX
='-Wl,'
14002 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14008 lt_prog_compiler_pic_CXX
='+Z'
14017 # This is c89, which is MS Visual C++ (no shared libs)
14018 # Anyone wants to do a port?
14020 irix5
* | irix6
* | nonstopux
*)
14021 case $cc_basename in
14023 lt_prog_compiler_wl_CXX
='-Wl,'
14024 lt_prog_compiler_static_CXX
='-non_shared'
14025 # CC pic flag -KPIC is the default.
14031 linux
* | k
*bsd
*-gnu)
14032 case $cc_basename in
14035 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14036 lt_prog_compiler_pic_CXX
='-fPIC'
14040 lt_prog_compiler_wl_CXX
='-Wl,'
14041 lt_prog_compiler_pic_CXX
='-KPIC'
14042 lt_prog_compiler_static_CXX
='-static'
14045 # Portland Group C++ compiler
14046 lt_prog_compiler_wl_CXX
='-Wl,'
14047 lt_prog_compiler_pic_CXX
='-fpic'
14048 lt_prog_compiler_static_CXX
='-Bstatic'
14052 # Make sure the PIC flag is empty. It appears that all Alpha
14053 # Linux and Compaq Tru64 Unix objects are PIC.
14054 lt_prog_compiler_pic_CXX
=
14055 lt_prog_compiler_static_CXX
='-non_shared'
14058 case `$CC -V 2>&1 | sed 5q` in
14061 lt_prog_compiler_pic_CXX
='-KPIC'
14062 lt_prog_compiler_static_CXX
='-Bstatic'
14063 lt_prog_compiler_wl_CXX
='-Qoption ld '
14074 case $cc_basename in
14076 lt_prog_compiler_pic_CXX
='-W c,exportall'
14085 # QNX uses GNU C++, but need to define -shared option too, otherwise
14086 # it will coredump.
14087 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14089 osf3
* | osf4
* | osf5
*)
14090 case $cc_basename in
14092 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14095 # Rational C++ 2.4.1
14096 lt_prog_compiler_pic_CXX
='-pic'
14099 # Digital/Compaq C++
14100 lt_prog_compiler_wl_CXX
='-Wl,'
14101 # Make sure the PIC flag is empty. It appears that all Alpha
14102 # Linux and Compaq Tru64 Unix objects are PIC.
14103 lt_prog_compiler_pic_CXX
=
14104 lt_prog_compiler_static_CXX
='-non_shared'
14113 case $cc_basename in
14115 # Sun C++ 4.2, 5.x and Centerline C++
14116 lt_prog_compiler_pic_CXX
='-KPIC'
14117 lt_prog_compiler_static_CXX
='-Bstatic'
14118 lt_prog_compiler_wl_CXX
='-Qoption ld '
14121 # Green Hills C++ Compiler
14122 lt_prog_compiler_pic_CXX
='-PIC'
14129 case $cc_basename in
14132 lt_prog_compiler_pic_CXX
='-pic'
14133 lt_prog_compiler_static_CXX
='-Bstatic'
14137 lt_prog_compiler_pic_CXX
='-pic'
14143 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14144 case $cc_basename in
14146 lt_prog_compiler_wl_CXX
='-Wl,'
14147 lt_prog_compiler_pic_CXX
='-KPIC'
14148 lt_prog_compiler_static_CXX
='-Bstatic'
14153 case $cc_basename in
14155 # NonStop-UX NCC 3.20
14156 lt_prog_compiler_pic_CXX
='-KPIC'
14165 lt_prog_compiler_can_build_shared_CXX
=no
14171 # For platforms which do not support PIC, -DPIC is meaningless:
14173 lt_prog_compiler_pic_CXX
=
14176 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14179 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14180 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
14185 # Check to make sure the PIC flag actually works.
14187 if test -n "$lt_prog_compiler_pic_CXX"; then
14188 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14189 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
14190 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
14191 echo $ECHO_N "(cached) $ECHO_C" >&6
14193 lt_prog_compiler_pic_works_CXX
=no
14194 ac_outfile
=conftest.
$ac_objext
14195 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14196 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14197 # Insert the option either (1) after the last *FLAGS variable, or
14198 # (2) before a word containing "conftest.", or (3) at the end.
14199 # Note that $ac_compile itself does not contain backslashes and begins
14200 # with a dollar sign (not a hyphen), so the echo should work correctly.
14201 # The option is referenced via a variable to avoid confusing sed.
14202 lt_compile
=`echo "$ac_compile" | $SED \
14203 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14204 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14205 -e 's:$: $lt_compiler_flag:'`
14206 (eval echo "\"\$as_me:14206: $lt_compile\"" >&5)
14207 (eval "$lt_compile" 2>conftest.err
)
14209 cat conftest.err
>&5
14210 echo "$as_me:14210: \$? = $ac_status" >&5
14211 if (exit $ac_status) && test -s "$ac_outfile"; then
14212 # The compiler can only warn and ignore the option if not recognized
14213 # So say no if there are warnings other than the usual output.
14214 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14215 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14216 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14217 lt_prog_compiler_pic_works_CXX
=yes
14223 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
14224 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
14226 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
14227 case $lt_prog_compiler_pic_CXX in
14229 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14232 lt_prog_compiler_pic_CXX
=
14233 lt_prog_compiler_can_build_shared_CXX
=no
14241 # Check to make sure the static flag actually works.
14243 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14244 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14245 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
14246 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
14247 echo $ECHO_N "(cached) $ECHO_C" >&6
14249 lt_prog_compiler_static_works_CXX
=no
14250 save_LDFLAGS
="$LDFLAGS"
14251 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14252 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14253 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14254 # The linker can only warn and ignore the option if not recognized
14255 # So say no if there are warnings
14256 if test -s conftest.err
; then
14257 # Append any errors to the config.log.
14258 cat conftest.err
1>&5
14259 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14260 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14261 if diff conftest.exp conftest.er2
>/dev
/null
; then
14262 lt_prog_compiler_static_works_CXX
=yes
14265 lt_prog_compiler_static_works_CXX
=yes
14269 LDFLAGS
="$save_LDFLAGS"
14272 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
14273 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
14275 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
14278 lt_prog_compiler_static_CXX
=
14284 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14285 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
14286 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14287 echo $ECHO_N "(cached) $ECHO_C" >&6
14289 lt_cv_prog_compiler_c_o_CXX
=no
14290 $RM -r conftest
2>/dev
/null
14294 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14296 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14297 # Insert the option either (1) after the last *FLAGS variable, or
14298 # (2) before a word containing "conftest.", or (3) at the end.
14299 # Note that $ac_compile itself does not contain backslashes and begins
14300 # with a dollar sign (not a hyphen), so the echo should work correctly.
14301 lt_compile
=`echo "$ac_compile" | $SED \
14302 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14303 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14304 -e 's:$: $lt_compiler_flag:'`
14305 (eval echo "\"\$as_me:14305: $lt_compile\"" >&5)
14306 (eval "$lt_compile" 2>out
/conftest.err
)
14308 cat out
/conftest.err
>&5
14309 echo "$as_me:14309: \$? = $ac_status" >&5
14310 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14312 # The compiler can only warn and ignore the option if not recognized
14313 # So say no if there are warnings
14314 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14315 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14316 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14317 lt_cv_prog_compiler_c_o_CXX
=yes
14322 # SGI C++ compiler will create directory out/ii_files/ for
14323 # template instantiation
14324 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14325 $RM out
/* && rmdir out
14331 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14332 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
14336 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14337 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
14338 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14339 echo $ECHO_N "(cached) $ECHO_C" >&6
14341 lt_cv_prog_compiler_c_o_CXX
=no
14342 $RM -r conftest
2>/dev
/null
14346 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14348 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14349 # Insert the option either (1) after the last *FLAGS variable, or
14350 # (2) before a word containing "conftest.", or (3) at the end.
14351 # Note that $ac_compile itself does not contain backslashes and begins
14352 # with a dollar sign (not a hyphen), so the echo should work correctly.
14353 lt_compile
=`echo "$ac_compile" | $SED \
14354 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14355 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14356 -e 's:$: $lt_compiler_flag:'`
14357 (eval echo "\"\$as_me:14357: $lt_compile\"" >&5)
14358 (eval "$lt_compile" 2>out
/conftest.err
)
14360 cat out
/conftest.err
>&5
14361 echo "$as_me:14361: \$? = $ac_status" >&5
14362 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14364 # The compiler can only warn and ignore the option if not recognized
14365 # So say no if there are warnings
14366 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14367 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14368 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14369 lt_cv_prog_compiler_c_o_CXX
=yes
14374 # SGI C++ compiler will create directory out/ii_files/ for
14375 # template instantiation
14376 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14377 $RM out
/* && rmdir out
14383 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14384 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
14389 hard_links
="nottested"
14390 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14391 # do not overwrite the value of need_locks provided by the user
14392 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14393 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
14396 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14398 ln conftest.a conftest.b
2>&5 || hard_links
=no
14399 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14400 echo "$as_me:$LINENO: result: $hard_links" >&5
14401 echo "${ECHO_T}$hard_links" >&6
14402 if test "$hard_links" = no
; then
14403 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14404 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14413 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14414 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
14416 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14419 # If we're using GNU nm, then we don't want the "-C" option.
14420 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14421 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14422 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'
14424 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'
14428 export_symbols_cmds_CXX
="$ltdll_cmds"
14431 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'
14434 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14438 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14439 echo "${ECHO_T}$ld_shlibs_CXX" >&6
14440 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14442 with_gnu_ld_CXX
=$with_gnu_ld
14450 # Do we need to explicitly link libc?
14452 case "x$archive_cmds_need_lc_CXX" in
14454 # Assume -lc should be added
14455 archive_cmds_need_lc_CXX
=yes
14457 if test "$enable_shared" = yes && test "$GCC" = yes; then
14458 case $archive_cmds_CXX in
14460 # FIXME: we may have to deal with multi-command sequences.
14463 # Test whether the compiler implicitly links with -lc since on some
14464 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14465 # to ld, don't add -lc before -lgcc.
14466 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14467 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14469 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14472 (eval $ac_compile) 2>&5
14474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 (exit $ac_status); } 2>conftest.err
; then
14478 libobjs
=conftest.
$ac_objext
14480 wl
=$lt_prog_compiler_wl_CXX
14481 pic_flag
=$lt_prog_compiler_pic_CXX
14487 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14488 allow_undefined_flag_CXX
=
14489 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
14490 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14493 (exit $ac_status); }
14495 archive_cmds_need_lc_CXX
=no
14497 archive_cmds_need_lc_CXX
=yes
14499 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14501 cat conftest.err
1>&5
14504 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14505 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
14575 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14576 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14578 library_names_spec
=
14579 libname_spec
='lib$name'
14583 postuninstall_cmds
=
14587 shlibpath_overrides_runpath
=unknown
14589 dynamic_linker
="$host_os ld.so"
14590 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14591 need_lib_prefix
=unknown
14592 hardcode_into_libs
=no
14594 # when you set need_version to no, make sure it does not cause -set_version
14595 # flags to be left without arguments
14596 need_version
=unknown
14601 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14602 shlibpath_var
=LIBPATH
14604 # AIX 3 has no versioning support, so we append a major version to the name.
14605 soname_spec
='${libname}${release}${shared_ext}$major'
14612 hardcode_into_libs
=yes
14613 if test "$host_cpu" = ia64
; then
14614 # AIX 5 supports IA64
14615 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14616 shlibpath_var
=LD_LIBRARY_PATH
14618 # With GCC up to 2.95.x, collect2 would create an import file
14619 # for dependence libraries. The import file would start with
14620 # the line `#! .'. This would cause the generated library to
14621 # depend on `.', always an invalid library. This was fixed in
14622 # development snapshots of GCC prior to 3.0.
14624 aix4 | aix4.
[01] | aix4.
[01].
*)
14625 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14627 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14630 can_build_shared
=no
14634 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14635 # soname into executable. Probably we can add versioning support to
14636 # collect2, so additional links can be useful in future.
14637 if test "$aix_use_runtimelinking" = yes; then
14638 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14639 # instead of lib<name>.a to let people know that these are not
14640 # typical AIX shared libraries.
14641 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14643 # We preserve .a as extension for shared libraries through AIX4.2
14644 # and later when we are not doing run time linking.
14645 library_names_spec
='${libname}${release}.a $libname.a'
14646 soname_spec
='${libname}${release}${shared_ext}$major'
14648 shlibpath_var
=LIBPATH
14653 if test "$host_cpu" = m68k
; then
14654 library_names_spec
='$libname.ixlibrary $libname.a'
14655 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14656 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'
14663 library_names_spec
='${libname}${shared_ext}'
14664 dynamic_linker
="$host_os ld.so"
14665 shlibpath_var
=LIBRARY_PATH
14671 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14672 soname_spec
='${libname}${release}${shared_ext}$major'
14673 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14674 shlibpath_var
=LD_LIBRARY_PATH
14675 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14676 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14677 # the default ld.so.conf also contains /usr/contrib/lib and
14678 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14679 # libtool to hard-code these into programs
14682 cygwin
* | mingw
* | pw32
*)
14683 version_type
=windows
14688 case $withGCC,$host_os in
14689 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14690 library_names_spec
='$libname.dll.a'
14691 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14692 postinstall_cmds
='base_file=`basename \${file}`~
14693 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14694 dldir=$destdir/`dirname \$dlpath`~
14695 test -d \$dldir || mkdir -p \$dldir~
14696 $install_prog $dir/$dlname \$dldir/$dlname~
14697 chmod a+x \$dldir/$dlname~
14698 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14699 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14701 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14702 dlpath=$dir/\$dldll~
14704 shlibpath_overrides_runpath
=yes
14708 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14709 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14710 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14713 # MinGW DLLs use traditional 'lib' prefix
14714 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14715 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14716 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
14717 # It is most probably a Windows format PATH printed by
14718 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14719 # path with ; separators, and with drive letters. We can handle the
14720 # drive letters (cygwin fileutils understands them), so leave them,
14721 # especially as we might pass files found there to a mingw objdump,
14722 # which wouldn't understand a cygwinified path. Ahh.
14723 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14725 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14729 # pw32 DLLs use 'pw' prefix rather than 'lib'
14730 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14736 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14739 dynamic_linker
='Win32 ld.exe'
14740 # FIXME: first we should search . and the directory the executable is in
14744 darwin
* | rhapsody
*)
14745 dynamic_linker
="$host_os dyld"
14746 version_type
=darwin
14749 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14750 soname_spec
='${libname}${release}${major}$shared_ext'
14751 shlibpath_overrides_runpath
=yes
14752 shlibpath_var
=DYLD_LIBRARY_PATH
14753 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14755 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14762 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14763 soname_spec
='${libname}${release}${shared_ext}$major'
14764 shlibpath_var
=LD_LIBRARY_PATH
14771 freebsd
* | dragonfly
*)
14772 # DragonFly does not have aout. When/if they implement a new
14773 # versioning mechanism, adjust this.
14774 if test -x /usr
/bin
/objformat
; then
14775 objformat
=`/usr/bin/objformat`
14778 freebsd
[123]*) objformat
=aout
;;
14779 *) objformat
=elf
;;
14782 version_type
=freebsd-
$objformat
14783 case $version_type in
14785 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14790 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14794 shlibpath_var
=LD_LIBRARY_PATH
14797 shlibpath_overrides_runpath
=yes
14799 freebsd3.
[01]* | freebsdelf3.
[01]*)
14800 shlibpath_overrides_runpath
=yes
14801 hardcode_into_libs
=yes
14803 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14804 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14805 shlibpath_overrides_runpath
=no
14806 hardcode_into_libs
=yes
14808 *) # from 4.6 on, and DragonFly
14809 shlibpath_overrides_runpath
=yes
14810 hardcode_into_libs
=yes
14819 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14820 soname_spec
='${libname}${release}${shared_ext}$major'
14821 shlibpath_var
=LD_LIBRARY_PATH
14822 hardcode_into_libs
=yes
14825 hpux9
* | hpux10
* | hpux11
*)
14826 # Give a soname corresponding to the major version so that dld.sl refuses to
14827 # link against other versions.
14834 hardcode_into_libs
=yes
14835 dynamic_linker
="$host_os dld.so"
14836 shlibpath_var
=LD_LIBRARY_PATH
14837 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14838 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14839 soname_spec
='${libname}${release}${shared_ext}$major'
14840 if test "X$HPUX_IA64_MODE" = X32
; then
14841 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14843 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14845 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14849 hardcode_into_libs
=yes
14850 dynamic_linker
="$host_os dld.sl"
14851 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14852 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14853 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14854 soname_spec
='${libname}${release}${shared_ext}$major'
14855 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14856 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14860 dynamic_linker
="$host_os dld.sl"
14861 shlibpath_var
=SHLIB_PATH
14862 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14863 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14864 soname_spec
='${libname}${release}${shared_ext}$major'
14867 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14868 postinstall_cmds
='chmod 555 $lib'
14875 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14876 soname_spec
='${libname}${release}${shared_ext}$major'
14877 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14878 shlibpath_var
=LD_LIBRARY_PATH
14879 shlibpath_overrides_runpath
=no
14880 hardcode_into_libs
=yes
14883 irix5
* | irix6
* | nonstopux
*)
14885 nonstopux
*) version_type
=nonstopux
;;
14887 if test "$lt_cv_prog_gnu_ld" = yes; then
14895 soname_spec
='${libname}${release}${shared_ext}$major'
14896 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14898 irix5
* | nonstopux
*)
14899 libsuff
= shlibsuff
=
14902 case $LD in # libtool.m4 will add one of these switches to LD
14903 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14904 libsuff
= shlibsuff
= libmagic
=32-bit;;
14905 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14906 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14907 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14908 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14909 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14913 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14914 shlibpath_overrides_runpath
=no
14915 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14916 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14917 hardcode_into_libs
=yes
14920 # No shared lib support for Linux oldld, aout, or coff.
14921 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14925 # This must be Linux ELF.
14926 linux
* | k
*bsd
*-gnu)
14930 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14931 soname_spec
='${libname}${release}${shared_ext}$major'
14932 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14933 shlibpath_var
=LD_LIBRARY_PATH
14934 shlibpath_overrides_runpath
=no
14935 # Some binutils ld are patched to set DT_RUNPATH
14936 save_LDFLAGS
=$LDFLAGS
14937 save_libdir
=$libdir
14938 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14939 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14940 if test x
$gcc_no_link = xyes
; then
14941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14943 { (exit 1); exit 1; }; }
14945 cat >conftest.
$ac_ext <<_ACEOF
14948 cat confdefs.h
>>conftest.
$ac_ext
14949 cat >>conftest.
$ac_ext <<_ACEOF
14950 /* end confdefs.h. */
14960 rm -f conftest.
$ac_objext conftest
$ac_exeext
14961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14962 (eval $ac_link) 2>conftest.er1
14964 grep -v '^ *+' conftest.er1
>conftest.err
14966 cat conftest.err
>&5
14967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14968 (exit $ac_status); } &&
14969 { ac_try
='test -z "$ac_cxx_werror_flag"
14970 || test ! -s conftest.err'
14971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14972 (eval $ac_try) 2>&5
14974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14975 (exit $ac_status); }; } &&
14976 { ac_try
='test -s conftest$ac_exeext'
14977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14978 (eval $ac_try) 2>&5
14980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14981 (exit $ac_status); }; }; then
14982 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
14983 shlibpath_overrides_runpath
=yes
14987 echo "$as_me: failed program was:" >&5
14988 sed 's/^/| /' conftest.
$ac_ext >&5
14991 rm -f conftest.err conftest.
$ac_objext \
14992 conftest
$ac_exeext conftest.
$ac_ext
14993 LDFLAGS
=$save_LDFLAGS
14994 libdir
=$save_libdir
14996 # This implies no fast_install, which is unacceptable.
14997 # Some rework will be needed to allow for fast_install
14998 # before this can be enabled.
14999 hardcode_into_libs
=yes
15001 # Append ld.so.conf contents to the search path
15002 if test -f /etc
/ld.so.conf
; then
15003 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' ' '`
15004 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15007 # We used to test for /lib/ld.so.1 and disable shared libraries on
15008 # powerpc, because MkLinux only supported shared libraries with the
15009 # GNU dynamic linker. Since this was broken with cross compilers,
15010 # most powerpc-linux boxes support dynamic linking these days and
15011 # people can always --disable-shared, the test was removed, and we
15012 # assume the GNU/Linux dynamic linker is in use.
15013 dynamic_linker
='GNU/Linux ld.so'
15020 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15021 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15022 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15023 dynamic_linker
='NetBSD (a.out) ld.so'
15025 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15026 soname_spec
='${libname}${release}${shared_ext}$major'
15027 dynamic_linker
='NetBSD ld.elf_so'
15029 shlibpath_var
=LD_LIBRARY_PATH
15030 shlibpath_overrides_runpath
=yes
15031 hardcode_into_libs
=yes
15036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15037 shlibpath_var
=LD_LIBRARY_PATH
15038 shlibpath_overrides_runpath
=yes
15045 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15046 soname_spec
='${libname}${release}${shared_ext}$major'
15047 shlibpath_var
=LD_LIBRARY_PATH
15048 shlibpath_overrides_runpath
=no
15049 hardcode_into_libs
=yes
15050 dynamic_linker
='ldqnx.so'
15055 sys_lib_dlsearch_path_spec
="/usr/lib"
15057 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15059 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15060 *) need_version
=no
;;
15062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15063 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15064 shlibpath_var
=LD_LIBRARY_PATH
15065 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15067 openbsd2.
[89] | openbsd2.
[89].
*)
15068 shlibpath_overrides_runpath
=no
15071 shlibpath_overrides_runpath
=yes
15075 shlibpath_overrides_runpath
=yes
15080 libname_spec
='$name'
15083 library_names_spec
='$libname${shared_ext} $libname.a'
15084 dynamic_linker
='OS/2 ld.exe'
15085 shlibpath_var
=LIBPATH
15088 osf3
* | osf4
* | osf5
*)
15092 soname_spec
='${libname}${release}${shared_ext}$major'
15093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15094 shlibpath_var
=LD_LIBRARY_PATH
15095 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15096 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15107 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15108 soname_spec
='${libname}${release}${shared_ext}$major'
15109 shlibpath_var
=LD_LIBRARY_PATH
15110 shlibpath_overrides_runpath
=yes
15111 hardcode_into_libs
=yes
15112 # ldd complains unless libraries are executable
15113 postinstall_cmds
='chmod +x $lib'
15118 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15119 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15120 shlibpath_var
=LD_LIBRARY_PATH
15121 shlibpath_overrides_runpath
=yes
15122 if test "$with_gnu_ld" = yes; then
15130 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15131 soname_spec
='${libname}${release}${shared_ext}$major'
15132 shlibpath_var
=LD_LIBRARY_PATH
15133 case $host_vendor in
15135 shlibpath_overrides_runpath
=no
15137 runpath_var
=LD_RUN_PATH
15145 shlibpath_overrides_runpath
=no
15146 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15152 if test -d /usr
/nec
;then
15154 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15155 soname_spec
='$libname${shared_ext}.$major'
15156 shlibpath_var
=LD_LIBRARY_PATH
15160 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15161 version_type
=freebsd-elf
15164 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15165 soname_spec
='${libname}${release}${shared_ext}$major'
15166 shlibpath_var
=LD_LIBRARY_PATH
15167 shlibpath_overrides_runpath
=yes
15168 hardcode_into_libs
=yes
15169 if test "$with_gnu_ld" = yes; then
15170 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15172 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15175 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15179 sys_lib_dlsearch_path_spec
='/usr/lib'
15183 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15187 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15188 shlibpath_var
=LD_LIBRARY_PATH
15189 shlibpath_overrides_runpath
=no
15190 hardcode_into_libs
=yes
15195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15196 soname_spec
='${libname}${release}${shared_ext}$major'
15197 shlibpath_var
=LD_LIBRARY_PATH
15204 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15205 echo "${ECHO_T}$dynamic_linker" >&6
15206 test "$dynamic_linker" = no
&& can_build_shared
=no
15208 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15209 if test "$GCC" = yes; then
15210 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15248 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15249 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15250 hardcode_action_CXX
=
15251 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15252 test -n "$runpath_var_CXX" ||
15253 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15255 # We can hardcode non-existent directories.
15256 if test "$hardcode_direct_CXX" != no
&&
15257 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15258 # have to relink, otherwise we might link with an installed library
15259 # when we should be linking with a yet-to-be-installed one
15260 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15261 test "$hardcode_minus_L_CXX" != no
; then
15262 # Linking always hardcodes the temporary library directory.
15263 hardcode_action_CXX
=relink
15265 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15266 hardcode_action_CXX
=immediate
15269 # We cannot hardcode anything, or else we can only hardcode existing
15271 hardcode_action_CXX
=unsupported
15273 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15274 echo "${ECHO_T}$hardcode_action_CXX" >&6
15276 if test "$hardcode_action_CXX" = relink ||
15277 test "$inherit_rpath_CXX" = yes; then
15278 # Fast installation is not supported
15279 enable_fast_install
=no
15280 elif test "$shlibpath_overrides_runpath" = yes ||
15281 test "$enable_shared" = no
; then
15282 # Fast installation is not necessary
15283 enable_fast_install
=needless
15292 fi # test -n "$compiler"
15298 with_gnu_ld
=$lt_save_with_gnu_ld
15299 lt_cv_path_LDCXX
=$lt_cv_path_LD
15300 lt_cv_path_LD
=$lt_save_path_LD
15301 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15302 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15303 fi # test "$_lt_caught_CXX_error" != yes
15306 ac_cpp
='$CPP $CPPFLAGS'
15307 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15308 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15309 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15323 ac_config_commands
="$ac_config_commands libtool"
15328 # Only expand once:
15332 for ac_prog
in gcj gcj-3.2 gcj-3.1 gcj-3.0 gcj-2.95
15334 # Extract the first word of "$ac_prog", so it can be a program name with args.
15335 set dummy
$ac_prog; ac_word
=$2
15336 echo "$as_me:$LINENO: checking for $ac_word" >&5
15337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15338 if test "${ac_cv_prog_GCJ+set}" = set; then
15339 echo $ECHO_N "(cached) $ECHO_C" >&6
15341 if test -n "$GCJ"; then
15342 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
15344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15345 for as_dir
in $PATH
15348 test -z "$as_dir" && as_dir
=.
15349 for ac_exec_ext
in '' $ac_executable_extensions; do
15350 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15351 ac_cv_prog_GCJ
="$ac_prog"
15352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15360 GCJ
=$ac_cv_prog_GCJ
15361 if test -n "$GCJ"; then
15362 echo "$as_me:$LINENO: result: $GCJ" >&5
15363 echo "${ECHO_T}$GCJ" >&6
15365 echo "$as_me:$LINENO: result: no" >&5
15366 echo "${ECHO_T}no" >&6
15369 test -n "$GCJ" && break
15371 test -n "$GCJ" || GCJ
="gcj"
15373 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
15374 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
15375 { (exit 1); exit 1; }; }
15376 if test "x${GCJFLAGS-unset}" = xunset
; then
15381 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
15383 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
15384 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
15385 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
15386 echo $ECHO_N "(cached) $ECHO_C" >&6
15388 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15389 # We make a subdir and do the tests there. Otherwise we can end up
15390 # making bogus files that we don't know about and never remove. For
15391 # instance it was reported that on HP-UX the gcc test will end up
15392 # making a dummy file named `D' -- because `-MD' means `put the output
15395 # Copy depcomp to subdir because otherwise we won't find it if we're
15396 # using a relative directory.
15397 cp "$am_depcomp" conftest.dir
15399 # We will build objects and dependencies in a subdirectory because
15400 # it helps to detect inapplicable dependency modes. For instance
15401 # both Tru64's cc and ICC support -MD to output dependencies as a
15402 # side effect of compilation, but ICC will put the dependencies in
15403 # the current directory while Tru64 will put them in the object
15407 am_cv_GCJ_dependencies_compiler_type
=none
15408 if test "$am_compiler_list" = ""; then
15409 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15411 for depmode
in $am_compiler_list; do
15412 # Setup a source with many dependencies, because some compilers
15413 # like to wrap large dependency lists on column 80 (with \), and
15414 # we should not choose a depcomp mode which is confused by this.
15416 # We need to recreate these files for each test, as the compiler may
15417 # overwrite some of them when testing with obscure command lines.
15418 # This happens at least with the AIX C compiler.
15420 for i
in 1 2 3 4 5 6; do
15421 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
15422 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15423 # Solaris 8's {/usr,}/bin/sh.
15424 touch sub
/conftst
$i.h
15426 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15430 # after this tag, mechanisms are not by side-effect, so they'll
15431 # only be used when explicitly requested
15432 if test "x$enable_dependency_tracking" = xyes
; then
15440 # We check with `-c' and `-o' for the sake of the "dashmstdout"
15441 # mode. It turns out that the SunPro C++ compiler does not properly
15442 # handle `-M -o', and we need to detect this.
15443 if depmode
=$depmode \
15444 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
15445 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
15446 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
15447 >/dev
/null
2>conftest.err
&&
15448 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
15449 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
15450 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
15451 # icc doesn't choke on unknown options, it will just issue warnings
15452 # or remarks (even with -Werror). So we grep stderr for any message
15453 # that says an option was ignored or not supported.
15454 # When given -MP, icc 7.0 and 7.1 complain thusly:
15455 # icc: Command line warning: ignoring option '-M'; no argument required
15456 # The diagnosis changed in icc 8.0:
15457 # icc: Command line remark: option '-MP' not supported
15458 if (grep 'ignoring option' conftest.err ||
15459 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
15460 am_cv_GCJ_dependencies_compiler_type
=$depmode
15467 rm -rf conftest.dir
15469 am_cv_GCJ_dependencies_compiler_type
=none
15473 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
15474 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
15475 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
15480 test "x$enable_dependency_tracking" != xno \
15481 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
15482 am__fastdepGCJ_TRUE
=
15483 am__fastdepGCJ_FALSE
='#'
15485 am__fastdepGCJ_TRUE
='#'
15486 am__fastdepGCJ_FALSE
=
15491 for ac_prog
in gcj gcj-3.2 gcj-3.1 gcj-3.0 gcj-2.95
15493 # Extract the first word of "$ac_prog", so it can be a program name with args.
15494 set dummy
$ac_prog; ac_word
=$2
15495 echo "$as_me:$LINENO: checking for $ac_word" >&5
15496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15497 if test "${ac_cv_prog_GCJ+set}" = set; then
15498 echo $ECHO_N "(cached) $ECHO_C" >&6
15500 if test -n "$GCJ"; then
15501 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
15503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15504 for as_dir
in $PATH
15507 test -z "$as_dir" && as_dir
=.
15508 for ac_exec_ext
in '' $ac_executable_extensions; do
15509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15510 ac_cv_prog_GCJ
="$ac_prog"
15511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15519 GCJ
=$ac_cv_prog_GCJ
15520 if test -n "$GCJ"; then
15521 echo "$as_me:$LINENO: result: $GCJ" >&5
15522 echo "${ECHO_T}$GCJ" >&6
15524 echo "$as_me:$LINENO: result: no" >&5
15525 echo "${ECHO_T}no" >&6
15528 test -n "$GCJ" && break
15530 test -n "$GCJ" || GCJ
="gcj"
15532 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
15533 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
15534 { (exit 1); exit 1; }; }
15535 if test "x${GCJFLAGS-unset}" = xunset
; then
15540 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
15542 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
15543 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
15544 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
15545 echo $ECHO_N "(cached) $ECHO_C" >&6
15547 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15548 # We make a subdir and do the tests there. Otherwise we can end up
15549 # making bogus files that we don't know about and never remove. For
15550 # instance it was reported that on HP-UX the gcc test will end up
15551 # making a dummy file named `D' -- because `-MD' means `put the output
15554 # Copy depcomp to subdir because otherwise we won't find it if we're
15555 # using a relative directory.
15556 cp "$am_depcomp" conftest.dir
15558 # We will build objects and dependencies in a subdirectory because
15559 # it helps to detect inapplicable dependency modes. For instance
15560 # both Tru64's cc and ICC support -MD to output dependencies as a
15561 # side effect of compilation, but ICC will put the dependencies in
15562 # the current directory while Tru64 will put them in the object
15566 am_cv_GCJ_dependencies_compiler_type
=none
15567 if test "$am_compiler_list" = ""; then
15568 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15570 for depmode
in $am_compiler_list; do
15571 # Setup a source with many dependencies, because some compilers
15572 # like to wrap large dependency lists on column 80 (with \), and
15573 # we should not choose a depcomp mode which is confused by this.
15575 # We need to recreate these files for each test, as the compiler may
15576 # overwrite some of them when testing with obscure command lines.
15577 # This happens at least with the AIX C compiler.
15579 for i
in 1 2 3 4 5 6; do
15580 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
15581 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15582 # Solaris 8's {/usr,}/bin/sh.
15583 touch sub
/conftst
$i.h
15585 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15589 # after this tag, mechanisms are not by side-effect, so they'll
15590 # only be used when explicitly requested
15591 if test "x$enable_dependency_tracking" = xyes
; then
15599 # We check with `-c' and `-o' for the sake of the "dashmstdout"
15600 # mode. It turns out that the SunPro C++ compiler does not properly
15601 # handle `-M -o', and we need to detect this.
15602 if depmode
=$depmode \
15603 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
15604 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
15605 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
15606 >/dev
/null
2>conftest.err
&&
15607 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
15608 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
15609 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
15610 # icc doesn't choke on unknown options, it will just issue warnings
15611 # or remarks (even with -Werror). So we grep stderr for any message
15612 # that says an option was ignored or not supported.
15613 # When given -MP, icc 7.0 and 7.1 complain thusly:
15614 # icc: Command line warning: ignoring option '-M'; no argument required
15615 # The diagnosis changed in icc 8.0:
15616 # icc: Command line remark: option '-MP' not supported
15617 if (grep 'ignoring option' conftest.err ||
15618 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
15619 am_cv_GCJ_dependencies_compiler_type
=$depmode
15626 rm -rf conftest.dir
15628 am_cv_GCJ_dependencies_compiler_type
=none
15632 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
15633 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
15634 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
15639 test "x$enable_dependency_tracking" != xno \
15640 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
15641 am__fastdepGCJ_TRUE
=
15642 am__fastdepGCJ_FALSE
='#'
15644 am__fastdepGCJ_TRUE
='#'
15645 am__fastdepGCJ_FALSE
=
15653 # Source file extension for Java test sources.
15656 # Object file extension for compiled Java test sources.
15660 # Code to be used in simple compile tests
15661 lt_simple_compile_test_code
="int some_variable = 0;"
15663 # Code to be used in simple link tests
15664 lt_simple_link_test_code
='int main(){return(0);}'
15666 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15673 # If no C compiler was specified, use CC.
15676 # If no C compiler flags were specified, use CFLAGS.
15677 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15679 # Allow CC to be a program name with arguments.
15683 # save warnings/boilerplate of simple test code
15684 ac_outfile
=conftest.
$ac_objext
15685 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
15686 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15687 _lt_compiler_boilerplate
=`cat conftest.err`
15690 ac_outfile
=conftest.
$ac_objext
15691 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
15692 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15693 _lt_linker_boilerplate
=`cat conftest.err`
15697 # Allow CC to be a program name with arguments.
15700 for cc_temp
in $compiler""; do
15702 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15703 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15708 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15711 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15712 archive_cmds_need_lc_GCJ
=no
15714 old_archive_cmds_GCJ
=$old_archive_cmds
15717 ## There is no encapsulation within the following macros, do not change
15718 ## the running order or otherwise move them around unless you know exactly
15719 ## what you are doing...
15720 if test -n "$compiler"; then
15722 lt_prog_compiler_no_builtin_flag_GCJ
=
15724 if test "$GCC" = yes; then
15725 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15727 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15728 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15729 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15730 echo $ECHO_N "(cached) $ECHO_C" >&6
15732 lt_cv_prog_compiler_rtti_exceptions
=no
15733 ac_outfile
=conftest.
$ac_objext
15734 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15735 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15736 # Insert the option either (1) after the last *FLAGS variable, or
15737 # (2) before a word containing "conftest.", or (3) at the end.
15738 # Note that $ac_compile itself does not contain backslashes and begins
15739 # with a dollar sign (not a hyphen), so the echo should work correctly.
15740 # The option is referenced via a variable to avoid confusing sed.
15741 lt_compile
=`echo "$ac_compile" | $SED \
15742 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15743 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15744 -e 's:$: $lt_compiler_flag:'`
15745 (eval echo "\"\$as_me:15745: $lt_compile\"" >&5)
15746 (eval "$lt_compile" 2>conftest.err
)
15748 cat conftest.err
>&5
15749 echo "$as_me:15749: \$? = $ac_status" >&5
15750 if (exit $ac_status) && test -s "$ac_outfile"; then
15751 # The compiler can only warn and ignore the option if not recognized
15752 # So say no if there are warnings other than the usual output.
15753 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15754 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15755 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15756 lt_cv_prog_compiler_rtti_exceptions
=yes
15762 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15763 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15765 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15766 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15775 lt_prog_compiler_wl_GCJ
=
15776 lt_prog_compiler_pic_GCJ
=
15777 lt_prog_compiler_static_GCJ
=
15779 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15780 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15782 if test "$GCC" = yes; then
15783 lt_prog_compiler_wl_GCJ
='-Wl,'
15784 lt_prog_compiler_static_GCJ
='-static'
15788 # All AIX code is PIC.
15789 if test "$host_cpu" = ia64
; then
15790 # AIX 5 now supports IA64 processor
15791 lt_prog_compiler_static_GCJ
='-Bstatic'
15796 if test "$host_cpu" = m68k
; then
15797 # FIXME: we need at least 68020 code to build shared libraries, but
15798 # adding the `-m68020' flag to GCC prevents building anything better,
15800 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
15804 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15805 # PIC is the default for these OSes.
15808 mingw
* | cygwin
* | pw32
* | os2
*)
15809 # This hack is so that the source file can tell whether it is being
15810 # built for inclusion in a dll (and should export symbols for example).
15811 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15812 # (--disable-auto-import) libraries
15816 darwin
* | rhapsody
*)
15817 # PIC is the default on this platform
15818 # Common symbols not allowed in MH_DYLIB files
15819 lt_prog_compiler_pic_GCJ
='-fno-common'
15823 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15824 # not for PA HP-UX.
15830 lt_prog_compiler_pic_GCJ
='-fPIC'
15836 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15837 # Instead, we relocate shared libraries at runtime.
15841 # Just because we use GCC doesn't mean we suddenly get shared libraries
15842 # on systems that don't support them.
15843 lt_prog_compiler_can_build_shared_GCJ
=no
15848 # QNX uses GNU C++, but need to define -shared option too, otherwise
15849 # it will coredump.
15850 lt_prog_compiler_pic_GCJ
='-fPIC -shared'
15854 if test -d /usr
/nec
; then
15855 lt_prog_compiler_pic_GCJ
=-Kconform_pic
15860 lt_prog_compiler_pic_GCJ
='-fPIC'
15864 # PORTME Check for flag to pass linker flags through the system compiler.
15867 lt_prog_compiler_wl_GCJ
='-Wl,'
15868 if test "$host_cpu" = ia64
; then
15869 # AIX 5 now supports IA64 processor
15870 lt_prog_compiler_static_GCJ
='-Bstatic'
15872 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
15876 # PIC is the default on this platform
15877 # Common symbols not allowed in MH_DYLIB files
15878 case $cc_basename in
15880 lt_prog_compiler_pic_GCJ
='-qnocommon'
15881 lt_prog_compiler_wl_GCJ
='-Wl,'
15886 mingw
* | cygwin
* | pw32
* | os2
*)
15887 # This hack is so that the source file can tell whether it is being
15888 # built for inclusion in a dll (and should export symbols for example).
15892 hpux9
* | hpux10
* | hpux11
*)
15893 lt_prog_compiler_wl_GCJ
='-Wl,'
15894 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15895 # not for PA HP-UX.
15901 lt_prog_compiler_pic_GCJ
='+Z'
15904 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15905 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
15908 irix5
* | irix6
* | nonstopux
*)
15909 lt_prog_compiler_wl_GCJ
='-Wl,'
15910 # PIC (with -KPIC) is the default.
15911 lt_prog_compiler_static_GCJ
='-non_shared'
15914 linux
* | k
*bsd
*-gnu)
15915 case $cc_basename in
15917 lt_prog_compiler_wl_GCJ
='-Wl,'
15918 lt_prog_compiler_pic_GCJ
='-KPIC'
15919 lt_prog_compiler_static_GCJ
='-static'
15921 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
15922 # Portland Group compilers (*not* the Pentium gcc compiler,
15923 # which looks to be a dead project)
15924 lt_prog_compiler_wl_GCJ
='-Wl,'
15925 lt_prog_compiler_pic_GCJ
='-fpic'
15926 lt_prog_compiler_static_GCJ
='-Bstatic'
15929 lt_prog_compiler_wl_GCJ
='-Wl,'
15930 # All Alpha code is PIC.
15931 lt_prog_compiler_static_GCJ
='-non_shared'
15934 case `$CC -V 2>&1 | sed 5q` in
15937 lt_prog_compiler_pic_GCJ
='-KPIC'
15938 lt_prog_compiler_static_GCJ
='-Bstatic'
15939 lt_prog_compiler_wl_GCJ
='-Wl,'
15942 # Sun Fortran 8.3 passes all unrecognized flags to the linker
15943 lt_prog_compiler_pic_GCJ
='-KPIC'
15944 lt_prog_compiler_static_GCJ
='-Bstatic'
15945 lt_prog_compiler_wl_GCJ
=''
15953 lt_prog_compiler_pic_GCJ
='-KPIC'
15954 lt_prog_compiler_static_GCJ
='-Bstatic'
15958 # QNX uses GNU C++, but need to define -shared option too, otherwise
15959 # it will coredump.
15960 lt_prog_compiler_pic_GCJ
='-fPIC -shared'
15963 osf3
* | osf4
* | osf5
*)
15964 lt_prog_compiler_wl_GCJ
='-Wl,'
15965 # All OSF/1 code is PIC.
15966 lt_prog_compiler_static_GCJ
='-non_shared'
15970 lt_prog_compiler_static_GCJ
='-non_shared'
15974 lt_prog_compiler_pic_GCJ
='-KPIC'
15975 lt_prog_compiler_static_GCJ
='-Bstatic'
15976 case $cc_basename in
15977 f77
* | f90
* | f95
*)
15978 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
15980 lt_prog_compiler_wl_GCJ
='-Wl,';;
15985 lt_prog_compiler_wl_GCJ
='-Qoption ld '
15986 lt_prog_compiler_pic_GCJ
='-PIC'
15987 lt_prog_compiler_static_GCJ
='-Bstatic'
15990 sysv4 | sysv4.2uw2
* | sysv4.3
*)
15991 lt_prog_compiler_wl_GCJ
='-Wl,'
15992 lt_prog_compiler_pic_GCJ
='-KPIC'
15993 lt_prog_compiler_static_GCJ
='-Bstatic'
15997 if test -d /usr
/nec
;then
15998 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
15999 lt_prog_compiler_static_GCJ
='-Bstatic'
16003 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16004 lt_prog_compiler_wl_GCJ
='-Wl,'
16005 lt_prog_compiler_pic_GCJ
='-KPIC'
16006 lt_prog_compiler_static_GCJ
='-Bstatic'
16010 lt_prog_compiler_wl_GCJ
='-Wl,'
16011 lt_prog_compiler_can_build_shared_GCJ
=no
16015 lt_prog_compiler_pic_GCJ
='-pic'
16016 lt_prog_compiler_static_GCJ
='-Bstatic'
16020 lt_prog_compiler_can_build_shared_GCJ
=no
16026 # For platforms which do not support PIC, -DPIC is meaningless:
16028 lt_prog_compiler_pic_GCJ
=
16031 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16034 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16035 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
16040 # Check to make sure the PIC flag actually works.
16042 if test -n "$lt_prog_compiler_pic_GCJ"; then
16043 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16044 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
16045 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16046 echo $ECHO_N "(cached) $ECHO_C" >&6
16048 lt_prog_compiler_pic_works_GCJ
=no
16049 ac_outfile
=conftest.
$ac_objext
16050 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16051 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16052 # Insert the option either (1) after the last *FLAGS variable, or
16053 # (2) before a word containing "conftest.", or (3) at the end.
16054 # Note that $ac_compile itself does not contain backslashes and begins
16055 # with a dollar sign (not a hyphen), so the echo should work correctly.
16056 # The option is referenced via a variable to avoid confusing sed.
16057 lt_compile
=`echo "$ac_compile" | $SED \
16058 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16059 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16060 -e 's:$: $lt_compiler_flag:'`
16061 (eval echo "\"\$as_me:16061: $lt_compile\"" >&5)
16062 (eval "$lt_compile" 2>conftest.err
)
16064 cat conftest.err
>&5
16065 echo "$as_me:16065: \$? = $ac_status" >&5
16066 if (exit $ac_status) && test -s "$ac_outfile"; then
16067 # The compiler can only warn and ignore the option if not recognized
16068 # So say no if there are warnings other than the usual output.
16069 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16070 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16071 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16072 lt_prog_compiler_pic_works_GCJ
=yes
16078 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16079 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
16081 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16082 case $lt_prog_compiler_pic_GCJ in
16084 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16087 lt_prog_compiler_pic_GCJ
=
16088 lt_prog_compiler_can_build_shared_GCJ
=no
16096 # Check to make sure the static flag actually works.
16098 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16099 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16100 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
16101 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16102 echo $ECHO_N "(cached) $ECHO_C" >&6
16104 lt_prog_compiler_static_works_GCJ
=no
16105 save_LDFLAGS
="$LDFLAGS"
16106 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16107 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16108 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16109 # The linker can only warn and ignore the option if not recognized
16110 # So say no if there are warnings
16111 if test -s conftest.err
; then
16112 # Append any errors to the config.log.
16113 cat conftest.err
1>&5
16114 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16115 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16116 if diff conftest.exp conftest.er2
>/dev
/null
; then
16117 lt_prog_compiler_static_works_GCJ
=yes
16120 lt_prog_compiler_static_works_GCJ
=yes
16124 LDFLAGS
="$save_LDFLAGS"
16127 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16128 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
16130 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16133 lt_prog_compiler_static_GCJ
=
16139 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16140 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16141 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16142 echo $ECHO_N "(cached) $ECHO_C" >&6
16144 lt_cv_prog_compiler_c_o_GCJ
=no
16145 $RM -r conftest
2>/dev
/null
16149 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16151 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16152 # Insert the option either (1) after the last *FLAGS variable, or
16153 # (2) before a word containing "conftest.", or (3) at the end.
16154 # Note that $ac_compile itself does not contain backslashes and begins
16155 # with a dollar sign (not a hyphen), so the echo should work correctly.
16156 lt_compile
=`echo "$ac_compile" | $SED \
16157 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16158 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16159 -e 's:$: $lt_compiler_flag:'`
16160 (eval echo "\"\$as_me:16160: $lt_compile\"" >&5)
16161 (eval "$lt_compile" 2>out
/conftest.err
)
16163 cat out
/conftest.err
>&5
16164 echo "$as_me:16164: \$? = $ac_status" >&5
16165 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16167 # The compiler can only warn and ignore the option if not recognized
16168 # So say no if there are warnings
16169 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16170 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16171 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16172 lt_cv_prog_compiler_c_o_GCJ
=yes
16177 # SGI C++ compiler will create directory out/ii_files/ for
16178 # template instantiation
16179 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16180 $RM out
/* && rmdir out
16186 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16187 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16191 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16192 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16193 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16194 echo $ECHO_N "(cached) $ECHO_C" >&6
16196 lt_cv_prog_compiler_c_o_GCJ
=no
16197 $RM -r conftest
2>/dev
/null
16201 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16203 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16204 # Insert the option either (1) after the last *FLAGS variable, or
16205 # (2) before a word containing "conftest.", or (3) at the end.
16206 # Note that $ac_compile itself does not contain backslashes and begins
16207 # with a dollar sign (not a hyphen), so the echo should work correctly.
16208 lt_compile
=`echo "$ac_compile" | $SED \
16209 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16210 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16211 -e 's:$: $lt_compiler_flag:'`
16212 (eval echo "\"\$as_me:16212: $lt_compile\"" >&5)
16213 (eval "$lt_compile" 2>out
/conftest.err
)
16215 cat out
/conftest.err
>&5
16216 echo "$as_me:16216: \$? = $ac_status" >&5
16217 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16219 # The compiler can only warn and ignore the option if not recognized
16220 # So say no if there are warnings
16221 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16222 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16223 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16224 lt_cv_prog_compiler_c_o_GCJ
=yes
16229 # SGI C++ compiler will create directory out/ii_files/ for
16230 # template instantiation
16231 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16232 $RM out
/* && rmdir out
16238 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16239 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16244 hard_links
="nottested"
16245 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16246 # do not overwrite the value of need_locks provided by the user
16247 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16248 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16251 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16253 ln conftest.a conftest.b
2>&5 || hard_links
=no
16254 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16255 echo "$as_me:$LINENO: result: $hard_links" >&5
16256 echo "${ECHO_T}$hard_links" >&6
16257 if test "$hard_links" = no
; then
16258 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16259 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16268 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16269 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16272 allow_undefined_flag_GCJ
=
16273 always_export_symbols_GCJ
=no
16275 archive_expsym_cmds_GCJ
=
16276 compiler_needs_object_GCJ
=no
16277 enable_shared_with_static_runtimes_GCJ
=no
16278 export_dynamic_flag_spec_GCJ
=
16279 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16280 hardcode_automatic_GCJ
=no
16281 hardcode_direct_GCJ
=no
16282 hardcode_direct_absolute_GCJ
=no
16283 hardcode_libdir_flag_spec_GCJ
=
16284 hardcode_libdir_flag_spec_ld_GCJ
=
16285 hardcode_libdir_separator_GCJ
=
16286 hardcode_minus_L_GCJ
=no
16287 hardcode_shlibpath_var_GCJ
=unsupported
16288 inherit_rpath_GCJ
=no
16289 link_all_deplibs_GCJ
=unknown
16291 module_expsym_cmds_GCJ
=
16292 old_archive_from_new_cmds_GCJ
=
16293 old_archive_from_expsyms_cmds_GCJ
=
16294 thread_safe_flag_spec_GCJ
=
16295 whole_archive_flag_spec_GCJ
=
16296 # include_expsyms should be a list of space-separated symbols to be *always*
16297 # included in the symbol list
16298 include_expsyms_GCJ
=
16299 # exclude_expsyms can be an extended regexp of symbols to exclude
16300 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16301 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16302 # as well as any symbol that contains `d'.
16303 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16304 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16305 # platforms (ab)use it in PIC code, but their linkers get confused if
16306 # the symbol is explicitly referenced. Since portable code cannot
16307 # rely on this symbol name, it's probably fine to never include it in
16308 # preloaded symbol tables.
16309 extract_expsyms_cmds
=
16312 cygwin
* | mingw
* | pw32
*)
16313 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16314 # When not using gcc, we currently assume that we are using
16315 # Microsoft Visual C++.
16316 if test "$GCC" != yes; then
16321 # we just hope/assume this is gcc and not c89 (= MSVC++)
16330 if test "$with_gnu_ld" = yes; then
16331 # If archive_cmds runs LD, not CC, wlarc should be empty
16334 # Set some defaults for GNU ld with shared library support. These
16335 # are reset later if shared libraries are not supported. Putting them
16336 # here allows them to be overridden if necessary.
16337 runpath_var
=LD_RUN_PATH
16338 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16339 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16340 # ancient GNU ld didn't support --whole-archive et. al.
16341 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
16342 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16344 whole_archive_flag_spec_GCJ
=
16346 supports_anon_versioning
=no
16347 case `$LD -v 2>&1` in
16348 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16349 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16350 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16351 *\
2.11.
*) ;; # other 2.11 versions
16352 *) supports_anon_versioning
=yes ;;
16355 # See if GNU ld supports shared libraries.
16358 # On AIX/PPC, the GNU linker is very broken
16359 if test "$host_cpu" != ia64
; then
16363 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16364 *** to be unable to reliably create shared libraries on AIX.
16365 *** Therefore, libtool is disabling shared libraries support. If you
16366 *** really care for shared libraries, you may want to modify your PATH
16367 *** so that a non-GNU linker is found, and then restart.
16374 if test "$host_cpu" = m68k
; then
16375 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)'
16376 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16377 hardcode_minus_L_GCJ
=yes
16380 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16381 # that the semantics of dynamic libraries on AmigaOS, at least up
16382 # to version 4, is to share data among multiple programs linked
16383 # with the same dynamic library. Since this doesn't match the
16384 # behavior of shared libraries on other platforms, we can't use
16390 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16391 allow_undefined_flag_GCJ
=unsupported
16392 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16393 # support --undefined. This deserves some investigation. FIXME
16394 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16400 cygwin
* | mingw
* | pw32
*)
16401 # _LT_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16402 # as there is no search path for DLLs.
16403 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16404 allow_undefined_flag_GCJ
=unsupported
16405 always_export_symbols_GCJ
=no
16406 enable_shared_with_static_runtimes_GCJ
=yes
16407 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16409 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
16410 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16411 # If the export-symbols file already is a .def file (1st line
16412 # is EXPORTS), use it as is; otherwise, prepend...
16413 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16414 cp $export_symbols $output_objdir/$soname.def;
16416 echo EXPORTS > $output_objdir/$soname.def;
16417 cat $export_symbols >> $output_objdir/$soname.def;
16419 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16426 hardcode_direct_GCJ
=no
16427 hardcode_shlibpath_var_GCJ
=no
16428 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16429 export_dynamic_flag_spec_GCJ
='${wl}-E'
16430 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16431 # Instead, shared libraries are loaded at an image base (0x10000000 by
16432 # default) and relocated if they conflict, which is a slow very memory
16433 # consuming and fragmenting process. To avoid this, we pick a random,
16434 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16435 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16436 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'
16437 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'
16440 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
16442 if test "$host_os" = linux-dietlibc
; then
16443 case $cc_basename in
16444 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
16447 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
16448 && test "$tmp_diet" = no
16451 case $cc_basename,$host_cpu in
16452 pgcc
*) # Portland Group C compiler
16453 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'
16454 tmp_addflag
=' $pic_flag'
16456 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16457 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'
16458 tmp_addflag
=' $pic_flag -Mnomain' ;;
16459 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16460 tmp_addflag
=' -i_dynamic' ;;
16461 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16462 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16463 ifc
* | ifort
*) # Intel Fortran compiler
16464 tmp_addflag
=' -nofor_main' ;;
16466 case `$CC -V 2>&1 | sed 5q` in
16467 *Sun\ C
*) # Sun C 5.9
16468 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'
16469 compiler_needs_object_GCJ
=yes
16470 tmp_sharedflag
='-G' ;;
16471 *Sun\ F
*) # Sun Fortran 8.3
16472 tmp_sharedflag
='-G' ;;
16474 tmp_sharedflag
='-shared' ;;
16476 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16478 if test "x$supports_anon_versioning" = xyes
; then
16479 archive_expsym_cmds_GCJ
='echo "{ global:" > $output_objdir/$libname.ver~
16480 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16481 echo "local: *; };" >> $output_objdir/$libname.ver~
16482 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16490 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
16491 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16494 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16495 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16500 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
16504 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16505 *** create shared libraries on Solaris systems. Therefore, libtool
16506 *** is disabling shared libraries support. We urge you to upgrade GNU
16507 *** binutils to release 2.9.1 or newer. Another option is to modify
16508 *** your PATH or compiler configuration so that the native linker is
16509 *** used, and then restart.
16512 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16513 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16514 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16520 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16521 case `$LD -v 2>&1` in
16522 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16526 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16527 *** reliably create shared libraries on SCO systems. Therefore, libtool
16528 *** is disabling shared libraries support. We urge you to upgrade GNU
16529 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16530 *** your PATH or compiler configuration so that the native linker is
16531 *** used, and then restart.
16536 # For security reasons, it is highly recommended that you always
16537 # use absolute paths for naming shared libraries, and exclude the
16538 # DT_RUNPATH tag from executables and libraries. But doing so
16539 # requires that you compile everything twice, which is a pain.
16540 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16541 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16542 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16543 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16552 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16554 hardcode_direct_GCJ
=yes
16555 hardcode_shlibpath_var_GCJ
=no
16559 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16560 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16561 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16568 if test "$ld_shlibs_GCJ" = no
; then
16570 hardcode_libdir_flag_spec_GCJ
=
16571 export_dynamic_flag_spec_GCJ
=
16572 whole_archive_flag_spec_GCJ
=
16575 # PORTME fill in a description of your system's linker (not GNU ld)
16578 allow_undefined_flag_GCJ
=unsupported
16579 always_export_symbols_GCJ
=yes
16580 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'
16581 # Note: this linker hardcodes the directories in LIBPATH if there
16582 # are no directories specified by -L.
16583 hardcode_minus_L_GCJ
=yes
16584 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16585 # Neither direct hardcoding nor static linking is supported with a
16587 hardcode_direct_GCJ
=unsupported
16592 if test "$host_cpu" = ia64
; then
16593 # On IA64, the linker does run time linking by default, so we don't
16594 # have to do anything special.
16595 aix_use_runtimelinking
=no
16596 exp_sym_flag
='-Bexport'
16599 # If we're using GNU nm, then we don't want the "-C" option.
16600 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16601 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
16602 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'
16604 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'
16606 aix_use_runtimelinking
=no
16608 # Test if we are trying to use run time linking or normal
16609 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16610 # need to do runtime linking.
16611 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
16612 for ld_flag
in $LDFLAGS; do
16613 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16614 aix_use_runtimelinking
=yes
16621 exp_sym_flag
='-bexport'
16622 no_entry_flag
='-bnoentry'
16625 # When large executables or shared objects are built, AIX ld can
16626 # have problems creating the table of contents. If linking a library
16627 # or program results in "error TOC overflow" add -mminimal-toc to
16628 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16629 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16631 archive_cmds_GCJ
=''
16632 hardcode_direct_GCJ
=yes
16633 hardcode_direct_absolute_GCJ
=yes
16634 hardcode_libdir_separator_GCJ
=':'
16635 link_all_deplibs_GCJ
=yes
16636 file_list_spec_GCJ
='${wl}-f,'
16638 if test "$GCC" = yes; then
16639 case $host_os in aix4.
[012]|aix4.
[012].
*)
16640 # We only want to do this on AIX 4.2 and lower, the check
16641 # below for broken collect2 doesn't work under 4.3+
16642 collect2name
=`${CC} -print-prog-name=collect2`
16643 if test -f "$collect2name" &&
16644 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
16646 # We have reworked collect2
16649 # We have old collect2
16650 hardcode_direct_GCJ
=unsupported
16651 # It fails to find uninstalled libraries when the uninstalled
16652 # path is not listed in the libpath. Setting hardcode_minus_L
16653 # to unsupported forces relinking
16654 hardcode_minus_L_GCJ
=yes
16655 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16656 hardcode_libdir_separator_GCJ
=
16660 shared_flag
='-shared'
16661 if test "$aix_use_runtimelinking" = yes; then
16662 shared_flag
="$shared_flag "'${wl}-G'
16666 if test "$host_cpu" = ia64
; then
16667 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16668 # chokes on -Wl,-G. The following line is correct:
16671 if test "$aix_use_runtimelinking" = yes; then
16672 shared_flag
='${wl}-G'
16674 shared_flag
='${wl}-bM:SRE'
16679 # It seems that -bexpall does not export symbols beginning with
16680 # underscore (_), so it is better to generate a list of symbols to export.
16681 always_export_symbols_GCJ
=yes
16682 if test "$aix_use_runtimelinking" = yes; then
16683 # Warning - without using the other runtime loading flags (-brtl),
16684 # -berok will link without error, but may produce a broken library.
16685 allow_undefined_flag_GCJ
='-berok'
16686 # Determine the default libpath from the value encoded in an
16687 # empty executable.
16688 if test x
$gcc_no_link = xyes
; then
16689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16691 { (exit 1); exit 1; }; }
16693 cat >conftest.
$ac_ext <<_ACEOF
16696 cat confdefs.h
>>conftest.
$ac_ext
16697 cat >>conftest.
$ac_ext <<_ACEOF
16698 /* end confdefs.h. */
16708 rm -f conftest.
$ac_objext conftest
$ac_exeext
16709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16710 (eval $ac_link) 2>conftest.er1
16712 grep -v '^ *+' conftest.er1
>conftest.err
16714 cat conftest.err
>&5
16715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716 (exit $ac_status); } &&
16717 { ac_try
='test -z "$ac_c_werror_flag"
16718 || test ! -s conftest.err'
16719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16720 (eval $ac_try) 2>&5
16722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16723 (exit $ac_status); }; } &&
16724 { ac_try
='test -s conftest$ac_exeext'
16725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16726 (eval $ac_try) 2>&5
16728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16729 (exit $ac_status); }; }; then
16731 lt_aix_libpath_sed
='
16732 /Import File Strings/,/^$/ {
16738 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16739 # Check for a 64-bit object if we didn't find anything.
16740 if test -z "$aix_libpath"; then
16741 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16744 echo "$as_me: failed program was:" >&5
16745 sed 's/^/| /' conftest.
$ac_ext >&5
16748 rm -f conftest.err conftest.
$ac_objext \
16749 conftest
$ac_exeext conftest.
$ac_ext
16750 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16752 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16753 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"
16755 if test "$host_cpu" = ia64
; then
16756 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
16757 allow_undefined_flag_GCJ
="-z nodefs"
16758 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"
16760 # Determine the default libpath from the value encoded in an
16761 # empty executable.
16762 if test x
$gcc_no_link = xyes
; then
16763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16765 { (exit 1); exit 1; }; }
16767 cat >conftest.
$ac_ext <<_ACEOF
16770 cat confdefs.h
>>conftest.
$ac_ext
16771 cat >>conftest.
$ac_ext <<_ACEOF
16772 /* end confdefs.h. */
16782 rm -f conftest.
$ac_objext conftest
$ac_exeext
16783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16784 (eval $ac_link) 2>conftest.er1
16786 grep -v '^ *+' conftest.er1
>conftest.err
16788 cat conftest.err
>&5
16789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16790 (exit $ac_status); } &&
16791 { ac_try
='test -z "$ac_c_werror_flag"
16792 || test ! -s conftest.err'
16793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16794 (eval $ac_try) 2>&5
16796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16797 (exit $ac_status); }; } &&
16798 { ac_try
='test -s conftest$ac_exeext'
16799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16800 (eval $ac_try) 2>&5
16802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16803 (exit $ac_status); }; }; then
16805 lt_aix_libpath_sed
='
16806 /Import File Strings/,/^$/ {
16812 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16813 # Check for a 64-bit object if we didn't find anything.
16814 if test -z "$aix_libpath"; then
16815 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16818 echo "$as_me: failed program was:" >&5
16819 sed 's/^/| /' conftest.
$ac_ext >&5
16822 rm -f conftest.err conftest.
$ac_objext \
16823 conftest
$ac_exeext conftest.
$ac_ext
16824 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16826 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16827 # Warning - without using the other run time loading flags,
16828 # -berok will link without error, but may produce a broken library.
16829 no_undefined_flag_GCJ
=' ${wl}-bernotok'
16830 allow_undefined_flag_GCJ
=' ${wl}-berok'
16831 # Exported symbols can be pulled into shared objects from archives
16832 whole_archive_flag_spec_GCJ
='$convenience'
16833 archive_cmds_need_lc_GCJ
=yes
16834 # This is similar to how AIX traditionally builds its shared libraries.
16835 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'
16841 if test "$host_cpu" = m68k
; then
16842 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)'
16843 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16844 hardcode_minus_L_GCJ
=yes
16846 # see comment about different semantics on the GNU ld section
16851 export_dynamic_flag_spec_GCJ
=-rdynamic
16854 cygwin
* | mingw
* | pw32
*)
16855 # When not using gcc, we currently assume that we are using
16856 # Microsoft Visual C++.
16857 # hardcode_libdir_flag_spec is actually meaningless, as there is
16858 # no search path for DLLs.
16859 hardcode_libdir_flag_spec_GCJ
=' '
16860 allow_undefined_flag_GCJ
=unsupported
16861 # Tell ltmain to make .lib files, not .a files.
16863 # Tell ltmain to make .dll files, not .so files.
16865 # FIXME: Setting linknames here is a bad hack.
16866 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
16867 # The linker will automatically build a .lib file if we build a DLL.
16868 old_archive_from_new_cmds_GCJ
='true'
16869 # FIXME: Should let the user specify the lib program.
16870 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
16871 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
16872 enable_shared_with_static_runtimes_GCJ
=yes
16875 darwin
* | rhapsody
*)
16877 rhapsody
* | darwin1.
[012])
16878 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
16881 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
16883 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16886 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
16891 archive_cmds_need_lc_GCJ
=no
16892 hardcode_direct_GCJ
=no
16893 hardcode_automatic_GCJ
=yes
16894 hardcode_shlibpath_var_GCJ
=unsupported
16895 whole_archive_flag_spec_GCJ
=''
16896 link_all_deplibs_GCJ
=yes
16897 if test "$GCC" = yes ; then
16898 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
16899 echo $ECHO_N "(cached) $ECHO_C" >&6
16901 lt_cv_apple_cc_single_mod
=no
16902 if test -z "${LT_MULTI_MODULE}"; then
16903 # By default we will add the -single_module flag. You can override
16904 # by either setting the environment variable LT_MULTI_MODULE
16905 # non-empty at configure time, or by adding -multi-module to the
16907 echo "int foo(void){return 1;}" > conftest.c
16908 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
16909 -dynamiclib ${wl}-single_module conftest.c
16910 if test -f libconftest.dylib
; then
16911 lt_cv_apple_cc_single_mod
=yes
16912 rm libconftest.dylib
16914 rm conftest.
$ac_ext
16918 output_verbose_link_cmd
=echo
16919 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
16920 archive_cmds_GCJ
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16921 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}'
16923 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16924 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}'
16926 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16927 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}'
16929 case $cc_basename in
16931 output_verbose_link_cmd
=echo
16932 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
16933 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16934 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16935 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}'
16936 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}'
16946 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16947 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16948 hardcode_shlibpath_var_GCJ
=no
16955 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16956 # support. Future versions do this automatically, but an explicit c++rt0.o
16957 # does not break anything, and helps significantly (at the cost of a little
16960 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16961 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16962 hardcode_direct_GCJ
=yes
16963 hardcode_shlibpath_var_GCJ
=no
16966 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16968 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16969 hardcode_direct_GCJ
=yes
16970 hardcode_minus_L_GCJ
=yes
16971 hardcode_shlibpath_var_GCJ
=no
16974 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16975 freebsd
* | dragonfly
*)
16976 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16977 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16978 hardcode_direct_GCJ
=yes
16979 hardcode_shlibpath_var_GCJ
=no
16983 if test "$GCC" = yes; then
16984 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'
16986 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'
16988 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16989 hardcode_libdir_separator_GCJ
=:
16990 hardcode_direct_GCJ
=yes
16992 # hardcode_minus_L: Not really in the search PATH,
16993 # but as the default location of the library.
16994 hardcode_minus_L_GCJ
=yes
16995 export_dynamic_flag_spec_GCJ
='${wl}-E'
16999 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17000 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17002 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17004 if test "$with_gnu_ld" = no
; then
17005 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17006 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17007 hardcode_libdir_separator_GCJ
=:
17008 hardcode_direct_GCJ
=yes
17009 hardcode_direct_absolute_GCJ
=yes
17010 export_dynamic_flag_spec_GCJ
='${wl}-E'
17011 # hardcode_minus_L: Not really in the search PATH,
17012 # but as the default location of the library.
17013 hardcode_minus_L_GCJ
=yes
17018 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17021 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17024 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17027 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17033 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17036 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17039 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17043 if test "$with_gnu_ld" = no
; then
17044 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17045 hardcode_libdir_separator_GCJ
=:
17049 hardcode_direct_GCJ
=no
17050 hardcode_shlibpath_var_GCJ
=no
17053 hardcode_direct_GCJ
=yes
17054 hardcode_direct_absolute_GCJ
=yes
17055 export_dynamic_flag_spec_GCJ
='${wl}-E'
17057 # hardcode_minus_L: Not really in the search PATH,
17058 # but as the default location of the library.
17059 hardcode_minus_L_GCJ
=yes
17065 irix5
* | irix6
* | nonstopux
*)
17066 if test "$GCC" = yes; then
17067 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'
17068 # Try to use the -exported_symbol ld option, if it does not
17069 # work, assume that -exports_file does not work either and
17070 # implicitly export all symbols.
17071 save_LDFLAGS
="$LDFLAGS"
17072 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
17073 if test x
$gcc_no_link = xyes
; then
17074 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17076 { (exit 1); exit 1; }; }
17078 cat >conftest.
$ac_ext <<_ACEOF
17081 rm -f conftest.
$ac_objext conftest
$ac_exeext
17082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17083 (eval $ac_link) 2>conftest.er1
17085 grep -v '^ *+' conftest.er1
>conftest.err
17087 cat conftest.err
>&5
17088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17089 (exit $ac_status); } &&
17090 { ac_try
='test -z "$ac_c_werror_flag"
17091 || test ! -s conftest.err'
17092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17093 (eval $ac_try) 2>&5
17095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17096 (exit $ac_status); }; } &&
17097 { ac_try
='test -s conftest$ac_exeext'
17098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17099 (eval $ac_try) 2>&5
17101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17102 (exit $ac_status); }; }; then
17103 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'
17106 echo "$as_me: failed program was:" >&5
17107 sed 's/^/| /' conftest.
$ac_ext >&5
17110 rm -f conftest.err conftest.
$ac_objext \
17111 conftest
$ac_exeext conftest.
$ac_ext
17112 LDFLAGS
="$save_LDFLAGS"
17114 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'
17115 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'
17117 archive_cmds_need_lc_GCJ
='no'
17118 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17119 hardcode_libdir_separator_GCJ
=:
17120 inherit_rpath_GCJ
=yes
17121 link_all_deplibs_GCJ
=yes
17125 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
17126 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17128 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17130 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17131 hardcode_direct_GCJ
=yes
17132 hardcode_shlibpath_var_GCJ
=no
17136 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17137 hardcode_direct_GCJ
=yes
17138 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17139 hardcode_libdir_separator_GCJ
=:
17140 hardcode_shlibpath_var_GCJ
=no
17147 hardcode_direct_GCJ
=yes
17148 hardcode_shlibpath_var_GCJ
=no
17149 hardcode_direct_absolute_GCJ
=yes
17150 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17151 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17152 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17153 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17154 export_dynamic_flag_spec_GCJ
='${wl}-E'
17157 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17158 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17159 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17162 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17163 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17170 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17171 hardcode_minus_L_GCJ
=yes
17172 allow_undefined_flag_GCJ
=unsupported
17173 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'
17174 old_archive_from_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17178 if test "$GCC" = yes; then
17179 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17180 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'
17182 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17183 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'
17185 archive_cmds_need_lc_GCJ
='no'
17186 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17187 hardcode_libdir_separator_GCJ
=:
17190 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17191 if test "$GCC" = yes; then
17192 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17193 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'
17194 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17196 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17197 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'
17198 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~
17199 $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'
17201 # Both c and cxx compiler support -rpath directly
17202 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17204 archive_cmds_need_lc_GCJ
='no'
17205 hardcode_libdir_separator_GCJ
=:
17209 no_undefined_flag_GCJ
=' -z defs'
17210 if test "$GCC" = yes; then
17212 archive_cmds_GCJ
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17213 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17214 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
17216 case `$CC -V 2>&1` in
17219 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17220 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17221 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
17225 archive_cmds_GCJ
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
17226 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17227 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
17231 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17232 hardcode_shlibpath_var_GCJ
=no
17234 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17236 # The compiler driver will combine and reorder linker options,
17237 # but understands `-z linker_flag'. GCC discards it without `$wl',
17238 # but is careful enough not to reorder.
17239 # Supported since Solaris 2.6 (maybe 2.5.1?)
17240 if test "$GCC" = yes; then
17241 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17243 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
17247 link_all_deplibs_GCJ
=yes
17251 if test "x$host_vendor" = xsequent
; then
17252 # Use $CC to link under sequent, because it throws in some extra .o
17253 # files that make .init and .fini sections work.
17254 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17256 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17258 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17259 hardcode_direct_GCJ
=yes
17260 hardcode_minus_L_GCJ
=yes
17261 hardcode_shlibpath_var_GCJ
=no
17265 case $host_vendor in
17267 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17268 hardcode_direct_GCJ
=yes # is this really true???
17271 ## LD is ld it makes a PLAMLIB
17272 ## CC just makes a GrossModule.
17273 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17274 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17275 hardcode_direct_GCJ
=no
17278 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17279 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17282 runpath_var
='LD_RUN_PATH'
17283 hardcode_shlibpath_var_GCJ
=no
17287 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17288 hardcode_shlibpath_var_GCJ
=no
17289 export_dynamic_flag_spec_GCJ
='-Bexport'
17293 if test -d /usr
/nec
; then
17294 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17295 hardcode_shlibpath_var_GCJ
=no
17296 runpath_var
=LD_RUN_PATH
17297 hardcode_runpath_var
=yes
17302 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
17303 no_undefined_flag_GCJ
='${wl}-z,text'
17304 archive_cmds_need_lc_GCJ
=no
17305 hardcode_shlibpath_var_GCJ
=no
17306 runpath_var
='LD_RUN_PATH'
17308 if test "$GCC" = yes; then
17309 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17310 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17312 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17313 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17317 sysv5
* | sco3.2v5
* | sco5v6
*)
17318 # Note: We can NOT use -z defs as we might desire, because we do not
17319 # link with -lc, and that would cause any symbols used from libc to
17320 # always be unresolved, which means just about no library would
17321 # ever link correctly. If we're not using GNU ld we use -z text
17322 # though, which does catch some bad symbols but isn't as heavy-handed
17324 no_undefined_flag_GCJ
='${wl}-z,text'
17325 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17326 archive_cmds_need_lc_GCJ
=no
17327 hardcode_shlibpath_var_GCJ
=no
17328 hardcode_libdir_flag_spec_GCJ
='${wl}-R,$libdir'
17329 hardcode_libdir_separator_GCJ
=':'
17330 link_all_deplibs_GCJ
=yes
17331 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17332 runpath_var
='LD_RUN_PATH'
17334 if test "$GCC" = yes; then
17335 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17336 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17338 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17339 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17344 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17345 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17346 hardcode_shlibpath_var_GCJ
=no
17354 if test x
$host_vendor = xsni
; then
17356 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
17357 export_dynamic_flag_spec_GCJ
='${wl}-Blargedynsym'
17363 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17364 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17365 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17367 with_gnu_ld_GCJ
=$with_gnu_ld
17375 # Do we need to explicitly link libc?
17377 case "x$archive_cmds_need_lc_GCJ" in
17379 # Assume -lc should be added
17380 archive_cmds_need_lc_GCJ
=yes
17382 if test "$enable_shared" = yes && test "$GCC" = yes; then
17383 case $archive_cmds_GCJ in
17385 # FIXME: we may have to deal with multi-command sequences.
17388 # Test whether the compiler implicitly links with -lc since on some
17389 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17390 # to ld, don't add -lc before -lgcc.
17391 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17392 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17394 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17397 (eval $ac_compile) 2>&5
17399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400 (exit $ac_status); } 2>conftest.err
; then
17403 libobjs
=conftest.
$ac_objext
17405 wl
=$lt_prog_compiler_wl_GCJ
17406 pic_flag
=$lt_prog_compiler_pic_GCJ
17412 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17413 allow_undefined_flag_GCJ
=
17414 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
17415 (eval $archive_cmds_GCJ 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17418 (exit $ac_status); }
17420 archive_cmds_need_lc_GCJ
=no
17422 archive_cmds_need_lc_GCJ
=yes
17424 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17426 cat conftest.err
1>&5
17429 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17430 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17500 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17501 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17503 library_names_spec
=
17504 libname_spec
='lib$name'
17508 postuninstall_cmds
=
17512 shlibpath_overrides_runpath
=unknown
17514 dynamic_linker
="$host_os ld.so"
17515 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17516 need_lib_prefix
=unknown
17517 hardcode_into_libs
=no
17519 # when you set need_version to no, make sure it does not cause -set_version
17520 # flags to be left without arguments
17521 need_version
=unknown
17526 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17527 shlibpath_var
=LIBPATH
17529 # AIX 3 has no versioning support, so we append a major version to the name.
17530 soname_spec
='${libname}${release}${shared_ext}$major'
17537 hardcode_into_libs
=yes
17538 if test "$host_cpu" = ia64
; then
17539 # AIX 5 supports IA64
17540 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17541 shlibpath_var
=LD_LIBRARY_PATH
17543 # With GCC up to 2.95.x, collect2 would create an import file
17544 # for dependence libraries. The import file would start with
17545 # the line `#! .'. This would cause the generated library to
17546 # depend on `.', always an invalid library. This was fixed in
17547 # development snapshots of GCC prior to 3.0.
17549 aix4 | aix4.
[01] | aix4.
[01].
*)
17550 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17552 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
17555 can_build_shared
=no
17559 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17560 # soname into executable. Probably we can add versioning support to
17561 # collect2, so additional links can be useful in future.
17562 if test "$aix_use_runtimelinking" = yes; then
17563 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17564 # instead of lib<name>.a to let people know that these are not
17565 # typical AIX shared libraries.
17566 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17568 # We preserve .a as extension for shared libraries through AIX4.2
17569 # and later when we are not doing run time linking.
17570 library_names_spec
='${libname}${release}.a $libname.a'
17571 soname_spec
='${libname}${release}${shared_ext}$major'
17573 shlibpath_var
=LIBPATH
17578 if test "$host_cpu" = m68k
; then
17579 library_names_spec
='$libname.ixlibrary $libname.a'
17580 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17581 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'
17588 library_names_spec
='${libname}${shared_ext}'
17589 dynamic_linker
="$host_os ld.so"
17590 shlibpath_var
=LIBRARY_PATH
17596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17597 soname_spec
='${libname}${release}${shared_ext}$major'
17598 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17599 shlibpath_var
=LD_LIBRARY_PATH
17600 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17601 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17602 # the default ld.so.conf also contains /usr/contrib/lib and
17603 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17604 # libtool to hard-code these into programs
17607 cygwin
* | mingw
* | pw32
*)
17608 version_type
=windows
17613 case $withGCC,$host_os in
17614 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17615 library_names_spec
='$libname.dll.a'
17616 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17617 postinstall_cmds
='base_file=`basename \${file}`~
17618 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17619 dldir=$destdir/`dirname \$dlpath`~
17620 test -d \$dldir || mkdir -p \$dldir~
17621 $install_prog $dir/$dlname \$dldir/$dlname~
17622 chmod a+x \$dldir/$dlname~
17623 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17624 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17626 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17627 dlpath=$dir/\$dldll~
17629 shlibpath_overrides_runpath
=yes
17633 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17634 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17635 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17638 # MinGW DLLs use traditional 'lib' prefix
17639 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17640 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17641 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
17642 # It is most probably a Windows format PATH printed by
17643 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17644 # path with ; separators, and with drive letters. We can handle the
17645 # drive letters (cygwin fileutils understands them), so leave them,
17646 # especially as we might pass files found there to a mingw objdump,
17647 # which wouldn't understand a cygwinified path. Ahh.
17648 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17650 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17654 # pw32 DLLs use 'pw' prefix rather than 'lib'
17655 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17661 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17664 dynamic_linker
='Win32 ld.exe'
17665 # FIXME: first we should search . and the directory the executable is in
17669 darwin
* | rhapsody
*)
17670 dynamic_linker
="$host_os dyld"
17671 version_type
=darwin
17674 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17675 soname_spec
='${libname}${release}${major}$shared_ext'
17676 shlibpath_overrides_runpath
=yes
17677 shlibpath_var
=DYLD_LIBRARY_PATH
17678 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17680 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17687 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17688 soname_spec
='${libname}${release}${shared_ext}$major'
17689 shlibpath_var
=LD_LIBRARY_PATH
17696 freebsd
* | dragonfly
*)
17697 # DragonFly does not have aout. When/if they implement a new
17698 # versioning mechanism, adjust this.
17699 if test -x /usr
/bin
/objformat
; then
17700 objformat
=`/usr/bin/objformat`
17703 freebsd
[123]*) objformat
=aout
;;
17704 *) objformat
=elf
;;
17707 version_type
=freebsd-
$objformat
17708 case $version_type in
17710 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17715 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17719 shlibpath_var
=LD_LIBRARY_PATH
17722 shlibpath_overrides_runpath
=yes
17724 freebsd3.
[01]* | freebsdelf3.
[01]*)
17725 shlibpath_overrides_runpath
=yes
17726 hardcode_into_libs
=yes
17728 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17729 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17730 shlibpath_overrides_runpath
=no
17731 hardcode_into_libs
=yes
17733 *) # from 4.6 on, and DragonFly
17734 shlibpath_overrides_runpath
=yes
17735 hardcode_into_libs
=yes
17744 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17745 soname_spec
='${libname}${release}${shared_ext}$major'
17746 shlibpath_var
=LD_LIBRARY_PATH
17747 hardcode_into_libs
=yes
17750 hpux9
* | hpux10
* | hpux11
*)
17751 # Give a soname corresponding to the major version so that dld.sl refuses to
17752 # link against other versions.
17759 hardcode_into_libs
=yes
17760 dynamic_linker
="$host_os dld.so"
17761 shlibpath_var
=LD_LIBRARY_PATH
17762 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17763 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17764 soname_spec
='${libname}${release}${shared_ext}$major'
17765 if test "X$HPUX_IA64_MODE" = X32
; then
17766 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17768 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17770 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17774 hardcode_into_libs
=yes
17775 dynamic_linker
="$host_os dld.sl"
17776 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17777 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17778 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17779 soname_spec
='${libname}${release}${shared_ext}$major'
17780 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17781 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17785 dynamic_linker
="$host_os dld.sl"
17786 shlibpath_var
=SHLIB_PATH
17787 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17788 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17789 soname_spec
='${libname}${release}${shared_ext}$major'
17792 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17793 postinstall_cmds
='chmod 555 $lib'
17800 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17801 soname_spec
='${libname}${release}${shared_ext}$major'
17802 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17803 shlibpath_var
=LD_LIBRARY_PATH
17804 shlibpath_overrides_runpath
=no
17805 hardcode_into_libs
=yes
17808 irix5
* | irix6
* | nonstopux
*)
17810 nonstopux
*) version_type
=nonstopux
;;
17812 if test "$lt_cv_prog_gnu_ld" = yes; then
17820 soname_spec
='${libname}${release}${shared_ext}$major'
17821 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17823 irix5
* | nonstopux
*)
17824 libsuff
= shlibsuff
=
17827 case $LD in # libtool.m4 will add one of these switches to LD
17828 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17829 libsuff
= shlibsuff
= libmagic
=32-bit;;
17830 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17831 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17832 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17833 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17834 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17838 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17839 shlibpath_overrides_runpath
=no
17840 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17841 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17842 hardcode_into_libs
=yes
17845 # No shared lib support for Linux oldld, aout, or coff.
17846 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17850 # This must be Linux ELF.
17851 linux
* | k
*bsd
*-gnu)
17855 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17856 soname_spec
='${libname}${release}${shared_ext}$major'
17857 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17858 shlibpath_var
=LD_LIBRARY_PATH
17859 shlibpath_overrides_runpath
=no
17860 # Some binutils ld are patched to set DT_RUNPATH
17861 save_LDFLAGS
=$LDFLAGS
17862 save_libdir
=$libdir
17863 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_GCJ\"; \
17864 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_GCJ\""
17865 if test x
$gcc_no_link = xyes
; then
17866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17868 { (exit 1); exit 1; }; }
17870 cat >conftest.
$ac_ext <<_ACEOF
17873 cat confdefs.h
>>conftest.
$ac_ext
17874 cat >>conftest.
$ac_ext <<_ACEOF
17875 /* end confdefs.h. */
17885 rm -f conftest.
$ac_objext conftest
$ac_exeext
17886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17887 (eval $ac_link) 2>conftest.er1
17889 grep -v '^ *+' conftest.er1
>conftest.err
17891 cat conftest.err
>&5
17892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17893 (exit $ac_status); } &&
17894 { ac_try
='test -z "$ac_c_werror_flag"
17895 || test ! -s conftest.err'
17896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17897 (eval $ac_try) 2>&5
17899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900 (exit $ac_status); }; } &&
17901 { ac_try
='test -s conftest$ac_exeext'
17902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17903 (eval $ac_try) 2>&5
17905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17906 (exit $ac_status); }; }; then
17907 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
17908 shlibpath_overrides_runpath
=yes
17912 echo "$as_me: failed program was:" >&5
17913 sed 's/^/| /' conftest.
$ac_ext >&5
17916 rm -f conftest.err conftest.
$ac_objext \
17917 conftest
$ac_exeext conftest.
$ac_ext
17918 LDFLAGS
=$save_LDFLAGS
17919 libdir
=$save_libdir
17921 # This implies no fast_install, which is unacceptable.
17922 # Some rework will be needed to allow for fast_install
17923 # before this can be enabled.
17924 hardcode_into_libs
=yes
17926 # Append ld.so.conf contents to the search path
17927 if test -f /etc
/ld.so.conf
; then
17928 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' ' '`
17929 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17932 # We used to test for /lib/ld.so.1 and disable shared libraries on
17933 # powerpc, because MkLinux only supported shared libraries with the
17934 # GNU dynamic linker. Since this was broken with cross compilers,
17935 # most powerpc-linux boxes support dynamic linking these days and
17936 # people can always --disable-shared, the test was removed, and we
17937 # assume the GNU/Linux dynamic linker is in use.
17938 dynamic_linker
='GNU/Linux ld.so'
17945 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
17946 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17947 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17948 dynamic_linker
='NetBSD (a.out) ld.so'
17950 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17951 soname_spec
='${libname}${release}${shared_ext}$major'
17952 dynamic_linker
='NetBSD ld.elf_so'
17954 shlibpath_var
=LD_LIBRARY_PATH
17955 shlibpath_overrides_runpath
=yes
17956 hardcode_into_libs
=yes
17961 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17962 shlibpath_var
=LD_LIBRARY_PATH
17963 shlibpath_overrides_runpath
=yes
17970 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17971 soname_spec
='${libname}${release}${shared_ext}$major'
17972 shlibpath_var
=LD_LIBRARY_PATH
17973 shlibpath_overrides_runpath
=no
17974 hardcode_into_libs
=yes
17975 dynamic_linker
='ldqnx.so'
17980 sys_lib_dlsearch_path_spec
="/usr/lib"
17982 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17984 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
17985 *) need_version
=no
;;
17987 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17988 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17989 shlibpath_var
=LD_LIBRARY_PATH
17990 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17992 openbsd2.
[89] | openbsd2.
[89].
*)
17993 shlibpath_overrides_runpath
=no
17996 shlibpath_overrides_runpath
=yes
18000 shlibpath_overrides_runpath
=yes
18005 libname_spec
='$name'
18008 library_names_spec
='$libname${shared_ext} $libname.a'
18009 dynamic_linker
='OS/2 ld.exe'
18010 shlibpath_var
=LIBPATH
18013 osf3
* | osf4
* | osf5
*)
18017 soname_spec
='${libname}${release}${shared_ext}$major'
18018 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18019 shlibpath_var
=LD_LIBRARY_PATH
18020 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18021 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18033 soname_spec
='${libname}${release}${shared_ext}$major'
18034 shlibpath_var
=LD_LIBRARY_PATH
18035 shlibpath_overrides_runpath
=yes
18036 hardcode_into_libs
=yes
18037 # ldd complains unless libraries are executable
18038 postinstall_cmds
='chmod +x $lib'
18043 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18044 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18045 shlibpath_var
=LD_LIBRARY_PATH
18046 shlibpath_overrides_runpath
=yes
18047 if test "$with_gnu_ld" = yes; then
18055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18056 soname_spec
='${libname}${release}${shared_ext}$major'
18057 shlibpath_var
=LD_LIBRARY_PATH
18058 case $host_vendor in
18060 shlibpath_overrides_runpath
=no
18062 runpath_var
=LD_RUN_PATH
18070 shlibpath_overrides_runpath
=no
18071 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18077 if test -d /usr
/nec
;then
18079 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18080 soname_spec
='$libname${shared_ext}.$major'
18081 shlibpath_var
=LD_LIBRARY_PATH
18085 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18086 version_type
=freebsd-elf
18089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18090 soname_spec
='${libname}${release}${shared_ext}$major'
18091 shlibpath_var
=LD_LIBRARY_PATH
18092 shlibpath_overrides_runpath
=yes
18093 hardcode_into_libs
=yes
18094 if test "$with_gnu_ld" = yes; then
18095 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18097 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18100 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18104 sys_lib_dlsearch_path_spec
='/usr/lib'
18108 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
18112 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18113 shlibpath_var
=LD_LIBRARY_PATH
18114 shlibpath_overrides_runpath
=no
18115 hardcode_into_libs
=yes
18120 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18121 soname_spec
='${libname}${release}${shared_ext}$major'
18122 shlibpath_var
=LD_LIBRARY_PATH
18129 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18130 echo "${ECHO_T}$dynamic_linker" >&6
18131 test "$dynamic_linker" = no
&& can_build_shared
=no
18133 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18134 if test "$GCC" = yes; then
18135 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18173 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18174 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
18175 hardcode_action_GCJ
=
18176 if test -n "$hardcode_libdir_flag_spec_GCJ" ||
18177 test -n "$runpath_var_GCJ" ||
18178 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18180 # We can hardcode non-existent directories.
18181 if test "$hardcode_direct_GCJ" != no
&&
18182 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18183 # have to relink, otherwise we might link with an installed library
18184 # when we should be linking with a yet-to-be-installed one
18185 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18186 test "$hardcode_minus_L_GCJ" != no
; then
18187 # Linking always hardcodes the temporary library directory.
18188 hardcode_action_GCJ
=relink
18190 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18191 hardcode_action_GCJ
=immediate
18194 # We cannot hardcode anything, or else we can only hardcode existing
18196 hardcode_action_GCJ
=unsupported
18198 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18199 echo "${ECHO_T}$hardcode_action_GCJ" >&6
18201 if test "$hardcode_action_GCJ" = relink ||
18202 test "$inherit_rpath_GCJ" = yes; then
18203 # Fast installation is not supported
18204 enable_fast_install
=no
18205 elif test "$shlibpath_overrides_runpath" = yes ||
18206 test "$enable_shared" = no
; then
18207 # Fast installation is not necessary
18208 enable_fast_install
=needless
18219 compiler_GCJ
=${GCJ-gcj}
18221 ac_cpp
='$CPP $CPPFLAGS'
18222 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18223 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18224 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18227 if test "x$CC" != xcc
; then
18228 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
18229 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
18231 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
18232 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
18234 set dummy
$CC; ac_cc
=`echo $2 |
18235 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
18236 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
18237 echo $ECHO_N "(cached) $ECHO_C" >&6
18239 cat >conftest.
$ac_ext <<_ACEOF
18242 cat confdefs.h
>>conftest.
$ac_ext
18243 cat >>conftest.
$ac_ext <<_ACEOF
18244 /* end confdefs.h. */
18254 # Make sure it works both with $CC and with simple cc.
18255 # We do the test twice because some compilers refuse to overwrite an
18256 # existing .o file with -o, though they will create one.
18257 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
18258 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18259 (eval $ac_try) 2>&5
18261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18262 (exit $ac_status); } &&
18263 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18264 (eval $ac_try) 2>&5
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 (exit $ac_status); };
18269 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
18270 if test "x$CC" != xcc
; then
18271 # Test first that cc exists at all.
18272 if { ac_try
='cc -c conftest.$ac_ext >&5'
18273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18274 (eval $ac_try) 2>&5
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); }; }; then
18278 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
18279 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18280 (eval $ac_try) 2>&5
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); } &&
18284 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18285 (eval $ac_try) 2>&5
18287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); };
18293 # cc exists but doesn't like -o.
18294 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
18299 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
18304 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
18305 echo "$as_me:$LINENO: result: yes" >&5
18306 echo "${ECHO_T}yes" >&6
18308 echo "$as_me:$LINENO: result: no" >&5
18309 echo "${ECHO_T}no" >&6
18311 cat >>confdefs.h
<<\_ACEOF
18312 #define NO_MINUS_C_MINUS_O 1
18317 # FIXME: we rely on the cache variable name because
18318 # there is no other way.
18320 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
18321 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
18322 # Losing compiler, so override with the script.
18323 # FIXME: It is wrong to rewrite CC.
18324 # But if we don't then we get into trouble of one sort or another.
18325 # A longer-term fix would be to have automake use am__CC in this case,
18326 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
18327 CC
="$am_aux_dir/compile $CC"
18333 subdirs
="$subdirs classpath libltdl"
18336 # The -no-testsuite modules omit the test subdir.
18339 if test -d $srcdir/testsuite
; then
18341 TESTSUBDIR_FALSE
='#'
18343 TESTSUBDIR_TRUE
='#'
18348 # Should the runtime set system properties by examining the
18349 # environment variable GCJ_PROPERTIES?
18350 # Check whether --enable-getenv-properties or --disable-getenv-properties was given.
18351 if test "${enable_getenv_properties+set}" = set; then
18352 enableval
="$enable_getenv_properties"
18356 # Whether GCJ_PROPERTIES is used depends on the target.
18357 if test -z "$enable_getenv_properties"; then
18358 enable_getenv_properties
=${enable_getenv_properties_default-yes}
18360 if test "$enable_getenv_properties" = no
; then
18362 cat >>confdefs.h
<<\_ACEOF
18363 #define DISABLE_GETENV_PROPERTIES 1
18368 # Whether we should use arguments to main()
18369 if test -z "$enable_main_args"; then
18370 enable_main_args
=${enable_main_args_default-yes}
18372 if test "$enable_main_args" = no
; then
18374 cat >>confdefs.h
<<\_ACEOF
18375 #define DISABLE_MAIN_ARGS 1
18381 # Should we use hashtable-based synchronization?
18382 # Currently works only for Linux X86/ia64
18383 # Typically faster and more space-efficient
18384 # Check whether --enable-hash-synchronization or --disable-hash-synchronization was given.
18385 if test "${enable_hash_synchronization+set}" = set; then
18386 enableval
="$enable_hash_synchronization"
18390 if test -z "$enable_hash_synchronization"; then
18391 enable_hash_synchronization
=$enable_hash_synchronization_default
18399 # Check whether --with-ecj-jar or --without-ecj-jar was given.
18400 if test "${with_ecj_jar+set}" = set; then
18401 withval
="$with_ecj_jar"
18404 if test -f $multi_basedir/ecj.jar
; then
18405 ECJ_BUILD_JAR
=$multi_basedir/ecj.jar
18406 ECJ_JAR
='$(jardir)/ecj.jar'
18407 install_ecj_jar
=yes
18414 if test "$ECJ_JAR" != ""; then
18416 BUILD_ECJ1_FALSE
='#'
18418 BUILD_ECJ1_TRUE
='#'
18424 if test $install_ecj_jar = yes; then
18425 INSTALL_ECJ_JAR_TRUE
=
18426 INSTALL_ECJ_JAR_FALSE
='#'
18428 INSTALL_ECJ_JAR_TRUE
='#'
18429 INSTALL_ECJ_JAR_FALSE
=
18434 # Check whether --with-java-home or --without-java-home was given.
18435 if test "${with_java_home+set}" = set; then
18436 withval
="$with_java_home"
18437 JAVA_HOME
="${withval}"
18443 if test ! -z "$JAVA_HOME"; then
18444 JAVA_HOME_SET_TRUE
=
18445 JAVA_HOME_SET_FALSE
='#'
18447 JAVA_HOME_SET_TRUE
='#'
18448 JAVA_HOME_SET_FALSE
=
18453 suppress_libgcj_bc
=no
18454 # Check whether --enable-libgcj-bc or --disable-libgcj-bc was given.
18455 if test "${enable_libgcj_bc+set}" = set; then
18456 enableval
="$enable_libgcj_bc"
18457 if test "$enable_libgcj_bc" = "no"; then
18458 suppress_libgcj_bc
=yes
18463 if test "$suppress_libgcj_bc" = "yes"; then
18464 SUPPRESS_LIBGCJ_BC_TRUE
=
18465 SUPPRESS_LIBGCJ_BC_FALSE
='#'
18467 SUPPRESS_LIBGCJ_BC_TRUE
='#'
18468 SUPPRESS_LIBGCJ_BC_FALSE
=
18472 # What is the native OS API for MinGW?
18474 # Check whether --with-win32-nlsapi or --without-win32-nlsapi was given.
18475 if test "${with_win32_nlsapi+set}" = set; then
18476 withval
="$with_win32_nlsapi"
18477 case "${withval}" in
18478 ansi
) with_win32_nlsapi
=ansi
;;
18479 unicows
) with_win32_nlsapi
=unicows
;;
18480 unicode
) with_win32_nlsapi
=unicode
;;
18481 *) { { echo "$as_me:$LINENO: error: Bad value ${withval} for --with-win32-nlsapi." >&5
18482 echo "$as_me: error: Bad value ${withval} for --with-win32-nlsapi." >&2;}
18483 { (exit 1); exit 1; }; } ;;
18486 with_win32_nlsapi
=ansi
18489 case "${with_win32_nlsapi}" in
18492 cat >>confdefs.h
<<\_ACEOF
18493 #define MINGW_LIBGCJ_UNICODE 1
18499 # configure.host sets slow_pthread_self if the synchronization code should
18500 # try to avoid pthread_self calls by caching thread IDs in a hashtable.
18501 if test "${slow_pthread_self}" = "yes"; then
18503 cat >>confdefs.h
<<\_ACEOF
18504 #define SLOW_PTHREAD_SELF 1
18509 # Check for gc debugging. This option is handled both here and in the GC.
18510 # Check whether --enable-gc-debug or --disable-gc-debug was given.
18511 if test "${enable_gc_debug+set}" = set; then
18512 enableval
="$enable_gc_debug"
18513 if test "$enable_gc_debug" = "yes"; then
18515 cat >>confdefs.h
<<\_ACEOF
18516 #define LIBGCJ_GC_DEBUG 1
18522 # See if the user has the interpreter included.
18523 # Check whether --enable-interpreter or --disable-interpreter was given.
18524 if test "${enable_interpreter+set}" = set; then
18525 enableval
="$enable_interpreter"
18526 if test "$enable_interpreter" = yes; then
18527 # This can also be set in configure.host.
18528 libgcj_interpreter
=yes
18529 elif test "$enable_interpreter" = no
; then
18530 libgcj_interpreter
=no
18534 if test "$libgcj_interpreter" = yes; then
18536 cat >>confdefs.h
<<\_ACEOF
18537 #define INTERPRETER 1
18541 INTERPRETER
="$libgcj_interpreter"
18545 if test "$libgcj_interpreter" = yes; then
18547 INTERPRETER_FALSE
='#'
18549 INTERPRETER_TRUE
='#'
18554 echo "$as_me:$LINENO: checking for exception model to use" >&5
18555 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
18557 ac_cpp
='$CXXCPP $CPPFLAGS'
18558 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18559 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18560 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18562 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
18563 if test "${enable_sjlj_exceptions+set}" = set; then
18564 enableval
="$enable_sjlj_exceptions"
18567 cat > conftest.
$ac_ext << EOF
18568 #line 18568 "configure"
18569 struct S { ~S(); };
18577 old_CXXFLAGS
="$CXXFLAGS"
18579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18580 (eval $ac_compile) 2>&5
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); }; then
18584 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1 ; then
18585 enable_sjlj_exceptions
=yes
18586 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1 ; then
18587 enable_sjlj_exceptions
=no
18590 CXXFLAGS
="$old_CXXFLAGS"
18593 if test x
$enable_sjlj_exceptions = xyes
; then
18595 cat >>confdefs.h
<<\_ACEOF
18596 #define SJLJ_EXCEPTIONS 1
18599 ac_exception_model_name
=sjlj
18600 elif test x
$enable_sjlj_exceptions = xno
; then
18601 ac_exception_model_name
="call frame"
18603 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
18604 echo "$as_me: error: unable to detect exception model" >&2;}
18605 { (exit 1); exit 1; }; }
18608 ac_cpp
='$CPP $CPPFLAGS'
18609 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18610 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18611 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18613 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
18614 echo "${ECHO_T}$ac_exception_model_name" >&6
18616 # If we are non using SJLJ exceptions, and this host does not have support
18617 # for unwinding from a signal handler, enable checked dereferences and divides.
18618 if test $can_unwind_signal = no
&& test $enable_sjlj_exceptions = no
; then
18619 CHECKREFSPEC
=-fcheck-references
18620 DIVIDESPEC
=-fuse-divide-subroutine
18624 # See if the user wants to disable java.net. This is the mildly
18625 # ugly way that we admit that target-side configuration sucks.
18626 # Check whether --enable-java-net or --disable-java-net was given.
18627 if test "${enable_java_net+set}" = set; then
18628 enableval
="$enable_java_net"
18632 # Whether java.net is built by default can depend on the target.
18633 if test -z "$enable_java_net"; then
18634 enable_java_net
=${enable_java_net_default-yes}
18636 if test "$enable_java_net" = no
; then
18638 cat >>confdefs.h
<<\_ACEOF
18639 #define DISABLE_JAVA_NET 1
18644 # See if the user wants to configure without libffi. Some
18645 # architectures don't support it, and default values are set in
18648 # Check whether --with-libffi or --without-libffi was given.
18649 if test "${with_libffi+set}" = set; then
18650 withval
="$with_libffi"
18653 with_libffi
=${with_libffi_default-yes}
18658 if test "$with_libffi" != no
; then
18660 cat >>confdefs.h
<<\_ACEOF
18661 #define USE_LIBFFI 1
18664 LIBFFI
=..
/libffi
/libffi_convenience.la
18665 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
18670 # See if the user wants to disable JVMPI support.
18671 # Check whether --enable-jvmpi or --disable-jvmpi was given.
18672 if test "${enable_jvmpi+set}" = set; then
18673 enableval
="$enable_jvmpi"
18677 if test "$enable_jvmpi" != no
; then
18679 cat >>confdefs.h
<<\_ACEOF
18680 #define ENABLE_JVMPI 1
18685 # If the target is an eCos system, use the appropriate eCos
18687 # FIXME: this should not be a local option but a global target
18688 # system; at present there is no eCos target.
18689 TARGET_ECOS
=${PROCESS-"no"}
18691 # Check whether --with-ecos or --without-ecos was given.
18692 if test "${with_ecos+set}" = set; then
18693 withval
="$with_ecos"
18694 TARGET_ECOS
="$with_ecos"
18698 case "$TARGET_ECOS" in
18699 no
) case "$host" in
18705 echo "$as_me:$LINENO: checking whether 'ld' is at least 2.13" >&5
18706 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6
18707 LD_PROG
=`$CC --print-prog-name=ld`
18708 LD_VERSION
=`$LD_PROG --version`
18709 LD_VERSION_MAJOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
18710 LD_VERSION_MINOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
18711 if expr "$LD_VERSION_MAJOR" \
> 2 > /dev
/null
; then
18714 if expr "$LD_VERSION_MAJOR" = 2 && expr "$LD_VERSION_MINOR" \
>= 13 > /dev
/null
; then
18718 if test "x$LD_OK" != x
; then
18719 echo "$as_me:$LINENO: result: yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
18720 echo "${ECHO_T}yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
18722 echo "$as_me:$LINENO: result: no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
18723 echo "${ECHO_T}no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
18724 { echo "$as_me:$LINENO: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&5
18725 echo "$as_me: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&2;}
18727 cat >>confdefs.h
<<\_ACEOF
18728 #define JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS 1
18744 cat >>confdefs.h
<<\_ACEOF
18752 ac_config_links
="$ac_config_links include/platform.h:include/$PLATFORMH"
18755 cat >conftest.
$ac_ext <<_ACEOF
18758 cat confdefs.h
>>conftest.
$ac_ext
18759 cat >>conftest.
$ac_ext <<_ACEOF
18760 /* end confdefs.h. */
18761 #include <stdint.h>
18764 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18765 $EGREP "uint32_t" >/dev
/null
2>&1; then
18767 cat >>confdefs.h
<<\_ACEOF
18768 #define HAVE_INT32_DEFINED 1
18774 cat >conftest.
$ac_ext <<_ACEOF
18777 cat confdefs.h
>>conftest.
$ac_ext
18778 cat >>conftest.
$ac_ext <<_ACEOF
18779 /* end confdefs.h. */
18780 #include <inttypes.h>
18783 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18784 $EGREP "uint32_t" >/dev
/null
2>&1; then
18786 cat >>confdefs.h
<<\_ACEOF
18787 #define HAVE_INT32_DEFINED 1
18793 cat >conftest.
$ac_ext <<_ACEOF
18796 cat confdefs.h
>>conftest.
$ac_ext
18797 cat >>conftest.
$ac_ext <<_ACEOF
18798 /* end confdefs.h. */
18799 #include <sys/types.h>
18802 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18803 $EGREP "u_int32_t" >/dev
/null
2>&1; then
18805 cat >>confdefs.h
<<\_ACEOF
18806 #define HAVE_BSD_INT32_DEFINED 1
18812 cat >conftest.
$ac_ext <<_ACEOF
18815 cat confdefs.h
>>conftest.
$ac_ext
18816 cat >>conftest.
$ac_ext <<_ACEOF
18817 /* end confdefs.h. */
18818 #include <sys/config.h>
18821 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18822 $EGREP "u_int32_t" >/dev
/null
2>&1; then
18824 cat >>confdefs.h
<<\_ACEOF
18825 #define HAVE_BSD_INT32_DEFINED 1
18834 if test "$PLATFORM" = Win32
; then
18835 USING_WIN32_PLATFORM_TRUE
=
18836 USING_WIN32_PLATFORM_FALSE
='#'
18838 USING_WIN32_PLATFORM_TRUE
='#'
18839 USING_WIN32_PLATFORM_FALSE
=
18844 if test "$PLATFORM" = Posix ||
test "$PLATFORM" = Ecos
; then
18845 USING_POSIX_PLATFORM_TRUE
=
18846 USING_POSIX_PLATFORM_FALSE
='#'
18848 USING_POSIX_PLATFORM_TRUE
='#'
18849 USING_POSIX_PLATFORM_FALSE
=
18854 *-darwin*) DARWIN_CRT
=true
;;
18855 *) DARWIN_CRT
=false
;;
18859 if $DARWIN_CRT; then
18860 USING_DARWIN_CRT_TRUE
=
18861 USING_DARWIN_CRT_FALSE
='#'
18863 USING_DARWIN_CRT_TRUE
='#'
18864 USING_DARWIN_CRT_FALSE
=
18868 # This may not be defined in a non-ANS conformant embedded system.
18869 # FIXME: Should these case a runtime exception in that case?
18870 cat >conftest.
$ac_ext <<_ACEOF
18873 cat confdefs.h
>>conftest.
$ac_ext
18874 cat >>conftest.
$ac_ext <<_ACEOF
18875 /* end confdefs.h. */
18879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18880 $EGREP "localtime" >/dev
/null
2>&1; then
18882 cat >>confdefs.h
<<\_ACEOF
18883 #define HAVE_LOCALTIME 1
18890 # Create the subdirectory for natFile.cc, or the attempt
18891 # to create the link will fail.
18892 test -d java || mkdir java
18893 test -d java
/io || mkdir java
/io
18894 test -d gnu || mkdir gnu
18895 ac_config_links
="$ac_config_links java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc"
18898 # Likewise for natConcreteProcess.cc.
18899 test -d java
/lang || mkdir java
/lang
18900 ac_config_links
="$ac_config_links java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc"
18903 # Likewise for natVMInetAddress.cc and natVMNetworkInterface.cc.
18904 test -d java
/net || mkdir java
/net
18905 ac_config_links
="$ac_config_links java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc"
18907 ac_config_links
="$ac_config_links java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc"
18910 # Likewise for natPlainSocketImpl.cc and natPlainDatagramSocketImpl.cc.
18911 test -d gnu
/java || mkdir gnu
/java
18912 test -d gnu
/java
/net || mkdir gnu
/java
/net
18913 ac_config_links
="$ac_config_links gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc"
18915 ac_config_links
="$ac_config_links gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc"
18918 # Likewise for natVMPipe.cc and natVMSelector.cc.
18919 test -d gnu
/java
/nio || mkdir gnu
/java
/nio
18920 ac_config_links
="$ac_config_links gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc"
18922 ac_config_links
="$ac_config_links gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc"
18925 # Likewise for natFileChannelImpl.cc
18926 test -d gnu
/java
/nio
/channels || mkdir gnu
/java
/nio
/channels
18927 ac_config_links
="$ac_config_links gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc"
18932 SYSTEMSPEC
="-lgdi32 -lws2_32"
18933 if test "${with_win32_nlsapi}" = "unicows"; then
18934 SYSTEMSPEC
="-lunicows $SYSTEMSPEC"
18944 # Check whether --with-system-zlib or --without-system-zlib was given.
18945 if test "${with_system_zlib+set}" = set; then
18946 withval
="$with_system_zlib"
18954 echo "$as_me:$LINENO: checking for X" >&5
18955 echo $ECHO_N "checking for X... $ECHO_C" >&6
18958 # Check whether --with-x or --without-x was given.
18959 if test "${with_x+set}" = set; then
18963 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
18964 if test "x$with_x" = xno
; then
18965 # The user explicitly disabled X.
18968 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
18969 # Both variables are already set.
18972 if test "${ac_cv_have_x+set}" = set; then
18973 echo $ECHO_N "(cached) $ECHO_C" >&6
18975 # One or both of the vars are not set, and there is no cached value.
18976 ac_x_includes
=no ac_x_libraries
=no
18977 rm -fr conftest.dir
18978 if mkdir conftest.dir
; then
18980 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
18981 cat >Imakefile
<<'_ACEOF'
18983 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
18985 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
18986 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18987 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
18988 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
18989 for ac_extension
in a so sl
; do
18990 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
18991 test -f $ac_im_libdir/libX11.
$ac_extension; then
18992 ac_im_usrlibdir
=$ac_im_libdir; break
18995 # Screen out bogus values from the imake configuration. They are
18996 # bogus both because they are the default anyway, and because
18997 # using them would break gcc on systems where it needs fixed includes.
18998 case $ac_im_incroot in
19000 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
19002 case $ac_im_usrlibdir in
19003 /usr
/lib |
/lib
) ;;
19004 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
19008 rm -fr conftest.dir
19011 # Standard set of common directories for X headers.
19012 # Check X11 before X11Rn because it is often a symlink to the current release.
19024 /usr/local/X11/include
19025 /usr/local/X11R6/include
19026 /usr/local/X11R5/include
19027 /usr/local/X11R4/include
19029 /usr/local/include/X11
19030 /usr/local/include/X11R6
19031 /usr/local/include/X11R5
19032 /usr/local/include/X11R4
19036 /usr/XFree86/include/X11
19040 /usr/unsupported/include
19041 /usr/athena/include
19042 /usr/local/x11r5/include
19043 /usr/lpp/Xamples/include
19045 /usr/openwin/include
19046 /usr/openwin/share/include'
19048 if test "$ac_x_includes" = no
; then
19049 # Guess where to find include files, by looking for Intrinsic.h.
19050 # First, try using that file with no special directory specified.
19051 cat >conftest.
$ac_ext <<_ACEOF
19054 cat confdefs.h
>>conftest.
$ac_ext
19055 cat >>conftest.
$ac_ext <<_ACEOF
19056 /* end confdefs.h. */
19057 #include <X11/Intrinsic.h>
19059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19060 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19062 grep -v '^ *+' conftest.er1
>conftest.err
19064 cat conftest.err
>&5
19065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19066 (exit $ac_status); } >/dev
/null
; then
19067 if test -s conftest.err
; then
19068 ac_cpp_err
=$ac_c_preproc_warn_flag
19069 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19076 if test -z "$ac_cpp_err"; then
19077 # We can compile using X headers with no special include directory.
19080 echo "$as_me: failed program was:" >&5
19081 sed 's/^/| /' conftest.
$ac_ext >&5
19083 for ac_dir
in $ac_x_header_dirs; do
19084 if test -r "$ac_dir/X11/Intrinsic.h"; then
19085 ac_x_includes
=$ac_dir
19090 rm -f conftest.err conftest.
$ac_ext
19091 fi # $ac_x_includes = no
19093 if test "$ac_x_libraries" = no
; then
19094 # Check for the libraries.
19095 # See if we find them without any special options.
19096 # Don't add to $LIBS permanently.
19099 if test x
$gcc_no_link = xyes
; then
19100 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19102 { (exit 1); exit 1; }; }
19104 cat >conftest.
$ac_ext <<_ACEOF
19107 cat confdefs.h
>>conftest.
$ac_ext
19108 cat >>conftest.
$ac_ext <<_ACEOF
19109 /* end confdefs.h. */
19110 #include <X11/Intrinsic.h>
19119 rm -f conftest.
$ac_objext conftest
$ac_exeext
19120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19121 (eval $ac_link) 2>conftest.er1
19123 grep -v '^ *+' conftest.er1
>conftest.err
19125 cat conftest.err
>&5
19126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19127 (exit $ac_status); } &&
19128 { ac_try
='test -z "$ac_c_werror_flag"
19129 || test ! -s conftest.err'
19130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19131 (eval $ac_try) 2>&5
19133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134 (exit $ac_status); }; } &&
19135 { ac_try
='test -s conftest$ac_exeext'
19136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19137 (eval $ac_try) 2>&5
19139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140 (exit $ac_status); }; }; then
19142 # We can link X programs with no special library path.
19145 echo "$as_me: failed program was:" >&5
19146 sed 's/^/| /' conftest.
$ac_ext >&5
19149 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
19151 # Don't even attempt the hair of trying to link an X program!
19152 for ac_extension
in a so sl
; do
19153 if test -r $ac_dir/libXt.
$ac_extension; then
19154 ac_x_libraries
=$ac_dir
19160 rm -f conftest.err conftest.
$ac_objext \
19161 conftest
$ac_exeext conftest.
$ac_ext
19162 fi # $ac_x_libraries = no
19164 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
19165 # Didn't find X anywhere. Cache the known absence of X.
19166 ac_cv_have_x
="have_x=no"
19168 # Record where we found X for the cache.
19169 ac_cv_have_x
="have_x=yes \
19170 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
19175 eval "$ac_cv_have_x"
19178 if test "$have_x" != yes; then
19179 echo "$as_me:$LINENO: result: $have_x" >&5
19180 echo "${ECHO_T}$have_x" >&6
19183 # If each of the values was on the command line, it overrides each guess.
19184 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
19185 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
19186 # Update the cache value to reflect the command line values.
19187 ac_cv_have_x
="have_x=yes \
19188 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
19189 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
19190 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
19193 if test "$no_x" = yes; then
19194 # Not all programs may use this symbol, but it does not hurt to define it.
19196 cat >>confdefs.h
<<\_ACEOF
19197 #define X_DISPLAY_MISSING 1
19200 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
19202 if test -n "$x_includes"; then
19203 X_CFLAGS
="$X_CFLAGS -I$x_includes"
19206 # It would also be nice to do this for all -L options, not just this one.
19207 if test -n "$x_libraries"; then
19208 X_LIBS
="$X_LIBS -L$x_libraries"
19209 # For Solaris; some versions of Sun CC require a space after -R and
19210 # others require no space. Words are not sufficient . . . .
19211 case `(uname -sr) 2>/dev/null` in
19213 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
19214 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
19215 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
19216 if test x
$gcc_no_link = xyes
; then
19217 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19219 { (exit 1); exit 1; }; }
19221 cat >conftest.
$ac_ext <<_ACEOF
19224 cat confdefs.h
>>conftest.
$ac_ext
19225 cat >>conftest.
$ac_ext <<_ACEOF
19226 /* end confdefs.h. */
19236 rm -f conftest.
$ac_objext conftest
$ac_exeext
19237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19238 (eval $ac_link) 2>conftest.er1
19240 grep -v '^ *+' conftest.er1
>conftest.err
19242 cat conftest.err
>&5
19243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19244 (exit $ac_status); } &&
19245 { ac_try
='test -z "$ac_c_werror_flag"
19246 || test ! -s conftest.err'
19247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19248 (eval $ac_try) 2>&5
19250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19251 (exit $ac_status); }; } &&
19252 { ac_try
='test -s conftest$ac_exeext'
19253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19254 (eval $ac_try) 2>&5
19256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19257 (exit $ac_status); }; }; then
19260 echo "$as_me: failed program was:" >&5
19261 sed 's/^/| /' conftest.
$ac_ext >&5
19265 rm -f conftest.err conftest.
$ac_objext \
19266 conftest
$ac_exeext conftest.
$ac_ext
19267 if test $ac_R_nospace = yes; then
19268 echo "$as_me:$LINENO: result: no" >&5
19269 echo "${ECHO_T}no" >&6
19270 X_LIBS
="$X_LIBS -R$x_libraries"
19272 LIBS
="$ac_xsave_LIBS -R $x_libraries"
19273 if test x
$gcc_no_link = xyes
; then
19274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19276 { (exit 1); exit 1; }; }
19278 cat >conftest.
$ac_ext <<_ACEOF
19281 cat confdefs.h
>>conftest.
$ac_ext
19282 cat >>conftest.
$ac_ext <<_ACEOF
19283 /* end confdefs.h. */
19293 rm -f conftest.
$ac_objext conftest
$ac_exeext
19294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19295 (eval $ac_link) 2>conftest.er1
19297 grep -v '^ *+' conftest.er1
>conftest.err
19299 cat conftest.err
>&5
19300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301 (exit $ac_status); } &&
19302 { ac_try
='test -z "$ac_c_werror_flag"
19303 || test ! -s conftest.err'
19304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19305 (eval $ac_try) 2>&5
19307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19308 (exit $ac_status); }; } &&
19309 { ac_try
='test -s conftest$ac_exeext'
19310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19311 (eval $ac_try) 2>&5
19313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19314 (exit $ac_status); }; }; then
19317 echo "$as_me: failed program was:" >&5
19318 sed 's/^/| /' conftest.
$ac_ext >&5
19322 rm -f conftest.err conftest.
$ac_objext \
19323 conftest
$ac_exeext conftest.
$ac_ext
19324 if test $ac_R_space = yes; then
19325 echo "$as_me:$LINENO: result: yes" >&5
19326 echo "${ECHO_T}yes" >&6
19327 X_LIBS
="$X_LIBS -R $x_libraries"
19329 echo "$as_me:$LINENO: result: neither works" >&5
19330 echo "${ECHO_T}neither works" >&6
19333 LIBS
=$ac_xsave_LIBS
19337 # Check for system-dependent libraries X programs must link with.
19338 # Do this before checking for the system-independent R6 libraries
19339 # (-lICE), since we may need -lsocket or whatever for X linking.
19341 if test "$ISC" = yes; then
19342 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
19344 # Martyn Johnson says this is needed for Ultrix, if the X
19345 # libraries were built with DECnet support. And Karl Berry says
19346 # the Alpha needs dnet_stub (dnet does not exist).
19347 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
19348 if test x
$gcc_no_link = xyes
; then
19349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19351 { (exit 1); exit 1; }; }
19353 cat >conftest.
$ac_ext <<_ACEOF
19356 cat confdefs.h
>>conftest.
$ac_ext
19357 cat >>conftest.
$ac_ext <<_ACEOF
19358 /* end confdefs.h. */
19360 /* Override any gcc2 internal prototype to avoid an error. */
19364 /* We use char because int might match the return type of a gcc2
19365 builtin and then its argument prototype would still apply. */
19366 char XOpenDisplay ();
19375 rm -f conftest.
$ac_objext conftest
$ac_exeext
19376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19377 (eval $ac_link) 2>conftest.er1
19379 grep -v '^ *+' conftest.er1
>conftest.err
19381 cat conftest.err
>&5
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); } &&
19384 { ac_try
='test -z "$ac_c_werror_flag"
19385 || test ! -s conftest.err'
19386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19387 (eval $ac_try) 2>&5
19389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19390 (exit $ac_status); }; } &&
19391 { ac_try
='test -s conftest$ac_exeext'
19392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19393 (eval $ac_try) 2>&5
19395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19396 (exit $ac_status); }; }; then
19399 echo "$as_me: failed program was:" >&5
19400 sed 's/^/| /' conftest.
$ac_ext >&5
19402 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
19403 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
19404 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
19405 echo $ECHO_N "(cached) $ECHO_C" >&6
19407 ac_check_lib_save_LIBS
=$LIBS
19408 LIBS
="-ldnet $LIBS"
19409 if test x
$gcc_no_link = xyes
; then
19410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19412 { (exit 1); exit 1; }; }
19414 cat >conftest.
$ac_ext <<_ACEOF
19417 cat confdefs.h
>>conftest.
$ac_ext
19418 cat >>conftest.
$ac_ext <<_ACEOF
19419 /* end confdefs.h. */
19421 /* Override any gcc2 internal prototype to avoid an error. */
19425 /* We use char because int might match the return type of a gcc2
19426 builtin and then its argument prototype would still apply. */
19436 rm -f conftest.
$ac_objext conftest
$ac_exeext
19437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19438 (eval $ac_link) 2>conftest.er1
19440 grep -v '^ *+' conftest.er1
>conftest.err
19442 cat conftest.err
>&5
19443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19444 (exit $ac_status); } &&
19445 { ac_try
='test -z "$ac_c_werror_flag"
19446 || test ! -s conftest.err'
19447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19448 (eval $ac_try) 2>&5
19450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19451 (exit $ac_status); }; } &&
19452 { ac_try
='test -s conftest$ac_exeext'
19453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19454 (eval $ac_try) 2>&5
19456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457 (exit $ac_status); }; }; then
19458 ac_cv_lib_dnet_dnet_ntoa
=yes
19460 echo "$as_me: failed program was:" >&5
19461 sed 's/^/| /' conftest.
$ac_ext >&5
19463 ac_cv_lib_dnet_dnet_ntoa
=no
19465 rm -f conftest.err conftest.
$ac_objext \
19466 conftest
$ac_exeext conftest.
$ac_ext
19467 LIBS
=$ac_check_lib_save_LIBS
19469 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
19470 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
19471 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
19472 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
19475 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
19476 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
19477 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
19478 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
19479 echo $ECHO_N "(cached) $ECHO_C" >&6
19481 ac_check_lib_save_LIBS
=$LIBS
19482 LIBS
="-ldnet_stub $LIBS"
19483 if test x
$gcc_no_link = xyes
; then
19484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19486 { (exit 1); exit 1; }; }
19488 cat >conftest.
$ac_ext <<_ACEOF
19491 cat confdefs.h
>>conftest.
$ac_ext
19492 cat >>conftest.
$ac_ext <<_ACEOF
19493 /* end confdefs.h. */
19495 /* Override any gcc2 internal prototype to avoid an error. */
19499 /* We use char because int might match the return type of a gcc2
19500 builtin and then its argument prototype would still apply. */
19510 rm -f conftest.
$ac_objext conftest
$ac_exeext
19511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19512 (eval $ac_link) 2>conftest.er1
19514 grep -v '^ *+' conftest.er1
>conftest.err
19516 cat conftest.err
>&5
19517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19518 (exit $ac_status); } &&
19519 { ac_try
='test -z "$ac_c_werror_flag"
19520 || test ! -s conftest.err'
19521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19522 (eval $ac_try) 2>&5
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); }; } &&
19526 { ac_try
='test -s conftest$ac_exeext'
19527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19528 (eval $ac_try) 2>&5
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); }; }; then
19532 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
19534 echo "$as_me: failed program was:" >&5
19535 sed 's/^/| /' conftest.
$ac_ext >&5
19537 ac_cv_lib_dnet_stub_dnet_ntoa
=no
19539 rm -f conftest.err conftest.
$ac_objext \
19540 conftest
$ac_exeext conftest.
$ac_ext
19541 LIBS
=$ac_check_lib_save_LIBS
19543 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
19544 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
19545 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
19546 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
19551 rm -f conftest.err conftest.
$ac_objext \
19552 conftest
$ac_exeext conftest.
$ac_ext
19553 LIBS
="$ac_xsave_LIBS"
19555 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
19556 # to get the SysV transport functions.
19557 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
19559 # The nsl library prevents programs from opening the X display
19560 # on Irix 5.2, according to T.E. Dickey.
19561 # The functions gethostbyname, getservbyname, and inet_addr are
19562 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
19563 echo "$as_me:$LINENO: checking for gethostbyname" >&5
19564 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
19565 if test "${ac_cv_func_gethostbyname+set}" = set; then
19566 echo $ECHO_N "(cached) $ECHO_C" >&6
19568 if test x
$gcc_no_link = xyes
; then
19569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19571 { (exit 1); exit 1; }; }
19573 cat >conftest.
$ac_ext <<_ACEOF
19576 cat confdefs.h
>>conftest.
$ac_ext
19577 cat >>conftest.
$ac_ext <<_ACEOF
19578 /* end confdefs.h. */
19579 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
19580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19581 #define gethostbyname innocuous_gethostbyname
19583 /* System header to define __stub macros and hopefully few prototypes,
19584 which can conflict with char gethostbyname (); below.
19585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19586 <limits.h> exists even on freestanding compilers. */
19589 # include <limits.h>
19591 # include <assert.h>
19594 #undef gethostbyname
19596 /* Override any gcc2 internal prototype to avoid an error. */
19601 /* We use char because int might match the return type of a gcc2
19602 builtin and then its argument prototype would still apply. */
19603 char gethostbyname ();
19604 /* The GNU C library defines this for functions which it implements
19605 to always fail with ENOSYS. Some functions are actually named
19606 something starting with __ and the normal name is an alias. */
19607 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
19610 char (*f) () = gethostbyname;
19619 return f != gethostbyname;
19624 rm -f conftest.
$ac_objext conftest
$ac_exeext
19625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19626 (eval $ac_link) 2>conftest.er1
19628 grep -v '^ *+' conftest.er1
>conftest.err
19630 cat conftest.err
>&5
19631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19632 (exit $ac_status); } &&
19633 { ac_try
='test -z "$ac_c_werror_flag"
19634 || test ! -s conftest.err'
19635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19636 (eval $ac_try) 2>&5
19638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19639 (exit $ac_status); }; } &&
19640 { ac_try
='test -s conftest$ac_exeext'
19641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19642 (eval $ac_try) 2>&5
19644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19645 (exit $ac_status); }; }; then
19646 ac_cv_func_gethostbyname
=yes
19648 echo "$as_me: failed program was:" >&5
19649 sed 's/^/| /' conftest.
$ac_ext >&5
19651 ac_cv_func_gethostbyname
=no
19653 rm -f conftest.err conftest.
$ac_objext \
19654 conftest
$ac_exeext conftest.
$ac_ext
19656 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
19657 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
19659 if test $ac_cv_func_gethostbyname = no
; then
19660 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
19661 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
19662 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
19663 echo $ECHO_N "(cached) $ECHO_C" >&6
19665 ac_check_lib_save_LIBS
=$LIBS
19667 if test x
$gcc_no_link = xyes
; then
19668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19670 { (exit 1); exit 1; }; }
19672 cat >conftest.
$ac_ext <<_ACEOF
19675 cat confdefs.h
>>conftest.
$ac_ext
19676 cat >>conftest.
$ac_ext <<_ACEOF
19677 /* end confdefs.h. */
19679 /* Override any gcc2 internal prototype to avoid an error. */
19683 /* We use char because int might match the return type of a gcc2
19684 builtin and then its argument prototype would still apply. */
19685 char gethostbyname ();
19694 rm -f conftest.
$ac_objext conftest
$ac_exeext
19695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19696 (eval $ac_link) 2>conftest.er1
19698 grep -v '^ *+' conftest.er1
>conftest.err
19700 cat conftest.err
>&5
19701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702 (exit $ac_status); } &&
19703 { ac_try
='test -z "$ac_c_werror_flag"
19704 || test ! -s conftest.err'
19705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19706 (eval $ac_try) 2>&5
19708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19709 (exit $ac_status); }; } &&
19710 { ac_try
='test -s conftest$ac_exeext'
19711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19712 (eval $ac_try) 2>&5
19714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19715 (exit $ac_status); }; }; then
19716 ac_cv_lib_nsl_gethostbyname
=yes
19718 echo "$as_me: failed program was:" >&5
19719 sed 's/^/| /' conftest.
$ac_ext >&5
19721 ac_cv_lib_nsl_gethostbyname
=no
19723 rm -f conftest.err conftest.
$ac_objext \
19724 conftest
$ac_exeext conftest.
$ac_ext
19725 LIBS
=$ac_check_lib_save_LIBS
19727 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
19728 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
19729 if test $ac_cv_lib_nsl_gethostbyname = yes; then
19730 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
19733 if test $ac_cv_lib_nsl_gethostbyname = no
; then
19734 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
19735 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
19736 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
19737 echo $ECHO_N "(cached) $ECHO_C" >&6
19739 ac_check_lib_save_LIBS
=$LIBS
19741 if test x
$gcc_no_link = xyes
; then
19742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19744 { (exit 1); exit 1; }; }
19746 cat >conftest.
$ac_ext <<_ACEOF
19749 cat confdefs.h
>>conftest.
$ac_ext
19750 cat >>conftest.
$ac_ext <<_ACEOF
19751 /* end confdefs.h. */
19753 /* Override any gcc2 internal prototype to avoid an error. */
19757 /* We use char because int might match the return type of a gcc2
19758 builtin and then its argument prototype would still apply. */
19759 char gethostbyname ();
19768 rm -f conftest.
$ac_objext conftest
$ac_exeext
19769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19770 (eval $ac_link) 2>conftest.er1
19772 grep -v '^ *+' conftest.er1
>conftest.err
19774 cat conftest.err
>&5
19775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776 (exit $ac_status); } &&
19777 { ac_try
='test -z "$ac_c_werror_flag"
19778 || test ! -s conftest.err'
19779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19780 (eval $ac_try) 2>&5
19782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19783 (exit $ac_status); }; } &&
19784 { ac_try
='test -s conftest$ac_exeext'
19785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19786 (eval $ac_try) 2>&5
19788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19789 (exit $ac_status); }; }; then
19790 ac_cv_lib_bsd_gethostbyname
=yes
19792 echo "$as_me: failed program was:" >&5
19793 sed 's/^/| /' conftest.
$ac_ext >&5
19795 ac_cv_lib_bsd_gethostbyname
=no
19797 rm -f conftest.err conftest.
$ac_objext \
19798 conftest
$ac_exeext conftest.
$ac_ext
19799 LIBS
=$ac_check_lib_save_LIBS
19801 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
19802 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
19803 if test $ac_cv_lib_bsd_gethostbyname = yes; then
19804 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
19810 # lieder@skyler.mavd.honeywell.com says without -lsocket,
19811 # socket/setsockopt and other routines are undefined under SCO ODT
19812 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
19813 # on later versions), says Simon Leinen: it contains gethostby*
19814 # variants that don't use the name server (or something). -lsocket
19815 # must be given before -lnsl if both are needed. We assume that
19816 # if connect needs -lnsl, so does gethostbyname.
19817 echo "$as_me:$LINENO: checking for connect" >&5
19818 echo $ECHO_N "checking for connect... $ECHO_C" >&6
19819 if test "${ac_cv_func_connect+set}" = set; then
19820 echo $ECHO_N "(cached) $ECHO_C" >&6
19822 if test x
$gcc_no_link = xyes
; then
19823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19825 { (exit 1); exit 1; }; }
19827 cat >conftest.
$ac_ext <<_ACEOF
19830 cat confdefs.h
>>conftest.
$ac_ext
19831 cat >>conftest.
$ac_ext <<_ACEOF
19832 /* end confdefs.h. */
19833 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
19834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19835 #define connect innocuous_connect
19837 /* System header to define __stub macros and hopefully few prototypes,
19838 which can conflict with char connect (); below.
19839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19840 <limits.h> exists even on freestanding compilers. */
19843 # include <limits.h>
19845 # include <assert.h>
19850 /* Override any gcc2 internal prototype to avoid an error. */
19855 /* We use char because int might match the return type of a gcc2
19856 builtin and then its argument prototype would still apply. */
19858 /* The GNU C library defines this for functions which it implements
19859 to always fail with ENOSYS. Some functions are actually named
19860 something starting with __ and the normal name is an alias. */
19861 #if defined (__stub_connect) || defined (__stub___connect)
19864 char (*f) () = connect;
19873 return f != connect;
19878 rm -f conftest.
$ac_objext conftest
$ac_exeext
19879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19880 (eval $ac_link) 2>conftest.er1
19882 grep -v '^ *+' conftest.er1
>conftest.err
19884 cat conftest.err
>&5
19885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19886 (exit $ac_status); } &&
19887 { ac_try
='test -z "$ac_c_werror_flag"
19888 || test ! -s conftest.err'
19889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19890 (eval $ac_try) 2>&5
19892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19893 (exit $ac_status); }; } &&
19894 { ac_try
='test -s conftest$ac_exeext'
19895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19896 (eval $ac_try) 2>&5
19898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19899 (exit $ac_status); }; }; then
19900 ac_cv_func_connect
=yes
19902 echo "$as_me: failed program was:" >&5
19903 sed 's/^/| /' conftest.
$ac_ext >&5
19905 ac_cv_func_connect
=no
19907 rm -f conftest.err conftest.
$ac_objext \
19908 conftest
$ac_exeext conftest.
$ac_ext
19910 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
19911 echo "${ECHO_T}$ac_cv_func_connect" >&6
19913 if test $ac_cv_func_connect = no
; then
19914 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
19915 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
19916 if test "${ac_cv_lib_socket_connect+set}" = set; then
19917 echo $ECHO_N "(cached) $ECHO_C" >&6
19919 ac_check_lib_save_LIBS
=$LIBS
19920 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
19921 if test x
$gcc_no_link = xyes
; then
19922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19924 { (exit 1); exit 1; }; }
19926 cat >conftest.
$ac_ext <<_ACEOF
19929 cat confdefs.h
>>conftest.
$ac_ext
19930 cat >>conftest.
$ac_ext <<_ACEOF
19931 /* end confdefs.h. */
19933 /* Override any gcc2 internal prototype to avoid an error. */
19937 /* We use char because int might match the return type of a gcc2
19938 builtin and then its argument prototype would still apply. */
19948 rm -f conftest.
$ac_objext conftest
$ac_exeext
19949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19950 (eval $ac_link) 2>conftest.er1
19952 grep -v '^ *+' conftest.er1
>conftest.err
19954 cat conftest.err
>&5
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); } &&
19957 { ac_try
='test -z "$ac_c_werror_flag"
19958 || test ! -s conftest.err'
19959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19960 (eval $ac_try) 2>&5
19962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19963 (exit $ac_status); }; } &&
19964 { ac_try
='test -s conftest$ac_exeext'
19965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19966 (eval $ac_try) 2>&5
19968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19969 (exit $ac_status); }; }; then
19970 ac_cv_lib_socket_connect
=yes
19972 echo "$as_me: failed program was:" >&5
19973 sed 's/^/| /' conftest.
$ac_ext >&5
19975 ac_cv_lib_socket_connect
=no
19977 rm -f conftest.err conftest.
$ac_objext \
19978 conftest
$ac_exeext conftest.
$ac_ext
19979 LIBS
=$ac_check_lib_save_LIBS
19981 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
19982 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
19983 if test $ac_cv_lib_socket_connect = yes; then
19984 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
19989 # Guillermo Gomez says -lposix is necessary on A/UX.
19990 echo "$as_me:$LINENO: checking for remove" >&5
19991 echo $ECHO_N "checking for remove... $ECHO_C" >&6
19992 if test "${ac_cv_func_remove+set}" = set; then
19993 echo $ECHO_N "(cached) $ECHO_C" >&6
19995 if test x
$gcc_no_link = xyes
; then
19996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19998 { (exit 1); exit 1; }; }
20000 cat >conftest.
$ac_ext <<_ACEOF
20003 cat confdefs.h
>>conftest.
$ac_ext
20004 cat >>conftest.
$ac_ext <<_ACEOF
20005 /* end confdefs.h. */
20006 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
20007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20008 #define remove innocuous_remove
20010 /* System header to define __stub macros and hopefully few prototypes,
20011 which can conflict with char remove (); below.
20012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20013 <limits.h> exists even on freestanding compilers. */
20016 # include <limits.h>
20018 # include <assert.h>
20023 /* Override any gcc2 internal prototype to avoid an error. */
20028 /* We use char because int might match the return type of a gcc2
20029 builtin and then its argument prototype would still apply. */
20031 /* The GNU C library defines this for functions which it implements
20032 to always fail with ENOSYS. Some functions are actually named
20033 something starting with __ and the normal name is an alias. */
20034 #if defined (__stub_remove) || defined (__stub___remove)
20037 char (*f) () = remove;
20046 return f != remove;
20051 rm -f conftest.
$ac_objext conftest
$ac_exeext
20052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20053 (eval $ac_link) 2>conftest.er1
20055 grep -v '^ *+' conftest.er1
>conftest.err
20057 cat conftest.err
>&5
20058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20059 (exit $ac_status); } &&
20060 { ac_try
='test -z "$ac_c_werror_flag"
20061 || test ! -s conftest.err'
20062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20063 (eval $ac_try) 2>&5
20065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20066 (exit $ac_status); }; } &&
20067 { ac_try
='test -s conftest$ac_exeext'
20068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20069 (eval $ac_try) 2>&5
20071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20072 (exit $ac_status); }; }; then
20073 ac_cv_func_remove
=yes
20075 echo "$as_me: failed program was:" >&5
20076 sed 's/^/| /' conftest.
$ac_ext >&5
20078 ac_cv_func_remove
=no
20080 rm -f conftest.err conftest.
$ac_objext \
20081 conftest
$ac_exeext conftest.
$ac_ext
20083 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
20084 echo "${ECHO_T}$ac_cv_func_remove" >&6
20086 if test $ac_cv_func_remove = no
; then
20087 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
20088 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
20089 if test "${ac_cv_lib_posix_remove+set}" = set; then
20090 echo $ECHO_N "(cached) $ECHO_C" >&6
20092 ac_check_lib_save_LIBS
=$LIBS
20093 LIBS
="-lposix $LIBS"
20094 if test x
$gcc_no_link = xyes
; then
20095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20097 { (exit 1); exit 1; }; }
20099 cat >conftest.
$ac_ext <<_ACEOF
20102 cat confdefs.h
>>conftest.
$ac_ext
20103 cat >>conftest.
$ac_ext <<_ACEOF
20104 /* end confdefs.h. */
20106 /* Override any gcc2 internal prototype to avoid an error. */
20110 /* We use char because int might match the return type of a gcc2
20111 builtin and then its argument prototype would still apply. */
20121 rm -f conftest.
$ac_objext conftest
$ac_exeext
20122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20123 (eval $ac_link) 2>conftest.er1
20125 grep -v '^ *+' conftest.er1
>conftest.err
20127 cat conftest.err
>&5
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129 (exit $ac_status); } &&
20130 { ac_try
='test -z "$ac_c_werror_flag"
20131 || test ! -s conftest.err'
20132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20133 (eval $ac_try) 2>&5
20135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20136 (exit $ac_status); }; } &&
20137 { ac_try
='test -s conftest$ac_exeext'
20138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20139 (eval $ac_try) 2>&5
20141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20142 (exit $ac_status); }; }; then
20143 ac_cv_lib_posix_remove
=yes
20145 echo "$as_me: failed program was:" >&5
20146 sed 's/^/| /' conftest.
$ac_ext >&5
20148 ac_cv_lib_posix_remove
=no
20150 rm -f conftest.err conftest.
$ac_objext \
20151 conftest
$ac_exeext conftest.
$ac_ext
20152 LIBS
=$ac_check_lib_save_LIBS
20154 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
20155 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
20156 if test $ac_cv_lib_posix_remove = yes; then
20157 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
20162 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
20163 echo "$as_me:$LINENO: checking for shmat" >&5
20164 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
20165 if test "${ac_cv_func_shmat+set}" = set; then
20166 echo $ECHO_N "(cached) $ECHO_C" >&6
20168 if test x
$gcc_no_link = xyes
; then
20169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20171 { (exit 1); exit 1; }; }
20173 cat >conftest.
$ac_ext <<_ACEOF
20176 cat confdefs.h
>>conftest.
$ac_ext
20177 cat >>conftest.
$ac_ext <<_ACEOF
20178 /* end confdefs.h. */
20179 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
20180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20181 #define shmat innocuous_shmat
20183 /* System header to define __stub macros and hopefully few prototypes,
20184 which can conflict with char shmat (); below.
20185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20186 <limits.h> exists even on freestanding compilers. */
20189 # include <limits.h>
20191 # include <assert.h>
20196 /* Override any gcc2 internal prototype to avoid an error. */
20201 /* We use char because int might match the return type of a gcc2
20202 builtin and then its argument prototype would still apply. */
20204 /* The GNU C library defines this for functions which it implements
20205 to always fail with ENOSYS. Some functions are actually named
20206 something starting with __ and the normal name is an alias. */
20207 #if defined (__stub_shmat) || defined (__stub___shmat)
20210 char (*f) () = shmat;
20224 rm -f conftest.
$ac_objext conftest
$ac_exeext
20225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20226 (eval $ac_link) 2>conftest.er1
20228 grep -v '^ *+' conftest.er1
>conftest.err
20230 cat conftest.err
>&5
20231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20232 (exit $ac_status); } &&
20233 { ac_try
='test -z "$ac_c_werror_flag"
20234 || test ! -s conftest.err'
20235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20236 (eval $ac_try) 2>&5
20238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20239 (exit $ac_status); }; } &&
20240 { ac_try
='test -s conftest$ac_exeext'
20241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20242 (eval $ac_try) 2>&5
20244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20245 (exit $ac_status); }; }; then
20246 ac_cv_func_shmat
=yes
20248 echo "$as_me: failed program was:" >&5
20249 sed 's/^/| /' conftest.
$ac_ext >&5
20251 ac_cv_func_shmat
=no
20253 rm -f conftest.err conftest.
$ac_objext \
20254 conftest
$ac_exeext conftest.
$ac_ext
20256 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
20257 echo "${ECHO_T}$ac_cv_func_shmat" >&6
20259 if test $ac_cv_func_shmat = no
; then
20260 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
20261 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
20262 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
20263 echo $ECHO_N "(cached) $ECHO_C" >&6
20265 ac_check_lib_save_LIBS
=$LIBS
20267 if test x
$gcc_no_link = xyes
; then
20268 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20270 { (exit 1); exit 1; }; }
20272 cat >conftest.
$ac_ext <<_ACEOF
20275 cat confdefs.h
>>conftest.
$ac_ext
20276 cat >>conftest.
$ac_ext <<_ACEOF
20277 /* end confdefs.h. */
20279 /* Override any gcc2 internal prototype to avoid an error. */
20283 /* We use char because int might match the return type of a gcc2
20284 builtin and then its argument prototype would still apply. */
20294 rm -f conftest.
$ac_objext conftest
$ac_exeext
20295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20296 (eval $ac_link) 2>conftest.er1
20298 grep -v '^ *+' conftest.er1
>conftest.err
20300 cat conftest.err
>&5
20301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20302 (exit $ac_status); } &&
20303 { ac_try
='test -z "$ac_c_werror_flag"
20304 || test ! -s conftest.err'
20305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20306 (eval $ac_try) 2>&5
20308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20309 (exit $ac_status); }; } &&
20310 { ac_try
='test -s conftest$ac_exeext'
20311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20312 (eval $ac_try) 2>&5
20314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20315 (exit $ac_status); }; }; then
20316 ac_cv_lib_ipc_shmat
=yes
20318 echo "$as_me: failed program was:" >&5
20319 sed 's/^/| /' conftest.
$ac_ext >&5
20321 ac_cv_lib_ipc_shmat
=no
20323 rm -f conftest.err conftest.
$ac_objext \
20324 conftest
$ac_exeext conftest.
$ac_ext
20325 LIBS
=$ac_check_lib_save_LIBS
20327 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
20328 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
20329 if test $ac_cv_lib_ipc_shmat = yes; then
20330 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
20336 # Check for libraries that X11R6 Xt/Xaw programs need.
20337 ac_save_LDFLAGS
=$LDFLAGS
20338 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
20339 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
20340 # check for ICE first), but we must link in the order -lSM -lICE or
20341 # we get undefined symbols. So assume we have SM if we have ICE.
20342 # These have to be linked with before -lX11, unlike the other
20343 # libraries we check for below, so use a different variable.
20344 # John Interrante, Karl Berry
20345 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
20346 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
20347 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
20348 echo $ECHO_N "(cached) $ECHO_C" >&6
20350 ac_check_lib_save_LIBS
=$LIBS
20351 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
20352 if test x
$gcc_no_link = xyes
; then
20353 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20355 { (exit 1); exit 1; }; }
20357 cat >conftest.
$ac_ext <<_ACEOF
20360 cat confdefs.h
>>conftest.
$ac_ext
20361 cat >>conftest.
$ac_ext <<_ACEOF
20362 /* end confdefs.h. */
20364 /* Override any gcc2 internal prototype to avoid an error. */
20368 /* We use char because int might match the return type of a gcc2
20369 builtin and then its argument prototype would still apply. */
20370 char IceConnectionNumber ();
20374 IceConnectionNumber ();
20379 rm -f conftest.
$ac_objext conftest
$ac_exeext
20380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20381 (eval $ac_link) 2>conftest.er1
20383 grep -v '^ *+' conftest.er1
>conftest.err
20385 cat conftest.err
>&5
20386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20387 (exit $ac_status); } &&
20388 { ac_try
='test -z "$ac_c_werror_flag"
20389 || test ! -s conftest.err'
20390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20391 (eval $ac_try) 2>&5
20393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20394 (exit $ac_status); }; } &&
20395 { ac_try
='test -s conftest$ac_exeext'
20396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20397 (eval $ac_try) 2>&5
20399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20400 (exit $ac_status); }; }; then
20401 ac_cv_lib_ICE_IceConnectionNumber
=yes
20403 echo "$as_me: failed program was:" >&5
20404 sed 's/^/| /' conftest.
$ac_ext >&5
20406 ac_cv_lib_ICE_IceConnectionNumber
=no
20408 rm -f conftest.err conftest.
$ac_objext \
20409 conftest
$ac_exeext conftest.
$ac_ext
20410 LIBS
=$ac_check_lib_save_LIBS
20412 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
20413 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
20414 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
20415 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
20418 LDFLAGS
=$ac_save_LDFLAGS
20423 # FIXME: this should be _libs on some hosts.
20426 LIBGCJTESTSPEC
="-L`${PWDCMD-pwd}`/.libs -rpath `${PWDCMD-pwd}`/.libs"
20429 # extra LD Flags which are required for targets
20432 # For now we have to disable it on darwin[8-9] because it slows down
20433 # the linking phase. A possible bug in ld?
20434 # on Darwin -single_module speeds up loading of the dynamic libraries.
20435 extra_ldflags_libjava
=-Wl,-single_module
20438 extra_gij_ldflags
=-Wl,-allow_stack_execute
20441 # Some of the ARM unwinder code is actually in libstdc++. We
20442 # could in principle replicate it in libgcj, but it's better to
20443 # have a dependency on libstdc++.
20444 extra_ldflags
='-L$(here)/../libstdc++-v3/src/.libs -lstdc++'
20445 LIBSTDCXXSPEC
=-lstdc++
20446 LIBGCJTESTSPEC
="-L`${PWDCMD-pwd}`/.libs -L`${PWDCMD-pwd}`/../libstdc++-v3/src/.libs -rpath `${PWDCMD-pwd}`/.libs:`${PWDCMD-pwd}`/../libstdc++-v3/src/.libs -lstdc++"
20456 # Allow the GC to be disabled. Can be useful when debugging.
20457 echo "$as_me:$LINENO: checking for garbage collector to use" >&5
20458 echo $ECHO_N "checking for garbage collector to use... $ECHO_C" >&6
20459 # Check whether --enable-java-gc or --disable-java-gc was given.
20460 if test "${enable_java_gc+set}" = set; then
20461 enableval
="$enable_java_gc"
20474 echo "$as_me:$LINENO: result: boehm" >&5
20475 echo "${ECHO_T}boehm" >&6
20476 GCLIBS
=..
/boehm-gc
/libgcjgc_convenience.la
20477 JC1GCSPEC
='-fuse-boehm-gc'
20478 GCTESTSPEC
="-L`${PWDCMD-pwd}`/../boehm-gc/.libs -rpath `${PWDCMD-pwd}`/../boehm-gc/.libs"
20479 GCINCS
='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include'
20482 # The POSIX thread support needs to know this.
20484 cat >>confdefs.h
<<\_ACEOF
20485 #define HAVE_BOEHM_GC 1
20490 echo "$as_me:$LINENO: result: none" >&5
20491 echo "${ECHO_T}none" >&6
20495 { { echo "$as_me:$LINENO: error: unrecognized collector \"$GC\"" >&5
20496 echo "$as_me: error: unrecognized collector \"$GC\"" >&2;}
20497 { (exit 1); exit 1; }; }
20506 ac_config_links
="$ac_config_links include/java-gc.h:include/$GCHDR"
20510 if test "$GC" = boehm
; then
20511 USING_BOEHMGC_TRUE
=
20512 USING_BOEHMGC_FALSE
='#'
20514 USING_BOEHMGC_TRUE
='#'
20515 USING_BOEHMGC_FALSE
=
20520 if test "$GC" = no
; then
20522 USING_NOGC_FALSE
='#'
20524 USING_NOGC_TRUE
='#'
20530 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
20531 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
20532 THREADS
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
20533 echo "$as_me:$LINENO: result: $THREADS" >&5
20534 echo "${ECHO_T}$THREADS" >&6
20537 no | none | single
)
20540 posix | posix95 | pthreads
)
20545 cat >>confdefs.h
<<\_ACEOF
20546 #define LINUX_THREADS 1
20554 decosf1 | irix | mach | os2 | solaris | dce | vxworks
)
20555 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
20556 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
20557 { (exit 1); exit 1; }; }
20560 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
20561 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
20562 { (exit 1); exit 1; }; }
20573 THREADSTARTFILESPEC
=
20578 # Don't set THREADLIBS here. Cygwin doesn't have -lpthread.
20580 *-*-freebsd[1234]*)
20581 # Before FreeBSD 5, it didn't have -lpthread (or any library which
20582 # merely adds pthread_* functions) but it does have a -pthread switch
20583 # which is required at link-time to select -lc_r *instead* of -lc.
20584 THREADLDFLAGS
=-pthread
20585 # Don't set THREADSPEC here as might be expected since -pthread is
20586 # not processed when found within a spec file, it must come from
20587 # the command line. For now, the user must provide the -pthread
20588 # switch to link code compiled with gcj. In future, consider adding
20589 # support for weak references to pthread_* functions ala gthr.h API.
20590 THREADSPEC
='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
20593 # FreeBSD >=5.3 implements a model much closer to other modern UNIX
20594 # systems which support threads and -lpthread.
20595 THREADLDFLAGS
=-pthread
20596 THREADSPEC
=-lpthread
20598 alpha
*-dec-osf* | hppa
*-hp-hpux*)
20599 THREADCXXFLAGS
=-pthread
20600 # boehm-gc needs some functions from librt, so link that too.
20601 THREADLIBS
='-lpthread -lrt'
20602 THREADSPEC
='-lpthread -lrt'
20605 THREADLIBS
=-lpthread
20606 THREADSPEC
=-lpthread
20609 THREADH
=posix-threads.h
20610 # MIT pthreads doesn't seem to have the mutexattr functions.
20611 # But for now we don't check for it. We just assume you aren't
20612 # using MIT pthreads.
20614 cat >>confdefs.h
<<\_ACEOF
20615 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
20619 # If we're using the Boehm GC, then we happen to know that it
20620 # defines _REENTRANT, so we don't bother. Eww.
20621 if test "$GC" != boehm
; then
20623 cat >>confdefs.h
<<\_ACEOF
20624 #define _REENTRANT 1
20629 cat >>confdefs.h
<<\_ACEOF
20630 #define _POSIX_PTHREAD_SEMANTICS 1
20636 THREADH
=win32-threads.h
20637 THREADCXXFLAGS
=-mthreads
20638 # We need thread-safe exception handling so _CRT_MT should be set to 1.
20639 # But we do not want the executables created to be dependent on
20640 # mingwm10.dll which provides a __mingwthr_key_dtor() that cleans up
20641 # exception handling contexts. The following kludge achieves this effect
20642 # and causes a dummy __mingwthr_key_dtor() to be linked in from
20643 # libmingw32.a. This causes a memory leak of about 24 bytes per thread.
20644 # A workaround is to explicitly use -mthreads while linking Java programs.
20645 # See PR libgcj/28263.
20647 # FIXME: In Java we are able to detect thread death at the end of
20648 # Thread.run() so we should be able to clean up the exception handling
20649 # contexts ourselves.
20650 THREADSTARTFILESPEC
='crtmt%O%s'
20654 THREADH
=no-threads.h
20657 ac_config_links
="$ac_config_links include/java-threads.h:include/$THREADH"
20668 if test "$THREADS" = posix
; then
20669 USING_POSIX_THREADS_TRUE
=
20670 USING_POSIX_THREADS_FALSE
='#'
20672 USING_POSIX_THREADS_TRUE
='#'
20673 USING_POSIX_THREADS_FALSE
=
20678 if test "$THREADS" = win32
; then
20679 USING_WIN32_THREADS_TRUE
=
20680 USING_WIN32_THREADS_FALSE
='#'
20682 USING_WIN32_THREADS_TRUE
='#'
20683 USING_WIN32_THREADS_FALSE
=
20688 if test "$THREADS" = none
; then
20689 USING_NO_THREADS_TRUE
=
20690 USING_NO_THREADS_FALSE
='#'
20692 USING_NO_THREADS_TRUE
='#'
20693 USING_NO_THREADS_FALSE
=
20698 if test "$use_libgcj_bc" = yes; then
20699 USE_LIBGCJ_BC_TRUE
=
20700 USE_LIBGCJ_BC_FALSE
='#'
20702 USE_LIBGCJ_BC_TRUE
='#'
20703 USE_LIBGCJ_BC_FALSE
=
20707 if test -d sysdep
; then true
; else mkdir sysdep
; fi
20708 ac_config_links
="$ac_config_links sysdep/locks.h:sysdep/$sysdeps_dir/locks.h"
20710 ac_config_links
="$ac_config_links sysdep/backtrace.h:$fallback_backtrace_h"
20712 ac_config_links
="$ac_config_links sysdep/descriptor.h:$descriptor_h"
20715 LIBGCJ_SPEC
="%{s-bc-abi:} -lgcj"
20716 if test "$use_libgcj_bc" = yes; then
20717 LIBGCJ_SPEC
="%{s-bc-abi:-lgcj_bc;:-lgcj}"
20722 # Hash synchronization is only useful with posix threads right now.
20723 if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then
20724 HASH_SYNC_SPEC
=-fhash-synchronization
20726 cat >>confdefs.h
<<\_ACEOF
20727 #define JV_HASH_SYNCHRONIZATION 1
20735 if test "$GCC" = yes; then
20737 USING_GCC_FALSE
='#'
20744 # We're in the tree with gcc, and need to include some of its headers.
20745 GCC_UNWIND_INCLUDE
='-I$(multi_basedir)/./libjava/../gcc'
20747 if test "x${with_newlib}" = "xyes"; then
20748 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
20749 # may not work correctly, because the compiler may not be able to
20750 # link executables.
20752 # We assume newlib. This lets us hard-code the functions we know
20755 cat >>confdefs.h
<<\_ACEOF
20756 #define HAVE_MEMMOVE 1
20760 cat >>confdefs.h
<<\_ACEOF
20761 #define HAVE_MEMCPY 1
20765 cat >>confdefs.h
<<\_ACEOF
20766 #define HAVE_TIME 1
20770 cat >>confdefs.h
<<\_ACEOF
20771 #define HAVE_GMTIME_R 1
20775 cat >>confdefs.h
<<\_ACEOF
20776 #define HAVE_LOCALTIME_R 1
20780 cat >>confdefs.h
<<\_ACEOF
20781 #define HAVE_USLEEP_DECL 1
20784 # This is only for POSIX threads.
20786 cat >>confdefs.h
<<\_ACEOF
20787 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
20791 # Assume we do not have getuid and friends.
20793 cat >>confdefs.h
<<\_ACEOF
20794 #define NO_GETUID 1
20829 for ac_func
in strerror_r
select fstat open fsync
sleep opendir \
20830 localtime_r getpwuid_r getcwd \
20831 access stat lstat mkdir rename
rmdir unlink utime
chmod readlink \
20832 nl_langinfo setlocale \
20833 inet_pton uname inet_ntoa \
20834 getrlimit sigaction ftruncate mmap \
20837 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20838 echo "$as_me:$LINENO: checking for $ac_func" >&5
20839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20840 if eval "test \"\${$as_ac_var+set}\" = set"; then
20841 echo $ECHO_N "(cached) $ECHO_C" >&6
20843 if test x
$gcc_no_link = xyes
; then
20844 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20846 { (exit 1); exit 1; }; }
20848 cat >conftest.
$ac_ext <<_ACEOF
20851 cat confdefs.h
>>conftest.
$ac_ext
20852 cat >>conftest.
$ac_ext <<_ACEOF
20853 /* end confdefs.h. */
20854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20856 #define $ac_func innocuous_$ac_func
20858 /* System header to define __stub macros and hopefully few prototypes,
20859 which can conflict with char $ac_func (); below.
20860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20861 <limits.h> exists even on freestanding compilers. */
20864 # include <limits.h>
20866 # include <assert.h>
20871 /* Override any gcc2 internal prototype to avoid an error. */
20876 /* We use char because int might match the return type of a gcc2
20877 builtin and then its argument prototype would still apply. */
20879 /* The GNU C library defines this for functions which it implements
20880 to always fail with ENOSYS. Some functions are actually named
20881 something starting with __ and the normal name is an alias. */
20882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20885 char (*f) () = $ac_func;
20894 return f != $ac_func;
20899 rm -f conftest.
$ac_objext conftest
$ac_exeext
20900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20901 (eval $ac_link) 2>conftest.er1
20903 grep -v '^ *+' conftest.er1
>conftest.err
20905 cat conftest.err
>&5
20906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20907 (exit $ac_status); } &&
20908 { ac_try
='test -z "$ac_c_werror_flag"
20909 || test ! -s conftest.err'
20910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20911 (eval $ac_try) 2>&5
20913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20914 (exit $ac_status); }; } &&
20915 { ac_try
='test -s conftest$ac_exeext'
20916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20917 (eval $ac_try) 2>&5
20919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20920 (exit $ac_status); }; }; then
20921 eval "$as_ac_var=yes"
20923 echo "$as_me: failed program was:" >&5
20924 sed 's/^/| /' conftest.
$ac_ext >&5
20926 eval "$as_ac_var=no"
20928 rm -f conftest.err conftest.
$ac_objext \
20929 conftest
$ac_exeext conftest.
$ac_ext
20931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20933 if test `eval echo '${'$as_ac_var'}'` = yes; then
20934 cat >>confdefs.h
<<_ACEOF
20935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20943 for ac_func
in inet_aton inet_addr
20945 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20946 echo "$as_me:$LINENO: checking for $ac_func" >&5
20947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20948 if eval "test \"\${$as_ac_var+set}\" = set"; then
20949 echo $ECHO_N "(cached) $ECHO_C" >&6
20951 if test x
$gcc_no_link = xyes
; then
20952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20954 { (exit 1); exit 1; }; }
20956 cat >conftest.
$ac_ext <<_ACEOF
20959 cat confdefs.h
>>conftest.
$ac_ext
20960 cat >>conftest.
$ac_ext <<_ACEOF
20961 /* end confdefs.h. */
20962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20964 #define $ac_func innocuous_$ac_func
20966 /* System header to define __stub macros and hopefully few prototypes,
20967 which can conflict with char $ac_func (); below.
20968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20969 <limits.h> exists even on freestanding compilers. */
20972 # include <limits.h>
20974 # include <assert.h>
20979 /* Override any gcc2 internal prototype to avoid an error. */
20984 /* We use char because int might match the return type of a gcc2
20985 builtin and then its argument prototype would still apply. */
20987 /* The GNU C library defines this for functions which it implements
20988 to always fail with ENOSYS. Some functions are actually named
20989 something starting with __ and the normal name is an alias. */
20990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20993 char (*f) () = $ac_func;
21002 return f != $ac_func;
21007 rm -f conftest.
$ac_objext conftest
$ac_exeext
21008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21009 (eval $ac_link) 2>conftest.er1
21011 grep -v '^ *+' conftest.er1
>conftest.err
21013 cat conftest.err
>&5
21014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015 (exit $ac_status); } &&
21016 { ac_try
='test -z "$ac_c_werror_flag"
21017 || test ! -s conftest.err'
21018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21019 (eval $ac_try) 2>&5
21021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21022 (exit $ac_status); }; } &&
21023 { ac_try
='test -s conftest$ac_exeext'
21024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21025 (eval $ac_try) 2>&5
21027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028 (exit $ac_status); }; }; then
21029 eval "$as_ac_var=yes"
21031 echo "$as_me: failed program was:" >&5
21032 sed 's/^/| /' conftest.
$ac_ext >&5
21034 eval "$as_ac_var=no"
21036 rm -f conftest.err conftest.
$ac_objext \
21037 conftest
$ac_exeext conftest.
$ac_ext
21039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21041 if test `eval echo '${'$as_ac_var'}'` = yes; then
21042 cat >>confdefs.h
<<_ACEOF
21043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21052 for ac_header
in unistd.h dlfcn.h sys
/resource.h
21054 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21055 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21056 echo "$as_me:$LINENO: checking for $ac_header" >&5
21057 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21058 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21059 echo $ECHO_N "(cached) $ECHO_C" >&6
21061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21062 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21064 # Is the header compilable?
21065 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21066 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21067 cat >conftest.
$ac_ext <<_ACEOF
21070 cat confdefs.h
>>conftest.
$ac_ext
21071 cat >>conftest.
$ac_ext <<_ACEOF
21072 /* end confdefs.h. */
21073 $ac_includes_default
21074 #include <$ac_header>
21076 rm -f conftest.
$ac_objext
21077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21078 (eval $ac_compile) 2>conftest.er1
21080 grep -v '^ *+' conftest.er1
>conftest.err
21082 cat conftest.err
>&5
21083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084 (exit $ac_status); } &&
21085 { ac_try
='test -z "$ac_c_werror_flag"
21086 || test ! -s conftest.err'
21087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21088 (eval $ac_try) 2>&5
21090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21091 (exit $ac_status); }; } &&
21092 { ac_try
='test -s conftest.$ac_objext'
21093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21094 (eval $ac_try) 2>&5
21096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21097 (exit $ac_status); }; }; then
21098 ac_header_compiler
=yes
21100 echo "$as_me: failed program was:" >&5
21101 sed 's/^/| /' conftest.
$ac_ext >&5
21103 ac_header_compiler
=no
21105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21106 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21107 echo "${ECHO_T}$ac_header_compiler" >&6
21109 # Is the header present?
21110 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21111 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21112 cat >conftest.
$ac_ext <<_ACEOF
21115 cat confdefs.h
>>conftest.
$ac_ext
21116 cat >>conftest.
$ac_ext <<_ACEOF
21117 /* end confdefs.h. */
21118 #include <$ac_header>
21120 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21121 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21123 grep -v '^ *+' conftest.er1
>conftest.err
21125 cat conftest.err
>&5
21126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21127 (exit $ac_status); } >/dev
/null
; then
21128 if test -s conftest.err
; then
21129 ac_cpp_err
=$ac_c_preproc_warn_flag
21130 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21137 if test -z "$ac_cpp_err"; then
21138 ac_header_preproc
=yes
21140 echo "$as_me: failed program was:" >&5
21141 sed 's/^/| /' conftest.
$ac_ext >&5
21143 ac_header_preproc
=no
21145 rm -f conftest.err conftest.
$ac_ext
21146 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21147 echo "${ECHO_T}$ac_header_preproc" >&6
21149 # So? What about this header?
21150 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21152 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21153 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21155 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21156 ac_header_preproc
=yes
21159 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21160 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21161 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21162 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21163 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21164 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21165 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21166 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21168 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21169 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21170 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21173 ## ---------------------------------- ##
21174 ## Report this to the libjava lists. ##
21175 ## ---------------------------------- ##
21178 sed "s/^/$as_me: WARNING: /" >&2
21181 echo "$as_me:$LINENO: checking for $ac_header" >&5
21182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21183 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21184 echo $ECHO_N "(cached) $ECHO_C" >&6
21186 eval "$as_ac_Header=\$ac_header_preproc"
21188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21189 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21192 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21193 cat >>confdefs.h
<<_ACEOF
21194 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21201 # Do an additional check on dld, HP-UX for example has dladdr in libdld.sl
21202 echo "$as_me:$LINENO: checking for dladdr in -ldl" >&5
21203 echo $ECHO_N "checking for dladdr in -ldl... $ECHO_C" >&6
21204 if test "${ac_cv_lib_dl_dladdr+set}" = set; then
21205 echo $ECHO_N "(cached) $ECHO_C" >&6
21207 ac_check_lib_save_LIBS
=$LIBS
21209 if test x
$gcc_no_link = xyes
; then
21210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21212 { (exit 1); exit 1; }; }
21214 cat >conftest.
$ac_ext <<_ACEOF
21217 cat confdefs.h
>>conftest.
$ac_ext
21218 cat >>conftest.
$ac_ext <<_ACEOF
21219 /* end confdefs.h. */
21221 /* Override any gcc2 internal prototype to avoid an error. */
21225 /* We use char because int might match the return type of a gcc2
21226 builtin and then its argument prototype would still apply. */
21236 rm -f conftest.
$ac_objext conftest
$ac_exeext
21237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21238 (eval $ac_link) 2>conftest.er1
21240 grep -v '^ *+' conftest.er1
>conftest.err
21242 cat conftest.err
>&5
21243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21244 (exit $ac_status); } &&
21245 { ac_try
='test -z "$ac_c_werror_flag"
21246 || test ! -s conftest.err'
21247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21248 (eval $ac_try) 2>&5
21250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21251 (exit $ac_status); }; } &&
21252 { ac_try
='test -s conftest$ac_exeext'
21253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21254 (eval $ac_try) 2>&5
21256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21257 (exit $ac_status); }; }; then
21258 ac_cv_lib_dl_dladdr
=yes
21260 echo "$as_me: failed program was:" >&5
21261 sed 's/^/| /' conftest.
$ac_ext >&5
21263 ac_cv_lib_dl_dladdr
=no
21265 rm -f conftest.err conftest.
$ac_objext \
21266 conftest
$ac_exeext conftest.
$ac_ext
21267 LIBS
=$ac_check_lib_save_LIBS
21269 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dladdr" >&5
21270 echo "${ECHO_T}$ac_cv_lib_dl_dladdr" >&6
21271 if test $ac_cv_lib_dl_dladdr = yes; then
21274 cat >>confdefs.h
<<\_ACEOF
21275 #define HAVE_DLADDR 1
21280 echo "$as_me:$LINENO: checking for dladdr in -ldld" >&5
21281 echo $ECHO_N "checking for dladdr in -ldld... $ECHO_C" >&6
21282 if test "${ac_cv_lib_dld_dladdr+set}" = set; then
21283 echo $ECHO_N "(cached) $ECHO_C" >&6
21285 ac_check_lib_save_LIBS
=$LIBS
21287 if test x
$gcc_no_link = xyes
; then
21288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21290 { (exit 1); exit 1; }; }
21292 cat >conftest.
$ac_ext <<_ACEOF
21295 cat confdefs.h
>>conftest.
$ac_ext
21296 cat >>conftest.
$ac_ext <<_ACEOF
21297 /* end confdefs.h. */
21299 /* Override any gcc2 internal prototype to avoid an error. */
21303 /* We use char because int might match the return type of a gcc2
21304 builtin and then its argument prototype would still apply. */
21314 rm -f conftest.
$ac_objext conftest
$ac_exeext
21315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21316 (eval $ac_link) 2>conftest.er1
21318 grep -v '^ *+' conftest.er1
>conftest.err
21320 cat conftest.err
>&5
21321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21322 (exit $ac_status); } &&
21323 { ac_try
='test -z "$ac_c_werror_flag"
21324 || test ! -s conftest.err'
21325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21326 (eval $ac_try) 2>&5
21328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21329 (exit $ac_status); }; } &&
21330 { ac_try
='test -s conftest$ac_exeext'
21331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21332 (eval $ac_try) 2>&5
21334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21335 (exit $ac_status); }; }; then
21336 ac_cv_lib_dld_dladdr
=yes
21338 echo "$as_me: failed program was:" >&5
21339 sed 's/^/| /' conftest.
$ac_ext >&5
21341 ac_cv_lib_dld_dladdr
=no
21343 rm -f conftest.err conftest.
$ac_objext \
21344 conftest
$ac_exeext conftest.
$ac_ext
21345 LIBS
=$ac_check_lib_save_LIBS
21347 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dladdr" >&5
21348 echo "${ECHO_T}$ac_cv_lib_dld_dladdr" >&6
21349 if test $ac_cv_lib_dld_dladdr = yes; then
21352 cat >>confdefs.h
<<\_ACEOF
21353 #define HAVE_DLADDR 1
21361 if test x
"$cross_compiling" = x
"no"; then
21362 echo "$as_me:$LINENO: checking for /proc/self/exe" >&5
21363 echo $ECHO_N "checking for /proc/self/exe... $ECHO_C" >&6
21364 if test "${ac_cv_file__proc_self_exe+set}" = set; then
21365 echo $ECHO_N "(cached) $ECHO_C" >&6
21367 test "$cross_compiling" = yes &&
21368 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21369 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
21370 { (exit 1); exit 1; }; }
21371 if test -r "/proc/self/exe"; then
21372 ac_cv_file__proc_self_exe
=yes
21374 ac_cv_file__proc_self_exe
=no
21377 echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_exe" >&5
21378 echo "${ECHO_T}$ac_cv_file__proc_self_exe" >&6
21379 if test $ac_cv_file__proc_self_exe = yes; then
21381 cat >>confdefs.h
<<_ACEOF
21382 #define HAVE__PROC_SELF_EXE 1
21387 cat >>confdefs.h
<<\_ACEOF
21388 #define HAVE_PROC_SELF_EXE 1
21393 echo "$as_me:$LINENO: checking for /proc/self/maps" >&5
21394 echo $ECHO_N "checking for /proc/self/maps... $ECHO_C" >&6
21395 if test "${ac_cv_file__proc_self_maps+set}" = set; then
21396 echo $ECHO_N "(cached) $ECHO_C" >&6
21398 test "$cross_compiling" = yes &&
21399 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21400 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
21401 { (exit 1); exit 1; }; }
21402 if test -r "/proc/self/maps"; then
21403 ac_cv_file__proc_self_maps
=yes
21405 ac_cv_file__proc_self_maps
=no
21408 echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_maps" >&5
21409 echo "${ECHO_T}$ac_cv_file__proc_self_maps" >&6
21410 if test $ac_cv_file__proc_self_maps = yes; then
21412 cat >>confdefs.h
<<_ACEOF
21413 #define HAVE__PROC_SELF_MAPS 1
21418 cat >>confdefs.h
<<\_ACEOF
21419 #define HAVE_PROC_SELF_MAPS 1
21428 cat >>confdefs.h
<<\_ACEOF
21429 #define HAVE_PROC_SELF_EXE 1
21433 cat >>confdefs.h
<<\_ACEOF
21434 #define HAVE_PROC_SELF_MAPS 1
21442 if test "X$prefix" = "XNONE"; then
21443 acl_final_prefix
="$ac_default_prefix"
21445 acl_final_prefix
="$prefix"
21447 if test "X$exec_prefix" = "XNONE"; then
21448 acl_final_exec_prefix
='${prefix}'
21450 acl_final_exec_prefix
="$exec_prefix"
21452 acl_save_prefix
="$prefix"
21453 prefix
="$acl_final_prefix"
21454 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
21455 prefix
="$acl_save_prefix"
21458 # Check whether --with-gnu-ld or --without-gnu-ld was given.
21459 if test "${with_gnu_ld+set}" = set; then
21460 withval
="$with_gnu_ld"
21461 test "$withval" = no || with_gnu_ld
=yes
21465 # Prepare PATH_SEPARATOR.
21466 # The user is always right.
21467 if test "${PATH_SEPARATOR+set}" != set; then
21468 echo "#! /bin/sh" >conf$$.sh
21469 echo "exit 0" >>conf$$.sh
21471 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21479 if test "$GCC" = yes; then
21480 # Check if gcc -print-prog-name=ld gives a path.
21481 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
21482 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
21485 # gcc leaves a trailing carriage return which upsets mingw
21486 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21488 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
21491 # Accept absolute paths.
21492 [\\/]* |
[A-Za-z
]:[\\/]*)
21493 re_direlt
='/[^/][^/]*/\.\./'
21494 # Canonicalize the path of ld
21495 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
21496 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
21497 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
21499 test -z "$LD" && LD
="$ac_prog"
21502 # If it fails, then pretend we aren't using GCC.
21506 # If it is relative, then search for the first ld in PATH.
21507 with_gnu_ld
=unknown
21510 elif test "$with_gnu_ld" = yes; then
21511 echo "$as_me:$LINENO: checking for GNU ld" >&5
21512 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
21514 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
21515 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
21517 if test "${acl_cv_path_LD+set}" = set; then
21518 echo $ECHO_N "(cached) $ECHO_C" >&6
21520 if test -z "$LD"; then
21521 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
21522 for ac_dir
in $PATH; do
21523 test -z "$ac_dir" && ac_dir
=.
21524 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
21525 acl_cv_path_LD
="$ac_dir/$ac_prog"
21526 # Check to see if the program is GNU ld. I'd rather use --version,
21527 # but apparently some GNU ld's only accept -v.
21528 # Break only if it was the GNU/non-GNU ld that we prefer.
21529 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
21530 test "$with_gnu_ld" != no
&& break
21532 test "$with_gnu_ld" != yes && break
21538 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
21542 LD
="$acl_cv_path_LD"
21543 if test -n "$LD"; then
21544 echo "$as_me:$LINENO: result: $LD" >&5
21545 echo "${ECHO_T}$LD" >&6
21547 echo "$as_me:$LINENO: result: no" >&5
21548 echo "${ECHO_T}no" >&6
21550 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
21551 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
21552 { (exit 1); exit 1; }; }
21553 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
21554 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
21555 if test "${acl_cv_prog_gnu_ld+set}" = set; then
21556 echo $ECHO_N "(cached) $ECHO_C" >&6
21558 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
21559 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
21560 acl_cv_prog_gnu_ld
=yes
21562 acl_cv_prog_gnu_ld
=no
21565 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
21566 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
21567 with_gnu_ld
=$acl_cv_prog_gnu_ld
21571 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
21572 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
21573 if test "${acl_cv_rpath+set}" = set; then
21574 echo $ECHO_N "(cached) $ECHO_C" >&6
21577 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
21578 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
21580 rm -f .
/conftest.sh
21584 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
21585 echo "${ECHO_T}$acl_cv_rpath" >&6
21587 libext
="$acl_cv_libext"
21588 shlibext
="$acl_cv_shlibext"
21589 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
21590 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
21591 hardcode_direct
="$acl_cv_hardcode_direct"
21592 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
21593 # Check whether --enable-rpath or --disable-rpath was given.
21594 if test "${enable_rpath+set}" = set; then
21595 enableval
="$enable_rpath"
21609 acl_save_prefix
="$prefix"
21610 prefix
="$acl_final_prefix"
21611 acl_save_exec_prefix
="$exec_prefix"
21612 exec_prefix
="$acl_final_exec_prefix"
21614 eval additional_includedir
=\"$includedir\"
21615 eval additional_libdir
=\"$libdir\"
21617 exec_prefix
="$acl_save_exec_prefix"
21618 prefix
="$acl_save_prefix"
21621 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
21622 if test "${with_libiconv_prefix+set}" = set; then
21623 withval
="$with_libiconv_prefix"
21625 if test "X$withval" = "Xno"; then
21628 if test "X$withval" = "X"; then
21630 acl_save_prefix
="$prefix"
21631 prefix
="$acl_final_prefix"
21632 acl_save_exec_prefix
="$exec_prefix"
21633 exec_prefix
="$acl_final_exec_prefix"
21635 eval additional_includedir
=\"$includedir\"
21636 eval additional_libdir
=\"$libdir\"
21638 exec_prefix
="$acl_save_exec_prefix"
21639 prefix
="$acl_save_prefix"
21642 additional_includedir
="$withval/include"
21643 additional_libdir
="$withval/lib"
21653 names_already_handled
=
21654 names_next_round
='iconv '
21655 while test -n "$names_next_round"; do
21656 names_this_round
="$names_next_round"
21658 for name
in $names_this_round; do
21660 for n
in $names_already_handled; do
21661 if test "$n" = "$name"; then
21662 already_handled
=yes
21666 if test -z "$already_handled"; then
21667 names_already_handled
="$names_already_handled $name"
21668 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
21669 eval value
=\"\
$HAVE_LIB$uppername\"
21670 if test -n "$value"; then
21671 if test "$value" = yes; then
21672 eval value
=\"\
$LIB$uppername\"
21673 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
21674 eval value
=\"\
$LTLIB$uppername\"
21675 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
21684 if test $use_additional = yes; then
21685 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
21686 found_dir
="$additional_libdir"
21687 found_so
="$additional_libdir/lib$name.$shlibext"
21688 if test -f "$additional_libdir/lib$name.la"; then
21689 found_la
="$additional_libdir/lib$name.la"
21692 if test -f "$additional_libdir/lib$name.$libext"; then
21693 found_dir
="$additional_libdir"
21694 found_a
="$additional_libdir/lib$name.$libext"
21695 if test -f "$additional_libdir/lib$name.la"; then
21696 found_la
="$additional_libdir/lib$name.la"
21701 if test "X$found_dir" = "X"; then
21702 for x
in $LDFLAGS $LTLIBICONV; do
21704 acl_save_prefix
="$prefix"
21705 prefix
="$acl_final_prefix"
21706 acl_save_exec_prefix
="$exec_prefix"
21707 exec_prefix
="$acl_final_exec_prefix"
21709 exec_prefix
="$acl_save_exec_prefix"
21710 prefix
="$acl_save_prefix"
21714 dir
=`echo "X$x" | sed -e 's/^X-L//'`
21715 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
21717 found_so
="$dir/lib$name.$shlibext"
21718 if test -f "$dir/lib$name.la"; then
21719 found_la
="$dir/lib$name.la"
21722 if test -f "$dir/lib$name.$libext"; then
21724 found_a
="$dir/lib$name.$libext"
21725 if test -f "$dir/lib$name.la"; then
21726 found_la
="$dir/lib$name.la"
21732 if test "X$found_dir" != "X"; then
21737 if test "X$found_dir" != "X"; then
21738 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
21739 if test "X$found_so" != "X"; then
21740 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
21741 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21744 for x
in $ltrpathdirs; do
21745 if test "X$x" = "X$found_dir"; then
21750 if test -z "$haveit"; then
21751 ltrpathdirs
="$ltrpathdirs $found_dir"
21753 if test "$hardcode_direct" = yes; then
21754 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21756 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
21757 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21759 for x
in $rpathdirs; do
21760 if test "X$x" = "X$found_dir"; then
21765 if test -z "$haveit"; then
21766 rpathdirs
="$rpathdirs $found_dir"
21770 for x
in $LDFLAGS $LIBICONV; do
21772 acl_save_prefix
="$prefix"
21773 prefix
="$acl_final_prefix"
21774 acl_save_exec_prefix
="$exec_prefix"
21775 exec_prefix
="$acl_final_exec_prefix"
21777 exec_prefix
="$acl_save_exec_prefix"
21778 prefix
="$acl_save_prefix"
21780 if test "X$x" = "X-L$found_dir"; then
21785 if test -z "$haveit"; then
21786 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
21788 if test "$hardcode_minus_L" != no
; then
21789 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21791 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
21797 if test "X$found_a" != "X"; then
21798 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
21800 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
21803 additional_includedir
=
21804 case "$found_dir" in
21806 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
21807 additional_includedir
="$basedir/include"
21810 if test "X$additional_includedir" != "X"; then
21811 if test "X$additional_includedir" != "X/usr/include"; then
21813 if test "X$additional_includedir" = "X/usr/local/include"; then
21814 if test -n "$GCC"; then
21816 linux
*) haveit
=yes;;
21820 if test -z "$haveit"; then
21821 for x
in $CPPFLAGS $INCICONV; do
21823 acl_save_prefix
="$prefix"
21824 prefix
="$acl_final_prefix"
21825 acl_save_exec_prefix
="$exec_prefix"
21826 exec_prefix
="$acl_final_exec_prefix"
21828 exec_prefix
="$acl_save_exec_prefix"
21829 prefix
="$acl_save_prefix"
21831 if test "X$x" = "X-I$additional_includedir"; then
21836 if test -z "$haveit"; then
21837 if test -d "$additional_includedir"; then
21838 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
21844 if test -n "$found_la"; then
21845 save_libdir
="$libdir"
21846 case "$found_la" in
21847 */* |
*\\*) .
"$found_la" ;;
21848 *) .
"./$found_la" ;;
21850 libdir
="$save_libdir"
21851 for dep
in $dependency_libs; do
21854 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
21855 if test "X$additional_libdir" != "X/usr/lib"; then
21857 if test "X$additional_libdir" = "X/usr/local/lib"; then
21858 if test -n "$GCC"; then
21860 linux
*) haveit
=yes;;
21864 if test -z "$haveit"; then
21866 for x
in $LDFLAGS $LIBICONV; do
21868 acl_save_prefix
="$prefix"
21869 prefix
="$acl_final_prefix"
21870 acl_save_exec_prefix
="$exec_prefix"
21871 exec_prefix
="$acl_final_exec_prefix"
21873 exec_prefix
="$acl_save_exec_prefix"
21874 prefix
="$acl_save_prefix"
21876 if test "X$x" = "X-L$additional_libdir"; then
21881 if test -z "$haveit"; then
21882 if test -d "$additional_libdir"; then
21883 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
21887 for x
in $LDFLAGS $LTLIBICONV; do
21889 acl_save_prefix
="$prefix"
21890 prefix
="$acl_final_prefix"
21891 acl_save_exec_prefix
="$exec_prefix"
21892 exec_prefix
="$acl_final_exec_prefix"
21894 exec_prefix
="$acl_save_exec_prefix"
21895 prefix
="$acl_save_prefix"
21897 if test "X$x" = "X-L$additional_libdir"; then
21902 if test -z "$haveit"; then
21903 if test -d "$additional_libdir"; then
21904 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
21911 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
21912 if test "$enable_rpath" != no
; then
21914 for x
in $rpathdirs; do
21915 if test "X$x" = "X$dir"; then
21920 if test -z "$haveit"; then
21921 rpathdirs
="$rpathdirs $dir"
21924 for x
in $ltrpathdirs; do
21925 if test "X$x" = "X$dir"; then
21930 if test -z "$haveit"; then
21931 ltrpathdirs
="$ltrpathdirs $dir"
21936 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
21939 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
21942 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
21943 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
21949 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
21950 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
21956 if test "X$rpathdirs" != "X"; then
21957 if test -n "$hardcode_libdir_separator"; then
21959 for found_dir
in $rpathdirs; do
21960 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
21962 acl_save_libdir
="$libdir"
21964 eval flag
=\"$hardcode_libdir_flag_spec\"
21965 libdir
="$acl_save_libdir"
21966 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
21968 for found_dir
in $rpathdirs; do
21969 acl_save_libdir
="$libdir"
21970 libdir
="$found_dir"
21971 eval flag
=\"$hardcode_libdir_flag_spec\"
21972 libdir
="$acl_save_libdir"
21973 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
21977 if test "X$ltrpathdirs" != "X"; then
21978 for found_dir
in $ltrpathdirs; do
21979 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
21989 am_save_CPPFLAGS
="$CPPFLAGS"
21991 for element
in $INCICONV; do
21993 for x
in $CPPFLAGS; do
21995 acl_save_prefix
="$prefix"
21996 prefix
="$acl_final_prefix"
21997 acl_save_exec_prefix
="$exec_prefix"
21998 exec_prefix
="$acl_final_exec_prefix"
22000 exec_prefix
="$acl_save_exec_prefix"
22001 prefix
="$acl_save_prefix"
22003 if test "X$x" = "X$element"; then
22008 if test -z "$haveit"; then
22009 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
22014 echo "$as_me:$LINENO: checking for iconv" >&5
22015 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
22016 if test "${am_cv_func_iconv+set}" = set; then
22017 echo $ECHO_N "(cached) $ECHO_C" >&6
22020 am_cv_func_iconv
="no, consider installing GNU libiconv"
22022 if test x
$gcc_no_link = xyes
; then
22023 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22025 { (exit 1); exit 1; }; }
22027 cat >conftest.
$ac_ext <<_ACEOF
22030 cat confdefs.h
>>conftest.
$ac_ext
22031 cat >>conftest.
$ac_ext <<_ACEOF
22032 /* end confdefs.h. */
22033 #include <stdlib.h>
22038 iconv_t cd = iconv_open("","");
22039 iconv(cd,NULL,NULL,NULL,NULL);
22045 rm -f conftest.
$ac_objext conftest
$ac_exeext
22046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22047 (eval $ac_link) 2>conftest.er1
22049 grep -v '^ *+' conftest.er1
>conftest.err
22051 cat conftest.err
>&5
22052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22053 (exit $ac_status); } &&
22054 { ac_try
='test -z "$ac_c_werror_flag"
22055 || test ! -s conftest.err'
22056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22057 (eval $ac_try) 2>&5
22059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22060 (exit $ac_status); }; } &&
22061 { ac_try
='test -s conftest$ac_exeext'
22062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22063 (eval $ac_try) 2>&5
22065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22066 (exit $ac_status); }; }; then
22067 am_cv_func_iconv
=yes
22069 echo "$as_me: failed program was:" >&5
22070 sed 's/^/| /' conftest.
$ac_ext >&5
22073 rm -f conftest.err conftest.
$ac_objext \
22074 conftest
$ac_exeext conftest.
$ac_ext
22075 if test "$am_cv_func_iconv" != yes; then
22076 am_save_LIBS
="$LIBS"
22077 LIBS
="$LIBS $LIBICONV"
22078 if test x
$gcc_no_link = xyes
; then
22079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22081 { (exit 1); exit 1; }; }
22083 cat >conftest.
$ac_ext <<_ACEOF
22086 cat confdefs.h
>>conftest.
$ac_ext
22087 cat >>conftest.
$ac_ext <<_ACEOF
22088 /* end confdefs.h. */
22089 #include <stdlib.h>
22094 iconv_t cd = iconv_open("","");
22095 iconv(cd,NULL,NULL,NULL,NULL);
22101 rm -f conftest.
$ac_objext conftest
$ac_exeext
22102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22103 (eval $ac_link) 2>conftest.er1
22105 grep -v '^ *+' conftest.er1
>conftest.err
22107 cat conftest.err
>&5
22108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22109 (exit $ac_status); } &&
22110 { ac_try
='test -z "$ac_c_werror_flag"
22111 || test ! -s conftest.err'
22112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22113 (eval $ac_try) 2>&5
22115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22116 (exit $ac_status); }; } &&
22117 { ac_try
='test -s conftest$ac_exeext'
22118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22119 (eval $ac_try) 2>&5
22121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22122 (exit $ac_status); }; }; then
22123 am_cv_lib_iconv
=yes
22124 am_cv_func_iconv
=yes
22126 echo "$as_me: failed program was:" >&5
22127 sed 's/^/| /' conftest.
$ac_ext >&5
22130 rm -f conftest.err conftest.
$ac_objext \
22131 conftest
$ac_exeext conftest.
$ac_ext
22132 LIBS
="$am_save_LIBS"
22136 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
22137 echo "${ECHO_T}$am_cv_func_iconv" >&6
22138 if test "$am_cv_func_iconv" = yes; then
22140 cat >>confdefs.h
<<\_ACEOF
22141 #define HAVE_ICONV 1
22145 if test "$am_cv_lib_iconv" = yes; then
22146 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
22147 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
22148 echo "$as_me:$LINENO: result: $LIBICONV" >&5
22149 echo "${ECHO_T}$LIBICONV" >&6
22151 CPPFLAGS
="$am_save_CPPFLAGS"
22158 if test "$am_cv_func_iconv" = yes; then
22159 echo "$as_me:$LINENO: checking for iconv declaration" >&5
22160 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
22161 if test "${am_cv_proto_iconv+set}" = set; then
22162 echo $ECHO_N "(cached) $ECHO_C" >&6
22165 cat >conftest.
$ac_ext <<_ACEOF
22168 cat confdefs.h
>>conftest.
$ac_ext
22169 cat >>conftest.
$ac_ext <<_ACEOF
22170 /* end confdefs.h. */
22172 #include <stdlib.h>
22178 #if defined(__STDC__) || defined(__cplusplus)
22179 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
22192 rm -f conftest.
$ac_objext
22193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22194 (eval $ac_compile) 2>conftest.er1
22196 grep -v '^ *+' conftest.er1
>conftest.err
22198 cat conftest.err
>&5
22199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22200 (exit $ac_status); } &&
22201 { ac_try
='test -z "$ac_c_werror_flag"
22202 || test ! -s conftest.err'
22203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22204 (eval $ac_try) 2>&5
22206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22207 (exit $ac_status); }; } &&
22208 { ac_try
='test -s conftest.$ac_objext'
22209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22210 (eval $ac_try) 2>&5
22212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22213 (exit $ac_status); }; }; then
22214 am_cv_proto_iconv_arg1
=""
22216 echo "$as_me: failed program was:" >&5
22217 sed 's/^/| /' conftest.
$ac_ext >&5
22219 am_cv_proto_iconv_arg1
="const"
22221 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22222 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);"
22225 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
22226 echo "$as_me:$LINENO: result: ${ac_t:-
22227 }$am_cv_proto_iconv" >&5
22228 echo "${ECHO_T}${ac_t:-
22229 }$am_cv_proto_iconv" >&6
22231 cat >>confdefs.h
<<_ACEOF
22232 #define ICONV_CONST $am_cv_proto_iconv_arg1
22238 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
22239 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
22240 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
22241 echo $ECHO_N "(cached) $ECHO_C" >&6
22243 if test x
$gcc_no_link = xyes
; then
22244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22246 { (exit 1); exit 1; }; }
22248 cat >conftest.
$ac_ext <<_ACEOF
22251 cat confdefs.h
>>conftest.
$ac_ext
22252 cat >>conftest.
$ac_ext <<_ACEOF
22253 /* end confdefs.h. */
22254 #include <locale.h>
22263 rm -f conftest.
$ac_objext conftest
$ac_exeext
22264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22265 (eval $ac_link) 2>conftest.er1
22267 grep -v '^ *+' conftest.er1
>conftest.err
22269 cat conftest.err
>&5
22270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22271 (exit $ac_status); } &&
22272 { ac_try
='test -z "$ac_c_werror_flag"
22273 || test ! -s conftest.err'
22274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22275 (eval $ac_try) 2>&5
22277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22278 (exit $ac_status); }; } &&
22279 { ac_try
='test -s conftest$ac_exeext'
22280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22281 (eval $ac_try) 2>&5
22283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22284 (exit $ac_status); }; }; then
22285 am_cv_val_LC_MESSAGES
=yes
22287 echo "$as_me: failed program was:" >&5
22288 sed 's/^/| /' conftest.
$ac_ext >&5
22290 am_cv_val_LC_MESSAGES
=no
22292 rm -f conftest.err conftest.
$ac_objext \
22293 conftest
$ac_exeext conftest.
$ac_ext
22295 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
22296 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
22297 if test $am_cv_val_LC_MESSAGES = yes; then
22299 cat >>confdefs.h
<<\_ACEOF
22300 #define HAVE_LC_MESSAGES 1
22305 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
22306 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
22307 if test "${ac_cv_struct_tm+set}" = set; then
22308 echo $ECHO_N "(cached) $ECHO_C" >&6
22310 cat >conftest.
$ac_ext <<_ACEOF
22313 cat confdefs.h
>>conftest.
$ac_ext
22314 cat >>conftest.
$ac_ext <<_ACEOF
22315 /* end confdefs.h. */
22316 #include <sys/types.h>
22322 struct tm *tp; tp->tm_sec;
22327 rm -f conftest.
$ac_objext
22328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22329 (eval $ac_compile) 2>conftest.er1
22331 grep -v '^ *+' conftest.er1
>conftest.err
22333 cat conftest.err
>&5
22334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22335 (exit $ac_status); } &&
22336 { ac_try
='test -z "$ac_c_werror_flag"
22337 || test ! -s conftest.err'
22338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22339 (eval $ac_try) 2>&5
22341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22342 (exit $ac_status); }; } &&
22343 { ac_try
='test -s conftest.$ac_objext'
22344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22345 (eval $ac_try) 2>&5
22347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22348 (exit $ac_status); }; }; then
22349 ac_cv_struct_tm
=time.h
22351 echo "$as_me: failed program was:" >&5
22352 sed 's/^/| /' conftest.
$ac_ext >&5
22354 ac_cv_struct_tm
=sys
/time.h
22356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22358 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
22359 echo "${ECHO_T}$ac_cv_struct_tm" >&6
22360 if test $ac_cv_struct_tm = sys
/time.h
; then
22362 cat >>confdefs.h
<<\_ACEOF
22363 #define TM_IN_SYS_TIME 1
22368 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
22369 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
22370 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
22371 echo $ECHO_N "(cached) $ECHO_C" >&6
22373 cat >conftest.
$ac_ext <<_ACEOF
22376 cat confdefs.h
>>conftest.
$ac_ext
22377 cat >>conftest.
$ac_ext <<_ACEOF
22378 /* end confdefs.h. */
22379 #include <sys/types.h>
22380 #include <$ac_cv_struct_tm>
22386 static struct tm ac_aggr;
22387 if (ac_aggr.tm_zone)
22393 rm -f conftest.
$ac_objext
22394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22395 (eval $ac_compile) 2>conftest.er1
22397 grep -v '^ *+' conftest.er1
>conftest.err
22399 cat conftest.err
>&5
22400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22401 (exit $ac_status); } &&
22402 { ac_try
='test -z "$ac_c_werror_flag"
22403 || test ! -s conftest.err'
22404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22405 (eval $ac_try) 2>&5
22407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22408 (exit $ac_status); }; } &&
22409 { ac_try
='test -s conftest.$ac_objext'
22410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22411 (eval $ac_try) 2>&5
22413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22414 (exit $ac_status); }; }; then
22415 ac_cv_member_struct_tm_tm_zone
=yes
22417 echo "$as_me: failed program was:" >&5
22418 sed 's/^/| /' conftest.
$ac_ext >&5
22420 cat >conftest.
$ac_ext <<_ACEOF
22423 cat confdefs.h
>>conftest.
$ac_ext
22424 cat >>conftest.
$ac_ext <<_ACEOF
22425 /* end confdefs.h. */
22426 #include <sys/types.h>
22427 #include <$ac_cv_struct_tm>
22433 static struct tm ac_aggr;
22434 if (sizeof ac_aggr.tm_zone)
22440 rm -f conftest.
$ac_objext
22441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22442 (eval $ac_compile) 2>conftest.er1
22444 grep -v '^ *+' conftest.er1
>conftest.err
22446 cat conftest.err
>&5
22447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22448 (exit $ac_status); } &&
22449 { ac_try
='test -z "$ac_c_werror_flag"
22450 || test ! -s conftest.err'
22451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22452 (eval $ac_try) 2>&5
22454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22455 (exit $ac_status); }; } &&
22456 { ac_try
='test -s conftest.$ac_objext'
22457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22458 (eval $ac_try) 2>&5
22460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22461 (exit $ac_status); }; }; then
22462 ac_cv_member_struct_tm_tm_zone
=yes
22464 echo "$as_me: failed program was:" >&5
22465 sed 's/^/| /' conftest.
$ac_ext >&5
22467 ac_cv_member_struct_tm_tm_zone
=no
22469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22473 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
22474 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
22475 if test $ac_cv_member_struct_tm_tm_zone = yes; then
22477 cat >>confdefs.h
<<_ACEOF
22478 #define HAVE_STRUCT_TM_TM_ZONE 1
22484 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
22486 cat >>confdefs.h
<<\_ACEOF
22487 #define HAVE_TM_ZONE 1
22491 echo "$as_me:$LINENO: checking for tzname" >&5
22492 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
22493 if test "${ac_cv_var_tzname+set}" = set; then
22494 echo $ECHO_N "(cached) $ECHO_C" >&6
22496 if test x
$gcc_no_link = xyes
; then
22497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22499 { (exit 1); exit 1; }; }
22501 cat >conftest.
$ac_ext <<_ACEOF
22504 cat confdefs.h
>>conftest.
$ac_ext
22505 cat >>conftest.
$ac_ext <<_ACEOF
22506 /* end confdefs.h. */
22508 #ifndef tzname /* For SGI. */
22509 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
22520 rm -f conftest.
$ac_objext conftest
$ac_exeext
22521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22522 (eval $ac_link) 2>conftest.er1
22524 grep -v '^ *+' conftest.er1
>conftest.err
22526 cat conftest.err
>&5
22527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22528 (exit $ac_status); } &&
22529 { ac_try
='test -z "$ac_c_werror_flag"
22530 || test ! -s conftest.err'
22531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22532 (eval $ac_try) 2>&5
22534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22535 (exit $ac_status); }; } &&
22536 { ac_try
='test -s conftest$ac_exeext'
22537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22538 (eval $ac_try) 2>&5
22540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22541 (exit $ac_status); }; }; then
22542 ac_cv_var_tzname
=yes
22544 echo "$as_me: failed program was:" >&5
22545 sed 's/^/| /' conftest.
$ac_ext >&5
22547 ac_cv_var_tzname
=no
22549 rm -f conftest.err conftest.
$ac_objext \
22550 conftest
$ac_exeext conftest.
$ac_ext
22552 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
22553 echo "${ECHO_T}$ac_cv_var_tzname" >&6
22554 if test $ac_cv_var_tzname = yes; then
22556 cat >>confdefs.h
<<\_ACEOF
22557 #define HAVE_TZNAME 1
22565 for ac_func
in gethostbyname_r
22567 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22568 echo "$as_me:$LINENO: checking for $ac_func" >&5
22569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22570 if eval "test \"\${$as_ac_var+set}\" = set"; then
22571 echo $ECHO_N "(cached) $ECHO_C" >&6
22573 if test x
$gcc_no_link = xyes
; then
22574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22576 { (exit 1); exit 1; }; }
22578 cat >conftest.
$ac_ext <<_ACEOF
22581 cat confdefs.h
>>conftest.
$ac_ext
22582 cat >>conftest.
$ac_ext <<_ACEOF
22583 /* end confdefs.h. */
22584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22586 #define $ac_func innocuous_$ac_func
22588 /* System header to define __stub macros and hopefully few prototypes,
22589 which can conflict with char $ac_func (); below.
22590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22591 <limits.h> exists even on freestanding compilers. */
22594 # include <limits.h>
22596 # include <assert.h>
22601 /* Override any gcc2 internal prototype to avoid an error. */
22606 /* We use char because int might match the return type of a gcc2
22607 builtin and then its argument prototype would still apply. */
22609 /* The GNU C library defines this for functions which it implements
22610 to always fail with ENOSYS. Some functions are actually named
22611 something starting with __ and the normal name is an alias. */
22612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22615 char (*f) () = $ac_func;
22624 return f != $ac_func;
22629 rm -f conftest.
$ac_objext conftest
$ac_exeext
22630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22631 (eval $ac_link) 2>conftest.er1
22633 grep -v '^ *+' conftest.er1
>conftest.err
22635 cat conftest.err
>&5
22636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22637 (exit $ac_status); } &&
22638 { ac_try
='test -z "$ac_c_werror_flag"
22639 || test ! -s conftest.err'
22640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22641 (eval $ac_try) 2>&5
22643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22644 (exit $ac_status); }; } &&
22645 { ac_try
='test -s conftest$ac_exeext'
22646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22647 (eval $ac_try) 2>&5
22649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22650 (exit $ac_status); }; }; then
22651 eval "$as_ac_var=yes"
22653 echo "$as_me: failed program was:" >&5
22654 sed 's/^/| /' conftest.
$ac_ext >&5
22656 eval "$as_ac_var=no"
22658 rm -f conftest.err conftest.
$ac_objext \
22659 conftest
$ac_exeext conftest.
$ac_ext
22661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22663 if test `eval echo '${'$as_ac_var'}'` = yes; then
22664 cat >>confdefs.h
<<_ACEOF
22665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22669 cat >>confdefs.h
<<\_ACEOF
22670 #define HAVE_GETHOSTBYNAME_R 1
22673 # There are two different kinds of gethostbyname_r.
22674 # We look for the one that returns `int'.
22675 # Hopefully this check is robust enough.
22676 cat >conftest.
$ac_ext <<_ACEOF
22679 cat confdefs.h
>>conftest.
$ac_ext
22680 cat >>conftest.
$ac_ext <<_ACEOF
22681 /* end confdefs.h. */
22685 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22686 $EGREP "int.*gethostbyname_r" >/dev
/null
2>&1; then
22689 cat >>confdefs.h
<<\_ACEOF
22690 #define GETHOSTBYNAME_R_RETURNS_INT 1
22697 case " $GCINCS " in
22698 *" -D_REENTRANT "*) ;;
22700 echo "$as_me:$LINENO: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5
22701 echo $ECHO_N "checking whether gethostbyname_r declaration requires -D_REENTRANT... $ECHO_C" >&6
22702 if test "${libjava_cv_gethostbyname_r_needs_reentrant+set}" = set; then
22703 echo $ECHO_N "(cached) $ECHO_C" >&6
22706 ac_cpp
='$CXXCPP $CPPFLAGS'
22707 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22708 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22709 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22711 cat >conftest.
$ac_ext <<_ACEOF
22714 cat confdefs.h
>>conftest.
$ac_ext
22715 cat >>conftest.
$ac_ext <<_ACEOF
22716 /* end confdefs.h. */
22721 gethostbyname_r("", 0, 0);
22726 rm -f conftest.
$ac_objext
22727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22728 (eval $ac_compile) 2>conftest.er1
22730 grep -v '^ *+' conftest.er1
>conftest.err
22732 cat conftest.err
>&5
22733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22734 (exit $ac_status); } &&
22735 { ac_try
='test -z "$ac_cxx_werror_flag"
22736 || test ! -s conftest.err'
22737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22738 (eval $ac_try) 2>&5
22740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22741 (exit $ac_status); }; } &&
22742 { ac_try
='test -s conftest.$ac_objext'
22743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22744 (eval $ac_try) 2>&5
22746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22747 (exit $ac_status); }; }; then
22748 libjava_cv_gethostbyname_r_needs_reentrant
=no
22750 echo "$as_me: failed program was:" >&5
22751 sed 's/^/| /' conftest.
$ac_ext >&5
22753 CPPFLAGS_SAVE
="$CPPFLAGS"
22754 CPPFLAGS
="$CPPFLAGS -D_REENTRANT"
22755 cat >conftest.
$ac_ext <<_ACEOF
22758 cat confdefs.h
>>conftest.
$ac_ext
22759 cat >>conftest.
$ac_ext <<_ACEOF
22760 /* end confdefs.h. */
22765 gethostbyname_r("", 0, 0);
22770 rm -f conftest.
$ac_objext
22771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22772 (eval $ac_compile) 2>conftest.er1
22774 grep -v '^ *+' conftest.er1
>conftest.err
22776 cat conftest.err
>&5
22777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22778 (exit $ac_status); } &&
22779 { ac_try
='test -z "$ac_cxx_werror_flag"
22780 || test ! -s conftest.err'
22781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22782 (eval $ac_try) 2>&5
22784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22785 (exit $ac_status); }; } &&
22786 { ac_try
='test -s conftest.$ac_objext'
22787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22788 (eval $ac_try) 2>&5
22790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22791 (exit $ac_status); }; }; then
22792 libjava_cv_gethostbyname_r_needs_reentrant
=yes
22794 echo "$as_me: failed program was:" >&5
22795 sed 's/^/| /' conftest.
$ac_ext >&5
22797 libjava_cv_gethostbyname_r_needs_reentrant
=fail
22799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22800 CPPFLAGS
="$CPPFLAGS_SAVE"
22803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22805 ac_cpp
='$CPP $CPPFLAGS'
22806 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22807 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22808 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22812 echo "$as_me:$LINENO: result: $libjava_cv_gethostbyname_r_needs_reentrant" >&5
22813 echo "${ECHO_T}$libjava_cv_gethostbyname_r_needs_reentrant" >&6
22814 if test "x$libjava_cv_gethostbyname_r_needs_reentrant" = xyes
; then
22816 cat >>confdefs.h
<<\_ACEOF
22817 #define _REENTRANT 1
22824 echo "$as_me:$LINENO: checking for struct hostent_data" >&5
22825 echo $ECHO_N "checking for struct hostent_data... $ECHO_C" >&6
22826 if test "${libjava_cv_struct_hostent_data+set}" = set; then
22827 echo $ECHO_N "(cached) $ECHO_C" >&6
22829 cat >conftest.
$ac_ext <<_ACEOF
22832 cat confdefs.h
>>conftest.
$ac_ext
22833 cat >>conftest.
$ac_ext <<_ACEOF
22834 /* end confdefs.h. */
22836 #if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
22837 # define _REENTRANT 1
22843 struct hostent_data data;
22848 rm -f conftest.
$ac_objext
22849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22850 (eval $ac_compile) 2>conftest.er1
22852 grep -v '^ *+' conftest.er1
>conftest.err
22854 cat conftest.err
>&5
22855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22856 (exit $ac_status); } &&
22857 { ac_try
='test -z "$ac_c_werror_flag"
22858 || test ! -s conftest.err'
22859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22860 (eval $ac_try) 2>&5
22862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22863 (exit $ac_status); }; } &&
22864 { ac_try
='test -s conftest.$ac_objext'
22865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22866 (eval $ac_try) 2>&5
22868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22869 (exit $ac_status); }; }; then
22870 libjava_cv_struct_hostent_data
=yes
22872 echo "$as_me: failed program was:" >&5
22873 sed 's/^/| /' conftest.
$ac_ext >&5
22875 libjava_cv_struct_hostent_data
=no
22877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22879 echo "$as_me:$LINENO: result: $libjava_cv_struct_hostent_data" >&5
22880 echo "${ECHO_T}$libjava_cv_struct_hostent_data" >&6
22881 if test "x$libjava_cv_struct_hostent_data" = xyes
; then
22883 cat >>confdefs.h
<<\_ACEOF
22884 #define HAVE_STRUCT_HOSTENT_DATA 1
22893 # FIXME: libjava source code expects to find a prototype for
22894 # gethostbyaddr_r in netdb.h. The outer check ensures that
22895 # HAVE_GETHOSTBYADDR_R will not be defined if the prototype fails
22896 # to exist where expected. (The root issue: AC_CHECK_FUNCS assumes C
22897 # linkage check is enough, yet C++ code requires proper prototypes.)
22898 cat >conftest.
$ac_ext <<_ACEOF
22901 cat confdefs.h
>>conftest.
$ac_ext
22902 cat >>conftest.
$ac_ext <<_ACEOF
22903 /* end confdefs.h. */
22907 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22908 $EGREP "gethostbyaddr_r" >/dev
/null
2>&1; then
22911 for ac_func
in gethostbyaddr_r
22913 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22914 echo "$as_me:$LINENO: checking for $ac_func" >&5
22915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22916 if eval "test \"\${$as_ac_var+set}\" = set"; then
22917 echo $ECHO_N "(cached) $ECHO_C" >&6
22919 if test x
$gcc_no_link = xyes
; then
22920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22922 { (exit 1); exit 1; }; }
22924 cat >conftest.
$ac_ext <<_ACEOF
22927 cat confdefs.h
>>conftest.
$ac_ext
22928 cat >>conftest.
$ac_ext <<_ACEOF
22929 /* end confdefs.h. */
22930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22932 #define $ac_func innocuous_$ac_func
22934 /* System header to define __stub macros and hopefully few prototypes,
22935 which can conflict with char $ac_func (); below.
22936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22937 <limits.h> exists even on freestanding compilers. */
22940 # include <limits.h>
22942 # include <assert.h>
22947 /* Override any gcc2 internal prototype to avoid an error. */
22952 /* We use char because int might match the return type of a gcc2
22953 builtin and then its argument prototype would still apply. */
22955 /* The GNU C library defines this for functions which it implements
22956 to always fail with ENOSYS. Some functions are actually named
22957 something starting with __ and the normal name is an alias. */
22958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22961 char (*f) () = $ac_func;
22970 return f != $ac_func;
22975 rm -f conftest.
$ac_objext conftest
$ac_exeext
22976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22977 (eval $ac_link) 2>conftest.er1
22979 grep -v '^ *+' conftest.er1
>conftest.err
22981 cat conftest.err
>&5
22982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22983 (exit $ac_status); } &&
22984 { ac_try
='test -z "$ac_c_werror_flag"
22985 || test ! -s conftest.err'
22986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22987 (eval $ac_try) 2>&5
22989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22990 (exit $ac_status); }; } &&
22991 { ac_try
='test -s conftest$ac_exeext'
22992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22993 (eval $ac_try) 2>&5
22995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22996 (exit $ac_status); }; }; then
22997 eval "$as_ac_var=yes"
22999 echo "$as_me: failed program was:" >&5
23000 sed 's/^/| /' conftest.
$ac_ext >&5
23002 eval "$as_ac_var=no"
23004 rm -f conftest.err conftest.
$ac_objext \
23005 conftest
$ac_exeext conftest.
$ac_ext
23007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23009 if test `eval echo '${'$as_ac_var'}'` = yes; then
23010 cat >>confdefs.h
<<_ACEOF
23011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23015 cat >>confdefs.h
<<\_ACEOF
23016 #define HAVE_GETHOSTBYADDR_R 1
23019 # There are two different kinds of gethostbyaddr_r.
23020 # We look for the one that returns `int'.
23021 # Hopefully this check is robust enough.
23022 cat >conftest.
$ac_ext <<_ACEOF
23025 cat confdefs.h
>>conftest.
$ac_ext
23026 cat >>conftest.
$ac_ext <<_ACEOF
23027 /* end confdefs.h. */
23031 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23032 $EGREP "int.*gethostbyaddr_r" >/dev
/null
2>&1; then
23035 cat >>confdefs.h
<<\_ACEOF
23036 #define GETHOSTBYADDR_R_RETURNS_INT 1
23050 for ac_func
in gethostname
23052 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23053 echo "$as_me:$LINENO: checking for $ac_func" >&5
23054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23055 if eval "test \"\${$as_ac_var+set}\" = set"; then
23056 echo $ECHO_N "(cached) $ECHO_C" >&6
23058 if test x
$gcc_no_link = xyes
; then
23059 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23061 { (exit 1); exit 1; }; }
23063 cat >conftest.
$ac_ext <<_ACEOF
23066 cat confdefs.h
>>conftest.
$ac_ext
23067 cat >>conftest.
$ac_ext <<_ACEOF
23068 /* end confdefs.h. */
23069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23071 #define $ac_func innocuous_$ac_func
23073 /* System header to define __stub macros and hopefully few prototypes,
23074 which can conflict with char $ac_func (); below.
23075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23076 <limits.h> exists even on freestanding compilers. */
23079 # include <limits.h>
23081 # include <assert.h>
23086 /* Override any gcc2 internal prototype to avoid an error. */
23091 /* We use char because int might match the return type of a gcc2
23092 builtin and then its argument prototype would still apply. */
23094 /* The GNU C library defines this for functions which it implements
23095 to always fail with ENOSYS. Some functions are actually named
23096 something starting with __ and the normal name is an alias. */
23097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23100 char (*f) () = $ac_func;
23109 return f != $ac_func;
23114 rm -f conftest.
$ac_objext conftest
$ac_exeext
23115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23116 (eval $ac_link) 2>conftest.er1
23118 grep -v '^ *+' conftest.er1
>conftest.err
23120 cat conftest.err
>&5
23121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23122 (exit $ac_status); } &&
23123 { ac_try
='test -z "$ac_c_werror_flag"
23124 || test ! -s conftest.err'
23125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23126 (eval $ac_try) 2>&5
23128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23129 (exit $ac_status); }; } &&
23130 { ac_try
='test -s conftest$ac_exeext'
23131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23132 (eval $ac_try) 2>&5
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); }; }; then
23136 eval "$as_ac_var=yes"
23138 echo "$as_me: failed program was:" >&5
23139 sed 's/^/| /' conftest.
$ac_ext >&5
23141 eval "$as_ac_var=no"
23143 rm -f conftest.err conftest.
$ac_objext \
23144 conftest
$ac_exeext conftest.
$ac_ext
23146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23148 if test `eval echo '${'$as_ac_var'}'` = yes; then
23149 cat >>confdefs.h
<<_ACEOF
23150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23154 cat >>confdefs.h
<<\_ACEOF
23155 #define HAVE_GETHOSTNAME 1
23158 cat >conftest.
$ac_ext <<_ACEOF
23161 cat confdefs.h
>>conftest.
$ac_ext
23162 cat >>conftest.
$ac_ext <<_ACEOF
23163 /* end confdefs.h. */
23164 #include <unistd.h>
23167 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23168 $EGREP "gethostname" >/dev
/null
2>&1; then
23171 cat >>confdefs.h
<<\_ACEOF
23172 #define HAVE_GETHOSTNAME_DECL 1
23183 for ac_func
in usleep
23185 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23186 echo "$as_me:$LINENO: checking for $ac_func" >&5
23187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23188 if eval "test \"\${$as_ac_var+set}\" = set"; then
23189 echo $ECHO_N "(cached) $ECHO_C" >&6
23191 if test x
$gcc_no_link = xyes
; then
23192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23194 { (exit 1); exit 1; }; }
23196 cat >conftest.
$ac_ext <<_ACEOF
23199 cat confdefs.h
>>conftest.
$ac_ext
23200 cat >>conftest.
$ac_ext <<_ACEOF
23201 /* end confdefs.h. */
23202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23204 #define $ac_func innocuous_$ac_func
23206 /* System header to define __stub macros and hopefully few prototypes,
23207 which can conflict with char $ac_func (); below.
23208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23209 <limits.h> exists even on freestanding compilers. */
23212 # include <limits.h>
23214 # include <assert.h>
23219 /* Override any gcc2 internal prototype to avoid an error. */
23224 /* We use char because int might match the return type of a gcc2
23225 builtin and then its argument prototype would still apply. */
23227 /* The GNU C library defines this for functions which it implements
23228 to always fail with ENOSYS. Some functions are actually named
23229 something starting with __ and the normal name is an alias. */
23230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23233 char (*f) () = $ac_func;
23242 return f != $ac_func;
23247 rm -f conftest.
$ac_objext conftest
$ac_exeext
23248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23249 (eval $ac_link) 2>conftest.er1
23251 grep -v '^ *+' conftest.er1
>conftest.err
23253 cat conftest.err
>&5
23254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23255 (exit $ac_status); } &&
23256 { ac_try
='test -z "$ac_c_werror_flag"
23257 || test ! -s conftest.err'
23258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23259 (eval $ac_try) 2>&5
23261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23262 (exit $ac_status); }; } &&
23263 { ac_try
='test -s conftest$ac_exeext'
23264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23265 (eval $ac_try) 2>&5
23267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23268 (exit $ac_status); }; }; then
23269 eval "$as_ac_var=yes"
23271 echo "$as_me: failed program was:" >&5
23272 sed 's/^/| /' conftest.
$ac_ext >&5
23274 eval "$as_ac_var=no"
23276 rm -f conftest.err conftest.
$ac_objext \
23277 conftest
$ac_exeext conftest.
$ac_ext
23279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23281 if test `eval echo '${'$as_ac_var'}'` = yes; then
23282 cat >>confdefs.h
<<_ACEOF
23283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23286 cat >conftest.
$ac_ext <<_ACEOF
23289 cat confdefs.h
>>conftest.
$ac_ext
23290 cat >>conftest.
$ac_ext <<_ACEOF
23291 /* end confdefs.h. */
23292 #include <unistd.h>
23295 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23296 $EGREP "usleep" >/dev
/null
2>&1; then
23299 cat >>confdefs.h
<<\_ACEOF
23300 #define HAVE_USLEEP_DECL 1
23310 # Look for these functions in the thread library, but only bother
23311 # if using POSIX threads.
23312 if test "$THREADS" = posix
; then
23314 LIBS
="$LIBS $THREADLIBS"
23316 # Look for sched_yield. Up to Solaris 2.6, it is in libposix4, since
23317 # Solaris 7 the name librt is preferred.
23319 for ac_func
in sched_yield
23321 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23322 echo "$as_me:$LINENO: checking for $ac_func" >&5
23323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23324 if eval "test \"\${$as_ac_var+set}\" = set"; then
23325 echo $ECHO_N "(cached) $ECHO_C" >&6
23327 if test x
$gcc_no_link = xyes
; then
23328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23330 { (exit 1); exit 1; }; }
23332 cat >conftest.
$ac_ext <<_ACEOF
23335 cat confdefs.h
>>conftest.
$ac_ext
23336 cat >>conftest.
$ac_ext <<_ACEOF
23337 /* end confdefs.h. */
23338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23340 #define $ac_func innocuous_$ac_func
23342 /* System header to define __stub macros and hopefully few prototypes,
23343 which can conflict with char $ac_func (); below.
23344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23345 <limits.h> exists even on freestanding compilers. */
23348 # include <limits.h>
23350 # include <assert.h>
23355 /* Override any gcc2 internal prototype to avoid an error. */
23360 /* We use char because int might match the return type of a gcc2
23361 builtin and then its argument prototype would still apply. */
23363 /* The GNU C library defines this for functions which it implements
23364 to always fail with ENOSYS. Some functions are actually named
23365 something starting with __ and the normal name is an alias. */
23366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23369 char (*f) () = $ac_func;
23378 return f != $ac_func;
23383 rm -f conftest.
$ac_objext conftest
$ac_exeext
23384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23385 (eval $ac_link) 2>conftest.er1
23387 grep -v '^ *+' conftest.er1
>conftest.err
23389 cat conftest.err
>&5
23390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23391 (exit $ac_status); } &&
23392 { ac_try
='test -z "$ac_c_werror_flag"
23393 || test ! -s conftest.err'
23394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23395 (eval $ac_try) 2>&5
23397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23398 (exit $ac_status); }; } &&
23399 { ac_try
='test -s conftest$ac_exeext'
23400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23401 (eval $ac_try) 2>&5
23403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23404 (exit $ac_status); }; }; then
23405 eval "$as_ac_var=yes"
23407 echo "$as_me: failed program was:" >&5
23408 sed 's/^/| /' conftest.
$ac_ext >&5
23410 eval "$as_ac_var=no"
23412 rm -f conftest.err conftest.
$ac_objext \
23413 conftest
$ac_exeext conftest.
$ac_ext
23415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23417 if test `eval echo '${'$as_ac_var'}'` = yes; then
23418 cat >>confdefs.h
<<_ACEOF
23419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23424 echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5
23425 echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6
23426 if test "${ac_cv_lib_rt_sched_yield+set}" = set; then
23427 echo $ECHO_N "(cached) $ECHO_C" >&6
23429 ac_check_lib_save_LIBS
=$LIBS
23431 if test x
$gcc_no_link = xyes
; then
23432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23434 { (exit 1); exit 1; }; }
23436 cat >conftest.
$ac_ext <<_ACEOF
23439 cat confdefs.h
>>conftest.
$ac_ext
23440 cat >>conftest.
$ac_ext <<_ACEOF
23441 /* end confdefs.h. */
23443 /* Override any gcc2 internal prototype to avoid an error. */
23447 /* We use char because int might match the return type of a gcc2
23448 builtin and then its argument prototype would still apply. */
23449 char sched_yield ();
23458 rm -f conftest.
$ac_objext conftest
$ac_exeext
23459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23460 (eval $ac_link) 2>conftest.er1
23462 grep -v '^ *+' conftest.er1
>conftest.err
23464 cat conftest.err
>&5
23465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23466 (exit $ac_status); } &&
23467 { ac_try
='test -z "$ac_c_werror_flag"
23468 || test ! -s conftest.err'
23469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23470 (eval $ac_try) 2>&5
23472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23473 (exit $ac_status); }; } &&
23474 { ac_try
='test -s conftest$ac_exeext'
23475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23476 (eval $ac_try) 2>&5
23478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23479 (exit $ac_status); }; }; then
23480 ac_cv_lib_rt_sched_yield
=yes
23482 echo "$as_me: failed program was:" >&5
23483 sed 's/^/| /' conftest.
$ac_ext >&5
23485 ac_cv_lib_rt_sched_yield
=no
23487 rm -f conftest.err conftest.
$ac_objext \
23488 conftest
$ac_exeext conftest.
$ac_ext
23489 LIBS
=$ac_check_lib_save_LIBS
23491 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5
23492 echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6
23493 if test $ac_cv_lib_rt_sched_yield = yes; then
23495 cat >>confdefs.h
<<\_ACEOF
23496 #define HAVE_SCHED_YIELD 1
23499 THREADLIBS
="$THREADLIBS -lrt"
23500 THREADSPEC
="$THREADSPEC -lrt"
23503 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
23504 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
23505 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
23506 echo $ECHO_N "(cached) $ECHO_C" >&6
23508 ac_check_lib_save_LIBS
=$LIBS
23509 LIBS
="-lposix4 $LIBS"
23510 if test x
$gcc_no_link = xyes
; then
23511 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23513 { (exit 1); exit 1; }; }
23515 cat >conftest.
$ac_ext <<_ACEOF
23518 cat confdefs.h
>>conftest.
$ac_ext
23519 cat >>conftest.
$ac_ext <<_ACEOF
23520 /* end confdefs.h. */
23522 /* Override any gcc2 internal prototype to avoid an error. */
23526 /* We use char because int might match the return type of a gcc2
23527 builtin and then its argument prototype would still apply. */
23528 char sched_yield ();
23537 rm -f conftest.
$ac_objext conftest
$ac_exeext
23538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23539 (eval $ac_link) 2>conftest.er1
23541 grep -v '^ *+' conftest.er1
>conftest.err
23543 cat conftest.err
>&5
23544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23545 (exit $ac_status); } &&
23546 { ac_try
='test -z "$ac_c_werror_flag"
23547 || test ! -s conftest.err'
23548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23549 (eval $ac_try) 2>&5
23551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23552 (exit $ac_status); }; } &&
23553 { ac_try
='test -s conftest$ac_exeext'
23554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23555 (eval $ac_try) 2>&5
23557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23558 (exit $ac_status); }; }; then
23559 ac_cv_lib_posix4_sched_yield
=yes
23561 echo "$as_me: failed program was:" >&5
23562 sed 's/^/| /' conftest.
$ac_ext >&5
23564 ac_cv_lib_posix4_sched_yield
=no
23566 rm -f conftest.err conftest.
$ac_objext \
23567 conftest
$ac_exeext conftest.
$ac_ext
23568 LIBS
=$ac_check_lib_save_LIBS
23570 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
23571 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
23572 if test $ac_cv_lib_posix4_sched_yield = yes; then
23574 cat >>confdefs.h
<<\_ACEOF
23575 #define HAVE_SCHED_YIELD 1
23578 THREADLIBS
="$THREADLIBS -lposix4"
23579 THREADSPEC
="$THREADSPEC -lposix4"
23588 echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
23589 echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6
23590 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
23591 echo $ECHO_N "(cached) $ECHO_C" >&6
23593 ac_check_lib_save_LIBS
=$LIBS
23595 if test x
$gcc_no_link = xyes
; then
23596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23598 { (exit 1); exit 1; }; }
23600 cat >conftest.
$ac_ext <<_ACEOF
23603 cat confdefs.h
>>conftest.
$ac_ext
23604 cat >>conftest.
$ac_ext <<_ACEOF
23605 /* end confdefs.h. */
23607 /* Override any gcc2 internal prototype to avoid an error. */
23611 /* We use char because int might match the return type of a gcc2
23612 builtin and then its argument prototype would still apply. */
23613 char clock_gettime ();
23622 rm -f conftest.
$ac_objext conftest
$ac_exeext
23623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23624 (eval $ac_link) 2>conftest.er1
23626 grep -v '^ *+' conftest.er1
>conftest.err
23628 cat conftest.err
>&5
23629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23630 (exit $ac_status); } &&
23631 { ac_try
='test -z "$ac_c_werror_flag"
23632 || test ! -s conftest.err'
23633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23634 (eval $ac_try) 2>&5
23636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23637 (exit $ac_status); }; } &&
23638 { ac_try
='test -s conftest$ac_exeext'
23639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23640 (eval $ac_try) 2>&5
23642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23643 (exit $ac_status); }; }; then
23644 ac_cv_lib_rt_clock_gettime
=yes
23646 echo "$as_me: failed program was:" >&5
23647 sed 's/^/| /' conftest.
$ac_ext >&5
23649 ac_cv_lib_rt_clock_gettime
=no
23651 rm -f conftest.err conftest.
$ac_objext \
23652 conftest
$ac_exeext conftest.
$ac_ext
23653 LIBS
=$ac_check_lib_save_LIBS
23655 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
23656 echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6
23657 if test $ac_cv_lib_rt_clock_gettime = yes; then
23660 cat >>confdefs.h
<<\_ACEOF
23661 #define HAVE_CLOCK_GETTIME 1
23664 case "$THREADSPEC" in
23667 THREADSPEC
="$THREADSPEC -lrt"
23668 THREADLIBS
="$THREADLIBS -lrt"
23676 # We can save a little space at runtime if the mutex has m_count
23677 # or __m_count. This is a nice hack for Linux.
23678 cat >conftest.
$ac_ext <<_ACEOF
23681 cat confdefs.h
>>conftest.
$ac_ext
23682 cat >>conftest.
$ac_ext <<_ACEOF
23683 /* end confdefs.h. */
23684 #include <pthread.h>
23689 extern pthread_mutex_t *mutex; int q = mutex->m_count;
23695 rm -f conftest.
$ac_objext
23696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23697 (eval $ac_compile) 2>conftest.er1
23699 grep -v '^ *+' conftest.er1
>conftest.err
23701 cat conftest.err
>&5
23702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23703 (exit $ac_status); } &&
23704 { ac_try
='test -z "$ac_c_werror_flag"
23705 || test ! -s conftest.err'
23706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23707 (eval $ac_try) 2>&5
23709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23710 (exit $ac_status); }; } &&
23711 { ac_try
='test -s conftest.$ac_objext'
23712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23713 (eval $ac_try) 2>&5
23715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23716 (exit $ac_status); }; }; then
23718 cat >>confdefs.h
<<\_ACEOF
23719 #define PTHREAD_MUTEX_HAVE_M_COUNT 1
23723 echo "$as_me: failed program was:" >&5
23724 sed 's/^/| /' conftest.
$ac_ext >&5
23727 cat >conftest.
$ac_ext <<_ACEOF
23730 cat confdefs.h
>>conftest.
$ac_ext
23731 cat >>conftest.
$ac_ext <<_ACEOF
23732 /* end confdefs.h. */
23733 #include <pthread.h>
23738 extern pthread_mutex_t *mutex; int q = mutex->__m_count;
23744 rm -f conftest.
$ac_objext
23745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23746 (eval $ac_compile) 2>conftest.er1
23748 grep -v '^ *+' conftest.er1
>conftest.err
23750 cat conftest.err
>&5
23751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23752 (exit $ac_status); } &&
23753 { ac_try
='test -z "$ac_c_werror_flag"
23754 || test ! -s conftest.err'
23755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23756 (eval $ac_try) 2>&5
23758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23759 (exit $ac_status); }; } &&
23760 { ac_try
='test -s conftest.$ac_objext'
23761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23762 (eval $ac_try) 2>&5
23764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23765 (exit $ac_status); }; }; then
23767 cat >>confdefs.h
<<\_ACEOF
23768 #define PTHREAD_MUTEX_HAVE___M_COUNT 1
23772 echo "$as_me: failed program was:" >&5
23773 sed 's/^/| /' conftest.
$ac_ext >&5
23776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23781 # We require a way to get the time.
23786 for ac_func
in gettimeofday
time ftime
23788 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23789 echo "$as_me:$LINENO: checking for $ac_func" >&5
23790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23791 if eval "test \"\${$as_ac_var+set}\" = set"; then
23792 echo $ECHO_N "(cached) $ECHO_C" >&6
23794 if test x
$gcc_no_link = xyes
; then
23795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23797 { (exit 1); exit 1; }; }
23799 cat >conftest.
$ac_ext <<_ACEOF
23802 cat confdefs.h
>>conftest.
$ac_ext
23803 cat >>conftest.
$ac_ext <<_ACEOF
23804 /* end confdefs.h. */
23805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23807 #define $ac_func innocuous_$ac_func
23809 /* System header to define __stub macros and hopefully few prototypes,
23810 which can conflict with char $ac_func (); below.
23811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23812 <limits.h> exists even on freestanding compilers. */
23815 # include <limits.h>
23817 # include <assert.h>
23822 /* Override any gcc2 internal prototype to avoid an error. */
23827 /* We use char because int might match the return type of a gcc2
23828 builtin and then its argument prototype would still apply. */
23830 /* The GNU C library defines this for functions which it implements
23831 to always fail with ENOSYS. Some functions are actually named
23832 something starting with __ and the normal name is an alias. */
23833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23836 char (*f) () = $ac_func;
23845 return f != $ac_func;
23850 rm -f conftest.
$ac_objext conftest
$ac_exeext
23851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23852 (eval $ac_link) 2>conftest.er1
23854 grep -v '^ *+' conftest.er1
>conftest.err
23856 cat conftest.err
>&5
23857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23858 (exit $ac_status); } &&
23859 { ac_try
='test -z "$ac_c_werror_flag"
23860 || test ! -s conftest.err'
23861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23862 (eval $ac_try) 2>&5
23864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23865 (exit $ac_status); }; } &&
23866 { ac_try
='test -s conftest$ac_exeext'
23867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23868 (eval $ac_try) 2>&5
23870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23871 (exit $ac_status); }; }; then
23872 eval "$as_ac_var=yes"
23874 echo "$as_me: failed program was:" >&5
23875 sed 's/^/| /' conftest.
$ac_ext >&5
23877 eval "$as_ac_var=no"
23879 rm -f conftest.err conftest.
$ac_objext \
23880 conftest
$ac_exeext conftest.
$ac_ext
23882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23884 if test `eval echo '${'$as_ac_var'}'` = yes; then
23885 cat >>confdefs.h
<<_ACEOF
23886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23892 if test "$time_found" = no
; then
23893 { { echo "$as_me:$LINENO: error: no function found to get the time" >&5
23894 echo "$as_me: error: no function found to get the time" >&2;}
23895 { (exit 1); exit 1; }; }
23899 for ac_func
in memmove
23901 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23902 echo "$as_me:$LINENO: checking for $ac_func" >&5
23903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23904 if eval "test \"\${$as_ac_var+set}\" = set"; then
23905 echo $ECHO_N "(cached) $ECHO_C" >&6
23907 if test x
$gcc_no_link = xyes
; then
23908 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23910 { (exit 1); exit 1; }; }
23912 cat >conftest.
$ac_ext <<_ACEOF
23915 cat confdefs.h
>>conftest.
$ac_ext
23916 cat >>conftest.
$ac_ext <<_ACEOF
23917 /* end confdefs.h. */
23918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23920 #define $ac_func innocuous_$ac_func
23922 /* System header to define __stub macros and hopefully few prototypes,
23923 which can conflict with char $ac_func (); below.
23924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23925 <limits.h> exists even on freestanding compilers. */
23928 # include <limits.h>
23930 # include <assert.h>
23935 /* Override any gcc2 internal prototype to avoid an error. */
23940 /* We use char because int might match the return type of a gcc2
23941 builtin and then its argument prototype would still apply. */
23943 /* The GNU C library defines this for functions which it implements
23944 to always fail with ENOSYS. Some functions are actually named
23945 something starting with __ and the normal name is an alias. */
23946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23949 char (*f) () = $ac_func;
23958 return f != $ac_func;
23963 rm -f conftest.
$ac_objext conftest
$ac_exeext
23964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23965 (eval $ac_link) 2>conftest.er1
23967 grep -v '^ *+' conftest.er1
>conftest.err
23969 cat conftest.err
>&5
23970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23971 (exit $ac_status); } &&
23972 { ac_try
='test -z "$ac_c_werror_flag"
23973 || test ! -s conftest.err'
23974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23975 (eval $ac_try) 2>&5
23977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23978 (exit $ac_status); }; } &&
23979 { ac_try
='test -s conftest$ac_exeext'
23980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23981 (eval $ac_try) 2>&5
23983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23984 (exit $ac_status); }; }; then
23985 eval "$as_ac_var=yes"
23987 echo "$as_me: failed program was:" >&5
23988 sed 's/^/| /' conftest.
$ac_ext >&5
23990 eval "$as_ac_var=no"
23992 rm -f conftest.err conftest.
$ac_objext \
23993 conftest
$ac_exeext conftest.
$ac_ext
23995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23997 if test `eval echo '${'$as_ac_var'}'` = yes; then
23998 cat >>confdefs.h
<<_ACEOF
23999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24006 # We require memcpy.
24009 for ac_func
in memcpy
24011 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24012 echo "$as_me:$LINENO: checking for $ac_func" >&5
24013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24014 if eval "test \"\${$as_ac_var+set}\" = set"; then
24015 echo $ECHO_N "(cached) $ECHO_C" >&6
24017 if test x
$gcc_no_link = xyes
; then
24018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24020 { (exit 1); exit 1; }; }
24022 cat >conftest.
$ac_ext <<_ACEOF
24025 cat confdefs.h
>>conftest.
$ac_ext
24026 cat >>conftest.
$ac_ext <<_ACEOF
24027 /* end confdefs.h. */
24028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24030 #define $ac_func innocuous_$ac_func
24032 /* System header to define __stub macros and hopefully few prototypes,
24033 which can conflict with char $ac_func (); below.
24034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24035 <limits.h> exists even on freestanding compilers. */
24038 # include <limits.h>
24040 # include <assert.h>
24045 /* Override any gcc2 internal prototype to avoid an error. */
24050 /* We use char because int might match the return type of a gcc2
24051 builtin and then its argument prototype would still apply. */
24053 /* The GNU C library defines this for functions which it implements
24054 to always fail with ENOSYS. Some functions are actually named
24055 something starting with __ and the normal name is an alias. */
24056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24059 char (*f) () = $ac_func;
24068 return f != $ac_func;
24073 rm -f conftest.
$ac_objext conftest
$ac_exeext
24074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24075 (eval $ac_link) 2>conftest.er1
24077 grep -v '^ *+' conftest.er1
>conftest.err
24079 cat conftest.err
>&5
24080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24081 (exit $ac_status); } &&
24082 { ac_try
='test -z "$ac_c_werror_flag"
24083 || test ! -s conftest.err'
24084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24085 (eval $ac_try) 2>&5
24087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24088 (exit $ac_status); }; } &&
24089 { ac_try
='test -s conftest$ac_exeext'
24090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24091 (eval $ac_try) 2>&5
24093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24094 (exit $ac_status); }; }; then
24095 eval "$as_ac_var=yes"
24097 echo "$as_me: failed program was:" >&5
24098 sed 's/^/| /' conftest.
$ac_ext >&5
24100 eval "$as_ac_var=no"
24102 rm -f conftest.err conftest.
$ac_objext \
24103 conftest
$ac_exeext conftest.
$ac_ext
24105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24107 if test `eval echo '${'$as_ac_var'}'` = yes; then
24108 cat >>confdefs.h
<<_ACEOF
24109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24115 if test "$memcpy_found" = no
; then
24116 { { echo "$as_me:$LINENO: error: memcpy is required" >&5
24117 echo "$as_me: error: memcpy is required" >&2;}
24118 { (exit 1); exit 1; }; }
24120 # Do an additional check on dld, HP-UX for example has dlopen in libdld.sl
24121 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
24122 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
24123 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
24124 echo $ECHO_N "(cached) $ECHO_C" >&6
24126 ac_check_lib_save_LIBS
=$LIBS
24128 if test x
$gcc_no_link = xyes
; then
24129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24131 { (exit 1); exit 1; }; }
24133 cat >conftest.
$ac_ext <<_ACEOF
24136 cat confdefs.h
>>conftest.
$ac_ext
24137 cat >>conftest.
$ac_ext <<_ACEOF
24138 /* end confdefs.h. */
24140 /* Override any gcc2 internal prototype to avoid an error. */
24144 /* We use char because int might match the return type of a gcc2
24145 builtin and then its argument prototype would still apply. */
24155 rm -f conftest.
$ac_objext conftest
$ac_exeext
24156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24157 (eval $ac_link) 2>conftest.er1
24159 grep -v '^ *+' conftest.er1
>conftest.err
24161 cat conftest.err
>&5
24162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24163 (exit $ac_status); } &&
24164 { ac_try
='test -z "$ac_c_werror_flag"
24165 || test ! -s conftest.err'
24166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24167 (eval $ac_try) 2>&5
24169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24170 (exit $ac_status); }; } &&
24171 { ac_try
='test -s conftest$ac_exeext'
24172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24173 (eval $ac_try) 2>&5
24175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24176 (exit $ac_status); }; }; then
24177 ac_cv_lib_dl_dlopen
=yes
24179 echo "$as_me: failed program was:" >&5
24180 sed 's/^/| /' conftest.
$ac_ext >&5
24182 ac_cv_lib_dl_dlopen
=no
24184 rm -f conftest.err conftest.
$ac_objext \
24185 conftest
$ac_exeext conftest.
$ac_ext
24186 LIBS
=$ac_check_lib_save_LIBS
24188 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
24189 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
24190 if test $ac_cv_lib_dl_dlopen = yes; then
24193 cat >>confdefs.h
<<\_ACEOF
24194 #define HAVE_DLOPEN 1
24199 echo "$as_me:$LINENO: checking for dlopen in -ldld" >&5
24200 echo $ECHO_N "checking for dlopen in -ldld... $ECHO_C" >&6
24201 if test "${ac_cv_lib_dld_dlopen+set}" = set; then
24202 echo $ECHO_N "(cached) $ECHO_C" >&6
24204 ac_check_lib_save_LIBS
=$LIBS
24206 if test x
$gcc_no_link = xyes
; then
24207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24209 { (exit 1); exit 1; }; }
24211 cat >conftest.
$ac_ext <<_ACEOF
24214 cat confdefs.h
>>conftest.
$ac_ext
24215 cat >>conftest.
$ac_ext <<_ACEOF
24216 /* end confdefs.h. */
24218 /* Override any gcc2 internal prototype to avoid an error. */
24222 /* We use char because int might match the return type of a gcc2
24223 builtin and then its argument prototype would still apply. */
24233 rm -f conftest.
$ac_objext conftest
$ac_exeext
24234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24235 (eval $ac_link) 2>conftest.er1
24237 grep -v '^ *+' conftest.er1
>conftest.err
24239 cat conftest.err
>&5
24240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24241 (exit $ac_status); } &&
24242 { ac_try
='test -z "$ac_c_werror_flag"
24243 || test ! -s conftest.err'
24244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24245 (eval $ac_try) 2>&5
24247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24248 (exit $ac_status); }; } &&
24249 { ac_try
='test -s conftest$ac_exeext'
24250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24251 (eval $ac_try) 2>&5
24253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24254 (exit $ac_status); }; }; then
24255 ac_cv_lib_dld_dlopen
=yes
24257 echo "$as_me: failed program was:" >&5
24258 sed 's/^/| /' conftest.
$ac_ext >&5
24260 ac_cv_lib_dld_dlopen
=no
24262 rm -f conftest.err conftest.
$ac_objext \
24263 conftest
$ac_exeext conftest.
$ac_ext
24264 LIBS
=$ac_check_lib_save_LIBS
24266 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dlopen" >&5
24267 echo "${ECHO_T}$ac_cv_lib_dld_dlopen" >&6
24268 if test $ac_cv_lib_dld_dlopen = yes; then
24271 cat >>confdefs.h
<<\_ACEOF
24272 #define HAVE_DLOPEN 1
24280 # Some library-finding code we stole from Tcl.
24281 #--------------------------------------------------------------------
24282 # Check for the existence of the -lsocket and -lnsl libraries.
24283 # The order here is important, so that they end up in the right
24284 # order in the command line generated by make. Here are some
24285 # special considerations:
24286 # 1. Use "connect" and "accept" to check for -lsocket, and
24287 # "gethostbyname" to check for -lnsl.
24288 # 2. Use each function name only once: can't redo a check because
24289 # autoconf caches the results of the last check and won't redo it.
24290 # 3. Use -lnsl and -lsocket only if they supply procedures that
24291 # aren't already present in the normal libraries. This is because
24292 # IRIX 5.2 has libraries, but they aren't needed and they're
24293 # bogus: they goof up name resolution if used.
24294 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too.
24295 # To get around this problem, check for both libraries together
24296 # if -lsocket doesn't work by itself.
24297 #--------------------------------------------------------------------
24299 echo "$as_me:$LINENO: checking for socket libraries" >&5
24300 echo $ECHO_N "checking for socket libraries... $ECHO_C" >&6
24301 if test "${gcj_cv_lib_sockets+set}" = set; then
24302 echo $ECHO_N "(cached) $ECHO_C" >&6
24304 gcj_cv_lib_sockets
=
24306 unset ac_cv_func_connect
24307 echo "$as_me:$LINENO: checking for connect" >&5
24308 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24309 if test "${ac_cv_func_connect+set}" = set; then
24310 echo $ECHO_N "(cached) $ECHO_C" >&6
24312 if test x
$gcc_no_link = xyes
; then
24313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24315 { (exit 1); exit 1; }; }
24317 cat >conftest.
$ac_ext <<_ACEOF
24320 cat confdefs.h
>>conftest.
$ac_ext
24321 cat >>conftest.
$ac_ext <<_ACEOF
24322 /* end confdefs.h. */
24323 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24325 #define connect innocuous_connect
24327 /* System header to define __stub macros and hopefully few prototypes,
24328 which can conflict with char connect (); below.
24329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24330 <limits.h> exists even on freestanding compilers. */
24333 # include <limits.h>
24335 # include <assert.h>
24340 /* Override any gcc2 internal prototype to avoid an error. */
24345 /* We use char because int might match the return type of a gcc2
24346 builtin and then its argument prototype would still apply. */
24348 /* The GNU C library defines this for functions which it implements
24349 to always fail with ENOSYS. Some functions are actually named
24350 something starting with __ and the normal name is an alias. */
24351 #if defined (__stub_connect) || defined (__stub___connect)
24354 char (*f) () = connect;
24363 return f != connect;
24368 rm -f conftest.
$ac_objext conftest
$ac_exeext
24369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24370 (eval $ac_link) 2>conftest.er1
24372 grep -v '^ *+' conftest.er1
>conftest.err
24374 cat conftest.err
>&5
24375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24376 (exit $ac_status); } &&
24377 { ac_try
='test -z "$ac_c_werror_flag"
24378 || test ! -s conftest.err'
24379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24380 (eval $ac_try) 2>&5
24382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24383 (exit $ac_status); }; } &&
24384 { ac_try
='test -s conftest$ac_exeext'
24385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24386 (eval $ac_try) 2>&5
24388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24389 (exit $ac_status); }; }; then
24390 ac_cv_func_connect
=yes
24392 echo "$as_me: failed program was:" >&5
24393 sed 's/^/| /' conftest.
$ac_ext >&5
24395 ac_cv_func_connect
=no
24397 rm -f conftest.err conftest.
$ac_objext \
24398 conftest
$ac_exeext conftest.
$ac_ext
24400 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24401 echo "${ECHO_T}$ac_cv_func_connect" >&6
24402 if test $ac_cv_func_connect = yes; then
24408 if test "$gcj_checkSocket" = 1; then
24409 unset ac_cv_func_connect
24410 echo "$as_me:$LINENO: checking for main in -lsocket" >&5
24411 echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
24412 if test "${ac_cv_lib_socket_main+set}" = set; then
24413 echo $ECHO_N "(cached) $ECHO_C" >&6
24415 ac_check_lib_save_LIBS
=$LIBS
24416 LIBS
="-lsocket $LIBS"
24417 if test x
$gcc_no_link = xyes
; then
24418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24420 { (exit 1); exit 1; }; }
24422 cat >conftest.
$ac_ext <<_ACEOF
24425 cat confdefs.h
>>conftest.
$ac_ext
24426 cat >>conftest.
$ac_ext <<_ACEOF
24427 /* end confdefs.h. */
24438 rm -f conftest.
$ac_objext conftest
$ac_exeext
24439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24440 (eval $ac_link) 2>conftest.er1
24442 grep -v '^ *+' conftest.er1
>conftest.err
24444 cat conftest.err
>&5
24445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24446 (exit $ac_status); } &&
24447 { ac_try
='test -z "$ac_c_werror_flag"
24448 || test ! -s conftest.err'
24449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24450 (eval $ac_try) 2>&5
24452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24453 (exit $ac_status); }; } &&
24454 { ac_try
='test -s conftest$ac_exeext'
24455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24456 (eval $ac_try) 2>&5
24458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24459 (exit $ac_status); }; }; then
24460 ac_cv_lib_socket_main
=yes
24462 echo "$as_me: failed program was:" >&5
24463 sed 's/^/| /' conftest.
$ac_ext >&5
24465 ac_cv_lib_socket_main
=no
24467 rm -f conftest.err conftest.
$ac_objext \
24468 conftest
$ac_exeext conftest.
$ac_ext
24469 LIBS
=$ac_check_lib_save_LIBS
24471 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
24472 echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
24473 if test $ac_cv_lib_socket_main = yes; then
24474 gcj_cv_lib_sockets
="-lsocket"
24480 if test "$gcj_checkBoth" = 1; then
24482 LIBS
="$LIBS -lsocket -lnsl"
24483 unset ac_cv_func_accept
24484 echo "$as_me:$LINENO: checking for accept" >&5
24485 echo $ECHO_N "checking for accept... $ECHO_C" >&6
24486 if test "${ac_cv_func_accept+set}" = set; then
24487 echo $ECHO_N "(cached) $ECHO_C" >&6
24489 if test x
$gcc_no_link = xyes
; then
24490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24492 { (exit 1); exit 1; }; }
24494 cat >conftest.
$ac_ext <<_ACEOF
24497 cat confdefs.h
>>conftest.
$ac_ext
24498 cat >>conftest.
$ac_ext <<_ACEOF
24499 /* end confdefs.h. */
24500 /* Define accept to an innocuous variant, in case <limits.h> declares accept.
24501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24502 #define accept innocuous_accept
24504 /* System header to define __stub macros and hopefully few prototypes,
24505 which can conflict with char accept (); below.
24506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24507 <limits.h> exists even on freestanding compilers. */
24510 # include <limits.h>
24512 # include <assert.h>
24517 /* Override any gcc2 internal prototype to avoid an error. */
24522 /* We use char because int might match the return type of a gcc2
24523 builtin and then its argument prototype would still apply. */
24525 /* The GNU C library defines this for functions which it implements
24526 to always fail with ENOSYS. Some functions are actually named
24527 something starting with __ and the normal name is an alias. */
24528 #if defined (__stub_accept) || defined (__stub___accept)
24531 char (*f) () = accept;
24540 return f != accept;
24545 rm -f conftest.
$ac_objext conftest
$ac_exeext
24546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24547 (eval $ac_link) 2>conftest.er1
24549 grep -v '^ *+' conftest.er1
>conftest.err
24551 cat conftest.err
>&5
24552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24553 (exit $ac_status); } &&
24554 { ac_try
='test -z "$ac_c_werror_flag"
24555 || test ! -s conftest.err'
24556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24557 (eval $ac_try) 2>&5
24559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24560 (exit $ac_status); }; } &&
24561 { ac_try
='test -s conftest$ac_exeext'
24562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24563 (eval $ac_try) 2>&5
24565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24566 (exit $ac_status); }; }; then
24567 ac_cv_func_accept
=yes
24569 echo "$as_me: failed program was:" >&5
24570 sed 's/^/| /' conftest.
$ac_ext >&5
24572 ac_cv_func_accept
=no
24574 rm -f conftest.err conftest.
$ac_objext \
24575 conftest
$ac_exeext conftest.
$ac_ext
24577 echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5
24578 echo "${ECHO_T}$ac_cv_func_accept" >&6
24579 if test $ac_cv_func_accept = yes; then
24581 gcj_cv_lib_sockets
="-lsocket -lnsl"
24584 unset ac_cv_func_accept
24587 unset ac_cv_func_gethostbyname
24589 LIBS
="$LIBS $gcj_cv_lib_sockets"
24590 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24591 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24592 if test "${ac_cv_func_gethostbyname+set}" = set; then
24593 echo $ECHO_N "(cached) $ECHO_C" >&6
24595 if test x
$gcc_no_link = xyes
; then
24596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24598 { (exit 1); exit 1; }; }
24600 cat >conftest.
$ac_ext <<_ACEOF
24603 cat confdefs.h
>>conftest.
$ac_ext
24604 cat >>conftest.
$ac_ext <<_ACEOF
24605 /* end confdefs.h. */
24606 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24608 #define gethostbyname innocuous_gethostbyname
24610 /* System header to define __stub macros and hopefully few prototypes,
24611 which can conflict with char gethostbyname (); below.
24612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24613 <limits.h> exists even on freestanding compilers. */
24616 # include <limits.h>
24618 # include <assert.h>
24621 #undef gethostbyname
24623 /* Override any gcc2 internal prototype to avoid an error. */
24628 /* We use char because int might match the return type of a gcc2
24629 builtin and then its argument prototype would still apply. */
24630 char gethostbyname ();
24631 /* The GNU C library defines this for functions which it implements
24632 to always fail with ENOSYS. Some functions are actually named
24633 something starting with __ and the normal name is an alias. */
24634 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24637 char (*f) () = gethostbyname;
24646 return f != gethostbyname;
24651 rm -f conftest.
$ac_objext conftest
$ac_exeext
24652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24653 (eval $ac_link) 2>conftest.er1
24655 grep -v '^ *+' conftest.er1
>conftest.err
24657 cat conftest.err
>&5
24658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24659 (exit $ac_status); } &&
24660 { ac_try
='test -z "$ac_c_werror_flag"
24661 || test ! -s conftest.err'
24662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24663 (eval $ac_try) 2>&5
24665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24666 (exit $ac_status); }; } &&
24667 { ac_try
='test -s conftest$ac_exeext'
24668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24669 (eval $ac_try) 2>&5
24671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24672 (exit $ac_status); }; }; then
24673 ac_cv_func_gethostbyname
=yes
24675 echo "$as_me: failed program was:" >&5
24676 sed 's/^/| /' conftest.
$ac_ext >&5
24678 ac_cv_func_gethostbyname
=no
24680 rm -f conftest.err conftest.
$ac_objext \
24681 conftest
$ac_exeext conftest.
$ac_ext
24683 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24684 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24685 if test $ac_cv_func_gethostbyname = yes; then
24688 echo "$as_me:$LINENO: checking for main in -lnsl" >&5
24689 echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
24690 if test "${ac_cv_lib_nsl_main+set}" = set; then
24691 echo $ECHO_N "(cached) $ECHO_C" >&6
24693 ac_check_lib_save_LIBS
=$LIBS
24695 if test x
$gcc_no_link = xyes
; then
24696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24698 { (exit 1); exit 1; }; }
24700 cat >conftest.
$ac_ext <<_ACEOF
24703 cat confdefs.h
>>conftest.
$ac_ext
24704 cat >>conftest.
$ac_ext <<_ACEOF
24705 /* end confdefs.h. */
24716 rm -f conftest.
$ac_objext conftest
$ac_exeext
24717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24718 (eval $ac_link) 2>conftest.er1
24720 grep -v '^ *+' conftest.er1
>conftest.err
24722 cat conftest.err
>&5
24723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24724 (exit $ac_status); } &&
24725 { ac_try
='test -z "$ac_c_werror_flag"
24726 || test ! -s conftest.err'
24727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24728 (eval $ac_try) 2>&5
24730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24731 (exit $ac_status); }; } &&
24732 { ac_try
='test -s conftest$ac_exeext'
24733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24734 (eval $ac_try) 2>&5
24736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24737 (exit $ac_status); }; }; then
24738 ac_cv_lib_nsl_main
=yes
24740 echo "$as_me: failed program was:" >&5
24741 sed 's/^/| /' conftest.
$ac_ext >&5
24743 ac_cv_lib_nsl_main
=no
24745 rm -f conftest.err conftest.
$ac_objext \
24746 conftest
$ac_exeext conftest.
$ac_ext
24747 LIBS
=$ac_check_lib_save_LIBS
24749 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
24750 echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
24751 if test $ac_cv_lib_nsl_main = yes; then
24752 gcj_cv_lib_sockets
="$gcj_cv_lib_sockets -lnsl"
24757 unset ac_cv_func_gethostbyname
24761 echo "$as_me:$LINENO: result: $gcj_cv_lib_sockets" >&5
24762 echo "${ECHO_T}$gcj_cv_lib_sockets" >&6
24763 SYSTEMSPEC
="$SYSTEMSPEC $gcj_cv_lib_sockets"
24765 if test "$with_system_zlib" = yes; then
24766 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24767 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24768 if test "${ac_cv_lib_z_deflate+set}" = set; then
24769 echo $ECHO_N "(cached) $ECHO_C" >&6
24771 ac_check_lib_save_LIBS
=$LIBS
24773 if test x
$gcc_no_link = xyes
; then
24774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24776 { (exit 1); exit 1; }; }
24778 cat >conftest.
$ac_ext <<_ACEOF
24781 cat confdefs.h
>>conftest.
$ac_ext
24782 cat >>conftest.
$ac_ext <<_ACEOF
24783 /* end confdefs.h. */
24785 /* Override any gcc2 internal prototype to avoid an error. */
24789 /* We use char because int might match the return type of a gcc2
24790 builtin and then its argument prototype would still apply. */
24800 rm -f conftest.
$ac_objext conftest
$ac_exeext
24801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24802 (eval $ac_link) 2>conftest.er1
24804 grep -v '^ *+' conftest.er1
>conftest.err
24806 cat conftest.err
>&5
24807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24808 (exit $ac_status); } &&
24809 { ac_try
='test -z "$ac_c_werror_flag"
24810 || test ! -s conftest.err'
24811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24812 (eval $ac_try) 2>&5
24814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24815 (exit $ac_status); }; } &&
24816 { ac_try
='test -s conftest$ac_exeext'
24817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24818 (eval $ac_try) 2>&5
24820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24821 (exit $ac_status); }; }; then
24822 ac_cv_lib_z_deflate
=yes
24824 echo "$as_me: failed program was:" >&5
24825 sed 's/^/| /' conftest.
$ac_ext >&5
24827 ac_cv_lib_z_deflate
=no
24829 rm -f conftest.err conftest.
$ac_objext \
24830 conftest
$ac_exeext conftest.
$ac_ext
24831 LIBS
=$ac_check_lib_save_LIBS
24833 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24834 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24835 if test $ac_cv_lib_z_deflate = yes; then
24843 # Test for Gtk stuff, if asked for.
24844 if test "$use_gtk_awt" = yes; then
24848 if test -z "$PKG_CONFIG"; then
24849 # Extract the first word of "pkg-config", so it can be a program name with args.
24850 set dummy pkg-config
; ac_word
=$2
24851 echo "$as_me:$LINENO: checking for $ac_word" >&5
24852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24853 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24854 echo $ECHO_N "(cached) $ECHO_C" >&6
24856 case $PKG_CONFIG in
24858 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24862 for as_dir
in $PATH
24865 test -z "$as_dir" && as_dir
=.
24866 for ac_exec_ext
in '' $ac_executable_extensions; do
24867 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24868 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24875 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24879 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24881 if test -n "$PKG_CONFIG"; then
24882 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24883 echo "${ECHO_T}$PKG_CONFIG" >&6
24885 echo "$as_me:$LINENO: result: no" >&5
24886 echo "${ECHO_T}no" >&6
24891 if test "$PKG_CONFIG" = "no" ; then
24892 echo "*** The pkg-config script could not be found. Make sure it is"
24893 echo "*** in your path, or set the PKG_CONFIG environment variable"
24894 echo "*** to the full path to pkg-config."
24895 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24897 PKG_CONFIG_MIN_VERSION
=0.9.0
24898 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24899 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4" >&5
24900 echo $ECHO_N "checking for gtk+-2.0 >= 2.4... $ECHO_C" >&6
24902 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4" ; then
24903 echo "$as_me:$LINENO: result: yes" >&5
24904 echo "${ECHO_T}yes" >&6
24907 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
24908 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
24909 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4"`
24910 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
24911 echo "${ECHO_T}$GTK_CFLAGS" >&6
24913 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
24914 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
24915 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4"`
24916 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
24917 echo "${ECHO_T}$GTK_LIBS" >&6
24921 ## If we have a custom action on failure, don't print errors, but
24922 ## do set a variable so people can do so.
24923 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4"`
24924 echo $GTK_PKG_ERRORS
24930 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24931 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24935 if test $succeeded = yes; then
24938 { { 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
24939 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;}
24940 { (exit 1); exit 1; }; }
24949 if test -z "$PKG_CONFIG"; then
24950 # Extract the first word of "pkg-config", so it can be a program name with args.
24951 set dummy pkg-config
; ac_word
=$2
24952 echo "$as_me:$LINENO: checking for $ac_word" >&5
24953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24954 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24955 echo $ECHO_N "(cached) $ECHO_C" >&6
24957 case $PKG_CONFIG in
24959 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24963 for as_dir
in $PATH
24966 test -z "$as_dir" && as_dir
=.
24967 for ac_exec_ext
in '' $ac_executable_extensions; do
24968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24969 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24976 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24980 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24982 if test -n "$PKG_CONFIG"; then
24983 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24984 echo "${ECHO_T}$PKG_CONFIG" >&6
24986 echo "$as_me:$LINENO: result: no" >&5
24987 echo "${ECHO_T}no" >&6
24992 if test "$PKG_CONFIG" = "no" ; then
24993 echo "*** The pkg-config script could not be found. Make sure it is"
24994 echo "*** in your path, or set the PKG_CONFIG environment variable"
24995 echo "*** to the full path to pkg-config."
24996 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24998 PKG_CONFIG_MIN_VERSION
=0.9.0
24999 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25000 echo "$as_me:$LINENO: checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4" >&5
25001 echo $ECHO_N "checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... $ECHO_C" >&6
25003 if $PKG_CONFIG --exists "glib-2.0 >= 2.4 gthread-2.0 >= 2.4" ; then
25004 echo "$as_me:$LINENO: result: yes" >&5
25005 echo "${ECHO_T}yes" >&6
25008 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
25009 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
25010 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
25011 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
25012 echo "${ECHO_T}$GLIB_CFLAGS" >&6
25014 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
25015 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
25016 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
25017 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
25018 echo "${ECHO_T}$GLIB_LIBS" >&6
25022 ## If we have a custom action on failure, don't print errors, but
25023 ## do set a variable so people can do so.
25024 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
25025 echo $GLIB_PKG_ERRORS
25031 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25032 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25036 if test $succeeded = yes; then
25039 { { 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
25040 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;}
25041 { (exit 1); exit 1; }; }
25050 if test -z "$PKG_CONFIG"; then
25051 # Extract the first word of "pkg-config", so it can be a program name with args.
25052 set dummy pkg-config
; ac_word
=$2
25053 echo "$as_me:$LINENO: checking for $ac_word" >&5
25054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25055 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25056 echo $ECHO_N "(cached) $ECHO_C" >&6
25058 case $PKG_CONFIG in
25060 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25064 for as_dir
in $PATH
25067 test -z "$as_dir" && as_dir
=.
25068 for ac_exec_ext
in '' $ac_executable_extensions; do
25069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25070 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25077 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25081 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25083 if test -n "$PKG_CONFIG"; then
25084 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25085 echo "${ECHO_T}$PKG_CONFIG" >&6
25087 echo "$as_me:$LINENO: result: no" >&5
25088 echo "${ECHO_T}no" >&6
25093 if test "$PKG_CONFIG" = "no" ; then
25094 echo "*** The pkg-config script could not be found. Make sure it is"
25095 echo "*** in your path, or set the PKG_CONFIG environment variable"
25096 echo "*** to the full path to pkg-config."
25097 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25099 PKG_CONFIG_MIN_VERSION
=0.9.0
25100 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25101 echo "$as_me:$LINENO: checking for libart-2.0 >= 2.1" >&5
25102 echo $ECHO_N "checking for libart-2.0 >= 2.1... $ECHO_C" >&6
25104 if $PKG_CONFIG --exists "libart-2.0 >= 2.1" ; then
25105 echo "$as_me:$LINENO: result: yes" >&5
25106 echo "${ECHO_T}yes" >&6
25109 echo "$as_me:$LINENO: checking LIBART_CFLAGS" >&5
25110 echo $ECHO_N "checking LIBART_CFLAGS... $ECHO_C" >&6
25111 LIBART_CFLAGS
=`$PKG_CONFIG --cflags "libart-2.0 >= 2.1"`
25112 echo "$as_me:$LINENO: result: $LIBART_CFLAGS" >&5
25113 echo "${ECHO_T}$LIBART_CFLAGS" >&6
25115 echo "$as_me:$LINENO: checking LIBART_LIBS" >&5
25116 echo $ECHO_N "checking LIBART_LIBS... $ECHO_C" >&6
25117 LIBART_LIBS
=`$PKG_CONFIG --libs "libart-2.0 >= 2.1"`
25118 echo "$as_me:$LINENO: result: $LIBART_LIBS" >&5
25119 echo "${ECHO_T}$LIBART_LIBS" >&6
25123 ## If we have a custom action on failure, don't print errors, but
25124 ## do set a variable so people can do so.
25125 LIBART_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libart-2.0 >= 2.1"`
25126 echo $LIBART_PKG_ERRORS
25132 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25133 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25137 if test $succeeded = yes; then
25140 { { 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
25141 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;}
25142 { (exit 1); exit 1; }; }
25148 # We require the XTest Extension to support java.awt.Robot.
25149 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
25150 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
25151 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
25152 echo $ECHO_N "(cached) $ECHO_C" >&6
25154 ac_check_lib_save_LIBS
=$LIBS
25155 LIBS
="-lXtst ${X_LIBS} $LIBS"
25156 if test x
$gcc_no_link = xyes
; then
25157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25159 { (exit 1); exit 1; }; }
25161 cat >conftest.
$ac_ext <<_ACEOF
25164 cat confdefs.h
>>conftest.
$ac_ext
25165 cat >>conftest.
$ac_ext <<_ACEOF
25166 /* end confdefs.h. */
25168 /* Override any gcc2 internal prototype to avoid an error. */
25172 /* We use char because int might match the return type of a gcc2
25173 builtin and then its argument prototype would still apply. */
25174 char XTestQueryExtension ();
25178 XTestQueryExtension ();
25183 rm -f conftest.
$ac_objext conftest
$ac_exeext
25184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25185 (eval $ac_link) 2>conftest.er1
25187 grep -v '^ *+' conftest.er1
>conftest.err
25189 cat conftest.err
>&5
25190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25191 (exit $ac_status); } &&
25192 { ac_try
='test -z "$ac_c_werror_flag"
25193 || test ! -s conftest.err'
25194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25195 (eval $ac_try) 2>&5
25197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25198 (exit $ac_status); }; } &&
25199 { ac_try
='test -s conftest$ac_exeext'
25200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25201 (eval $ac_try) 2>&5
25203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25204 (exit $ac_status); }; }; then
25205 ac_cv_lib_Xtst_XTestQueryExtension
=yes
25207 echo "$as_me: failed program was:" >&5
25208 sed 's/^/| /' conftest.
$ac_ext >&5
25210 ac_cv_lib_Xtst_XTestQueryExtension
=no
25212 rm -f conftest.err conftest.
$ac_objext \
25213 conftest
$ac_exeext conftest.
$ac_ext
25214 LIBS
=$ac_check_lib_save_LIBS
25216 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
25217 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
25218 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
25221 { { echo "$as_me:$LINENO: error: libXtst not found, required by java.awt.Robot" >&5
25222 echo "$as_me: error: libXtst not found, required by java.awt.Robot" >&2;}
25223 { (exit 1); exit 1; }; }
25228 # On Solaris, and maybe other architectures, the Boehm collector
25230 if test "$GC" = boehm
; then
25233 # IRIX 6 lacks a N64 libdl.so, but only the N32 (default multilib)
25234 # libgcj.spec is used, so override here
25235 SYSTEMSPEC
="$SYSTEMSPEC %{!mabi=64:-ldl}"
25238 echo "$as_me:$LINENO: checking for main in -ldl" >&5
25239 echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6
25240 if test "${ac_cv_lib_dl_main+set}" = set; then
25241 echo $ECHO_N "(cached) $ECHO_C" >&6
25243 ac_check_lib_save_LIBS
=$LIBS
25245 if test x
$gcc_no_link = xyes
; then
25246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25248 { (exit 1); exit 1; }; }
25250 cat >conftest.
$ac_ext <<_ACEOF
25253 cat confdefs.h
>>conftest.
$ac_ext
25254 cat >>conftest.
$ac_ext <<_ACEOF
25255 /* end confdefs.h. */
25266 rm -f conftest.
$ac_objext conftest
$ac_exeext
25267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25268 (eval $ac_link) 2>conftest.er1
25270 grep -v '^ *+' conftest.er1
>conftest.err
25272 cat conftest.err
>&5
25273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25274 (exit $ac_status); } &&
25275 { ac_try
='test -z "$ac_c_werror_flag"
25276 || test ! -s conftest.err'
25277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25278 (eval $ac_try) 2>&5
25280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25281 (exit $ac_status); }; } &&
25282 { ac_try
='test -s conftest$ac_exeext'
25283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25284 (eval $ac_try) 2>&5
25286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25287 (exit $ac_status); }; }; then
25288 ac_cv_lib_dl_main
=yes
25290 echo "$as_me: failed program was:" >&5
25291 sed 's/^/| /' conftest.
$ac_ext >&5
25293 ac_cv_lib_dl_main
=no
25295 rm -f conftest.err conftest.
$ac_objext \
25296 conftest
$ac_exeext conftest.
$ac_ext
25297 LIBS
=$ac_check_lib_save_LIBS
25299 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_main" >&5
25300 echo "${ECHO_T}$ac_cv_lib_dl_main" >&6
25301 if test $ac_cv_lib_dl_main = yes; then
25302 SYSTEMSPEC
="$SYSTEMSPEC -ldl"
25310 # Use a semicolon as CLASSPATH separator for MinGW, otherwise a colon.
25312 *-mingw32) CLASSPATH_SEPARATOR
=';' ;;
25313 *) CLASSPATH_SEPARATOR
=':' ;;
25317 # We must search the source tree for java.lang, since we still don't
25318 # have libgcj.jar nor java/lang/*.class
25319 GCJ_SAVE_CPPFLAGS
=$CPPFLAGS
25320 CPPFLAGS
="$CPPFLAGS -I`${PWDCMD-pwd}` -I`cd $srcdir && ${PWDCMD-pwd}`"
25322 # Since some classes depend on this one, we need its source available
25323 # before we can do any GCJ compilation test :-(
25324 if test ! -f gnu
/classpath
/Configuration.java
; then
25325 test -d gnu || mkdir gnu
25326 test -d gnu
/classpath || mkdir gnu
/classpath
25327 # Note that it is not crucial that all the values here be correct.
25328 sed -e "s,@prefix@,$prefix," \
25329 -e "s,@VERSION@,$VERSION," \
25330 -e "s,@LIBDEBUG@,false," \
25331 -e "s,@INIT_LOAD_LIBRARY@,false," \
25332 -e "s,@@,$LIBGCJDEBUG," \
25333 -e "s,@default_toolkit@,$TOOLKIT," \
25334 -e "s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,false," \
25335 -e "s,@GTK_CAIRO_ENABLED@,false," \
25336 -e "s,@ECJ_JAR@,," \
25337 < $srcdir/classpath
/gnu
/classpath
/Configuration.java.
in \
25338 > gnu
/classpath
/Configuration.java
25339 # We do not want to redirect the output of the grep below to /dev/null,
25340 # but we add /dev/null to the input list so that grep will print the
25341 # filename of Configuration.java in case it finds any matches.
25342 if grep '@.*@' gnu
/classpath
/Configuration.java
/dev
/null
; then
25343 { { echo "$as_me:$LINENO: error: configure.ac is missing the substitutions above" >&5
25344 echo "$as_me: error: configure.ac is missing the substitutions above" >&2;}
25345 { (exit 1); exit 1; }; }
25350 for ac_prog
in gcj gcj-3.2 gcj-3.1 gcj-3.0 gcj-2.95
25352 # Extract the first word of "$ac_prog", so it can be a program name with args.
25353 set dummy
$ac_prog; ac_word
=$2
25354 echo "$as_me:$LINENO: checking for $ac_word" >&5
25355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25356 if test "${ac_cv_prog_GCJ+set}" = set; then
25357 echo $ECHO_N "(cached) $ECHO_C" >&6
25359 if test -n "$GCJ"; then
25360 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
25362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25363 for as_dir
in $PATH
25366 test -z "$as_dir" && as_dir
=.
25367 for ac_exec_ext
in '' $ac_executable_extensions; do
25368 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25369 ac_cv_prog_GCJ
="$ac_prog"
25370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25378 GCJ
=$ac_cv_prog_GCJ
25379 if test -n "$GCJ"; then
25380 echo "$as_me:$LINENO: result: $GCJ" >&5
25381 echo "${ECHO_T}$GCJ" >&6
25383 echo "$as_me:$LINENO: result: no" >&5
25384 echo "${ECHO_T}no" >&6
25387 test -n "$GCJ" && break
25389 test -n "$GCJ" || GCJ
="gcj"
25391 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
25392 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
25393 { (exit 1); exit 1; }; }
25394 if test "x${GCJFLAGS-unset}" = xunset
; then
25399 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
25401 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
25402 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
25403 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
25404 echo $ECHO_N "(cached) $ECHO_C" >&6
25406 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
25407 # We make a subdir and do the tests there. Otherwise we can end up
25408 # making bogus files that we don't know about and never remove. For
25409 # instance it was reported that on HP-UX the gcc test will end up
25410 # making a dummy file named `D' -- because `-MD' means `put the output
25413 # Copy depcomp to subdir because otherwise we won't find it if we're
25414 # using a relative directory.
25415 cp "$am_depcomp" conftest.dir
25417 # We will build objects and dependencies in a subdirectory because
25418 # it helps to detect inapplicable dependency modes. For instance
25419 # both Tru64's cc and ICC support -MD to output dependencies as a
25420 # side effect of compilation, but ICC will put the dependencies in
25421 # the current directory while Tru64 will put them in the object
25425 am_cv_GCJ_dependencies_compiler_type
=none
25426 if test "$am_compiler_list" = ""; then
25427 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
25429 for depmode
in $am_compiler_list; do
25430 # Setup a source with many dependencies, because some compilers
25431 # like to wrap large dependency lists on column 80 (with \), and
25432 # we should not choose a depcomp mode which is confused by this.
25434 # We need to recreate these files for each test, as the compiler may
25435 # overwrite some of them when testing with obscure command lines.
25436 # This happens at least with the AIX C compiler.
25438 for i
in 1 2 3 4 5 6; do
25439 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
25440 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
25441 # Solaris 8's {/usr,}/bin/sh.
25442 touch sub
/conftst
$i.h
25444 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
25448 # after this tag, mechanisms are not by side-effect, so they'll
25449 # only be used when explicitly requested
25450 if test "x$enable_dependency_tracking" = xyes
; then
25458 # We check with `-c' and `-o' for the sake of the "dashmstdout"
25459 # mode. It turns out that the SunPro C++ compiler does not properly
25460 # handle `-M -o', and we need to detect this.
25461 if depmode
=$depmode \
25462 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
25463 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
25464 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
25465 >/dev
/null
2>conftest.err
&&
25466 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
25467 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
25468 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
25469 # icc doesn't choke on unknown options, it will just issue warnings
25470 # or remarks (even with -Werror). So we grep stderr for any message
25471 # that says an option was ignored or not supported.
25472 # When given -MP, icc 7.0 and 7.1 complain thusly:
25473 # icc: Command line warning: ignoring option '-M'; no argument required
25474 # The diagnosis changed in icc 8.0:
25475 # icc: Command line remark: option '-MP' not supported
25476 if (grep 'ignoring option' conftest.err ||
25477 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
25478 am_cv_GCJ_dependencies_compiler_type
=$depmode
25485 rm -rf conftest.dir
25487 am_cv_GCJ_dependencies_compiler_type
=none
25491 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
25492 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
25493 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
25498 test "x$enable_dependency_tracking" != xno \
25499 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
25500 am__fastdepGCJ_TRUE
=
25501 am__fastdepGCJ_FALSE
='#'
25503 am__fastdepGCJ_TRUE
='#'
25504 am__fastdepGCJ_FALSE
=
25511 rm -f gnu
/classpath
/Configuration.java
25513 CPPFLAGS
=$GCJ_SAVE_CPPFLAGS
25515 echo "$as_me:$LINENO: checking for void *" >&5
25516 echo $ECHO_N "checking for void *... $ECHO_C" >&6
25517 if test "${ac_cv_type_void_p+set}" = set; then
25518 echo $ECHO_N "(cached) $ECHO_C" >&6
25520 cat >conftest.
$ac_ext <<_ACEOF
25523 cat confdefs.h
>>conftest.
$ac_ext
25524 cat >>conftest.
$ac_ext <<_ACEOF
25525 /* end confdefs.h. */
25526 $ac_includes_default
25532 if (sizeof (void *))
25538 rm -f conftest.
$ac_objext
25539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25540 (eval $ac_compile) 2>conftest.er1
25542 grep -v '^ *+' conftest.er1
>conftest.err
25544 cat conftest.err
>&5
25545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25546 (exit $ac_status); } &&
25547 { ac_try
='test -z "$ac_c_werror_flag"
25548 || test ! -s conftest.err'
25549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25550 (eval $ac_try) 2>&5
25552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25553 (exit $ac_status); }; } &&
25554 { ac_try
='test -s conftest.$ac_objext'
25555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25556 (eval $ac_try) 2>&5
25558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25559 (exit $ac_status); }; }; then
25560 ac_cv_type_void_p
=yes
25562 echo "$as_me: failed program was:" >&5
25563 sed 's/^/| /' conftest.
$ac_ext >&5
25565 ac_cv_type_void_p
=no
25567 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25569 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
25570 echo "${ECHO_T}$ac_cv_type_void_p" >&6
25572 echo "$as_me:$LINENO: checking size of void *" >&5
25573 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
25574 if test "${ac_cv_sizeof_void_p+set}" = set; then
25575 echo $ECHO_N "(cached) $ECHO_C" >&6
25577 if test "$ac_cv_type_void_p" = yes; then
25578 # The cast to unsigned long works around a bug in the HP C Compiler
25579 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25580 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25581 # This bug is HP SR number 8606223364.
25582 if test "$cross_compiling" = yes; then
25583 # Depending upon the size, compute the lo and hi bounds.
25584 cat >conftest.
$ac_ext <<_ACEOF
25587 cat confdefs.h
>>conftest.
$ac_ext
25588 cat >>conftest.
$ac_ext <<_ACEOF
25589 /* end confdefs.h. */
25590 $ac_includes_default
25594 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
25601 rm -f conftest.
$ac_objext
25602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25603 (eval $ac_compile) 2>conftest.er1
25605 grep -v '^ *+' conftest.er1
>conftest.err
25607 cat conftest.err
>&5
25608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25609 (exit $ac_status); } &&
25610 { ac_try
='test -z "$ac_c_werror_flag"
25611 || test ! -s conftest.err'
25612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25613 (eval $ac_try) 2>&5
25615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25616 (exit $ac_status); }; } &&
25617 { ac_try
='test -s conftest.$ac_objext'
25618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25619 (eval $ac_try) 2>&5
25621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25622 (exit $ac_status); }; }; then
25625 cat >conftest.
$ac_ext <<_ACEOF
25628 cat confdefs.h
>>conftest.
$ac_ext
25629 cat >>conftest.
$ac_ext <<_ACEOF
25630 /* end confdefs.h. */
25631 $ac_includes_default
25635 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
25642 rm -f conftest.
$ac_objext
25643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25644 (eval $ac_compile) 2>conftest.er1
25646 grep -v '^ *+' conftest.er1
>conftest.err
25648 cat conftest.err
>&5
25649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25650 (exit $ac_status); } &&
25651 { ac_try
='test -z "$ac_c_werror_flag"
25652 || test ! -s conftest.err'
25653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25654 (eval $ac_try) 2>&5
25656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25657 (exit $ac_status); }; } &&
25658 { ac_try
='test -s conftest.$ac_objext'
25659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25660 (eval $ac_try) 2>&5
25662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25663 (exit $ac_status); }; }; then
25664 ac_hi
=$ac_mid; break
25666 echo "$as_me: failed program was:" >&5
25667 sed 's/^/| /' conftest.
$ac_ext >&5
25669 ac_lo
=`expr $ac_mid + 1`
25670 if test $ac_lo -le $ac_mid; then
25674 ac_mid
=`expr 2 '*' $ac_mid + 1`
25676 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25679 echo "$as_me: failed program was:" >&5
25680 sed 's/^/| /' conftest.
$ac_ext >&5
25682 cat >conftest.
$ac_ext <<_ACEOF
25685 cat confdefs.h
>>conftest.
$ac_ext
25686 cat >>conftest.
$ac_ext <<_ACEOF
25687 /* end confdefs.h. */
25688 $ac_includes_default
25692 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
25699 rm -f conftest.
$ac_objext
25700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25701 (eval $ac_compile) 2>conftest.er1
25703 grep -v '^ *+' conftest.er1
>conftest.err
25705 cat conftest.err
>&5
25706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25707 (exit $ac_status); } &&
25708 { ac_try
='test -z "$ac_c_werror_flag"
25709 || test ! -s conftest.err'
25710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25711 (eval $ac_try) 2>&5
25713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25714 (exit $ac_status); }; } &&
25715 { ac_try
='test -s conftest.$ac_objext'
25716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25717 (eval $ac_try) 2>&5
25719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25720 (exit $ac_status); }; }; then
25723 cat >conftest.
$ac_ext <<_ACEOF
25726 cat confdefs.h
>>conftest.
$ac_ext
25727 cat >>conftest.
$ac_ext <<_ACEOF
25728 /* end confdefs.h. */
25729 $ac_includes_default
25733 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
25740 rm -f conftest.
$ac_objext
25741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25742 (eval $ac_compile) 2>conftest.er1
25744 grep -v '^ *+' conftest.er1
>conftest.err
25746 cat conftest.err
>&5
25747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25748 (exit $ac_status); } &&
25749 { ac_try
='test -z "$ac_c_werror_flag"
25750 || test ! -s conftest.err'
25751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25752 (eval $ac_try) 2>&5
25754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25755 (exit $ac_status); }; } &&
25756 { ac_try
='test -s conftest.$ac_objext'
25757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25758 (eval $ac_try) 2>&5
25760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25761 (exit $ac_status); }; }; then
25762 ac_lo
=$ac_mid; break
25764 echo "$as_me: failed program was:" >&5
25765 sed 's/^/| /' conftest.
$ac_ext >&5
25767 ac_hi
=`expr '(' $ac_mid ')' - 1`
25768 if test $ac_mid -le $ac_hi; then
25772 ac_mid
=`expr 2 '*' $ac_mid`
25774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25777 echo "$as_me: failed program was:" >&5
25778 sed 's/^/| /' conftest.
$ac_ext >&5
25782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25785 # Binary search between lo and hi bounds.
25786 while test "x$ac_lo" != "x$ac_hi"; do
25787 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25788 cat >conftest.
$ac_ext <<_ACEOF
25791 cat confdefs.h
>>conftest.
$ac_ext
25792 cat >>conftest.
$ac_ext <<_ACEOF
25793 /* end confdefs.h. */
25794 $ac_includes_default
25798 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
25805 rm -f conftest.
$ac_objext
25806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25807 (eval $ac_compile) 2>conftest.er1
25809 grep -v '^ *+' conftest.er1
>conftest.err
25811 cat conftest.err
>&5
25812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25813 (exit $ac_status); } &&
25814 { ac_try
='test -z "$ac_c_werror_flag"
25815 || test ! -s conftest.err'
25816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25817 (eval $ac_try) 2>&5
25819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25820 (exit $ac_status); }; } &&
25821 { ac_try
='test -s conftest.$ac_objext'
25822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25823 (eval $ac_try) 2>&5
25825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25826 (exit $ac_status); }; }; then
25829 echo "$as_me: failed program was:" >&5
25830 sed 's/^/| /' conftest.
$ac_ext >&5
25832 ac_lo
=`expr '(' $ac_mid ')' + 1`
25834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25837 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
25838 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
25839 See \`config.log' for more details." >&5
25840 echo "$as_me: error: cannot compute sizeof (void *), 77
25841 See \`config.log' for more details." >&2;}
25842 { (exit 1); exit 1; }; } ;;
25845 if test "$cross_compiling" = yes; then
25846 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25847 See \`config.log' for more details." >&5
25848 echo "$as_me: error: cannot run test program while cross compiling
25849 See \`config.log' for more details." >&2;}
25850 { (exit 1); exit 1; }; }
25852 cat >conftest.
$ac_ext <<_ACEOF
25855 cat confdefs.h
>>conftest.
$ac_ext
25856 cat >>conftest.
$ac_ext <<_ACEOF
25857 /* end confdefs.h. */
25858 $ac_includes_default
25859 long longval () { return (long) (sizeof (void *)); }
25860 unsigned long ulongval () { return (long) (sizeof (void *)); }
25862 #include <stdlib.h>
25867 FILE *f = fopen ("conftest.val", "w");
25870 if (((long) (sizeof (void *))) < 0)
25872 long i = longval ();
25873 if (i != ((long) (sizeof (void *))))
25875 fprintf (f, "%ld\n", i);
25879 unsigned long i = ulongval ();
25880 if (i != ((long) (sizeof (void *))))
25882 fprintf (f, "%lu\n", i);
25884 exit (ferror (f) || fclose (f) != 0);
25890 rm -f conftest
$ac_exeext
25891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25892 (eval $ac_link) 2>&5
25894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25895 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25897 (eval $ac_try) 2>&5
25899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25900 (exit $ac_status); }; }; then
25901 ac_cv_sizeof_void_p
=`cat conftest.val`
25903 echo "$as_me: program exited with status $ac_status" >&5
25904 echo "$as_me: failed program was:" >&5
25905 sed 's/^/| /' conftest.
$ac_ext >&5
25907 ( exit $ac_status )
25908 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
25909 See \`config.log' for more details." >&5
25910 echo "$as_me: error: cannot compute sizeof (void *), 77
25911 See \`config.log' for more details." >&2;}
25912 { (exit 1); exit 1; }; }
25914 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25919 ac_cv_sizeof_void_p
=0
25922 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
25923 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
25924 cat >>confdefs.h
<<_ACEOF
25925 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
25930 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25931 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
25932 if test "${ac_cv_c_bigendian+set}" = set; then
25933 echo $ECHO_N "(cached) $ECHO_C" >&6
25935 # See if sys/param.h defines the BYTE_ORDER macro.
25936 cat >conftest.
$ac_ext <<_ACEOF
25939 cat confdefs.h
>>conftest.
$ac_ext
25940 cat >>conftest.
$ac_ext <<_ACEOF
25941 /* end confdefs.h. */
25942 #include <sys/types.h>
25943 #include <sys/param.h>
25948 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25949 bogus endian macros
25956 rm -f conftest.
$ac_objext
25957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25958 (eval $ac_compile) 2>conftest.er1
25960 grep -v '^ *+' conftest.er1
>conftest.err
25962 cat conftest.err
>&5
25963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25964 (exit $ac_status); } &&
25965 { ac_try
='test -z "$ac_c_werror_flag"
25966 || test ! -s conftest.err'
25967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25968 (eval $ac_try) 2>&5
25970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25971 (exit $ac_status); }; } &&
25972 { ac_try
='test -s conftest.$ac_objext'
25973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25974 (eval $ac_try) 2>&5
25976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25977 (exit $ac_status); }; }; then
25978 # It does; now see whether it defined to BIG_ENDIAN or not.
25979 cat >conftest.
$ac_ext <<_ACEOF
25982 cat confdefs.h
>>conftest.
$ac_ext
25983 cat >>conftest.
$ac_ext <<_ACEOF
25984 /* end confdefs.h. */
25985 #include <sys/types.h>
25986 #include <sys/param.h>
25991 #if BYTE_ORDER != BIG_ENDIAN
25999 rm -f conftest.
$ac_objext
26000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26001 (eval $ac_compile) 2>conftest.er1
26003 grep -v '^ *+' conftest.er1
>conftest.err
26005 cat conftest.err
>&5
26006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26007 (exit $ac_status); } &&
26008 { ac_try
='test -z "$ac_c_werror_flag"
26009 || test ! -s conftest.err'
26010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26011 (eval $ac_try) 2>&5
26013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26014 (exit $ac_status); }; } &&
26015 { ac_try
='test -s conftest.$ac_objext'
26016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26017 (eval $ac_try) 2>&5
26019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26020 (exit $ac_status); }; }; then
26021 ac_cv_c_bigendian
=yes
26023 echo "$as_me: failed program was:" >&5
26024 sed 's/^/| /' conftest.
$ac_ext >&5
26026 ac_cv_c_bigendian
=no
26028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26030 echo "$as_me: failed program was:" >&5
26031 sed 's/^/| /' conftest.
$ac_ext >&5
26033 # It does not; compile a test program.
26034 if test "$cross_compiling" = yes; then
26035 # try to guess the endianness by grepping values into an object file
26036 ac_cv_c_bigendian
=unknown
26037 cat >conftest.
$ac_ext <<_ACEOF
26040 cat confdefs.h
>>conftest.
$ac_ext
26041 cat >>conftest.
$ac_ext <<_ACEOF
26042 /* end confdefs.h. */
26043 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
26044 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
26045 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
26046 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
26047 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
26048 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
26052 _ascii (); _ebcdic ();
26057 rm -f conftest.
$ac_objext
26058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26059 (eval $ac_compile) 2>conftest.er1
26061 grep -v '^ *+' conftest.er1
>conftest.err
26063 cat conftest.err
>&5
26064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26065 (exit $ac_status); } &&
26066 { ac_try
='test -z "$ac_c_werror_flag"
26067 || test ! -s conftest.err'
26068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26069 (eval $ac_try) 2>&5
26071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26072 (exit $ac_status); }; } &&
26073 { ac_try
='test -s conftest.$ac_objext'
26074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26075 (eval $ac_try) 2>&5
26077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26078 (exit $ac_status); }; }; then
26079 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
26080 ac_cv_c_bigendian
=yes
26082 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
26083 if test "$ac_cv_c_bigendian" = unknown
; then
26084 ac_cv_c_bigendian
=no
26086 # finding both strings is unlikely to happen, but who knows?
26087 ac_cv_c_bigendian
=unknown
26091 echo "$as_me: failed program was:" >&5
26092 sed 's/^/| /' conftest.
$ac_ext >&5
26095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26097 cat >conftest.
$ac_ext <<_ACEOF
26100 cat confdefs.h
>>conftest.
$ac_ext
26101 cat >>conftest.
$ac_ext <<_ACEOF
26102 /* end confdefs.h. */
26106 /* Are we little or big endian? From Harbison&Steele. */
26110 char c[sizeof (long)];
26113 exit (u.c[sizeof (long) - 1] == 1);
26116 rm -f conftest
$ac_exeext
26117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26118 (eval $ac_link) 2>&5
26120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26121 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26123 (eval $ac_try) 2>&5
26125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26126 (exit $ac_status); }; }; then
26127 ac_cv_c_bigendian
=no
26129 echo "$as_me: program exited with status $ac_status" >&5
26130 echo "$as_me: failed program was:" >&5
26131 sed 's/^/| /' conftest.
$ac_ext >&5
26133 ( exit $ac_status )
26134 ac_cv_c_bigendian
=yes
26136 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26141 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26142 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
26143 case $ac_cv_c_bigendian in
26146 cat >>confdefs.h
<<\_ACEOF
26147 #define WORDS_BIGENDIAN 1
26153 { { echo "$as_me:$LINENO: error: unknown endianness
26154 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
26155 echo "$as_me: error: unknown endianness
26156 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
26157 { (exit 1); exit 1; }; } ;;
26165 if test -z "$ZLIBSPEC"; then
26166 # Use zlib from the GCC tree.
26167 ZINCS
='-I$(top_srcdir)/../zlib'
26168 ZLIBS
=..
/zlib
/libzgcj_convenience.la
26171 SYS_ZLIBS
="$ZLIBSPEC"
26184 if test "$NATIVE" = yes; then
26194 if test "$enable_shared" = yes; then
26195 ENABLE_SHARED_TRUE
=
26196 ENABLE_SHARED_FALSE
='#'
26198 ENABLE_SHARED_TRUE
='#'
26199 ENABLE_SHARED_FALSE
=
26204 if test "$NEEDS_DATA_START" = yes && test "$NATIVE" = yes; then
26205 NEEDS_DATA_START_TRUE
=
26206 NEEDS_DATA_START_FALSE
='#'
26208 NEEDS_DATA_START_TRUE
='#'
26209 NEEDS_DATA_START_FALSE
=
26214 # Process the option "--enable-version-specific-runtime-libs"
26215 # Calculate toolexeclibdir
26216 case ${version_specific_libs} in
26218 # Need the gcc compiler version to know where to install libraries
26219 # and header files if --enable-version-specific-runtime-libs option
26221 includedir
='$(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/include/'
26222 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
26223 toolexecmainlibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
26224 toolexeclibdir
=$toolexecmainlibdir
26227 if test -n "$with_cross_host" &&
26228 test x
"$with_cross_host" != x
"no"; then
26229 # Install a library built with a cross compiler in tooldir, not libdir.
26230 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
26231 toolexecmainlibdir
='$(toolexecdir)/lib'
26233 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
26234 toolexecmainlibdir
='$(libdir)'
26236 multi_os_directory
=`$CC -print-multi-os-directory`
26237 case $multi_os_directory in
26238 .
) toolexeclibdir
=$toolexecmainlibdir ;; # Avoid trailing /.
26239 *) toolexeclibdir
=$toolexecmainlibdir/$multi_os_directory ;;
26247 # Determine gcj and libgcj version number.
26248 gcjversion
=`cat "$srcdir/../gcc/BASE-VER"`
26249 libgcj_soversion
=`awk -F: '/^[^#].*:/ { print $1 }' $srcdir/libtool-version`
26250 GCJVERSION
=$gcjversion
26253 cat >>confdefs.h
<<_ACEOF
26254 #define GCJVERSION "$GCJVERSION"
26258 # Determine where the standard .db file and GNU Classpath JNI
26259 # libraries are found.
26260 gcjsubdir
=gcj-
$gcjversion-$libgcj_soversion
26261 multi_os_directory
=`$CC -print-multi-os-directory`
26262 case $multi_os_directory in
26264 dbexecdir
='$(libdir)/'$gcjsubdir # Avoid /.
26267 dbexecdir
='$(libdir)/'$multi_os_directory/$gcjsubdir
26273 cat >>confdefs.h
<<\_ACEOF
26274 #define JV_VERSION "1.5.0"
26278 cat >>confdefs.h
<<\_ACEOF
26279 #define JV_API_VERSION "1.5"
26284 case "${with_gxx_include_dir}" in
26286 { { echo "$as_me:$LINENO: error: --with-gxx-include-dir=[dir] requires a directory" >&5
26287 echo "$as_me: error: --with-gxx-include-dir=[dir] requires a directory" >&2;}
26288 { (exit 1); exit 1; }; }
26291 case "${enable_version_specific_runtime_libs}" in
26292 yes) gxx_include_dir
='$(libsubdir)/include/c++' ;;
26294 libstdcxx_incdir
='c++/$(gcc_version)'
26295 gxx_include_dir
='include/$(libstdcxx_incdir)'
26296 if test -n "$with_cross_host" &&
26297 test x
"$with_cross_host" != x
"no"; then
26298 gxx_include_dir
='${prefix}/${target_alias}/'"$gxx_include_dir"
26300 gxx_include_dir
='${prefix}/'"$gxx_include_dir"
26303 *) gxx_include_dir
=${with_gxx_include_dir} ;;
26309 # We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
26310 # On that system, sys/ioctl.h will not include sys/filio.h unless
26311 # BSD_COMP is defined; just including sys/filio.h is simpler.
26312 # We avoid AC_HEADER_DIRENT since we really only care about dirent.h
26313 # for now. If you change this, you also must update natFile.cc.
26337 for ac_header
in unistd.h bstring.h sys
/time.h sys
/types.h fcntl.h \
26338 sys
/ioctl.h sys
/filio.h sys
/stat.h sys
/select.h \
26339 sys
/socket.h netinet
/in.h arpa
/inet.h netdb.h net
/if.h \
26340 pwd.h sys
/config.h stdint.h langinfo.h locale.h \
26341 dirent.h sys
/rw_lock.h magic.h ifaddrs.h
26343 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26345 echo "$as_me:$LINENO: checking for $ac_header" >&5
26346 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26347 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26348 echo $ECHO_N "(cached) $ECHO_C" >&6
26350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26353 # Is the header compilable?
26354 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26355 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26356 cat >conftest.
$ac_ext <<_ACEOF
26359 cat confdefs.h
>>conftest.
$ac_ext
26360 cat >>conftest.
$ac_ext <<_ACEOF
26361 /* end confdefs.h. */
26362 $ac_includes_default
26363 #include <$ac_header>
26365 rm -f conftest.
$ac_objext
26366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26367 (eval $ac_compile) 2>conftest.er1
26369 grep -v '^ *+' conftest.er1
>conftest.err
26371 cat conftest.err
>&5
26372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26373 (exit $ac_status); } &&
26374 { ac_try
='test -z "$ac_c_werror_flag"
26375 || test ! -s conftest.err'
26376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26377 (eval $ac_try) 2>&5
26379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26380 (exit $ac_status); }; } &&
26381 { ac_try
='test -s conftest.$ac_objext'
26382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26383 (eval $ac_try) 2>&5
26385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26386 (exit $ac_status); }; }; then
26387 ac_header_compiler
=yes
26389 echo "$as_me: failed program was:" >&5
26390 sed 's/^/| /' conftest.
$ac_ext >&5
26392 ac_header_compiler
=no
26394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26395 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26396 echo "${ECHO_T}$ac_header_compiler" >&6
26398 # Is the header present?
26399 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26400 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26401 cat >conftest.
$ac_ext <<_ACEOF
26404 cat confdefs.h
>>conftest.
$ac_ext
26405 cat >>conftest.
$ac_ext <<_ACEOF
26406 /* end confdefs.h. */
26407 #include <$ac_header>
26409 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26410 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26412 grep -v '^ *+' conftest.er1
>conftest.err
26414 cat conftest.err
>&5
26415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26416 (exit $ac_status); } >/dev
/null
; then
26417 if test -s conftest.err
; then
26418 ac_cpp_err
=$ac_c_preproc_warn_flag
26419 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26426 if test -z "$ac_cpp_err"; then
26427 ac_header_preproc
=yes
26429 echo "$as_me: failed program was:" >&5
26430 sed 's/^/| /' conftest.
$ac_ext >&5
26432 ac_header_preproc
=no
26434 rm -f conftest.err conftest.
$ac_ext
26435 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26436 echo "${ECHO_T}$ac_header_preproc" >&6
26438 # So? What about this header?
26439 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26441 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26442 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26443 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26444 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26445 ac_header_preproc
=yes
26448 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26449 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26450 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26451 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26452 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26453 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26454 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26455 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26456 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26457 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26458 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26459 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26462 ## ---------------------------------- ##
26463 ## Report this to the libjava lists. ##
26464 ## ---------------------------------- ##
26467 sed "s/^/$as_me: WARNING: /" >&2
26470 echo "$as_me:$LINENO: checking for $ac_header" >&5
26471 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26473 echo $ECHO_N "(cached) $ECHO_C" >&6
26475 eval "$as_ac_Header=\$ac_header_preproc"
26477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26478 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26481 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26482 cat >>confdefs.h
<<_ACEOF
26483 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26491 for ac_header
in inttypes.h
26493 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26495 echo "$as_me:$LINENO: checking for $ac_header" >&5
26496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26498 echo $ECHO_N "(cached) $ECHO_C" >&6
26500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26501 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26503 # Is the header compilable?
26504 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26505 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26506 cat >conftest.
$ac_ext <<_ACEOF
26509 cat confdefs.h
>>conftest.
$ac_ext
26510 cat >>conftest.
$ac_ext <<_ACEOF
26511 /* end confdefs.h. */
26512 $ac_includes_default
26513 #include <$ac_header>
26515 rm -f conftest.
$ac_objext
26516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26517 (eval $ac_compile) 2>conftest.er1
26519 grep -v '^ *+' conftest.er1
>conftest.err
26521 cat conftest.err
>&5
26522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26523 (exit $ac_status); } &&
26524 { ac_try
='test -z "$ac_c_werror_flag"
26525 || test ! -s conftest.err'
26526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26527 (eval $ac_try) 2>&5
26529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26530 (exit $ac_status); }; } &&
26531 { ac_try
='test -s conftest.$ac_objext'
26532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26533 (eval $ac_try) 2>&5
26535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26536 (exit $ac_status); }; }; then
26537 ac_header_compiler
=yes
26539 echo "$as_me: failed program was:" >&5
26540 sed 's/^/| /' conftest.
$ac_ext >&5
26542 ac_header_compiler
=no
26544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26545 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26546 echo "${ECHO_T}$ac_header_compiler" >&6
26548 # Is the header present?
26549 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26550 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26551 cat >conftest.
$ac_ext <<_ACEOF
26554 cat confdefs.h
>>conftest.
$ac_ext
26555 cat >>conftest.
$ac_ext <<_ACEOF
26556 /* end confdefs.h. */
26557 #include <$ac_header>
26559 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26560 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26562 grep -v '^ *+' conftest.er1
>conftest.err
26564 cat conftest.err
>&5
26565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26566 (exit $ac_status); } >/dev
/null
; then
26567 if test -s conftest.err
; then
26568 ac_cpp_err
=$ac_c_preproc_warn_flag
26569 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26576 if test -z "$ac_cpp_err"; then
26577 ac_header_preproc
=yes
26579 echo "$as_me: failed program was:" >&5
26580 sed 's/^/| /' conftest.
$ac_ext >&5
26582 ac_header_preproc
=no
26584 rm -f conftest.err conftest.
$ac_ext
26585 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26586 echo "${ECHO_T}$ac_header_preproc" >&6
26588 # So? What about this header?
26589 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26591 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26592 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26593 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26594 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26595 ac_header_preproc
=yes
26598 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26599 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26600 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26601 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26602 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26603 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26604 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26605 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26606 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26607 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26608 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26609 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26612 ## ---------------------------------- ##
26613 ## Report this to the libjava lists. ##
26614 ## ---------------------------------- ##
26617 sed "s/^/$as_me: WARNING: /" >&2
26620 echo "$as_me:$LINENO: checking for $ac_header" >&5
26621 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26622 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26623 echo $ECHO_N "(cached) $ECHO_C" >&6
26625 eval "$as_ac_Header=\$ac_header_preproc"
26627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26628 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26631 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26632 cat >>confdefs.h
<<_ACEOF
26633 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26637 cat >>confdefs.h
<<\_ACEOF
26638 #define HAVE_INTTYPES_H 1
26642 cat >>confdefs.h
<<\_ACEOF
26643 #define JV_HAVE_INTTYPES_H 1
26652 echo "$as_me:$LINENO: checking for ssize_t" >&5
26653 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
26654 if test "${ac_cv_type_ssize_t+set}" = set; then
26655 echo $ECHO_N "(cached) $ECHO_C" >&6
26657 cat >conftest.
$ac_ext <<_ACEOF
26660 cat confdefs.h
>>conftest.
$ac_ext
26661 cat >>conftest.
$ac_ext <<_ACEOF
26662 /* end confdefs.h. */
26663 $ac_includes_default
26669 if (sizeof (ssize_t))
26675 rm -f conftest.
$ac_objext
26676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26677 (eval $ac_compile) 2>conftest.er1
26679 grep -v '^ *+' conftest.er1
>conftest.err
26681 cat conftest.err
>&5
26682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26683 (exit $ac_status); } &&
26684 { ac_try
='test -z "$ac_c_werror_flag"
26685 || test ! -s conftest.err'
26686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26687 (eval $ac_try) 2>&5
26689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26690 (exit $ac_status); }; } &&
26691 { ac_try
='test -s conftest.$ac_objext'
26692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26693 (eval $ac_try) 2>&5
26695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26696 (exit $ac_status); }; }; then
26697 ac_cv_type_ssize_t
=yes
26699 echo "$as_me: failed program was:" >&5
26700 sed 's/^/| /' conftest.
$ac_ext >&5
26702 ac_cv_type_ssize_t
=no
26704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26706 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
26707 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
26708 if test $ac_cv_type_ssize_t = yes; then
26712 cat >>confdefs.h
<<_ACEOF
26713 #define ssize_t int
26718 echo "$as_me:$LINENO: checking for magic_t" >&5
26719 echo $ECHO_N "checking for magic_t... $ECHO_C" >&6
26720 if test "${ac_cv_type_magic_t+set}" = set; then
26721 echo $ECHO_N "(cached) $ECHO_C" >&6
26723 cat >conftest.
$ac_ext <<_ACEOF
26726 cat confdefs.h
>>conftest.
$ac_ext
26727 cat >>conftest.
$ac_ext <<_ACEOF
26728 /* end confdefs.h. */
26730 #ifdef HAVE_MAGIC_H
26739 if (sizeof (magic_t))
26745 rm -f conftest.
$ac_objext
26746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26747 (eval $ac_compile) 2>conftest.er1
26749 grep -v '^ *+' conftest.er1
>conftest.err
26751 cat conftest.err
>&5
26752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26753 (exit $ac_status); } &&
26754 { ac_try
='test -z "$ac_c_werror_flag"
26755 || test ! -s conftest.err'
26756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26757 (eval $ac_try) 2>&5
26759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26760 (exit $ac_status); }; } &&
26761 { ac_try
='test -s conftest.$ac_objext'
26762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26763 (eval $ac_try) 2>&5
26765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26766 (exit $ac_status); }; }; then
26767 ac_cv_type_magic_t
=yes
26769 echo "$as_me: failed program was:" >&5
26770 sed 's/^/| /' conftest.
$ac_ext >&5
26772 ac_cv_type_magic_t
=no
26774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26776 echo "$as_me:$LINENO: result: $ac_cv_type_magic_t" >&5
26777 echo "${ECHO_T}$ac_cv_type_magic_t" >&6
26778 if test $ac_cv_type_magic_t = yes; then
26781 cat >>confdefs.h
<<\_ACEOF
26782 #define HAVE_MAGIC_T 1
26788 echo "$as_me:$LINENO: checking for in_addr_t" >&5
26789 echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6
26790 cat >conftest.
$ac_ext <<_ACEOF
26793 cat confdefs.h
>>conftest.
$ac_ext
26794 cat >>conftest.
$ac_ext <<_ACEOF
26795 /* end confdefs.h. */
26796 #include <sys/types.h>
26798 #include <stdlib.h>
26799 #include <stddef.h>
26801 #if HAVE_NETINET_IN_H
26802 #include <netinet/in.h>
26812 rm -f conftest.
$ac_objext
26813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26814 (eval $ac_compile) 2>conftest.er1
26816 grep -v '^ *+' conftest.er1
>conftest.err
26818 cat conftest.err
>&5
26819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26820 (exit $ac_status); } &&
26821 { ac_try
='test -z "$ac_c_werror_flag"
26822 || test ! -s conftest.err'
26823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26824 (eval $ac_try) 2>&5
26826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26827 (exit $ac_status); }; } &&
26828 { ac_try
='test -s conftest.$ac_objext'
26829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26830 (eval $ac_try) 2>&5
26832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26833 (exit $ac_status); }; }; then
26835 cat >>confdefs.h
<<\_ACEOF
26836 #define HAVE_IN_ADDR_T 1
26839 echo "$as_me:$LINENO: result: yes" >&5
26840 echo "${ECHO_T}yes" >&6
26842 echo "$as_me: failed program was:" >&5
26843 sed 's/^/| /' conftest.
$ac_ext >&5
26845 echo "$as_me:$LINENO: result: no" >&5
26846 echo "${ECHO_T}no" >&6
26848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26850 echo "$as_me:$LINENO: checking whether struct ip_mreq is in netinet/in.h" >&5
26851 echo $ECHO_N "checking whether struct ip_mreq is in netinet/in.h... $ECHO_C" >&6
26852 cat >conftest.
$ac_ext <<_ACEOF
26855 cat confdefs.h
>>conftest.
$ac_ext
26856 cat >>conftest.
$ac_ext <<_ACEOF
26857 /* end confdefs.h. */
26858 #include <netinet/in.h>
26862 struct ip_mreq mreq;
26867 rm -f conftest.
$ac_objext
26868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26869 (eval $ac_compile) 2>conftest.er1
26871 grep -v '^ *+' conftest.er1
>conftest.err
26873 cat conftest.err
>&5
26874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26875 (exit $ac_status); } &&
26876 { ac_try
='test -z "$ac_c_werror_flag"
26877 || test ! -s conftest.err'
26878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26879 (eval $ac_try) 2>&5
26881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26882 (exit $ac_status); }; } &&
26883 { ac_try
='test -s conftest.$ac_objext'
26884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26885 (eval $ac_try) 2>&5
26887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26888 (exit $ac_status); }; }; then
26890 cat >>confdefs.h
<<\_ACEOF
26891 #define HAVE_STRUCT_IP_MREQ 1
26894 echo "$as_me:$LINENO: result: yes" >&5
26895 echo "${ECHO_T}yes" >&6
26897 echo "$as_me: failed program was:" >&5
26898 sed 's/^/| /' conftest.
$ac_ext >&5
26900 echo "$as_me:$LINENO: result: no" >&5
26901 echo "${ECHO_T}no" >&6
26903 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26905 echo "$as_me:$LINENO: checking whether struct ipv6_mreq is in netinet/in.h" >&5
26906 echo $ECHO_N "checking whether struct ipv6_mreq is in netinet/in.h... $ECHO_C" >&6
26907 cat >conftest.
$ac_ext <<_ACEOF
26910 cat confdefs.h
>>conftest.
$ac_ext
26911 cat >>conftest.
$ac_ext <<_ACEOF
26912 /* end confdefs.h. */
26913 #include <netinet/in.h>
26917 struct ipv6_mreq mreq6;
26922 rm -f conftest.
$ac_objext
26923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26924 (eval $ac_compile) 2>conftest.er1
26926 grep -v '^ *+' conftest.er1
>conftest.err
26928 cat conftest.err
>&5
26929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26930 (exit $ac_status); } &&
26931 { ac_try
='test -z "$ac_c_werror_flag"
26932 || test ! -s conftest.err'
26933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26934 (eval $ac_try) 2>&5
26936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26937 (exit $ac_status); }; } &&
26938 { ac_try
='test -s conftest.$ac_objext'
26939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26940 (eval $ac_try) 2>&5
26942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26943 (exit $ac_status); }; }; then
26945 cat >>confdefs.h
<<\_ACEOF
26946 #define HAVE_STRUCT_IPV6_MREQ 1
26949 echo "$as_me:$LINENO: result: yes" >&5
26950 echo "${ECHO_T}yes" >&6
26952 echo "$as_me: failed program was:" >&5
26953 sed 's/^/| /' conftest.
$ac_ext >&5
26955 echo "$as_me:$LINENO: result: no" >&5
26956 echo "${ECHO_T}no" >&6
26958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26960 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
26961 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
26962 cat >conftest.
$ac_ext <<_ACEOF
26965 cat confdefs.h
>>conftest.
$ac_ext
26966 cat >>conftest.
$ac_ext <<_ACEOF
26967 /* end confdefs.h. */
26968 #include <netinet/in.h>
26972 struct sockaddr_in6 addr6;
26977 rm -f conftest.
$ac_objext
26978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26979 (eval $ac_compile) 2>conftest.er1
26981 grep -v '^ *+' conftest.er1
>conftest.err
26983 cat conftest.err
>&5
26984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985 (exit $ac_status); } &&
26986 { ac_try
='test -z "$ac_c_werror_flag"
26987 || test ! -s conftest.err'
26988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26989 (eval $ac_try) 2>&5
26991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26992 (exit $ac_status); }; } &&
26993 { ac_try
='test -s conftest.$ac_objext'
26994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26995 (eval $ac_try) 2>&5
26997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26998 (exit $ac_status); }; }; then
27000 cat >>confdefs.h
<<\_ACEOF
27001 #define HAVE_INET6 1
27004 echo "$as_me:$LINENO: result: yes" >&5
27005 echo "${ECHO_T}yes" >&6
27007 echo "$as_me: failed program was:" >&5
27008 sed 's/^/| /' conftest.
$ac_ext >&5
27010 echo "$as_me:$LINENO: result: no" >&5
27011 echo "${ECHO_T}no" >&6
27013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27015 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
27016 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
27017 cat >conftest.
$ac_ext <<_ACEOF
27020 cat confdefs.h
>>conftest.
$ac_ext
27021 cat >>conftest.
$ac_ext <<_ACEOF
27022 /* end confdefs.h. */
27023 #define _POSIX_PII_SOCKET
27024 #include <sys/types.h>
27025 #include <sys/socket.h>
27034 rm -f conftest.
$ac_objext
27035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27036 (eval $ac_compile) 2>conftest.er1
27038 grep -v '^ *+' conftest.er1
>conftest.err
27040 cat conftest.err
>&5
27041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27042 (exit $ac_status); } &&
27043 { ac_try
='test -z "$ac_c_werror_flag"
27044 || test ! -s conftest.err'
27045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27046 (eval $ac_try) 2>&5
27048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27049 (exit $ac_status); }; } &&
27050 { ac_try
='test -s conftest.$ac_objext'
27051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27052 (eval $ac_try) 2>&5
27054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27055 (exit $ac_status); }; }; then
27057 cat >>confdefs.h
<<\_ACEOF
27058 #define HAVE_SOCKLEN_T 1
27061 echo "$as_me:$LINENO: result: yes" >&5
27062 echo "${ECHO_T}yes" >&6
27064 echo "$as_me: failed program was:" >&5
27065 sed 's/^/| /' conftest.
$ac_ext >&5
27067 echo "$as_me:$LINENO: result: no" >&5
27068 echo "${ECHO_T}no" >&6
27070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27072 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
27073 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
27074 cat >conftest.
$ac_ext <<_ACEOF
27077 cat confdefs.h
>>conftest.
$ac_ext
27078 cat >>conftest.
$ac_ext <<_ACEOF
27079 /* end confdefs.h. */
27084 struct tm tim; tim.tm_gmtoff = 0;
27089 rm -f conftest.
$ac_objext
27090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27091 (eval $ac_compile) 2>conftest.er1
27093 grep -v '^ *+' conftest.er1
>conftest.err
27095 cat conftest.err
>&5
27096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27097 (exit $ac_status); } &&
27098 { ac_try
='test -z "$ac_c_werror_flag"
27099 || test ! -s conftest.err'
27100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27101 (eval $ac_try) 2>&5
27103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27104 (exit $ac_status); }; } &&
27105 { ac_try
='test -s conftest.$ac_objext'
27106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27107 (eval $ac_try) 2>&5
27109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27110 (exit $ac_status); }; }; then
27112 cat >>confdefs.h
<<\_ACEOF
27113 #define STRUCT_TM_HAS_GMTOFF 1
27116 echo "$as_me:$LINENO: result: yes" >&5
27117 echo "${ECHO_T}yes" >&6
27119 echo "$as_me: failed program was:" >&5
27120 sed 's/^/| /' conftest.
$ac_ext >&5
27122 echo "$as_me:$LINENO: result: no" >&5
27123 echo "${ECHO_T}no" >&6
27124 echo "$as_me:$LINENO: checking for global timezone variable" >&5
27125 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
27126 cat >conftest.
$ac_ext <<_ACEOF
27129 cat confdefs.h
>>conftest.
$ac_ext
27130 cat >>conftest.
$ac_ext <<_ACEOF
27131 /* end confdefs.h. */
27136 void i(){long z2 = 2*timezone;}
27141 rm -f conftest.
$ac_objext
27142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27143 (eval $ac_compile) 2>conftest.er1
27145 grep -v '^ *+' conftest.er1
>conftest.err
27147 cat conftest.err
>&5
27148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27149 (exit $ac_status); } &&
27150 { ac_try
='test -z "$ac_c_werror_flag"
27151 || test ! -s conftest.err'
27152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27153 (eval $ac_try) 2>&5
27155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27156 (exit $ac_status); }; } &&
27157 { ac_try
='test -s conftest.$ac_objext'
27158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27159 (eval $ac_try) 2>&5
27161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27162 (exit $ac_status); }; }; then
27164 cat >>confdefs.h
<<\_ACEOF
27165 #define HAVE_TIMEZONE 1
27168 echo "$as_me:$LINENO: result: yes" >&5
27169 echo "${ECHO_T}yes" >&6
27171 echo "$as_me: failed program was:" >&5
27172 sed 's/^/| /' conftest.
$ac_ext >&5
27174 echo "$as_me:$LINENO: result: no" >&5
27175 echo "${ECHO_T}no" >&6
27176 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
27177 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
27178 cat >conftest.
$ac_ext <<_ACEOF
27181 cat confdefs.h
>>conftest.
$ac_ext
27182 cat >>conftest.
$ac_ext <<_ACEOF
27183 /* end confdefs.h. */
27188 long z2 = _timezone;
27193 rm -f conftest.
$ac_objext
27194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27195 (eval $ac_compile) 2>conftest.er1
27197 grep -v '^ *+' conftest.er1
>conftest.err
27199 cat conftest.err
>&5
27200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27201 (exit $ac_status); } &&
27202 { ac_try
='test -z "$ac_c_werror_flag"
27203 || test ! -s conftest.err'
27204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27205 (eval $ac_try) 2>&5
27207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27208 (exit $ac_status); }; } &&
27209 { ac_try
='test -s conftest.$ac_objext'
27210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27211 (eval $ac_try) 2>&5
27213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27214 (exit $ac_status); }; }; then
27216 cat >>confdefs.h
<<\_ACEOF
27217 #define HAVE_UNDERSCORE_TIMEZONE 1
27220 echo "$as_me:$LINENO: result: yes" >&5
27221 echo "${ECHO_T}yes" >&6
27223 echo "$as_me: failed program was:" >&5
27224 sed 's/^/| /' conftest.
$ac_ext >&5
27226 echo "$as_me:$LINENO: result: no" >&5
27227 echo "${ECHO_T}no" >&6
27229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27235 for ac_prog
in perl
27237 # Extract the first word of "$ac_prog", so it can be a program name with args.
27238 set dummy
$ac_prog; ac_word
=$2
27239 echo "$as_me:$LINENO: checking for $ac_word" >&5
27240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27241 if test "${ac_cv_prog_PERL+set}" = set; then
27242 echo $ECHO_N "(cached) $ECHO_C" >&6
27244 if test -n "$PERL"; then
27245 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
27247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27248 for as_dir
in $PATH
27251 test -z "$as_dir" && as_dir
=.
27252 for ac_exec_ext
in '' $ac_executable_extensions; do
27253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27254 ac_cv_prog_PERL
="$ac_prog"
27255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27263 PERL
=$ac_cv_prog_PERL
27264 if test -n "$PERL"; then
27265 echo "$as_me:$LINENO: result: $PERL" >&5
27266 echo "${ECHO_T}$PERL" >&6
27268 echo "$as_me:$LINENO: result: no" >&5
27269 echo "${ECHO_T}no" >&6
27272 test -n "$PERL" && break
27274 test -n "$PERL" || PERL
="false"
27278 SIGNAL_HANDLER_AUX
=
27282 SIGNAL_HANDLER
=include
/i386-signal.h
27284 sparc
*-sun-solaris*)
27285 SIGNAL_HANDLER
=include
/sparc-signal.h
27288 # SYSDEP_SOURCES=sysdep/ia64.c
27289 # test -d sysdep || mkdir sysdep
27292 SIGNAL_HANDLER
=include
/pa-signal.h
27295 SIGNAL_HANDLER
=include
/hppa-signal.h
27298 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27301 SIGNAL_HANDLER
=include
/powerpc-signal.h
27304 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27307 SIGNAL_HANDLER
=include
/s390-signal.h
27310 SIGNAL_HANDLER
=include
/x86_64-signal.h
27311 SIGNAL_HANDLER_AUX
=include
/i386-signal.h
27314 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27317 SIGNAL_HANDLER
=include
/sh-signal.h
27320 SIGNAL_HANDLER
=include
/win32-signal.h
27323 SIGNAL_HANDLER
=include
/mips-signal.h
27326 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27328 powerpc
*-*-darwin* | i?
86-*-darwin9* | x86_64-
*-darwin9*)
27329 SIGNAL_HANDLER
=include
/darwin-signal.h
27332 SIGNAL_HANDLER
=include
/default-signal.h
27336 # If we're using sjlj exceptions, forget what we just learned.
27337 if test "$enable_sjlj_exceptions" = yes; then
27338 SIGNAL_HANDLER
=include
/default-signal.h
27339 SIGNAL_HANDLER_AUX
=
27344 if test -z "$SIGNAL_HANDLER_AUX"; then
27345 SIGNAL_HANDLER_AUX
=$SIGNAL_HANDLER
27348 ac_config_links
="$ac_config_links include/java-signal.h:$SIGNAL_HANDLER include/java-signal-aux.h:$SIGNAL_HANDLER_AUX"
27351 if test "${multilib}" = "yes"; then
27352 multilib_arg
="--enable-multilib"
27357 # See if we support thread-local storage.
27359 # Check whether --enable-tls or --disable-tls was given.
27360 if test "${enable_tls+set}" = set; then
27361 enableval
="$enable_tls"
27363 case "$enableval" in
27365 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
27366 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
27367 { (exit 1); exit 1; }; } ;;
27374 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
27375 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
27376 if test "${gcc_cv_have_tls+set}" = set; then
27377 echo $ECHO_N "(cached) $ECHO_C" >&6
27380 if test "$cross_compiling" = yes; then
27381 if test x
$gcc_no_link = xyes
; then
27382 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27384 { (exit 1); exit 1; }; }
27386 cat >conftest.
$ac_ext <<_ACEOF
27387 __thread int a; int b; int main() { return a = b; }
27389 rm -f conftest.
$ac_objext conftest
$ac_exeext
27390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27391 (eval $ac_link) 2>conftest.er1
27393 grep -v '^ *+' conftest.er1
>conftest.err
27395 cat conftest.err
>&5
27396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27397 (exit $ac_status); } &&
27398 { ac_try
='test -z "$ac_c_werror_flag"
27399 || test ! -s conftest.err'
27400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27401 (eval $ac_try) 2>&5
27403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27404 (exit $ac_status); }; } &&
27405 { ac_try
='test -s conftest$ac_exeext'
27406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27407 (eval $ac_try) 2>&5
27409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27410 (exit $ac_status); }; }; then
27411 gcc_cv_have_tls
=yes
27413 echo "$as_me: failed program was:" >&5
27414 sed 's/^/| /' conftest.
$ac_ext >&5
27418 rm -f conftest.err conftest.
$ac_objext \
27419 conftest
$ac_exeext conftest.
$ac_ext
27423 cat >conftest.
$ac_ext <<_ACEOF
27424 __thread int a; int b; int main() { return a = b; }
27426 rm -f conftest
$ac_exeext
27427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27428 (eval $ac_link) 2>&5
27430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27431 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27433 (eval $ac_try) 2>&5
27435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27436 (exit $ac_status); }; }; then
27437 chktls_save_LDFLAGS
="$LDFLAGS"
27438 LDFLAGS
="-static $LDFLAGS"
27439 if test x
$gcc_no_link = xyes
; then
27440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27442 { (exit 1); exit 1; }; }
27444 cat >conftest.
$ac_ext <<_ACEOF
27445 int main() { return 0; }
27447 rm -f conftest.
$ac_objext conftest
$ac_exeext
27448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27449 (eval $ac_link) 2>conftest.er1
27451 grep -v '^ *+' conftest.er1
>conftest.err
27453 cat conftest.err
>&5
27454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27455 (exit $ac_status); } &&
27456 { ac_try
='test -z "$ac_c_werror_flag"
27457 || test ! -s conftest.err'
27458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27459 (eval $ac_try) 2>&5
27461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27462 (exit $ac_status); }; } &&
27463 { ac_try
='test -s conftest$ac_exeext'
27464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27465 (eval $ac_try) 2>&5
27467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27468 (exit $ac_status); }; }; then
27469 if test "$cross_compiling" = yes; then
27470 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27471 See \`config.log' for more details." >&5
27472 echo "$as_me: error: cannot run test program while cross compiling
27473 See \`config.log' for more details." >&2;}
27474 { (exit 1); exit 1; }; }
27476 cat >conftest.
$ac_ext <<_ACEOF
27477 __thread int a; int b; int main() { return a = b; }
27479 rm -f conftest
$ac_exeext
27480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27481 (eval $ac_link) 2>&5
27483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27484 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27486 (eval $ac_try) 2>&5
27488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27489 (exit $ac_status); }; }; then
27490 gcc_cv_have_tls
=yes
27492 echo "$as_me: program exited with status $ac_status" >&5
27493 echo "$as_me: failed program was:" >&5
27494 sed 's/^/| /' conftest.
$ac_ext >&5
27496 ( exit $ac_status )
27499 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27502 echo "$as_me: failed program was:" >&5
27503 sed 's/^/| /' conftest.
$ac_ext >&5
27505 gcc_cv_have_tls
=yes
27507 rm -f conftest.err conftest.
$ac_objext \
27508 conftest
$ac_exeext conftest.
$ac_ext
27509 LDFLAGS
="$chktls_save_LDFLAGS"
27510 if test $gcc_cv_have_tls = yes; then
27511 chktls_save_CFLAGS
="$CFLAGS"
27512 thread_CFLAGS
=failed
27513 for flag
in '' '-pthread' '-lpthread'; do
27514 CFLAGS
="$flag $chktls_save_CFLAGS"
27515 if test x
$gcc_no_link = xyes
; then
27516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27518 { (exit 1); exit 1; }; }
27520 cat >conftest.
$ac_ext <<_ACEOF
27523 cat confdefs.h
>>conftest.
$ac_ext
27524 cat >>conftest.
$ac_ext <<_ACEOF
27525 /* end confdefs.h. */
27526 #include <pthread.h>
27527 void *g(void *d) { return NULL; }
27531 pthread_t t; pthread_create(&t,NULL,g,NULL);
27536 rm -f conftest.
$ac_objext conftest
$ac_exeext
27537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27538 (eval $ac_link) 2>conftest.er1
27540 grep -v '^ *+' conftest.er1
>conftest.err
27542 cat conftest.err
>&5
27543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27544 (exit $ac_status); } &&
27545 { ac_try
='test -z "$ac_c_werror_flag"
27546 || test ! -s conftest.err'
27547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27548 (eval $ac_try) 2>&5
27550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27551 (exit $ac_status); }; } &&
27552 { ac_try
='test -s conftest$ac_exeext'
27553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27554 (eval $ac_try) 2>&5
27556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27557 (exit $ac_status); }; }; then
27558 thread_CFLAGS
="$flag"
27560 echo "$as_me: failed program was:" >&5
27561 sed 's/^/| /' conftest.
$ac_ext >&5
27564 rm -f conftest.err conftest.
$ac_objext \
27565 conftest
$ac_exeext conftest.
$ac_ext
27566 if test "X$thread_CFLAGS" != Xfailed
; then
27570 CFLAGS
="$chktls_save_CFLAGS"
27571 if test "X$thread_CFLAGS" != Xfailed
; then
27572 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
27573 if test "$cross_compiling" = yes; then
27574 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27575 See \`config.log' for more details." >&5
27576 echo "$as_me: error: cannot run test program while cross compiling
27577 See \`config.log' for more details." >&2;}
27578 { (exit 1); exit 1; }; }
27580 cat >conftest.
$ac_ext <<_ACEOF
27583 cat confdefs.h
>>conftest.
$ac_ext
27584 cat >>conftest.
$ac_ext <<_ACEOF
27585 /* end confdefs.h. */
27586 #include <pthread.h>
27588 static int *a_in_other_thread;
27590 thread_func (void *arg)
27592 a_in_other_thread = &a;
27599 void *thread_retval;
27600 int *a_in_main_thread;
27601 if (pthread_create (&thread, (pthread_attr_t *)0,
27602 thread_func, (void *)0))
27604 a_in_main_thread = &a;
27605 if (pthread_join (thread, &thread_retval))
27607 return (a_in_other_thread == a_in_main_thread);
27612 rm -f conftest
$ac_exeext
27613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27614 (eval $ac_link) 2>&5
27616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27617 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27619 (eval $ac_try) 2>&5
27621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27622 (exit $ac_status); }; }; then
27623 gcc_cv_have_tls
=yes
27625 echo "$as_me: program exited with status $ac_status" >&5
27626 echo "$as_me: failed program was:" >&5
27627 sed 's/^/| /' conftest.
$ac_ext >&5
27629 ( exit $ac_status )
27632 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27634 CFLAGS
="$chktls_save_CFLAGS"
27638 echo "$as_me: program exited with status $ac_status" >&5
27639 echo "$as_me: failed program was:" >&5
27640 sed 's/^/| /' conftest.
$ac_ext >&5
27642 ( exit $ac_status )
27645 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27648 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
27649 echo "${ECHO_T}$gcc_cv_have_tls" >&6
27650 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27652 cat >>confdefs.h
<<\_ACEOF
27658 # For _Unwind_GetIPInfo.
27663 ac_cpp
='$CXXCPP $CPPFLAGS'
27664 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27665 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27666 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27668 ac_save_CXXFLAGS
="$CXXFLAGS"
27669 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
27670 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
27671 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
27672 if test "${gcc_cv_getipinfo+set}" = set; then
27673 echo $ECHO_N "(cached) $ECHO_C" >&6
27676 if test x
$gcc_no_link = xyes
; then
27677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27679 { (exit 1); exit 1; }; }
27681 cat >conftest.
$ac_ext <<_ACEOF
27684 cat confdefs.h
>>conftest.
$ac_ext
27685 cat >>conftest.
$ac_ext <<_ACEOF
27686 /* end confdefs.h. */
27687 extern "C" { extern void _Unwind_GetIPInfo(); }
27691 _Unwind_GetIPInfo();
27696 rm -f conftest.
$ac_objext conftest
$ac_exeext
27697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27698 (eval $ac_link) 2>conftest.er1
27700 grep -v '^ *+' conftest.er1
>conftest.err
27702 cat conftest.err
>&5
27703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27704 (exit $ac_status); } &&
27705 { ac_try
='test -z "$ac_cxx_werror_flag"
27706 || test ! -s conftest.err'
27707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27708 (eval $ac_try) 2>&5
27710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27711 (exit $ac_status); }; } &&
27712 { ac_try
='test -s conftest$ac_exeext'
27713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27714 (eval $ac_try) 2>&5
27716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27717 (exit $ac_status); }; }; then
27718 gcc_cv_getipinfo
=yes
27720 echo "$as_me: failed program was:" >&5
27721 sed 's/^/| /' conftest.
$ac_ext >&5
27723 gcc_cv_getipinfo
=no
27725 rm -f conftest.err conftest.
$ac_objext \
27726 conftest
$ac_exeext conftest.
$ac_ext
27730 if test $gcc_cv_getipinfo = yes; then
27732 cat >>confdefs.h
<<\_ACEOF
27733 #define HAVE_GETIPINFO 1
27737 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
27738 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
27739 CXXFLAGS
="$ac_save_CXXFLAGS"
27741 ac_cpp
='$CPP $CPPFLAGS'
27742 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27743 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27744 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27748 # See if linker supports anonymous version scripts.
27749 echo "$as_me:$LINENO: checking whether ld supports anonymous version scripts" >&5
27750 echo $ECHO_N "checking whether ld supports anonymous version scripts... $ECHO_C" >&6
27751 if test "${libjava_cv_anon_version_script+set}" = set; then
27752 echo $ECHO_N "(cached) $ECHO_C" >&6
27754 save_CFLAGS
="$CFLAGS"; save_LDFLAGS
="$LDFLAGS"
27755 libjava_cv_anon_version_script
=no
27756 CFLAGS
="$CFLAGS -fPIC"; LDFLAGS
="$LDFLAGS -shared -Wl,--version-script,conftest.map"
27757 echo '{ global: globalsymb*; local: *; };' > conftest.map
27758 if test x
$gcc_no_link = xyes
; then
27759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27761 { (exit 1); exit 1; }; }
27763 cat >conftest.
$ac_ext <<_ACEOF
27766 cat confdefs.h
>>conftest.
$ac_ext
27767 cat >>conftest.
$ac_ext <<_ACEOF
27768 /* end confdefs.h. */
27769 void globalsymbol (void) {} void localsymbol (void) {}
27778 rm -f conftest.
$ac_objext conftest
$ac_exeext
27779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27780 (eval $ac_link) 2>conftest.er1
27782 grep -v '^ *+' conftest.er1
>conftest.err
27784 cat conftest.err
>&5
27785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27786 (exit $ac_status); } &&
27787 { ac_try
='test -z "$ac_c_werror_flag"
27788 || test ! -s conftest.err'
27789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27790 (eval $ac_try) 2>&5
27792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27793 (exit $ac_status); }; } &&
27794 { ac_try
='test -s conftest$ac_exeext'
27795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27796 (eval $ac_try) 2>&5
27798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27799 (exit $ac_status); }; }; then
27800 libjava_cv_anon_version_script
=yes
27802 echo "$as_me: failed program was:" >&5
27803 sed 's/^/| /' conftest.
$ac_ext >&5
27806 rm -f conftest.err conftest.
$ac_objext \
27807 conftest
$ac_exeext conftest.
$ac_ext
27808 CFLAGS
="$save_CFLAGS"; LDFLAGS
="$save_LDFLAGS"
27811 echo "$as_me:$LINENO: result: $libjava_cv_anon_version_script" >&5
27812 echo "${ECHO_T}$libjava_cv_anon_version_script" >&6
27815 if test "$libjava_cv_anon_version_script" = yes; then
27816 ANONVERSCRIPT_TRUE
=
27817 ANONVERSCRIPT_FALSE
='#'
27819 ANONVERSCRIPT_TRUE
='#'
27820 ANONVERSCRIPT_FALSE
=
27824 # Check if linker supports static linking on a per library basis
27825 LD_START_STATIC_SPEC
=
27826 LD_FINISH_STATIC_SPEC
=
27827 if $LD --help 2>&1 |
grep -q -e -call_shared ; then
27828 if $LD --help 2>&1 |
grep -q -e -non_shared ; then
27829 LD_START_STATIC_SPEC
='%{static-libgcj:-non_shared}'
27830 LD_FINISH_STATIC_SPEC
='%{static-libgcj:-call_shared}'
27836 here
=`${PWDCMD-pwd}`
27839 # We get this from the environment.
27842 ac_config_files
="$ac_config_files Makefile libgcj.pc libgcj.spec libgcj-test.spec gcj/Makefile include/Makefile testsuite/Makefile"
27845 if test ${multilib} = yes; then
27846 multilib_arg
="--enable-multilib"
27851 ac_config_files
="$ac_config_files scripts/jar"
27853 cat >confcache
<<\_ACEOF
27854 # This file is a shell script that caches the results of configure
27855 # tests run on this system so they can be shared between configure
27856 # scripts and configure runs, see configure's option --config-cache.
27857 # It is not useful on other systems. If it contains results you don't
27858 # want to keep, you may remove or edit it.
27860 # config.status only pays attention to the cache file if you give it
27861 # the --recheck option to rerun configure.
27863 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27864 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27865 # following values.
27869 # The following way of writing the cache mishandles newlines in values,
27870 # but we know of no workaround that is simple, portable, and efficient.
27871 # So, don't put newlines in cache variables' values.
27872 # Ultrix sh set writes to stderr and can't be redirected directly,
27873 # and sets the high bit in the cache file unless we assign to the vars.
27876 case `(ac_space=' '; set | grep ac_space) 2>&1` in
27878 # `set' does not quote correctly, so add quotes (double-quote
27879 # substitution turns \\\\ into \\, and sed turns \\ into \).
27882 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27885 # `set' quotes correctly as required by POSIX, so do not add quotes.
27887 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
27894 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27896 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27898 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
27899 if test -w $cache_file; then
27900 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
27901 cat confcache
>$cache_file
27903 echo "not updating unwritable cache $cache_file"
27908 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
27909 # Let make expand exec_prefix.
27910 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
27912 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27913 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27914 # trailing colons and then remove the whole line if VPATH becomes empty
27915 # (actually we leave an empty line to preserve line numbers).
27916 if test "x$srcdir" = x.
; then
27917 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
27918 s/:*\$(srcdir):*/:/;
27919 s/:*\${srcdir}:*/:/;
27921 s/^\([^=]*=[ ]*\):*/\1/;
27927 DEFS
=-DHAVE_CONFIG_H
27931 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
27932 # 1. Remove the extension, and $U if already installed.
27933 ac_i
=`echo "$ac_i" |
27934 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
27936 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
27937 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
27939 LIBOBJS
=$ac_libobjs
27941 LTLIBOBJS
=$ac_ltlibobjs
27944 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
27945 { { echo "$as_me:$LINENO: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
27946 Usually this means the macro was only invoked conditionally." >&5
27947 echo "$as_me: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
27948 Usually this means the macro was only invoked conditionally." >&2;}
27949 { (exit 1); exit 1; }; }
27951 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
27952 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
27953 Usually this means the macro was only invoked conditionally." >&5
27954 echo "$as_me: error: conditional \"AMDEP\" was never defined.
27955 Usually this means the macro was only invoked conditionally." >&2;}
27956 { (exit 1); exit 1; }; }
27958 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27959 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
27960 Usually this means the macro was only invoked conditionally." >&5
27961 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
27962 Usually this means the macro was only invoked conditionally." >&2;}
27963 { (exit 1); exit 1; }; }
27965 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
27966 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
27967 Usually this means the macro was only invoked conditionally." >&5
27968 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
27969 Usually this means the macro was only invoked conditionally." >&2;}
27970 { (exit 1); exit 1; }; }
27972 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
27973 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
27974 Usually this means the macro was only invoked conditionally." >&5
27975 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
27976 Usually this means the macro was only invoked conditionally." >&2;}
27977 { (exit 1); exit 1; }; }
27979 if test -z "${XLIB_AWT_TRUE}" && test -z "${XLIB_AWT_FALSE}"; then
27980 { { echo "$as_me:$LINENO: error: conditional \"XLIB_AWT\" was never defined.
27981 Usually this means the macro was only invoked conditionally." >&5
27982 echo "$as_me: error: conditional \"XLIB_AWT\" was never defined.
27983 Usually this means the macro was only invoked conditionally." >&2;}
27984 { (exit 1); exit 1; }; }
27986 if test -z "${X_AWT_TRUE}" && test -z "${X_AWT_FALSE}"; then
27987 { { echo "$as_me:$LINENO: error: conditional \"X_AWT\" was never defined.
27988 Usually this means the macro was only invoked conditionally." >&5
27989 echo "$as_me: error: conditional \"X_AWT\" was never defined.
27990 Usually this means the macro was only invoked conditionally." >&2;}
27991 { (exit 1); exit 1; }; }
27993 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
27994 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
27995 Usually this means the macro was only invoked conditionally." >&5
27996 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
27997 Usually this means the macro was only invoked conditionally." >&2;}
27998 { (exit 1); exit 1; }; }
28000 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
28001 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
28002 Usually this means the macro was only invoked conditionally." >&5
28003 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
28004 Usually this means the macro was only invoked conditionally." >&2;}
28005 { (exit 1); exit 1; }; }
28007 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
28008 { { echo "$as_me:$LINENO: error: conditional \"TESTSUBDIR\" was never defined.
28009 Usually this means the macro was only invoked conditionally." >&5
28010 echo "$as_me: error: conditional \"TESTSUBDIR\" was never defined.
28011 Usually this means the macro was only invoked conditionally." >&2;}
28012 { (exit 1); exit 1; }; }
28014 if test -z "${BUILD_ECJ1_TRUE}" && test -z "${BUILD_ECJ1_FALSE}"; then
28015 { { echo "$as_me:$LINENO: error: conditional \"BUILD_ECJ1\" was never defined.
28016 Usually this means the macro was only invoked conditionally." >&5
28017 echo "$as_me: error: conditional \"BUILD_ECJ1\" was never defined.
28018 Usually this means the macro was only invoked conditionally." >&2;}
28019 { (exit 1); exit 1; }; }
28021 if test -z "${INSTALL_ECJ_JAR_TRUE}" && test -z "${INSTALL_ECJ_JAR_FALSE}"; then
28022 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_ECJ_JAR\" was never defined.
28023 Usually this means the macro was only invoked conditionally." >&5
28024 echo "$as_me: error: conditional \"INSTALL_ECJ_JAR\" was never defined.
28025 Usually this means the macro was only invoked conditionally." >&2;}
28026 { (exit 1); exit 1; }; }
28028 if test -z "${JAVA_HOME_SET_TRUE}" && test -z "${JAVA_HOME_SET_FALSE}"; then
28029 { { echo "$as_me:$LINENO: error: conditional \"JAVA_HOME_SET\" was never defined.
28030 Usually this means the macro was only invoked conditionally." >&5
28031 echo "$as_me: error: conditional \"JAVA_HOME_SET\" was never defined.
28032 Usually this means the macro was only invoked conditionally." >&2;}
28033 { (exit 1); exit 1; }; }
28035 if test -z "${SUPPRESS_LIBGCJ_BC_TRUE}" && test -z "${SUPPRESS_LIBGCJ_BC_FALSE}"; then
28036 { { echo "$as_me:$LINENO: error: conditional \"SUPPRESS_LIBGCJ_BC\" was never defined.
28037 Usually this means the macro was only invoked conditionally." >&5
28038 echo "$as_me: error: conditional \"SUPPRESS_LIBGCJ_BC\" was never defined.
28039 Usually this means the macro was only invoked conditionally." >&2;}
28040 { (exit 1); exit 1; }; }
28042 if test -z "${INTERPRETER_TRUE}" && test -z "${INTERPRETER_FALSE}"; then
28043 { { echo "$as_me:$LINENO: error: conditional \"INTERPRETER\" was never defined.
28044 Usually this means the macro was only invoked conditionally." >&5
28045 echo "$as_me: error: conditional \"INTERPRETER\" was never defined.
28046 Usually this means the macro was only invoked conditionally." >&2;}
28047 { (exit 1); exit 1; }; }
28049 if test -z "${USING_WIN32_PLATFORM_TRUE}" && test -z "${USING_WIN32_PLATFORM_FALSE}"; then
28050 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
28051 Usually this means the macro was only invoked conditionally." >&5
28052 echo "$as_me: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
28053 Usually this means the macro was only invoked conditionally." >&2;}
28054 { (exit 1); exit 1; }; }
28056 if test -z "${USING_POSIX_PLATFORM_TRUE}" && test -z "${USING_POSIX_PLATFORM_FALSE}"; then
28057 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
28058 Usually this means the macro was only invoked conditionally." >&5
28059 echo "$as_me: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
28060 Usually this means the macro was only invoked conditionally." >&2;}
28061 { (exit 1); exit 1; }; }
28063 if test -z "${USING_DARWIN_CRT_TRUE}" && test -z "${USING_DARWIN_CRT_FALSE}"; then
28064 { { echo "$as_me:$LINENO: error: conditional \"USING_DARWIN_CRT\" was never defined.
28065 Usually this means the macro was only invoked conditionally." >&5
28066 echo "$as_me: error: conditional \"USING_DARWIN_CRT\" was never defined.
28067 Usually this means the macro was only invoked conditionally." >&2;}
28068 { (exit 1); exit 1; }; }
28070 if test -z "${USING_BOEHMGC_TRUE}" && test -z "${USING_BOEHMGC_FALSE}"; then
28071 { { echo "$as_me:$LINENO: error: conditional \"USING_BOEHMGC\" was never defined.
28072 Usually this means the macro was only invoked conditionally." >&5
28073 echo "$as_me: error: conditional \"USING_BOEHMGC\" was never defined.
28074 Usually this means the macro was only invoked conditionally." >&2;}
28075 { (exit 1); exit 1; }; }
28077 if test -z "${USING_NOGC_TRUE}" && test -z "${USING_NOGC_FALSE}"; then
28078 { { echo "$as_me:$LINENO: error: conditional \"USING_NOGC\" was never defined.
28079 Usually this means the macro was only invoked conditionally." >&5
28080 echo "$as_me: error: conditional \"USING_NOGC\" was never defined.
28081 Usually this means the macro was only invoked conditionally." >&2;}
28082 { (exit 1); exit 1; }; }
28084 if test -z "${USING_POSIX_THREADS_TRUE}" && test -z "${USING_POSIX_THREADS_FALSE}"; then
28085 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_THREADS\" was never defined.
28086 Usually this means the macro was only invoked conditionally." >&5
28087 echo "$as_me: error: conditional \"USING_POSIX_THREADS\" was never defined.
28088 Usually this means the macro was only invoked conditionally." >&2;}
28089 { (exit 1); exit 1; }; }
28091 if test -z "${USING_WIN32_THREADS_TRUE}" && test -z "${USING_WIN32_THREADS_FALSE}"; then
28092 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_THREADS\" was never defined.
28093 Usually this means the macro was only invoked conditionally." >&5
28094 echo "$as_me: error: conditional \"USING_WIN32_THREADS\" was never defined.
28095 Usually this means the macro was only invoked conditionally." >&2;}
28096 { (exit 1); exit 1; }; }
28098 if test -z "${USING_NO_THREADS_TRUE}" && test -z "${USING_NO_THREADS_FALSE}"; then
28099 { { echo "$as_me:$LINENO: error: conditional \"USING_NO_THREADS\" was never defined.
28100 Usually this means the macro was only invoked conditionally." >&5
28101 echo "$as_me: error: conditional \"USING_NO_THREADS\" was never defined.
28102 Usually this means the macro was only invoked conditionally." >&2;}
28103 { (exit 1); exit 1; }; }
28105 if test -z "${USE_LIBGCJ_BC_TRUE}" && test -z "${USE_LIBGCJ_BC_FALSE}"; then
28106 { { echo "$as_me:$LINENO: error: conditional \"USE_LIBGCJ_BC\" was never defined.
28107 Usually this means the macro was only invoked conditionally." >&5
28108 echo "$as_me: error: conditional \"USE_LIBGCJ_BC\" was never defined.
28109 Usually this means the macro was only invoked conditionally." >&2;}
28110 { (exit 1); exit 1; }; }
28112 if test -z "${USING_GCC_TRUE}" && test -z "${USING_GCC_FALSE}"; then
28113 { { echo "$as_me:$LINENO: error: conditional \"USING_GCC\" was never defined.
28114 Usually this means the macro was only invoked conditionally." >&5
28115 echo "$as_me: error: conditional \"USING_GCC\" was never defined.
28116 Usually this means the macro was only invoked conditionally." >&2;}
28117 { (exit 1); exit 1; }; }
28119 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
28120 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
28121 Usually this means the macro was only invoked conditionally." >&5
28122 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
28123 Usually this means the macro was only invoked conditionally." >&2;}
28124 { (exit 1); exit 1; }; }
28126 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
28127 { { echo "$as_me:$LINENO: error: conditional \"NATIVE\" was never defined.
28128 Usually this means the macro was only invoked conditionally." >&5
28129 echo "$as_me: error: conditional \"NATIVE\" was never defined.
28130 Usually this means the macro was only invoked conditionally." >&2;}
28131 { (exit 1); exit 1; }; }
28133 if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
28134 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SHARED\" was never defined.
28135 Usually this means the macro was only invoked conditionally." >&5
28136 echo "$as_me: error: conditional \"ENABLE_SHARED\" was never defined.
28137 Usually this means the macro was only invoked conditionally." >&2;}
28138 { (exit 1); exit 1; }; }
28140 if test -z "${NEEDS_DATA_START_TRUE}" && test -z "${NEEDS_DATA_START_FALSE}"; then
28141 { { echo "$as_me:$LINENO: error: conditional \"NEEDS_DATA_START\" was never defined.
28142 Usually this means the macro was only invoked conditionally." >&5
28143 echo "$as_me: error: conditional \"NEEDS_DATA_START\" was never defined.
28144 Usually this means the macro was only invoked conditionally." >&2;}
28145 { (exit 1); exit 1; }; }
28147 if test -z "${ANONVERSCRIPT_TRUE}" && test -z "${ANONVERSCRIPT_FALSE}"; then
28148 { { echo "$as_me:$LINENO: error: conditional \"ANONVERSCRIPT\" was never defined.
28149 Usually this means the macro was only invoked conditionally." >&5
28150 echo "$as_me: error: conditional \"ANONVERSCRIPT\" was never defined.
28151 Usually this means the macro was only invoked conditionally." >&2;}
28152 { (exit 1); exit 1; }; }
28155 : ${CONFIG_STATUS=./config.status}
28156 ac_clean_files_save
=$ac_clean_files
28157 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
28158 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
28159 echo "$as_me: creating $CONFIG_STATUS" >&6;}
28160 cat >$CONFIG_STATUS <<_ACEOF
28162 # Generated by $as_me.
28163 # Run this file to recreate the current configuration.
28164 # Compiler output produced by configure, useful for debugging
28165 # configure, is in config.log if it exists.
28168 ac_cs_recheck=false
28170 SHELL=\${CONFIG_SHELL-$SHELL}
28173 cat >>$CONFIG_STATUS <<\_ACEOF
28174 ## --------------------- ##
28175 ## M4sh Initialization. ##
28176 ## --------------------- ##
28178 # Be Bourne compatible
28179 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
28182 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
28183 # is contrary to our usage. Disable this feature.
28184 alias -g '${1+"$@"}'='"$@"'
28185 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
28188 DUALCASE
=1; export DUALCASE
# for MKS sh
28190 # Support unset when possible.
28191 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
28198 # Work around bugs in pre-3.0 UWIN ksh.
28199 $as_unset ENV MAIL MAILPATH
28206 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
28207 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
28208 LC_TELEPHONE LC_TIME
28210 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
28211 eval $as_var=C
; export $as_var
28217 # Required to use basename.
28218 if expr a
: '\(a\)' >/dev
/null
2>&1; then
28224 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
28225 as_basename
=basename
28231 # Name of the executable.
28232 as_me
=`$as_basename "$0" ||
28233 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
28234 X"$0" : 'X\(//\)$' \| \
28235 X"$0" : 'X\(/\)$' \| \
28236 . : '\(.\)' 2>/dev/null ||
28238 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
28239 /^X\/\(\/\/\)$/{ s//\1/; q; }
28240 /^X\/\(\/\).*/{ s//\1/; q; }
28244 # PATH needs CR, and LINENO needs CR and PATH.
28245 # Avoid depending upon Character Ranges.
28246 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
28247 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
28248 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
28249 as_cr_digits
='0123456789'
28250 as_cr_alnum
=$as_cr_Letters$as_cr_digits
28252 # The user is always right.
28253 if test "${PATH_SEPARATOR+set}" != set; then
28254 echo "#! /bin/sh" >conf$$.sh
28255 echo "exit 0" >>conf$$.sh
28257 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
28266 as_lineno_1
=$LINENO
28267 as_lineno_2
=$LINENO
28268 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
28269 test "x$as_lineno_1" != "x$as_lineno_2" &&
28270 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
28271 # Find who we are. Look in the path if we contain no path at all
28274 *[\\/]* ) as_myself
=$0 ;;
28275 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28276 for as_dir
in $PATH
28279 test -z "$as_dir" && as_dir
=.
28280 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
28285 # We did not find ourselves, most probably we were run as `sh COMMAND'
28286 # in which case we are not to be found in the path.
28287 if test "x$as_myself" = x
; then
28290 if test ! -f "$as_myself"; then
28291 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
28292 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
28293 { (exit 1); exit 1; }; }
28295 case $CONFIG_SHELL in
28297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28298 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
28301 test -z "$as_dir" && as_dir
=.
28302 for as_base
in sh bash ksh sh5
; do
28305 if ("$as_dir/$as_base" -c '
28306 as_lineno_1=$LINENO
28307 as_lineno_2=$LINENO
28308 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
28309 test "x$as_lineno_1" != "x$as_lineno_2" &&
28310 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
28311 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
28312 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
28313 CONFIG_SHELL
=$as_dir/$as_base
28314 export CONFIG_SHELL
28315 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
28323 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
28324 # uniformly replaced by the line number. The first 'sed' inserts a
28325 # line-number line before each line; the second 'sed' does the real
28326 # work. The second script uses 'N' to pair each line-number line
28327 # with the numbered line, and appends trailing '-' during
28328 # substitution so that $LINENO is not a special case at line end.
28329 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
28330 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
28331 sed '=' <$as_myself |
28336 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
28339 s,^['$as_cr_digits']*\n,,
28340 ' >$as_me.lineno
&&
28341 chmod +x
$as_me.lineno ||
28342 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
28343 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
28344 { (exit 1); exit 1; }; }
28346 # Don't try to exec as it changes $[0], causing all sort of problems
28347 # (the dirname of $[0] is not the place where we might find the
28348 # original and so on. Autoconf is especially sensible to this).
28350 # Exit status is that of the last command.
28355 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
28356 *c
*,-n*) ECHO_N
= ECHO_C
='
28358 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
28359 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
28362 if expr a
: '\(a\)' >/dev
/null
2>&1; then
28368 rm -f conf$$ conf$$.exe conf$$.
file
28370 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
28371 # We could just check for DJGPP; but this test a) works b) is more generic
28372 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
28373 if test -f conf$$.exe
; then
28374 # Don't use ln at all; we don't have any links
28379 elif ln conf$$.
file conf$$
2>/dev
/null
; then
28384 rm -f conf$$ conf$$.exe conf$$.
file
28386 if mkdir
-p .
2>/dev
/null
; then
28389 test -d .
/-p && rmdir .
/-p
28393 as_executable_p
="test -f"
28395 # Sed expression to map a string onto a valid CPP name.
28396 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
28398 # Sed expression to map a string onto a valid variable name.
28399 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
28403 # We need space, tab and new line, in precisely that order.
28413 # Open the log real soon, to keep \$[0] and so on meaningful, and to
28414 # report actual input values of CONFIG_FILES etc. instead of their
28415 # values after options handling. Logging --version etc. is OK.
28419 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
28420 ## Running $as_me. ##
28425 This file was extended by libjava $as_me version-unused, which was
28426 generated by GNU Autoconf 2.59. Invocation command line was
28428 CONFIG_FILES = $CONFIG_FILES
28429 CONFIG_HEADERS = $CONFIG_HEADERS
28430 CONFIG_LINKS = $CONFIG_LINKS
28431 CONFIG_COMMANDS = $CONFIG_COMMANDS
28435 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
28439 # Files that config.status was made for.
28440 if test -n "$ac_config_files"; then
28441 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
28444 if test -n "$ac_config_headers"; then
28445 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
28448 if test -n "$ac_config_links"; then
28449 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
28452 if test -n "$ac_config_commands"; then
28453 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
28456 cat >>$CONFIG_STATUS <<\_ACEOF
28459 \`$as_me' instantiates files from templates according to the
28460 current configuration.
28462 Usage: $0 [OPTIONS] [FILE]...
28464 -h, --help print this help, then exit
28465 -V, --version print version number, then exit
28466 -q, --quiet do not print progress messages
28467 -d, --debug don't remove temporary files
28468 --recheck update $as_me by reconfiguring in the same conditions
28469 --file=FILE[:TEMPLATE]
28470 instantiate the configuration file FILE
28471 --header=FILE[:TEMPLATE]
28472 instantiate the configuration header FILE
28474 Configuration files:
28477 Configuration headers:
28480 Configuration links:
28483 Configuration commands:
28486 Report bugs to <bug-autoconf@gnu.org>."
28489 cat >>$CONFIG_STATUS <<_ACEOF
28491 libjava config.status version-unused
28492 configured by $0, generated by GNU Autoconf 2.59,
28493 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
28495 Copyright (C) 2003 Free Software Foundation, Inc.
28496 This config.status script is free software; the Free Software Foundation
28497 gives unlimited permission to copy, distribute and modify it."
28502 cat >>$CONFIG_STATUS <<\_ACEOF
28503 # If no file are specified by the user, then we need to provide default
28504 # value. By we need to know if files were specified by the user.
28510 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
28511 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
28519 *) # This is not an option, so the user has probably given explicit
28522 ac_need_defaults
=false
;;
28526 # Handling of the options.
28528 cat >>$CONFIG_STATUS <<\_ACEOF
28529 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
28531 --version |
--vers* |
-V )
28532 echo "$ac_cs_version"; exit 0 ;;
28534 # Conflict between --help and --header
28535 { { echo "$as_me:$LINENO: error: ambiguous option: $1
28536 Try \`$0 --help' for more information." >&5
28537 echo "$as_me: error: ambiguous option: $1
28538 Try \`$0 --help' for more information." >&2;}
28539 { (exit 1); exit 1; }; };;
28540 --help |
--hel |
-h )
28541 echo "$ac_cs_usage"; exit 0 ;;
28542 --debug |
--d* |
-d )
28544 --file |
--fil |
--fi |
--f )
28546 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
28547 ac_need_defaults
=false
;;
28548 --header |
--heade |
--head |
--hea )
28550 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
28551 ac_need_defaults
=false
;;
28552 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
28553 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
28556 # This is an error.
28557 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
28558 Try \`$0 --help' for more information." >&5
28559 echo "$as_me: error: unrecognized option: $1
28560 Try \`$0 --help' for more information." >&2;}
28561 { (exit 1); exit 1; }; } ;;
28563 *) ac_config_targets
="$ac_config_targets $1" ;;
28569 ac_configure_extra_args
=
28571 if $ac_cs_silent; then
28573 ac_configure_extra_args
="$ac_configure_extra_args --silent"
28577 cat >>$CONFIG_STATUS <<_ACEOF
28578 if \$ac_cs_recheck; then
28579 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
28580 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
28585 cat >>$CONFIG_STATUS <<_ACEOF
28587 # INIT-COMMANDS section.
28594 with_multisubdir="$with_multisubdir"
28595 with_multisrctop="$with_multisrctop"
28596 with_target_subdir="$with_target_subdir"
28597 ac_configure_args="${multilib_arg} ${ac_configure_args}"
28598 multi_basedir="$multi_basedir"
28599 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
28601 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
28604 # The HP-UX ksh and POSIX shell print the target directory to stdout
28605 # if CDPATH is set.
28606 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
28608 sed_quote_subst='$sed_quote_subst'
28609 double_quote_subst='$double_quote_subst'
28610 delay_variable_subst='$delay_variable_subst'
28611 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
28612 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
28613 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
28614 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
28615 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
28616 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
28617 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
28618 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
28619 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
28620 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
28621 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
28622 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
28623 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
28624 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
28625 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
28626 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
28627 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
28628 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
28629 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
28630 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
28631 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
28632 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
28633 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
28634 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
28635 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
28636 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
28637 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
28638 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28639 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
28640 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
28641 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
28642 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
28643 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
28644 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
28645 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28646 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28647 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28648 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
28649 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
28650 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
28651 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
28652 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
28653 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
28654 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"`'
28655 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
28656 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
28657 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
28658 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
28659 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
28660 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
28661 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
28662 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
28663 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
28664 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
28665 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
28666 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28667 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28668 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
28669 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
28670 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
28671 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
28672 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
28673 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28674 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28675 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28676 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28677 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28678 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28679 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
28680 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
28681 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
28682 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
28683 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
28684 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
28685 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
28686 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
28687 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
28688 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
28689 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
28690 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
28691 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
28692 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
28693 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
28694 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28695 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
28696 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
28697 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28698 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
28699 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
28700 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
28701 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
28702 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
28703 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
28704 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
28705 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
28706 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
28707 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
28708 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
28709 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28710 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28711 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28712 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
28713 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
28714 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
28715 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
28716 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
28717 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
28718 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
28719 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
28720 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
28721 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
28722 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
28723 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
28724 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
28725 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
28726 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
28727 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28728 LD_GCJ='`$ECHO "X$LD_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28729 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28730 old_archive_cmds_GCJ='`$ECHO "X$old_archive_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28731 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28732 compiler_GCJ='`$ECHO "X$compiler_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28733 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28734 GCC_GCJ='`$ECHO "X$GCC_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28735 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28736 lt_prog_compiler_no_builtin_flag_GCJ='`$ECHO "X$lt_prog_compiler_no_builtin_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28737 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28738 lt_prog_compiler_wl_GCJ='`$ECHO "X$lt_prog_compiler_wl_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28739 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28740 lt_prog_compiler_pic_GCJ='`$ECHO "X$lt_prog_compiler_pic_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28741 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28742 lt_prog_compiler_static_GCJ='`$ECHO "X$lt_prog_compiler_static_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28743 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28744 lt_cv_prog_compiler_c_o_GCJ='`$ECHO "X$lt_cv_prog_compiler_c_o_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28745 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28746 archive_cmds_need_lc_GCJ='`$ECHO "X$archive_cmds_need_lc_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28747 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28748 enable_shared_with_static_runtimes_GCJ='`$ECHO "X$enable_shared_with_static_runtimes_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28749 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28750 export_dynamic_flag_spec_GCJ='`$ECHO "X$export_dynamic_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28751 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28752 whole_archive_flag_spec_GCJ='`$ECHO "X$whole_archive_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28753 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28754 compiler_needs_object_GCJ='`$ECHO "X$compiler_needs_object_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28755 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28756 old_archive_from_new_cmds_GCJ='`$ECHO "X$old_archive_from_new_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28757 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28758 old_archive_from_expsyms_cmds_GCJ='`$ECHO "X$old_archive_from_expsyms_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28759 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28760 archive_cmds_GCJ='`$ECHO "X$archive_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28761 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28762 archive_expsym_cmds_GCJ='`$ECHO "X$archive_expsym_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28763 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28764 module_cmds_GCJ='`$ECHO "X$module_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28765 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28766 module_expsym_cmds_GCJ='`$ECHO "X$module_expsym_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28767 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28768 with_gnu_ld_GCJ='`$ECHO "X$with_gnu_ld_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28769 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28770 allow_undefined_flag_GCJ='`$ECHO "X$allow_undefined_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28771 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28772 no_undefined_flag_GCJ='`$ECHO "X$no_undefined_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28773 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28774 hardcode_libdir_flag_spec_GCJ='`$ECHO "X$hardcode_libdir_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28775 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28776 hardcode_libdir_flag_spec_ld_GCJ='`$ECHO "X$hardcode_libdir_flag_spec_ld_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28777 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28778 hardcode_libdir_separator_GCJ='`$ECHO "X$hardcode_libdir_separator_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28779 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28780 hardcode_direct_GCJ='`$ECHO "X$hardcode_direct_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28781 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28782 hardcode_direct_absolute_GCJ='`$ECHO "X$hardcode_direct_absolute_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28783 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28784 hardcode_minus_L_GCJ='`$ECHO "X$hardcode_minus_L_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28785 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28786 hardcode_shlibpath_var_GCJ='`$ECHO "X$hardcode_shlibpath_var_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28787 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28788 hardcode_automatic_GCJ='`$ECHO "X$hardcode_automatic_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28789 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28790 inherit_rpath_GCJ='`$ECHO "X$inherit_rpath_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28791 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28792 link_all_deplibs_GCJ='`$ECHO "X$link_all_deplibs_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28793 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28794 fix_srcfile_path_GCJ='`$ECHO "X$fix_srcfile_path_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28795 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28796 always_export_symbols_GCJ='`$ECHO "X$always_export_symbols_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28797 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28798 export_symbols_cmds_GCJ='`$ECHO "X$export_symbols_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28799 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28800 exclude_expsyms_GCJ='`$ECHO "X$exclude_expsyms_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28801 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28802 include_expsyms_GCJ='`$ECHO "X$include_expsyms_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28803 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28804 prelink_cmds_GCJ='`$ECHO "X$prelink_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28805 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28806 file_list_spec_GCJ='`$ECHO "X$file_list_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28807 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28808 hardcode_action_GCJ='`$ECHO "X$hardcode_action_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28809 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28810 predep_objects_GCJ='`$ECHO "X$predep_objects_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28811 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28812 postdep_objects_GCJ='`$ECHO "X$postdep_objects_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28813 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28814 predeps_GCJ='`$ECHO "X$predeps_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28815 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28816 postdeps_GCJ='`$ECHO "X$postdeps_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28817 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28818 compiler_lib_search_path_GCJ='`$ECHO "X$compiler_lib_search_path_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28821 LTCFLAGS='$LTCFLAGS'
28822 compiler='$compiler_DEFAULT'
28824 # Quote evaled strings.
28835 deplibs_check_method \
28844 lt_cv_sys_global_symbol_pipe \
28845 lt_cv_sys_global_symbol_to_cdecl \
28846 lt_cv_sys_global_symbol_to_c_name_address \
28849 lt_prog_compiler_no_builtin_flag \
28850 lt_prog_compiler_wl \
28851 lt_prog_compiler_pic \
28852 lt_prog_compiler_static \
28853 lt_cv_prog_compiler_c_o \
28856 export_dynamic_flag_spec \
28857 whole_archive_flag_spec \
28858 compiler_needs_object \
28860 allow_undefined_flag \
28861 no_undefined_flag \
28862 hardcode_libdir_flag_spec \
28863 hardcode_libdir_flag_spec_ld \
28864 hardcode_libdir_separator \
28869 variables_saved_for_relink \
28871 library_names_spec \
28880 compiler_lib_search_path \
28885 lt_prog_compiler_no_builtin_flag_CXX \
28886 lt_prog_compiler_no_builtin_flag_GCJ \
28887 lt_prog_compiler_wl_CXX \
28888 lt_prog_compiler_wl_GCJ \
28889 lt_prog_compiler_pic_CXX \
28890 lt_prog_compiler_pic_GCJ \
28891 lt_prog_compiler_static_CXX \
28892 lt_prog_compiler_static_GCJ \
28893 lt_cv_prog_compiler_c_o_CXX \
28894 lt_cv_prog_compiler_c_o_GCJ \
28895 export_dynamic_flag_spec_CXX \
28896 export_dynamic_flag_spec_GCJ \
28897 whole_archive_flag_spec_CXX \
28898 whole_archive_flag_spec_GCJ \
28899 compiler_needs_object_CXX \
28900 compiler_needs_object_GCJ \
28903 allow_undefined_flag_CXX \
28904 allow_undefined_flag_GCJ \
28905 no_undefined_flag_CXX \
28906 no_undefined_flag_GCJ \
28907 hardcode_libdir_flag_spec_CXX \
28908 hardcode_libdir_flag_spec_GCJ \
28909 hardcode_libdir_flag_spec_ld_CXX \
28910 hardcode_libdir_flag_spec_ld_GCJ \
28911 hardcode_libdir_separator_CXX \
28912 hardcode_libdir_separator_GCJ \
28913 fix_srcfile_path_CXX \
28914 fix_srcfile_path_GCJ \
28915 exclude_expsyms_CXX \
28916 exclude_expsyms_GCJ \
28917 include_expsyms_CXX \
28918 include_expsyms_GCJ \
28919 file_list_spec_CXX \
28920 file_list_spec_GCJ \
28921 predep_objects_CXX \
28922 predep_objects_GCJ \
28923 postdep_objects_CXX \
28924 postdep_objects_GCJ \
28929 compiler_lib_search_path_CXX \
28930 compiler_lib_search_path_GCJ; do
28931 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
28932 *[\\\\\\\`\\"\\\$]*)
28933 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
28936 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
28941 # Double-quote double-evaled strings.
28942 for var in reload_cmds \
28943 old_postinstall_cmds \
28944 old_postuninstall_cmds \
28946 extract_expsyms_cmds \
28947 old_archive_from_new_cmds \
28948 old_archive_from_expsyms_cmds \
28950 archive_expsym_cmds \
28952 module_expsym_cmds \
28953 export_symbols_cmds \
28956 postuninstall_cmds \
28958 sys_lib_search_path_spec \
28959 sys_lib_dlsearch_path_spec \
28960 old_archive_cmds_CXX \
28961 old_archive_cmds_GCJ \
28962 old_archive_from_new_cmds_CXX \
28963 old_archive_from_new_cmds_GCJ \
28964 old_archive_from_expsyms_cmds_CXX \
28965 old_archive_from_expsyms_cmds_GCJ \
28968 archive_expsym_cmds_CXX \
28969 archive_expsym_cmds_GCJ \
28972 module_expsym_cmds_CXX \
28973 module_expsym_cmds_GCJ \
28974 export_symbols_cmds_CXX \
28975 export_symbols_cmds_GCJ \
28977 prelink_cmds_GCJ; do
28978 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
28979 *[\\\\\\\`\\"\\\$]*)
28980 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
28983 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
28988 # Fix-up fallback echo if it was mangled by the above quoting rules.
28990 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
28994 ac_aux_dir='$ac_aux_dir'
28995 xsi_shell='$xsi_shell'
28996 lt_shell_append='$lt_shell_append'
28998 # See if we are running on zsh, and set the options which allow our
28999 # commands through without removal of \ escapes INIT.
29000 if test -n "\${ZSH_VERSION+set}" ; then
29001 setopt NO_GLOB_SUBST
29007 TIMESTAMP='$TIMESTAMP'
29022 cat >>$CONFIG_STATUS <<\_ACEOF
29023 for ac_config_target
in $ac_config_targets
29025 case "$ac_config_target" in
29026 # Handling of arguments.
29027 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
29028 "libgcj.pc" ) CONFIG_FILES
="$CONFIG_FILES libgcj.pc" ;;
29029 "libgcj.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj.spec" ;;
29030 "libgcj-test.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj-test.spec" ;;
29031 "gcj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gcj/Makefile" ;;
29032 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
29033 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
29034 "scripts/jar" ) CONFIG_FILES
="$CONFIG_FILES scripts/jar" ;;
29035 "include/platform.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/platform.h:include/$PLATFORMH" ;;
29036 "java/io/natFile.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc" ;;
29037 "java/lang/natConcreteProcess.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc" ;;
29038 "java/net/natVMInetAddress.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc" ;;
29039 "java/net/natVMNetworkInterface.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc" ;;
29040 "gnu/java/net/natPlainSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc" ;;
29041 "gnu/java/net/natPlainDatagramSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc" ;;
29042 "gnu/java/nio/natVMPipe.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc" ;;
29043 "gnu/java/nio/natVMSelector.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc" ;;
29044 "gnu/java/nio/channels/natFileChannelImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc" ;;
29045 "include/java-gc.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-gc.h:include/$GCHDR" ;;
29046 "include/java-threads.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-threads.h:include/$THREADH" ;;
29047 "sysdep/locks.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/locks.h:sysdep/$sysdeps_dir/locks.h" ;;
29048 "sysdep/backtrace.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/backtrace.h:$fallback_backtrace_h" ;;
29049 "sysdep/descriptor.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/descriptor.h:$descriptor_h" ;;
29050 "include/java-signal.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal.h:$SIGNAL_HANDLER" ;;
29051 "include/java-signal-aux.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal-aux.h:$SIGNAL_HANDLER_AUX" ;;
29052 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
29053 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
29054 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
29055 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
29056 "gcj/libgcj-config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS gcj/libgcj-config.h" ;;
29057 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
29058 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
29059 { (exit 1); exit 1; }; };;
29063 # If the user did not use the arguments to specify the items to instantiate,
29064 # then the envvar interface is used. Set only those that are not.
29065 # We use the long form for the default assignment because of an extremely
29066 # bizarre bug on SunOS 4.1.3.
29067 if $ac_need_defaults; then
29068 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
29069 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
29070 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
29071 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
29074 # Have a temporary directory for convenience. Make it in the build tree
29075 # simply because there is no reason to put it here, and in addition,
29076 # creating and moving files from /tmp can sometimes cause problems.
29077 # Create a temporary directory, and hook for its removal unless debugging.
29080 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
29081 trap '{ (exit 1); exit 1; }' 1 2 13 15
29084 # Create a (secure) tmp directory for tmp files.
29087 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
29088 test -n "$tmp" && test -d "$tmp"
29091 tmp
=.
/confstat$$
-$RANDOM
29092 (umask 077 && mkdir
$tmp)
29095 echo "$me: cannot create a temporary directory in ." >&2
29096 { (exit 1); exit 1; }
29101 cat >>$CONFIG_STATUS <<_ACEOF
29104 # CONFIG_FILES section.
29107 # No need to generate the scripts if there are no CONFIG_FILES.
29108 # This happens for instance when ./config.status config.h
29109 if test -n "\$CONFIG_FILES"; then
29110 # Protect against being on the right side of a sed subst in config.status.
29111 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
29112 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
29113 s,@SHELL@,$SHELL,;t t
29114 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
29115 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
29116 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
29117 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
29118 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
29119 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
29120 s,@exec_prefix@,$exec_prefix,;t t
29121 s,@prefix@,$prefix,;t t
29122 s,@program_transform_name@,$program_transform_name,;t t
29123 s,@bindir@,$bindir,;t t
29124 s,@sbindir@,$sbindir,;t t
29125 s,@libexecdir@,$libexecdir,;t t
29126 s,@datadir@,$datadir,;t t
29127 s,@sysconfdir@,$sysconfdir,;t t
29128 s,@sharedstatedir@,$sharedstatedir,;t t
29129 s,@localstatedir@,$localstatedir,;t t
29130 s,@libdir@,$libdir,;t t
29131 s,@includedir@,$includedir,;t t
29132 s,@oldincludedir@,$oldincludedir,;t t
29133 s,@infodir@,$infodir,;t t
29134 s,@mandir@,$mandir,;t t
29135 s,@build_alias@,$build_alias,;t t
29136 s,@host_alias@,$host_alias,;t t
29137 s,@target_alias@,$target_alias,;t t
29138 s,@DEFS@,$DEFS,;t t
29139 s,@ECHO_C@,$ECHO_C,;t t
29140 s,@ECHO_N@,$ECHO_N,;t t
29141 s,@ECHO_T@,$ECHO_T,;t t
29142 s,@LIBS@,$LIBS,;t t
29143 s,@build@,$build,;t t
29144 s,@build_cpu@,$build_cpu,;t t
29145 s,@build_vendor@,$build_vendor,;t t
29146 s,@build_os@,$build_os,;t t
29147 s,@build_libsubdir@,$build_libsubdir,;t t
29148 s,@build_subdir@,$build_subdir,;t t
29149 s,@host_subdir@,$host_subdir,;t t
29150 s,@target_subdir@,$target_subdir,;t t
29151 s,@multi_basedir@,$multi_basedir,;t t
29152 s,@host@,$host,;t t
29153 s,@host_cpu@,$host_cpu,;t t
29154 s,@host_vendor@,$host_vendor,;t t
29155 s,@host_os@,$host_os,;t t
29156 s,@target@,$target,;t t
29157 s,@target_cpu@,$target_cpu,;t t
29158 s,@target_vendor@,$target_vendor,;t t
29159 s,@target_os@,$target_os,;t t
29160 s,@target_noncanonical@,$target_noncanonical,;t t
29161 s,@LN_S@,$LN_S,;t t
29162 s,@mkinstalldirs@,$mkinstalldirs,;t t
29163 s,@JAVA_MAINTAINER_MODE_TRUE@,$JAVA_MAINTAINER_MODE_TRUE,;t t
29164 s,@JAVA_MAINTAINER_MODE_FALSE@,$JAVA_MAINTAINER_MODE_FALSE,;t t
29166 s,@ac_ct_CC@,$ac_ct_CC,;t t
29167 s,@EXEEXT@,$EXEEXT,;t t
29168 s,@OBJEXT@,$OBJEXT,;t t
29170 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
29171 s,@CFLAGS@,$CFLAGS,;t t
29172 s,@CXXFLAGS@,$CXXFLAGS,;t t
29173 s,@LDFLAGS@,$LDFLAGS,;t t
29174 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
29175 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
29176 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
29177 s,@CYGPATH_W@,$CYGPATH_W,;t t
29178 s,@PACKAGE@,$PACKAGE,;t t
29179 s,@VERSION@,$VERSION,;t t
29180 s,@ACLOCAL@,$ACLOCAL,;t t
29181 s,@AUTOCONF@,$AUTOCONF,;t t
29182 s,@AUTOMAKE@,$AUTOMAKE,;t t
29183 s,@AUTOHEADER@,$AUTOHEADER,;t t
29184 s,@MAKEINFO@,$MAKEINFO,;t t
29185 s,@install_sh@,$install_sh,;t t
29186 s,@STRIP@,$STRIP,;t t
29187 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
29188 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
29189 s,@mkdir_p@,$mkdir_p,;t t
29191 s,@SET_MAKE@,$SET_MAKE,;t t
29192 s,@am__leading_dot@,$am__leading_dot,;t t
29193 s,@AMTAR@,$AMTAR,;t t
29194 s,@am__tar@,$am__tar,;t t
29195 s,@am__untar@,$am__untar,;t t
29196 s,@DEPDIR@,$DEPDIR,;t t
29197 s,@am__include@,$am__include,;t t
29198 s,@am__quote@,$am__quote,;t t
29199 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
29200 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
29201 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
29202 s,@CCDEPMODE@,$CCDEPMODE,;t t
29203 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
29204 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
29205 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
29206 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
29207 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
29209 s,@ac_ct_AS@,$ac_ct_AS,;t t
29211 s,@ac_ct_LD@,$ac_ct_LD,;t t
29213 s,@ac_ct_AR@,$ac_ct_AR,;t t
29214 s,@RANLIB@,$RANLIB,;t t
29215 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
29218 s,@UNZIP@,$UNZIP,;t t
29219 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
29220 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
29221 s,@MAINT@,$MAINT,;t t
29222 s,@LIBGCJ_CFLAGS@,$LIBGCJ_CFLAGS,;t t
29223 s,@LIBGCJ_CXXFLAGS@,$LIBGCJ_CXXFLAGS,;t t
29224 s,@LIBGCJ_JAVAFLAGS@,$LIBGCJ_JAVAFLAGS,;t t
29225 s,@LIBGCJ_LD_SYMBOLIC@,$LIBGCJ_LD_SYMBOLIC,;t t
29226 s,@LIBGCJ_LD_SYMBOLIC_FUNCTIONS@,$LIBGCJ_LD_SYMBOLIC_FUNCTIONS,;t t
29227 s,@LIBGCJDEBUG@,$LIBGCJDEBUG,;t t
29228 s,@TOOLKIT@,$TOOLKIT,;t t
29229 s,@XLIB_AWT_TRUE@,$XLIB_AWT_TRUE,;t t
29230 s,@XLIB_AWT_FALSE@,$XLIB_AWT_FALSE,;t t
29231 s,@X_AWT_TRUE@,$X_AWT_TRUE,;t t
29232 s,@X_AWT_FALSE@,$X_AWT_FALSE,;t t
29233 s,@GCJ_FOR_ECJX@,$GCJ_FOR_ECJX,;t t
29234 s,@GCJH@,$GCJH,;t t
29235 s,@host_exeext@,$host_exeext,;t t
29236 s,@INCLTDL@,$INCLTDL,;t t
29237 s,@LIBLTDL@,$LIBLTDL,;t t
29238 s,@DIRLTDL@,$DIRLTDL,;t t
29239 s,@LIBTOOL@,$LIBTOOL,;t t
29241 s,@EGREP@,$EGREP,;t t
29242 s,@FGREP@,$FGREP,;t t
29243 s,@GREP@,$GREP,;t t
29244 s,@DUMPBIN@,$DUMPBIN,;t t
29245 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
29247 s,@lt_ECHO@,$lt_ECHO,;t t
29249 s,@CPPFLAGS@,$CPPFLAGS,;t t
29250 s,@CXXCPP@,$CXXCPP,;t t
29252 s,@GCJFLAGS@,$GCJFLAGS,;t t
29253 s,@GCJDEPMODE@,$GCJDEPMODE,;t t
29254 s,@am__fastdepGCJ_TRUE@,$am__fastdepGCJ_TRUE,;t t
29255 s,@am__fastdepGCJ_FALSE@,$am__fastdepGCJ_FALSE,;t t
29256 s,@subdirs@,$subdirs,;t t
29257 s,@TESTSUBDIR_TRUE@,$TESTSUBDIR_TRUE,;t t
29258 s,@TESTSUBDIR_FALSE@,$TESTSUBDIR_FALSE,;t t
29259 s,@ECJ_BUILD_JAR@,$ECJ_BUILD_JAR,;t t
29260 s,@ECJ_JAR@,$ECJ_JAR,;t t
29261 s,@BUILD_ECJ1_TRUE@,$BUILD_ECJ1_TRUE,;t t
29262 s,@BUILD_ECJ1_FALSE@,$BUILD_ECJ1_FALSE,;t t
29263 s,@INSTALL_ECJ_JAR_TRUE@,$INSTALL_ECJ_JAR_TRUE,;t t
29264 s,@INSTALL_ECJ_JAR_FALSE@,$INSTALL_ECJ_JAR_FALSE,;t t
29265 s,@JAVA_HOME_SET_TRUE@,$JAVA_HOME_SET_TRUE,;t t
29266 s,@JAVA_HOME_SET_FALSE@,$JAVA_HOME_SET_FALSE,;t t
29267 s,@JAVA_HOME@,$JAVA_HOME,;t t
29268 s,@SUPPRESS_LIBGCJ_BC_TRUE@,$SUPPRESS_LIBGCJ_BC_TRUE,;t t
29269 s,@SUPPRESS_LIBGCJ_BC_FALSE@,$SUPPRESS_LIBGCJ_BC_FALSE,;t t
29270 s,@INTERPRETER@,$INTERPRETER,;t t
29271 s,@INTERPRETER_TRUE@,$INTERPRETER_TRUE,;t t
29272 s,@INTERPRETER_FALSE@,$INTERPRETER_FALSE,;t t
29273 s,@LIBFFI@,$LIBFFI,;t t
29274 s,@LIBFFIINCS@,$LIBFFIINCS,;t t
29275 s,@PLATFORM@,$PLATFORM,;t t
29276 s,@USING_WIN32_PLATFORM_TRUE@,$USING_WIN32_PLATFORM_TRUE,;t t
29277 s,@USING_WIN32_PLATFORM_FALSE@,$USING_WIN32_PLATFORM_FALSE,;t t
29278 s,@USING_POSIX_PLATFORM_TRUE@,$USING_POSIX_PLATFORM_TRUE,;t t
29279 s,@USING_POSIX_PLATFORM_FALSE@,$USING_POSIX_PLATFORM_FALSE,;t t
29280 s,@USING_DARWIN_CRT_TRUE@,$USING_DARWIN_CRT_TRUE,;t t
29281 s,@USING_DARWIN_CRT_FALSE@,$USING_DARWIN_CRT_FALSE,;t t
29282 s,@SYSTEMSPEC@,$SYSTEMSPEC,;t t
29283 s,@ZLIBSPEC@,$ZLIBSPEC,;t t
29284 s,@ZLIBTESTSPEC@,$ZLIBTESTSPEC,;t t
29285 s,@X_CFLAGS@,$X_CFLAGS,;t t
29286 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
29287 s,@X_LIBS@,$X_LIBS,;t t
29288 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
29289 s,@extra_ldflags_libjava@,$extra_ldflags_libjava,;t t
29290 s,@extra_gij_ldflags@,$extra_gij_ldflags,;t t
29291 s,@extra_ldflags@,$extra_ldflags,;t t
29292 s,@LIBSTDCXXSPEC@,$LIBSTDCXXSPEC,;t t
29293 s,@LIBGCJTESTSPEC@,$LIBGCJTESTSPEC,;t t
29294 s,@GCLIBS@,$GCLIBS,;t t
29295 s,@GCINCS@,$GCINCS,;t t
29296 s,@GCDEPS@,$GCDEPS,;t t
29297 s,@GCSPEC@,$GCSPEC,;t t
29298 s,@JC1GCSPEC@,$JC1GCSPEC,;t t
29299 s,@GCTESTSPEC@,$GCTESTSPEC,;t t
29300 s,@USING_BOEHMGC_TRUE@,$USING_BOEHMGC_TRUE,;t t
29301 s,@USING_BOEHMGC_FALSE@,$USING_BOEHMGC_FALSE,;t t
29302 s,@USING_NOGC_TRUE@,$USING_NOGC_TRUE,;t t
29303 s,@USING_NOGC_FALSE@,$USING_NOGC_FALSE,;t t
29304 s,@THREADLIBS@,$THREADLIBS,;t t
29305 s,@THREADINCS@,$THREADINCS,;t t
29306 s,@THREADDEPS@,$THREADDEPS,;t t
29307 s,@THREADSPEC@,$THREADSPEC,;t t
29308 s,@THREADSTARTFILESPEC@,$THREADSTARTFILESPEC,;t t
29309 s,@THREADLDFLAGS@,$THREADLDFLAGS,;t t
29310 s,@THREADCXXFLAGS@,$THREADCXXFLAGS,;t t
29311 s,@USING_POSIX_THREADS_TRUE@,$USING_POSIX_THREADS_TRUE,;t t
29312 s,@USING_POSIX_THREADS_FALSE@,$USING_POSIX_THREADS_FALSE,;t t
29313 s,@USING_WIN32_THREADS_TRUE@,$USING_WIN32_THREADS_TRUE,;t t
29314 s,@USING_WIN32_THREADS_FALSE@,$USING_WIN32_THREADS_FALSE,;t t
29315 s,@USING_NO_THREADS_TRUE@,$USING_NO_THREADS_TRUE,;t t
29316 s,@USING_NO_THREADS_FALSE@,$USING_NO_THREADS_FALSE,;t t
29317 s,@USE_LIBGCJ_BC_TRUE@,$USE_LIBGCJ_BC_TRUE,;t t
29318 s,@USE_LIBGCJ_BC_FALSE@,$USE_LIBGCJ_BC_FALSE,;t t
29319 s,@LIBGCJ_SPEC@,$LIBGCJ_SPEC,;t t
29320 s,@HASH_SYNC_SPEC@,$HASH_SYNC_SPEC,;t t
29321 s,@USING_GCC_TRUE@,$USING_GCC_TRUE,;t t
29322 s,@USING_GCC_FALSE@,$USING_GCC_FALSE,;t t
29323 s,@LIBICONV@,$LIBICONV,;t t
29324 s,@LTLIBICONV@,$LTLIBICONV,;t t
29325 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
29326 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
29327 s,@GTK_LIBS@,$GTK_LIBS,;t t
29328 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
29329 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
29330 s,@LIBART_CFLAGS@,$LIBART_CFLAGS,;t t
29331 s,@LIBART_LIBS@,$LIBART_LIBS,;t t
29332 s,@CLASSPATH_SEPARATOR@,$CLASSPATH_SEPARATOR,;t t
29333 s,@ZLIBS@,$ZLIBS,;t t
29334 s,@SYS_ZLIBS@,$SYS_ZLIBS,;t t
29335 s,@ZINCS@,$ZINCS,;t t
29336 s,@DIVIDESPEC@,$DIVIDESPEC,;t t
29337 s,@CHECKREFSPEC@,$CHECKREFSPEC,;t t
29338 s,@EXCEPTIONSPEC@,$EXCEPTIONSPEC,;t t
29339 s,@BACKTRACESPEC@,$BACKTRACESPEC,;t t
29340 s,@IEEESPEC@,$IEEESPEC,;t t
29341 s,@NATIVE_TRUE@,$NATIVE_TRUE,;t t
29342 s,@NATIVE_FALSE@,$NATIVE_FALSE,;t t
29343 s,@ENABLE_SHARED_TRUE@,$ENABLE_SHARED_TRUE,;t t
29344 s,@ENABLE_SHARED_FALSE@,$ENABLE_SHARED_FALSE,;t t
29345 s,@NEEDS_DATA_START_TRUE@,$NEEDS_DATA_START_TRUE,;t t
29346 s,@NEEDS_DATA_START_FALSE@,$NEEDS_DATA_START_FALSE,;t t
29347 s,@GCC_UNWIND_INCLUDE@,$GCC_UNWIND_INCLUDE,;t t
29348 s,@toolexecdir@,$toolexecdir,;t t
29349 s,@toolexecmainlibdir@,$toolexecmainlibdir,;t t
29350 s,@toolexeclibdir@,$toolexeclibdir,;t t
29351 s,@GCJVERSION@,$GCJVERSION,;t t
29352 s,@dbexecdir@,$dbexecdir,;t t
29353 s,@gxx_include_dir@,$gxx_include_dir,;t t
29354 s,@libstdcxx_incdir@,$libstdcxx_incdir,;t t
29355 s,@PERL@,$PERL,;t t
29356 s,@SYSDEP_SOURCES@,$SYSDEP_SOURCES,;t t
29357 s,@ANONVERSCRIPT_TRUE@,$ANONVERSCRIPT_TRUE,;t t
29358 s,@ANONVERSCRIPT_FALSE@,$ANONVERSCRIPT_FALSE,;t t
29359 s,@LD_START_STATIC_SPEC@,$LD_START_STATIC_SPEC,;t t
29360 s,@LD_FINISH_STATIC_SPEC@,$LD_FINISH_STATIC_SPEC,;t t
29361 s,@here@,$here,;t t
29362 s,@LIBOBJS@,$LIBOBJS,;t t
29363 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
29368 cat >>$CONFIG_STATUS <<\_ACEOF
29369 # Split the substitutions into bite-sized pieces for seds with
29370 # small command number limits, like on Digital OSF/1 and HP-UX.
29371 ac_max_sed_lines
=48
29372 ac_sed_frag
=1 # Number of current file.
29373 ac_beg
=1 # First line for current file.
29374 ac_end
=$ac_max_sed_lines # Line after last line for current file.
29377 while $ac_more_lines; do
29378 if test $ac_beg -gt 1; then
29379 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
29381 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
29383 if test ! -s $tmp/subs.frag
; then
29384 ac_more_lines
=false
29386 # The purpose of the label and of the branching condition is to
29387 # speed up the sed processing (if there are no `@' at all, there
29388 # is no need to browse any of the substitutions).
29389 # These are the two extra sed commands mentioned above.
29391 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
29392 if test -z "$ac_sed_cmds"; then
29393 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
29395 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
29397 ac_sed_frag
=`expr $ac_sed_frag + 1`
29399 ac_end
=`expr $ac_end + $ac_max_sed_lines`
29402 if test -z "$ac_sed_cmds"; then
29405 fi # test -n "$CONFIG_FILES"
29408 cat >>$CONFIG_STATUS <<\_ACEOF
29409 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
29410 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
29412 - |
*:- |
*:-:* ) # input from stdin
29414 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29415 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29416 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29417 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29418 * ) ac_file_in
=$ac_file.
in ;;
29421 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
29422 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
29423 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29424 X"$ac_file" : 'X\(//\)[^/]' \| \
29425 X"$ac_file" : 'X\(//\)$' \| \
29426 X"$ac_file" : 'X\(/\)' \| \
29427 . : '\(.\)' 2>/dev/null ||
29429 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29430 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29431 /^X\(\/\/\)$/{ s//\1/; q; }
29432 /^X\(\/\).*/{ s//\1/; q; }
29434 { if $as_mkdir_p; then
29439 while test ! -d "$as_dir"; do
29440 as_dirs
="$as_dir $as_dirs"
29441 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
29442 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29443 X"$as_dir" : 'X\(//\)[^/]' \| \
29444 X"$as_dir" : 'X\(//\)$' \| \
29445 X"$as_dir" : 'X\(/\)' \| \
29446 . : '\(.\)' 2>/dev/null ||
29448 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29449 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29450 /^X\(\/\/\)$/{ s//\1/; q; }
29451 /^X\(\/\).*/{ s//\1/; q; }
29454 test ! -n "$as_dirs" || mkdir
$as_dirs
29455 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29456 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29457 { (exit 1); exit 1; }; }; }
29461 if test "$ac_dir" != .
; then
29462 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
29463 # A "../" for each directory in $ac_dir_suffix.
29464 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
29466 ac_dir_suffix
= ac_top_builddir
=
29470 .
) # No --srcdir option. We are building in place.
29472 if test -z "$ac_top_builddir"; then
29475 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
29477 [\\/]* | ?
:[\\/]* ) # Absolute path.
29478 ac_srcdir
=$srcdir$ac_dir_suffix;
29479 ac_top_srcdir
=$srcdir ;;
29480 *) # Relative path.
29481 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
29482 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
29485 # Do not use `cd foo && pwd` to compute absolute paths, because
29486 # the directories may not exist.
29488 .
) ac_abs_builddir
="$ac_dir";;
29491 .
) ac_abs_builddir
=`pwd`;;
29492 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
29493 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
29496 case $ac_abs_builddir in
29497 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29499 case ${ac_top_builddir}.
in
29500 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
29501 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29502 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
29505 case $ac_abs_builddir in
29506 .
) ac_abs_srcdir
=$ac_srcdir;;
29509 .
) ac_abs_srcdir
=$ac_abs_builddir;;
29510 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
29511 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
29514 case $ac_abs_builddir in
29515 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
29517 case $ac_top_srcdir in
29518 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
29519 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
29520 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
29526 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
29527 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
29530 if test x
"$ac_file" != x-
; then
29531 { echo "$as_me:$LINENO: creating $ac_file" >&5
29532 echo "$as_me: creating $ac_file" >&6;}
29535 # Let's still pretend it is `configure' which instantiates (i.e., don't
29536 # use $as_me), people would be surprised to read:
29537 # /* config.h. Generated by config.status. */
29538 if test x
"$ac_file" = x-
; then
29541 configure_input
="$ac_file. "
29543 configure_input
=$configure_input"Generated from `echo $ac_file_in |
29544 sed 's,.*/,,'` by configure."
29546 # First look for the input files in the build tree, otherwise in the
29548 ac_file_inputs
=`IFS=:
29549 for f in $ac_file_in; do
29551 -) echo $tmp/stdin ;;
29553 # Absolute (can't be DOS-style, as IFS=:)
29554 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29555 echo "$as_me: error: cannot find input file: $f" >&2;}
29556 { (exit 1); exit 1; }; }
29559 if test -f "$f"; then
29562 elif test -f "$srcdir/$f"; then
29567 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29568 echo "$as_me: error: cannot find input file: $f" >&2;}
29569 { (exit 1); exit 1; }; }
29572 done` ||
{ (exit 1); exit 1; }
29574 cat >>$CONFIG_STATUS <<_ACEOF
29578 cat >>$CONFIG_STATUS <<\_ACEOF
29580 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
29581 s
,@configure_input@
,$configure_input,;t t
29582 s
,@srcdir@
,$ac_srcdir,;t t
29583 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
29584 s
,@top_srcdir@
,$ac_top_srcdir,;t t
29585 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
29586 s
,@builddir@
,$ac_builddir,;t t
29587 s
,@abs_builddir@
,$ac_abs_builddir,;t t
29588 s
,@top_builddir@
,$ac_top_builddir,;t t
29589 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
29590 s
,@INSTALL@
,$ac_INSTALL,;t t
29591 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
29593 if test x"$ac_file" != x-; then
29594 mv $tmp/out $ac_file
29600 # Run the commands associated with the file.
29602 scripts/jar ) chmod +x scripts/jar ;;
29606 cat >>$CONFIG_STATUS <<\_ACEOF
29609 # CONFIG_HEADER section.
29612 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
29613 # NAME is the cpp macro being defined and VALUE is the value it is being given.
29615 # ac_d sets the value in "#define NAME VALUE" lines.
29616 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
29617 ac_dB
='[ ].*$,\1#\2'
29620 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
29621 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
29622 ac_uB
='$,\1#\2define\3'
29626 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
29627 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
29629 - |
*:- |
*:-:* ) # input from stdin
29631 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29632 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29633 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29634 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29635 * ) ac_file_in
=$ac_file.
in ;;
29638 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
29639 echo "$as_me: creating $ac_file" >&6;}
29641 # First look for the input files in the build tree, otherwise in the
29643 ac_file_inputs
=`IFS=:
29644 for f in $ac_file_in; do
29646 -) echo $tmp/stdin ;;
29648 # Absolute (can't be DOS-style, as IFS=:)
29649 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29650 echo "$as_me: error: cannot find input file: $f" >&2;}
29651 { (exit 1); exit 1; }; }
29652 # Do quote $f, to prevent DOS paths from being IFS'd.
29655 if test -f "$f"; then
29658 elif test -f "$srcdir/$f"; then
29663 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29664 echo "$as_me: error: cannot find input file: $f" >&2;}
29665 { (exit 1); exit 1; }; }
29668 done` ||
{ (exit 1); exit 1; }
29669 # Remove the trailing spaces.
29670 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
29674 # Transform confdefs.h into two sed scripts, `conftest.defines' and
29675 # `conftest.undefs', that substitutes the proper values into
29676 # config.h.in to produce config.h. The first handles `#define'
29677 # templates, and the second `#undef' templates.
29678 # And first: Protect against being on the right side of a sed subst in
29679 # config.status. Protect against being in an unquoted here document
29680 # in config.status.
29681 rm -f conftest.defines conftest.undefs
29682 # Using a here document instead of a string reduces the quoting nightmare.
29683 # Putting comments in sed scripts is not portable.
29685 # `end' is used to avoid that the second main sed command (meant for
29686 # 0-ary CPP macros) applies to n-ary macro definitions.
29687 # See the Autoconf documentation for `clear'.
29688 cat >confdef2sed.
sed <<\_ACEOF
29693 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
29695 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
29698 # If some macros were called several times there might be several times
29699 # the same #defines, which is useless. Nevertheless, we may not want to
29700 # sort them, since we want the *last* AC-DEFINE to be honored.
29701 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
29702 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
29703 rm -f confdef2sed.sed
29705 # This sed command replaces #undef with comments. This is necessary, for
29706 # example, in the case of _POSIX_SOURCE, which is predefined and required
29707 # on some systems where configure will not decide to define it.
29708 cat >>conftest.undefs <<\_ACEOF
29709 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
29712 # Break up conftest.defines because some shells have a limit on the size
29713 # of here documents, and old seds have small limits too (100 cmds).
29714 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
29715 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
29716 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
29717 echo ' :' >>$CONFIG_STATUS
29718 rm -f conftest.tail
29719 while grep . conftest.defines >/dev/null
29721 # Write a limited-size here document to $tmp/defines.sed.
29722 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
29723 # Speed up: don't consider the non `#define' lines.
29724 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
29725 # Work around the forget-to-reset-the-flag bug.
29726 echo 't clr' >>$CONFIG_STATUS
29727 echo ': clr' >>$CONFIG_STATUS
29728 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
29730 sed -f $tmp/defines.sed $tmp/in >$tmp/out
29732 mv $tmp/out $tmp/in
29734 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
29735 rm -f conftest.defines
29736 mv conftest.
tail conftest.defines
29738 rm -f conftest.defines
29739 echo ' fi # grep' >>$CONFIG_STATUS
29740 echo >>$CONFIG_STATUS
29742 # Break up conftest.undefs because some shells have a limit on the size
29743 # of here documents, and old seds have small limits too (100 cmds).
29744 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
29745 rm -f conftest.
tail
29746 while grep . conftest.undefs
>/dev
/null
29748 # Write a limited-size here document to $tmp/undefs.sed.
29749 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
29750 # Speed up: don't consider the non
`#undef'
29751 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
29752 # Work around the forget-to-reset-the-flag bug.
29753 echo 't clr' >>$CONFIG_STATUS
29754 echo ': clr' >>$CONFIG_STATUS
29755 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
29757 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
29759 mv $tmp/out $tmp/in
29761 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
29762 rm -f conftest.undefs
29763 mv conftest.tail conftest.undefs
29765 rm -f conftest.undefs
29767 cat >>$CONFIG_STATUS <<\_ACEOF
29768 # Let's still pretend it is `configure
' which instantiates (i.e., don't
29769 # use $as_me), people would be surprised to read:
29770 # /* config.h. Generated by config.status. */
29771 if test x
"$ac_file" = x-
; then
29772 echo "/* Generated by configure. */" >$tmp/config.h
29774 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
29776 cat $tmp/in >>$tmp/config.h
29778 if test x
"$ac_file" != x-
; then
29779 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
29780 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
29781 echo "$as_me: $ac_file is unchanged" >&6;}
29783 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
29784 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29785 X"$ac_file" : 'X\(//\)[^/]' \| \
29786 X"$ac_file" : 'X\(//\)$' \| \
29787 X"$ac_file" : 'X\(/\)' \| \
29788 . : '\(.\)' 2>/dev/null ||
29790 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29791 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29792 /^X\(\/\/\)$/{ s//\1/; q; }
29793 /^X\(\/\).*/{ s//\1/; q; }
29795 { if $as_mkdir_p; then
29800 while test ! -d "$as_dir"; do
29801 as_dirs
="$as_dir $as_dirs"
29802 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
29803 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29804 X"$as_dir" : 'X\(//\)[^/]' \| \
29805 X"$as_dir" : 'X\(//\)$' \| \
29806 X"$as_dir" : 'X\(/\)' \| \
29807 . : '\(.\)' 2>/dev/null ||
29809 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29810 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29811 /^X\(\/\/\)$/{ s//\1/; q; }
29812 /^X\(\/\).*/{ s//\1/; q; }
29815 test ! -n "$as_dirs" || mkdir
$as_dirs
29816 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29817 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29818 { (exit 1); exit 1; }; }; }
29821 mv $tmp/config.h
$ac_file
29825 rm -f $tmp/config.h
29827 # Compute $ac_file's index in $config_headers.
29829 for _am_header
in $config_headers :; do
29830 case $_am_header in
29831 $ac_file |
$ac_file:* )
29834 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
29837 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
29838 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29839 X$ac_file : 'X\(//\)[^/]' \| \
29840 X$ac_file : 'X\(//\)$' \| \
29841 X$ac_file : 'X\(/\)' \| \
29842 . : '\(.\)' 2>/dev/null ||
29844 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29845 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29846 /^X\(\/\/\)$/{ s//\1/; q; }
29847 /^X\(\/\).*/{ s//\1/; q; }
29848 s/.*/./; q'`/stamp-h
$_am_stamp_count
29851 cat >>$CONFIG_STATUS <<\_ACEOF
29854 # CONFIG_LINKS section.
29857 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
29858 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
29859 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29861 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
29862 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
29864 if test ! -r $srcdir/$ac_source; then
29865 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
29866 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
29867 { (exit 1); exit 1; }; }
29871 # Make relative symlinks.
29872 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
29873 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29874 X"$ac_dest" : 'X\(//\)[^/]' \| \
29875 X"$ac_dest" : 'X\(//\)$' \| \
29876 X"$ac_dest" : 'X\(/\)' \| \
29877 . : '\(.\)' 2>/dev/null ||
29879 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29880 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29881 /^X\(\/\/\)$/{ s//\1/; q; }
29882 /^X\(\/\).*/{ s//\1/; q; }
29884 { if $as_mkdir_p; then
29885 mkdir
-p "$ac_dest_dir"
29887 as_dir
="$ac_dest_dir"
29889 while test ! -d "$as_dir"; do
29890 as_dirs
="$as_dir $as_dirs"
29891 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
29892 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29893 X"$as_dir" : 'X\(//\)[^/]' \| \
29894 X"$as_dir" : 'X\(//\)$' \| \
29895 X"$as_dir" : 'X\(/\)' \| \
29896 . : '\(.\)' 2>/dev/null ||
29898 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29899 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29900 /^X\(\/\/\)$/{ s//\1/; q; }
29901 /^X\(\/\).*/{ s//\1/; q; }
29904 test ! -n "$as_dirs" || mkdir
$as_dirs
29905 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
29906 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
29907 { (exit 1); exit 1; }; }; }
29911 if test "$ac_dest_dir" != .
; then
29912 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
29913 # A "../" for each directory in $ac_dir_suffix.
29914 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
29916 ac_dir_suffix
= ac_top_builddir
=
29920 .
) # No --srcdir option. We are building in place.
29922 if test -z "$ac_top_builddir"; then
29925 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
29927 [\\/]* | ?
:[\\/]* ) # Absolute path.
29928 ac_srcdir
=$srcdir$ac_dir_suffix;
29929 ac_top_srcdir
=$srcdir ;;
29930 *) # Relative path.
29931 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
29932 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
29935 # Do not use `cd foo && pwd` to compute absolute paths, because
29936 # the directories may not exist.
29938 .
) ac_abs_builddir
="$ac_dest_dir";;
29940 case "$ac_dest_dir" in
29941 .
) ac_abs_builddir
=`pwd`;;
29942 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
29943 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
29946 case $ac_abs_builddir in
29947 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29949 case ${ac_top_builddir}.
in
29950 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
29951 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29952 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
29955 case $ac_abs_builddir in
29956 .
) ac_abs_srcdir
=$ac_srcdir;;
29959 .
) ac_abs_srcdir
=$ac_abs_builddir;;
29960 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
29961 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
29964 case $ac_abs_builddir in
29965 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
29967 case $ac_top_srcdir in
29968 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
29969 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
29970 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
29976 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
29977 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
29980 # Try a symlink, then a hard link, then a copy.
29981 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
29982 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
29983 cp -p $srcdir/$ac_source $ac_dest ||
29984 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
29985 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
29986 { (exit 1); exit 1; }; }
29989 cat >>$CONFIG_STATUS <<\_ACEOF
29992 # CONFIG_COMMANDS section.
29994 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
29995 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
29996 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29997 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
29998 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29999 X"$ac_dest" : 'X\(//\)[^/]' \| \
30000 X"$ac_dest" : 'X\(//\)$' \| \
30001 X"$ac_dest" : 'X\(/\)' \| \
30002 . : '\(.\)' 2>/dev/null ||
30004 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30005 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30006 /^X\(\/\/\)$/{ s//\1/; q; }
30007 /^X\(\/\).*/{ s//\1/; q; }
30009 { if $as_mkdir_p; then
30014 while test ! -d "$as_dir"; do
30015 as_dirs
="$as_dir $as_dirs"
30016 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30017 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30018 X"$as_dir" : 'X\(//\)[^/]' \| \
30019 X"$as_dir" : 'X\(//\)$' \| \
30020 X"$as_dir" : 'X\(/\)' \| \
30021 . : '\(.\)' 2>/dev/null ||
30023 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30024 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30025 /^X\(\/\/\)$/{ s//\1/; q; }
30026 /^X\(\/\).*/{ s//\1/; q; }
30029 test ! -n "$as_dirs" || mkdir
$as_dirs
30030 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30031 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30032 { (exit 1); exit 1; }; }; }
30036 if test "$ac_dir" != .
; then
30037 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30038 # A "../" for each directory in $ac_dir_suffix.
30039 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30041 ac_dir_suffix
= ac_top_builddir
=
30045 .
) # No --srcdir option. We are building in place.
30047 if test -z "$ac_top_builddir"; then
30050 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
30052 [\\/]* | ?
:[\\/]* ) # Absolute path.
30053 ac_srcdir
=$srcdir$ac_dir_suffix;
30054 ac_top_srcdir
=$srcdir ;;
30055 *) # Relative path.
30056 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
30057 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
30060 # Do not use `cd foo && pwd` to compute absolute paths, because
30061 # the directories may not exist.
30063 .
) ac_abs_builddir
="$ac_dir";;
30066 .
) ac_abs_builddir
=`pwd`;;
30067 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
30068 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
30071 case $ac_abs_builddir in
30072 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30074 case ${ac_top_builddir}.
in
30075 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
30076 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30077 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
30080 case $ac_abs_builddir in
30081 .
) ac_abs_srcdir
=$ac_srcdir;;
30084 .
) ac_abs_srcdir
=$ac_abs_builddir;;
30085 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
30086 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
30089 case $ac_abs_builddir in
30090 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
30092 case $ac_top_srcdir in
30093 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
30094 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
30095 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
30100 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
30101 echo "$as_me: executing $ac_dest commands" >&6;}
30104 # Only add multilib support code if we just rebuilt the top-level
30106 case " $CONFIG_FILES " in
30108 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
30111 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
30112 # Strip MF so we end up with the name of the file.
30113 mf
=`echo "$mf" | sed -e 's/:.*$//'`
30114 # Check whether this is an Automake generated Makefile or not.
30115 # We used to match only the files named `Makefile.in', but
30116 # some people rename them; so instead we look at the file content.
30117 # Grep'ing the first line is not enough: some people post-process
30118 # each Makefile.in and add a new line on top of each file to say so.
30119 # So let's grep whole file.
30120 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
30121 dirpart
=`(dirname "$mf") 2>/dev/null ||
30122 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30123 X"$mf" : 'X\(//\)[^/]' \| \
30124 X"$mf" : 'X\(//\)$' \| \
30125 X"$mf" : '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; }
30136 # Extract the definition of DEPDIR, am__include, and am__quote
30137 # from the Makefile without running `make'.
30138 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
30139 test -z "$DEPDIR" && continue
30140 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
30141 test -z "am__include" && continue
30142 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
30143 # When using ansi2knr, U may be empty or an underscore; expand it
30144 U
=`sed -n 's/^U = //p' < "$mf"`
30145 # Find all dependency output files, they are included files with
30146 # $(DEPDIR) in their names. We invoke sed twice because it is the
30147 # simplest approach to changing $(DEPDIR) to its actual value in the
30149 for file in `sed -n "
30150 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
30151 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
30152 # Make sure the directory exists.
30153 test -f "$dirpart/$file" && continue
30154 fdir
=`(dirname "$file") 2>/dev/null ||
30155 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30156 X"$file" : 'X\(//\)[^/]' \| \
30157 X"$file" : 'X\(//\)$' \| \
30158 X"$file" : 'X\(/\)' \| \
30159 . : '\(.\)' 2>/dev/null ||
30161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30162 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30163 /^X\(\/\/\)$/{ s//\1/; q; }
30164 /^X\(\/\).*/{ s//\1/; q; }
30166 { if $as_mkdir_p; then
30167 mkdir
-p $dirpart/$fdir
30169 as_dir
=$dirpart/$fdir
30171 while test ! -d "$as_dir"; do
30172 as_dirs
="$as_dir $as_dirs"
30173 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30174 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30175 X"$as_dir" : 'X\(//\)[^/]' \| \
30176 X"$as_dir" : 'X\(//\)$' \| \
30177 X"$as_dir" : 'X\(/\)' \| \
30178 . : '\(.\)' 2>/dev/null ||
30180 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30181 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30182 /^X\(\/\/\)$/{ s//\1/; q; }
30183 /^X\(\/\).*/{ s//\1/; q; }
30186 test ! -n "$as_dirs" || mkdir
$as_dirs
30187 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
30188 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
30189 { (exit 1); exit 1; }; }; }
30191 # echo "creating $dirpart/$file"
30192 echo '# dummy' > "$dirpart/$file"
30198 # See if we are running on zsh, and set the options which allow our
30199 # commands through without removal of \ escapes.
30200 if test -n "${ZSH_VERSION+set}" ; then
30201 setopt NO_GLOB_SUBST
30204 cfgfile
="${ofile}T"
30205 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
30208 cat <<_LT_EOF >> "$cfgfile"
30211 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
30212 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
30213 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
30214 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
30216 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
30217 # 2006, 2007 Free Software Foundation, Inc.
30219 # This file is part of GNU Libtool:
30220 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
30222 # This program is free software; you can redistribute it and/or modify
30223 # it under the terms of the GNU General Public License as published by
30224 # the Free Software Foundation; either version 2 of the License, or
30225 # (at your option) any later version.
30227 # This program is distributed in the hope that it will be useful, but
30228 # WITHOUT ANY WARRANTY; without even the implied warranty of
30229 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
30230 # General Public License for more details.
30232 # You should have received a copy of the GNU General Public License
30233 # along with this program; if not, a copy can be downloaded from
30234 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
30235 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
30236 # MA 02110-1301, USA.
30238 # As a special exception to the GNU General Public License, if you
30239 # distribute this file as part of a program that contains a
30240 # configuration script generated by Autoconf, you may include it under
30241 # the same distribution terms that you use for the rest of that program.
30244 # The names of the tagged configurations supported by this script.
30245 available_tags="CXX GCJ "
30247 # ### BEGIN LIBTOOL CONFIG
30249 # Which release of libtool.m4 was used?
30250 macro_version=$macro_version
30251 macro_revision=$macro_revision
30253 # Whether or not to build shared libraries.
30254 build_libtool_libs=$enable_shared
30256 # Whether or not to build static libraries.
30257 build_old_libs=$enable_static
30259 # What type of objects to build.
30262 # Whether or not to optimize for fast installation.
30263 fast_install=$enable_fast_install
30266 host_alias=$host_alias
30270 # The build system.
30271 build_alias=$build_alias
30275 # A sed program that does not truncate output.
30278 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
30279 Xsed="\$SED -e 1s/^X//"
30281 # A grep program that handles long lines.
30287 # A literal string matcher.
30290 # A BSD- or MS-compatible name lister.
30293 # Whether we need soft or hard links.
30296 # What is the maximum length of a command?
30297 max_cmd_len=$max_cmd_len
30299 # Object file suffix (normally "o").
30302 # Executable file suffix (normally "").
30305 # whether the shell understands "unset".
30308 # turn spaces into newlines.
30311 # turn newlines into spaces.
30314 # How to create reloadable object files.
30315 reload_flag=$lt_reload_flag
30316 reload_cmds=$lt_reload_cmds
30318 # Method to check whether dependent libraries are shared objects.
30319 deplibs_check_method=$lt_deplibs_check_method
30321 # Command to use when deplibs_check_method == "file_magic".
30322 file_magic_cmd=$lt_file_magic_cmd
30326 AR_FLAGS=$lt_AR_FLAGS
30328 # A symbol stripping program.
30331 # Commands used to install an old-style archive.
30333 old_postinstall_cmds=$lt_old_postinstall_cmds
30334 old_postuninstall_cmds=$lt_old_postuninstall_cmds
30339 # LTCC compiler flags.
30340 LTCFLAGS=$lt_CFLAGS
30342 # Take the output of nm and produce a listing of raw symbols and C names.
30343 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
30345 # Transform the output of nm in a proper C declaration.
30346 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
30348 # Transform the output of nm in a C name address pair.
30349 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
30351 # The name of the directory that contains temporary libtool files.
30354 # Shell to use when invoking shell scripts.
30357 # An echo program that does not interpret backslashes.
30360 # Used to examine libraries when file_magic_cmd begins with "file".
30361 MAGIC_CMD=$MAGIC_CMD
30363 # Must we lock files when doing compilation?
30364 need_locks=$lt_need_locks
30366 # Old archive suffix (normally "a").
30369 # Shared library suffix (normally ".so").
30370 shrext_cmds=$lt_shrext_cmds
30372 # The commands to extract the exported symbol list from a shared archive.
30373 extract_expsyms_cmds=$lt_extract_expsyms_cmds
30375 # Variables whose values should be saved in libtool wrapper scripts and
30376 # restored at link time.
30377 variables_saved_for_relink=$lt_variables_saved_for_relink
30379 # Do we need the "lib" prefix for modules?
30380 need_lib_prefix=$need_lib_prefix
30382 # Do we need a version for libraries?
30383 need_version=$need_version
30385 # Library versioning type.
30386 version_type=$version_type
30388 # Shared library runtime path variable.
30389 runpath_var=$runpath_var
30391 # Shared library path variable.
30392 shlibpath_var=$shlibpath_var
30394 # Is shlibpath searched before the hard-coded library search path?
30395 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
30397 # Format of library name prefix.
30398 libname_spec=$lt_libname_spec
30400 # List of archive names. First name is the real one, the rest are links.
30401 # The last name is the one that the linker finds with -lNAME
30402 library_names_spec=$lt_library_names_spec
30404 # The coded name of the library, if different from the real name.
30405 soname_spec=$lt_soname_spec
30407 # Command to use after installation of a shared archive.
30408 postinstall_cmds=$lt_postinstall_cmds
30410 # Command to use after uninstallation of a shared archive.
30411 postuninstall_cmds=$lt_postuninstall_cmds
30413 # Commands used to finish a libtool library installation in a directory.
30414 finish_cmds=$lt_finish_cmds
30416 # As "finish_cmds", except a single script fragment to be evaled but
30418 finish_eval=$lt_finish_eval
30420 # Whether we should hardcode library paths into libraries.
30421 hardcode_into_libs=$hardcode_into_libs
30423 # Compile-time system search path for libraries.
30424 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
30426 # Run-time system search path for libraries.
30427 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
30429 # Whether dlopen is supported.
30430 dlopen_support=$enable_dlopen
30432 # Whether dlopen of programs is supported.
30433 dlopen_self=$enable_dlopen_self
30435 # Whether dlopen of statically linked programs is supported.
30436 dlopen_self_static=$enable_dlopen_self_static
30438 # Commands to strip libraries.
30439 old_striplib=$lt_old_striplib
30440 striplib=$lt_striplib
30443 # The linker used to build libraries.
30446 # Commands used to build an old-style archive.
30447 old_archive_cmds=$lt_old_archive_cmds
30449 # A language specific compiler.
30452 # Is the compiler the GNU compiler?
30455 # Compiler flag to turn off builtin functions.
30456 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
30458 # How to pass a linker flag through the compiler.
30459 wl=$lt_lt_prog_compiler_wl
30461 # Additional compiler flags for building library objects.
30462 pic_flag=$lt_lt_prog_compiler_pic
30464 # Compiler flag to prevent dynamic linking.
30465 link_static_flag=$lt_lt_prog_compiler_static
30467 # Does compiler simultaneously support -c and -o options?
30468 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
30470 # Whether or not to add -lc for building shared libraries.
30471 build_libtool_need_lc=$archive_cmds_need_lc
30473 # Whether or not to disallow shared libs when runtime libs are static.
30474 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
30476 # Compiler flag to allow reflexive dlopens.
30477 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
30479 # Compiler flag to generate shared objects directly from archives.
30480 whole_archive_flag_spec=$lt_whole_archive_flag_spec
30482 # Whether the compiler copes with passing no objects directly.
30483 compiler_needs_object=$lt_compiler_needs_object
30485 # Create an old-style archive from a shared archive.
30486 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
30488 # Create a temporary old-style archive to link instead of a shared archive.
30489 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
30491 # Commands used to build a shared archive.
30492 archive_cmds=$lt_archive_cmds
30493 archive_expsym_cmds=$lt_archive_expsym_cmds
30495 # Commands used to build a loadable module if different from building
30496 # a shared archive.
30497 module_cmds=$lt_module_cmds
30498 module_expsym_cmds=$lt_module_expsym_cmds
30500 # Whether we are building with GNU ld or not.
30501 with_gnu_ld=$lt_with_gnu_ld
30503 # Flag that allows shared libraries with undefined symbols to be built.
30504 allow_undefined_flag=$lt_allow_undefined_flag
30506 # Flag that enforces no undefined symbols.
30507 no_undefined_flag=$lt_no_undefined_flag
30509 # Flag to hardcode \$libdir into a binary during linking.
30510 # This must work even if \$libdir does not exist
30511 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
30513 # If ld is used when linking, flag to hardcode \$libdir into a binary
30514 # during linking. This must work even if \$libdir does not exist.
30515 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
30517 # Whether we need a single "-rpath" flag with a separated argument.
30518 hardcode_libdir_separator=$lt_hardcode_libdir_separator
30520 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30521 # DIR into the resulting binary.
30522 hardcode_direct=$hardcode_direct
30524 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30525 # DIR into the resulting binary and the resulting library dependency is
30526 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
30527 # library is relocated.
30528 hardcode_direct_absolute=$hardcode_direct_absolute
30530 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30531 # into the resulting binary.
30532 hardcode_minus_L=$hardcode_minus_L
30534 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
30535 # into the resulting binary.
30536 hardcode_shlibpath_var=$hardcode_shlibpath_var
30538 # Set to "yes" if building a shared library automatically hardcodes DIR
30539 # into the library and all subsequent libraries and executables linked
30541 hardcode_automatic=$hardcode_automatic
30543 # Set to yes if linker adds runtime paths of dependent libraries
30544 # to runtime path list.
30545 inherit_rpath=$inherit_rpath
30547 # Whether libtool must link a program against all its dependency libraries.
30548 link_all_deplibs=$link_all_deplibs
30550 # Fix the shell variable \$srcfile for the compiler.
30551 fix_srcfile_path=$lt_fix_srcfile_path
30553 # Set to "yes" if exported symbols are required.
30554 always_export_symbols=$always_export_symbols
30556 # The commands to list exported symbols.
30557 export_symbols_cmds=$lt_export_symbols_cmds
30559 # Symbols that should not be listed in the preloaded symbols.
30560 exclude_expsyms=$lt_exclude_expsyms
30562 # Symbols that must always be exported.
30563 include_expsyms=$lt_include_expsyms
30565 # Commands necessary for linking programs (against libraries) with templates.
30566 prelink_cmds=$lt_prelink_cmds
30568 # Specify filename containing input files.
30569 file_list_spec=$lt_file_list_spec
30571 # How to hardcode a shared library path into an executable.
30572 hardcode_action=$hardcode_action
30574 # Dependencies to place before and after the objects being linked to
30575 # create a shared library.
30576 predep_objects=$lt_predep_objects
30577 postdep_objects=$lt_postdep_objects
30578 predeps=$lt_predeps
30579 postdeps=$lt_postdeps
30581 # The library search path used internally by the compiler when linking
30582 # a shared library.
30583 compiler_lib_search_path=$lt_compiler_lib_search_path
30585 # ### END LIBTOOL CONFIG
30591 cat <<\_LT_EOF
>> "$cfgfile"
30592 # AIX sometimes has problems with the GCC collect2 program. For some
30593 # reason, if we set the COLLECT_NAMES environment variable, the problems
30594 # vanish in a puff of smoke.
30595 if test "X${COLLECT_NAMES+set}" != Xset
; then
30597 export COLLECT_NAMES
30604 ltmain
="$ac_aux_dir/ltmain.sh"
30607 # We use sed instead of cat because bash on DJGPP gets confused if
30608 # if finds mixed CR/LF and LF-only lines. Since sed operates in
30609 # text mode, it properly converts lines to CR/LF. This bash problem
30610 # is reportedly fixed, but why not run on old versions too?
30611 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
30612 ||
(rm -f "$cfgfile"; exit 1)
30616 cat << \_LT_EOF
>> "$cfgfile"
30617 # func_dirname file append nondir_replacement
30618 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
30619 # otherwise set result to NONDIR_REPLACEMENT.
30623 */*) func_dirname_result
="${1%/*}${2}" ;;
30624 * ) func_dirname_result
="${3}" ;;
30628 # func_basename file
30631 func_basename_result
="${1##*/}"
30634 # func_stripname prefix suffix name
30635 # strip PREFIX and SUFFIX off of NAME.
30636 # PREFIX and SUFFIX must not contain globbing or regex special
30637 # characters, hashes, percent signs, but SUFFIX may contain a leading
30638 # dot (in which case that matches only a dot).
30641 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
30642 # positional parameters, so assign one to ordinary parameter first.
30643 func_stripname_result
=${3}
30644 func_stripname_result
=${func_stripname_result#"${1}"}
30645 func_stripname_result
=${func_stripname_result%"${2}"}
30651 func_opt_split_opt
=${1%%=*}
30652 func_opt_split_arg
=${1#*=}
30659 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
30660 *) func_lo2o_result
=${1} ;;
30665 *) # Bourne compatible functions.
30666 cat << \_LT_EOF
>> "$cfgfile"
30667 # func_dirname file append nondir_replacement
30668 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
30669 # otherwise set result to NONDIR_REPLACEMENT.
30672 # Extract subdirectory from the argument.
30673 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
30674 if test "X$func_dirname_result" = "X${1}"; then
30675 func_dirname_result
="${3}"
30677 func_dirname_result
="$func_dirname_result${2}"
30681 # func_basename file
30684 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
30687 # func_stripname prefix suffix name
30688 # strip PREFIX and SUFFIX off of NAME.
30689 # PREFIX and SUFFIX must not contain globbing or regex special
30690 # characters, hashes, percent signs, but SUFFIX may contain a leading
30691 # dot (in which case that matches only a dot).
30692 # func_strip_suffix prefix name
30696 .
*) func_stripname_result
=`$ECHO "X${3}" \
30697 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
30698 *) func_stripname_result
=`$ECHO "X${3}" \
30699 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
30704 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
30705 my_sed_long_arg
='1s/^-[^=]*=//'
30710 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
30711 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
30717 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
30722 case $lt_shell_append in
30724 cat << \_LT_EOF
>> "$cfgfile"
30726 # func_append var value
30727 # Append VALUE to the end of shell variable VAR.
30735 cat << \_LT_EOF
>> "$cfgfile"
30737 # func_append var value
30738 # Append VALUE to the end of shell variable VAR.
30748 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
30749 ||
(rm -f "$cfgfile"; exit 1)
30751 mv -f "$cfgfile" "$ofile" ||
30752 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
30756 cat <<_LT_EOF >> "$ofile"
30758 # ### BEGIN LIBTOOL TAG CONFIG: CXX
30760 # The linker used to build libraries.
30763 # Commands used to build an old-style archive.
30764 old_archive_cmds=$lt_old_archive_cmds_CXX
30766 # A language specific compiler.
30767 CC=$lt_compiler_CXX
30769 # Is the compiler the GNU compiler?
30772 # Compiler flag to turn off builtin functions.
30773 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
30775 # How to pass a linker flag through the compiler.
30776 wl=$lt_lt_prog_compiler_wl_CXX
30778 # Additional compiler flags for building library objects.
30779 pic_flag=$lt_lt_prog_compiler_pic_CXX
30781 # Compiler flag to prevent dynamic linking.
30782 link_static_flag=$lt_lt_prog_compiler_static_CXX
30784 # Does compiler simultaneously support -c and -o options?
30785 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
30787 # Whether or not to add -lc for building shared libraries.
30788 build_libtool_need_lc=$archive_cmds_need_lc_CXX
30790 # Whether or not to disallow shared libs when runtime libs are static.
30791 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
30793 # Compiler flag to allow reflexive dlopens.
30794 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
30796 # Compiler flag to generate shared objects directly from archives.
30797 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
30799 # Whether the compiler copes with passing no objects directly.
30800 compiler_needs_object=$lt_compiler_needs_object_CXX
30802 # Create an old-style archive from a shared archive.
30803 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
30805 # Create a temporary old-style archive to link instead of a shared archive.
30806 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
30808 # Commands used to build a shared archive.
30809 archive_cmds=$lt_archive_cmds_CXX
30810 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
30812 # Commands used to build a loadable module if different from building
30813 # a shared archive.
30814 module_cmds=$lt_module_cmds_CXX
30815 module_expsym_cmds=$lt_module_expsym_cmds_CXX
30817 # Whether we are building with GNU ld or not.
30818 with_gnu_ld=$lt_with_gnu_ld_CXX
30820 # Flag that allows shared libraries with undefined symbols to be built.
30821 allow_undefined_flag=$lt_allow_undefined_flag_CXX
30823 # Flag that enforces no undefined symbols.
30824 no_undefined_flag=$lt_no_undefined_flag_CXX
30826 # Flag to hardcode \$libdir into a binary during linking.
30827 # This must work even if \$libdir does not exist
30828 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
30830 # If ld is used when linking, flag to hardcode \$libdir into a binary
30831 # during linking. This must work even if \$libdir does not exist.
30832 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
30834 # Whether we need a single "-rpath" flag with a separated argument.
30835 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
30837 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30838 # DIR into the resulting binary.
30839 hardcode_direct=$hardcode_direct_CXX
30841 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30842 # DIR into the resulting binary and the resulting library dependency is
30843 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
30844 # library is relocated.
30845 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
30847 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30848 # into the resulting binary.
30849 hardcode_minus_L=$hardcode_minus_L_CXX
30851 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
30852 # into the resulting binary.
30853 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
30855 # Set to "yes" if building a shared library automatically hardcodes DIR
30856 # into the library and all subsequent libraries and executables linked
30858 hardcode_automatic=$hardcode_automatic_CXX
30860 # Set to yes if linker adds runtime paths of dependent libraries
30861 # to runtime path list.
30862 inherit_rpath=$inherit_rpath_CXX
30864 # Whether libtool must link a program against all its dependency libraries.
30865 link_all_deplibs=$link_all_deplibs_CXX
30867 # Fix the shell variable \$srcfile for the compiler.
30868 fix_srcfile_path=$lt_fix_srcfile_path_CXX
30870 # Set to "yes" if exported symbols are required.
30871 always_export_symbols=$always_export_symbols_CXX
30873 # The commands to list exported symbols.
30874 export_symbols_cmds=$lt_export_symbols_cmds_CXX
30876 # Symbols that should not be listed in the preloaded symbols.
30877 exclude_expsyms=$lt_exclude_expsyms_CXX
30879 # Symbols that must always be exported.
30880 include_expsyms=$lt_include_expsyms_CXX
30882 # Commands necessary for linking programs (against libraries) with templates.
30883 prelink_cmds=$lt_prelink_cmds_CXX
30885 # Specify filename containing input files.
30886 file_list_spec=$lt_file_list_spec_CXX
30888 # How to hardcode a shared library path into an executable.
30889 hardcode_action=$hardcode_action_CXX
30891 # Dependencies to place before and after the objects being linked to
30892 # create a shared library.
30893 predep_objects=$lt_predep_objects_CXX
30894 postdep_objects=$lt_postdep_objects_CXX
30895 predeps=$lt_predeps_CXX
30896 postdeps=$lt_postdeps_CXX
30898 # The library search path used internally by the compiler when linking
30899 # a shared library.
30900 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
30902 # ### END LIBTOOL TAG CONFIG: CXX
30906 cat <<_LT_EOF >> "$ofile"
30908 # ### BEGIN LIBTOOL TAG CONFIG: GCJ
30910 # The linker used to build libraries.
30913 # Commands used to build an old-style archive.
30914 old_archive_cmds=$lt_old_archive_cmds_GCJ
30916 # A language specific compiler.
30917 CC=$lt_compiler_GCJ
30919 # Is the compiler the GNU compiler?
30922 # Compiler flag to turn off builtin functions.
30923 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
30925 # How to pass a linker flag through the compiler.
30926 wl=$lt_lt_prog_compiler_wl_GCJ
30928 # Additional compiler flags for building library objects.
30929 pic_flag=$lt_lt_prog_compiler_pic_GCJ
30931 # Compiler flag to prevent dynamic linking.
30932 link_static_flag=$lt_lt_prog_compiler_static_GCJ
30934 # Does compiler simultaneously support -c and -o options?
30935 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
30937 # Whether or not to add -lc for building shared libraries.
30938 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
30940 # Whether or not to disallow shared libs when runtime libs are static.
30941 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
30943 # Compiler flag to allow reflexive dlopens.
30944 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
30946 # Compiler flag to generate shared objects directly from archives.
30947 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
30949 # Whether the compiler copes with passing no objects directly.
30950 compiler_needs_object=$lt_compiler_needs_object_GCJ
30952 # Create an old-style archive from a shared archive.
30953 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
30955 # Create a temporary old-style archive to link instead of a shared archive.
30956 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
30958 # Commands used to build a shared archive.
30959 archive_cmds=$lt_archive_cmds_GCJ
30960 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
30962 # Commands used to build a loadable module if different from building
30963 # a shared archive.
30964 module_cmds=$lt_module_cmds_GCJ
30965 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
30967 # Whether we are building with GNU ld or not.
30968 with_gnu_ld=$lt_with_gnu_ld_GCJ
30970 # Flag that allows shared libraries with undefined symbols to be built.
30971 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
30973 # Flag that enforces no undefined symbols.
30974 no_undefined_flag=$lt_no_undefined_flag_GCJ
30976 # Flag to hardcode \$libdir into a binary during linking.
30977 # This must work even if \$libdir does not exist
30978 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
30980 # If ld is used when linking, flag to hardcode \$libdir into a binary
30981 # during linking. This must work even if \$libdir does not exist.
30982 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
30984 # Whether we need a single "-rpath" flag with a separated argument.
30985 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
30987 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30988 # DIR into the resulting binary.
30989 hardcode_direct=$hardcode_direct_GCJ
30991 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30992 # DIR into the resulting binary and the resulting library dependency is
30993 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
30994 # library is relocated.
30995 hardcode_direct_absolute=$hardcode_direct_absolute_GCJ
30997 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30998 # into the resulting binary.
30999 hardcode_minus_L=$hardcode_minus_L_GCJ
31001 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
31002 # into the resulting binary.
31003 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
31005 # Set to "yes" if building a shared library automatically hardcodes DIR
31006 # into the library and all subsequent libraries and executables linked
31008 hardcode_automatic=$hardcode_automatic_GCJ
31010 # Set to yes if linker adds runtime paths of dependent libraries
31011 # to runtime path list.
31012 inherit_rpath=$inherit_rpath_GCJ
31014 # Whether libtool must link a program against all its dependency libraries.
31015 link_all_deplibs=$link_all_deplibs_GCJ
31017 # Fix the shell variable \$srcfile for the compiler.
31018 fix_srcfile_path=$lt_fix_srcfile_path_GCJ
31020 # Set to "yes" if exported symbols are required.
31021 always_export_symbols=$always_export_symbols_GCJ
31023 # The commands to list exported symbols.
31024 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
31026 # Symbols that should not be listed in the preloaded symbols.
31027 exclude_expsyms=$lt_exclude_expsyms_GCJ
31029 # Symbols that must always be exported.
31030 include_expsyms=$lt_include_expsyms_GCJ
31032 # Commands necessary for linking programs (against libraries) with templates.
31033 prelink_cmds=$lt_prelink_cmds_GCJ
31035 # Specify filename containing input files.
31036 file_list_spec=$lt_file_list_spec_GCJ
31038 # How to hardcode a shared library path into an executable.
31039 hardcode_action=$hardcode_action_GCJ
31041 # Dependencies to place before and after the objects being linked to
31042 # create a shared library.
31043 predep_objects=$lt_predep_objects_GCJ
31044 postdep_objects=$lt_postdep_objects_GCJ
31045 predeps=$lt_predeps_GCJ
31046 postdeps=$lt_postdeps_GCJ
31048 # The library search path used internally by the compiler when linking
31049 # a shared library.
31050 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
31052 # ### END LIBTOOL TAG CONFIG: GCJ
31060 cat >>$CONFIG_STATUS <<\_ACEOF
31062 { (exit 0); exit 0; }
31064 chmod +x
$CONFIG_STATUS
31065 ac_clean_files
=$ac_clean_files_save
31068 # configure is writing to config.log, and then calls config.status.
31069 # config.status does its own redirection, appending to config.log.
31070 # Unfortunately, on DOS this fails, as config.log is still kept open
31071 # by configure, so config.status won't be able to write to it; its
31072 # output is simply discarded. So we exec the FD to /dev/null,
31073 # effectively closing config.log, so it can be properly (re)opened and
31074 # appended to by config.status. When coming back to configure, we
31075 # need to make the FD available again.
31076 if test "$no_create" != yes; then
31078 ac_config_status_args
=
31079 test "$silent" = yes &&
31080 ac_config_status_args
="$ac_config_status_args --quiet"
31082 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
31084 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
31085 # would make configure fail if this is the last instruction.
31086 $ac_cs_success ||
{ (exit 1); exit 1; }
31090 # CONFIG_SUBDIRS section, as fixed in confsubdir.m4.
31092 if test "$no_recursion" != yes; then
31094 # Remove --cache-file and --srcdir arguments so they do not pile up.
31095 ac_sub_configure_args
=
31097 eval "set x $ac_configure_args"
31101 if test -n "$ac_prev"; then
31106 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
31107 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
31108 ac_prev
=cache_file
;;
31109 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
31110 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
31113 --config-cache |
-C)
31115 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
31117 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
31119 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
31121 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
31125 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
31127 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
31131 # Always prepend --prefix to ensure using the same prefix
31132 # in subdir configurations.
31133 ac_arg
="--prefix=$prefix"
31135 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
31137 ac_sub_configure_args
="$ac_arg $ac_sub_configure_args"
31140 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
31142 # Do not complain, so a configure script can configure whichever
31143 # parts of a large source tree are present.
31144 test -d "$srcdir/$ac_dir" ||
continue
31146 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
31147 echo "$as_me: configuring in $ac_dir" >&6;}
31148 { if $as_mkdir_p; then
31153 while test ! -d "$as_dir"; do
31154 as_dirs
="$as_dir $as_dirs"
31155 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31156 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31157 X"$as_dir" : 'X\(//\)[^/]' \| \
31158 X"$as_dir" : 'X\(//\)$' \| \
31159 X"$as_dir" : 'X\(/\)' \| \
31160 . : '\(.\)' 2>/dev/null ||
31162 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31163 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31164 /^X\(\/\/\)$/{ s//\1/; q; }
31165 /^X\(\/\).*/{ s//\1/; q; }
31168 test ! -n "$as_dirs" || mkdir
$as_dirs
31169 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31170 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31171 { (exit 1); exit 1; }; }; }
31175 if test "$ac_dir" != .
; then
31176 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31177 # A "../" for each directory in $ac_dir_suffix.
31178 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31180 ac_dir_suffix
= ac_top_builddir
=
31184 .
) # No --srcdir option. We are building in place.
31186 if test -z "$ac_top_builddir"; then
31189 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
31191 [\\/]* | ?
:[\\/]* ) # Absolute path.
31192 ac_srcdir
=$srcdir$ac_dir_suffix;
31193 ac_top_srcdir
=$srcdir ;;
31194 *) # Relative path.
31195 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
31196 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
31199 # Do not use `cd foo && pwd` to compute absolute paths, because
31200 # the directories may not exist.
31202 .
) ac_abs_builddir
="$ac_dir";;
31205 .
) ac_abs_builddir
=`pwd`;;
31206 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
31207 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
31210 case $ac_abs_builddir in
31211 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31213 case ${ac_top_builddir}.
in
31214 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
31215 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31216 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
31219 case $ac_abs_builddir in
31220 .
) ac_abs_srcdir
=$ac_srcdir;;
31223 .
) ac_abs_srcdir
=$ac_abs_builddir;;
31224 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
31225 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
31228 case $ac_abs_builddir in
31229 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
31231 case $ac_top_srcdir in
31232 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
31233 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
31234 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
31241 # Check for guested configure; otherwise get Cygnus style configure.
31242 if test -f "$ac_srcdir/configure.gnu"; then
31243 ac_sub_configure
=$ac_srcdir/configure.gnu
31244 elif test -f "$ac_srcdir/configure"; then
31245 ac_sub_configure
=$ac_srcdir/configure
31246 elif test -f "$ac_srcdir/configure.in"; then
31247 # This should be Cygnus configure.
31248 ac_sub_configure
=$ac_aux_dir/configure
31250 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
31251 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
31255 # The recursion is here.
31256 if test -n "$ac_sub_configure"; then
31257 # Make the cache file name correct relative to the subdirectory.
31258 case $cache_file in
31259 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
31260 *) # Relative path.
31261 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
31264 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
31265 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
31266 # The eval makes quoting arguments work.
31267 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
31268 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
31269 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
31270 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
31271 { (exit 1); exit 1; }; }