2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for libjava version-unused.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # Check that we are running under the correct shell.
246 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Remove one level of quotation (which was required for Make).
251 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
256 if test "X$1" = X--no-reexec
; then
257 # Discard the --no-reexec flag, and continue.
259 elif test "X$1" = X--fallback-echo
; then
260 # Avoid inline document here, it may be left over
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo
; then
271 # used as fallback echo
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
281 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
283 if test -z "$lt_ECHO"; then
284 if test "X${echo_test_string+set}" != Xset
; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
289 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
305 # So, first we look for a working echo in the user's PATH.
307 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
308 for dir
in $PATH /usr
/ucb
; do
310 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
320 if test "X$ECHO" = Xecho
; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
327 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL
=/bin
/ksh
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
343 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
349 SHELL
="$CONFIG_SHELL"
351 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
358 # maybe with a smaller string...
361 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string
=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
374 # Oops. We lost completely, so just stick with echo.
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
403 ac_default_prefix
=/usr
/local
404 ac_config_libobj_dir
=.
409 SHELL
=${CONFIG_SHELL-/bin/sh}
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
416 # Identity of this package.
417 PACKAGE_NAME
='libjava'
418 PACKAGE_TARNAME
='libjava'
419 PACKAGE_VERSION
='version-unused'
420 PACKAGE_STRING
='libjava version-unused'
423 ac_unique_file
="java/lang/System.java"
424 # Factoring default headers for most tests.
425 ac_includes_default
="\
428 # include <sys/types.h>
431 # include <sys/stat.h>
442 # if !STDC_HEADERS && HAVE_MEMORY_H
448 # include <strings.h>
451 # include <inttypes.h>
461 ac_subdirs_all
="$ac_subdirs_all classpath libltdl"
462 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os build_libsubdir build_subdir host_subdir target_subdir multi_basedir host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical LN_S mkinstalldirs JAVA_MAINTAINER_MODE_TRUE JAVA_MAINTAINER_MODE_FALSE CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LDFLAGS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE AS ac_ct_AS LD ac_ct_LD AR ac_ct_AR RANLIB ac_ct_RANLIB JAR ZIP UNZIP MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBGCJ_CFLAGS LIBGCJ_CXXFLAGS LIBGCJ_JAVAFLAGS LIBGCJ_LD_SYMBOLIC LIBGCJ_LD_SYMBOLIC_FUNCTIONS LIBGCJDEBUG TOOLKIT XLIB_AWT_TRUE XLIB_AWT_FALSE X_AWT_TRUE X_AWT_FALSE GCJ_FOR_ECJX GCJH host_exeext INCLTDL LIBLTDL DIRLTDL LIBTOOL SED EGREP FGREP GREP DUMPBIN ac_ct_DUMPBIN NM lt_ECHO CPP CPPFLAGS CXXCPP GCJ GCJFLAGS GCJDEPMODE am__fastdepGCJ_TRUE am__fastdepGCJ_FALSE subdirs TESTSUBDIR_TRUE TESTSUBDIR_FALSE ECJ_BUILD_JAR ECJ_JAR BUILD_ECJ1_TRUE BUILD_ECJ1_FALSE INSTALL_ECJ_JAR_TRUE INSTALL_ECJ_JAR_FALSE JAVA_HOME_SET_TRUE JAVA_HOME_SET_FALSE JAVA_HOME SUPPRESS_LIBGCJ_BC_TRUE SUPPRESS_LIBGCJ_BC_FALSE INTERPRETER INTERPRETER_TRUE INTERPRETER_FALSE LIBFFI LIBFFIINCS PLATFORM USING_WIN32_PLATFORM_TRUE USING_WIN32_PLATFORM_FALSE USING_POSIX_PLATFORM_TRUE USING_POSIX_PLATFORM_FALSE USING_DARWIN_CRT_TRUE USING_DARWIN_CRT_FALSE SYSTEMSPEC ZLIBSPEC ZLIBTESTSPEC X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS extra_ldflags_libjava extra_gij_ldflags extra_ldflags LIBSTDCXXSPEC LIBGCJTESTSPEC GCLIBS GCINCS GCDEPS GCSPEC JC1GCSPEC GCTESTSPEC USING_BOEHMGC_TRUE USING_BOEHMGC_FALSE USING_NOGC_TRUE USING_NOGC_FALSE THREADLIBS THREADINCS THREADDEPS THREADSPEC THREADSTARTFILESPEC THREADLDFLAGS THREADCXXFLAGS USING_POSIX_THREADS_TRUE USING_POSIX_THREADS_FALSE USING_WIN32_THREADS_TRUE USING_WIN32_THREADS_FALSE USING_NO_THREADS_TRUE USING_NO_THREADS_FALSE USE_LIBGCJ_BC_TRUE USE_LIBGCJ_BC_FALSE LIBGCJ_SPEC HASH_SYNC_SPEC USING_GCC_TRUE USING_GCC_FALSE LIBICONV LTLIBICONV PKG_CONFIG GTK_CFLAGS GTK_LIBS GLIB_CFLAGS GLIB_LIBS LIBART_CFLAGS LIBART_LIBS CLASSPATH_SEPARATOR ZLIBS SYS_ZLIBS ZINCS DIVIDESPEC CHECKREFSPEC EXCEPTIONSPEC BACKTRACESPEC IEEESPEC NATIVE_TRUE NATIVE_FALSE ENABLE_SHARED_TRUE ENABLE_SHARED_FALSE NEEDS_DATA_START_TRUE NEEDS_DATA_START_FALSE GCC_UNWIND_INCLUDE toolexecdir toolexecmainlibdir toolexeclibdir GCJVERSION dbexecdir gxx_include_dir libstdcxx_incdir PERL SYSDEP_SOURCES ANONVERSCRIPT_TRUE ANONVERSCRIPT_FALSE LD_START_STATIC_SPEC LD_FINISH_STATIC_SPEC here LIBOBJS LTLIBOBJS'
465 # Initialize some variables set by options.
467 ac_init_version
=false
468 # The variables have the same names as the options, with
469 # dashes changed to underlines.
477 program_transform_name
=s
,x
,x
,
485 # Installation directory options.
486 # These are left unexpanded so users can "make install exec_prefix=/foo"
487 # and all the variables that are supposed to be based on exec_prefix
488 # by default will actually change.
489 # Use braces instead of parens because sh, perl, etc. also accept them.
490 bindir
='${exec_prefix}/bin'
491 sbindir
='${exec_prefix}/sbin'
492 libexecdir
='${exec_prefix}/libexec'
493 datadir
='${prefix}/share'
494 sysconfdir
='${prefix}/etc'
495 sharedstatedir
='${prefix}/com'
496 localstatedir
='${prefix}/var'
497 libdir
='${exec_prefix}/lib'
498 includedir
='${prefix}/include'
499 oldincludedir
='/usr/include'
500 infodir
='${prefix}/info'
501 mandir
='${prefix}/man'
506 # If the previous option needs an argument, assign it.
507 if test -n "$ac_prev"; then
508 eval "$ac_prev=\$ac_option"
513 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
515 # Accept the important Cygnus configure options, so we can diagnose typos.
519 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
521 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
524 -build |
--build |
--buil |
--bui |
--bu)
525 ac_prev
=build_alias
;;
526 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
527 build_alias
=$ac_optarg ;;
529 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
530 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
531 ac_prev
=cache_file
;;
532 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
533 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
534 cache_file
=$ac_optarg ;;
537 cache_file
=config.cache
;;
539 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
541 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
543 datadir
=$ac_optarg ;;
545 -disable-* |
--disable-*)
546 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
547 # Reject names that are not valid shell variable names.
548 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
549 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
550 { (exit 1); exit 1; }; }
551 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
552 eval "enable_$ac_feature=no" ;;
554 -enable-* |
--enable-*)
555 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
556 # Reject names that are not valid shell variable names.
557 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
558 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
559 { (exit 1); exit 1; }; }
560 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
562 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
565 eval "enable_$ac_feature='$ac_optarg'" ;;
567 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
568 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
569 |
--exec |
--exe |
--ex)
570 ac_prev
=exec_prefix
;;
571 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
572 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
573 |
--exec=* |
--exe=* |
--ex=*)
574 exec_prefix
=$ac_optarg ;;
576 -gas |
--gas |
--ga |
--g)
577 # Obsolete; use --with-gas.
580 -help |
--help |
--hel |
--he |
-h)
582 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
583 ac_init_help
=recursive
;;
584 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
585 ac_init_help
=short
;;
587 -host |
--host |
--hos |
--ho)
588 ac_prev
=host_alias
;;
589 -host=* |
--host=* |
--hos=* |
--ho=*)
590 host_alias
=$ac_optarg ;;
592 -includedir |
--includedir |
--includedi |
--included |
--include \
593 |
--includ |
--inclu |
--incl |
--inc)
594 ac_prev
=includedir
;;
595 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
596 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
597 includedir
=$ac_optarg ;;
599 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
601 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
602 infodir
=$ac_optarg ;;
604 -libdir |
--libdir |
--libdi |
--libd)
606 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
609 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
610 |
--libexe |
--libex |
--libe)
611 ac_prev
=libexecdir
;;
612 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
613 |
--libexe=* |
--libex=* |
--libe=*)
614 libexecdir
=$ac_optarg ;;
616 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
617 |
--localstate |
--localstat |
--localsta |
--localst \
618 |
--locals |
--local |
--loca |
--loc |
--lo)
619 ac_prev
=localstatedir
;;
620 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
621 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
622 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
623 localstatedir
=$ac_optarg ;;
625 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
627 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
631 # Obsolete; use --without-fp.
634 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
635 |
--no-cr |
--no-c |
-n)
638 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
639 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
642 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
643 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
644 |
--oldin |
--oldi |
--old |
--ol |
--o)
645 ac_prev
=oldincludedir
;;
646 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
647 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
648 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
649 oldincludedir
=$ac_optarg ;;
651 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
653 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
656 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
657 |
--program-pre |
--program-pr |
--program-p)
658 ac_prev
=program_prefix
;;
659 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
660 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
661 program_prefix
=$ac_optarg ;;
663 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
664 |
--program-suf |
--program-su |
--program-s)
665 ac_prev
=program_suffix
;;
666 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
667 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
668 program_suffix
=$ac_optarg ;;
670 -program-transform-name |
--program-transform-name \
671 |
--program-transform-nam |
--program-transform-na \
672 |
--program-transform-n |
--program-transform- \
673 |
--program-transform |
--program-transfor \
674 |
--program-transfo |
--program-transf \
675 |
--program-trans |
--program-tran \
676 |
--progr-tra |
--program-tr |
--program-t)
677 ac_prev
=program_transform_name
;;
678 -program-transform-name=* |
--program-transform-name=* \
679 |
--program-transform-nam=* |
--program-transform-na=* \
680 |
--program-transform-n=* |
--program-transform-=* \
681 |
--program-transform=* |
--program-transfor=* \
682 |
--program-transfo=* |
--program-transf=* \
683 |
--program-trans=* |
--program-tran=* \
684 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
685 program_transform_name
=$ac_optarg ;;
687 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
688 |
-silent |
--silent |
--silen |
--sile |
--sil)
691 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
693 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
695 sbindir
=$ac_optarg ;;
697 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
698 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
699 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
701 ac_prev
=sharedstatedir
;;
702 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
703 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
704 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
706 sharedstatedir
=$ac_optarg ;;
708 -site |
--site |
--sit)
710 -site=* |
--site=* |
--sit=*)
713 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
715 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
718 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
719 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
720 ac_prev
=sysconfdir
;;
721 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
722 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
723 sysconfdir
=$ac_optarg ;;
725 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
726 ac_prev
=target_alias
;;
727 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
728 target_alias
=$ac_optarg ;;
730 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
733 -version |
--version |
--versio |
--versi |
--vers |
-V)
737 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
738 # Reject names that are not valid shell variable names.
739 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
740 { echo "$as_me: error: invalid package name: $ac_package" >&2
741 { (exit 1); exit 1; }; }
742 ac_package
=`echo $ac_package| sed 's/-/_/g'`
744 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
747 eval "with_$ac_package='$ac_optarg'" ;;
749 -without-* |
--without-*)
750 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
751 # Reject names that are not valid shell variable names.
752 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
753 { echo "$as_me: error: invalid package name: $ac_package" >&2
754 { (exit 1); exit 1; }; }
755 ac_package
=`echo $ac_package | sed 's/-/_/g'`
756 eval "with_$ac_package=no" ;;
759 # Obsolete; use --with-x.
762 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
763 |
--x-incl |
--x-inc |
--x-in |
--x-i)
764 ac_prev
=x_includes
;;
765 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
766 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
767 x_includes
=$ac_optarg ;;
769 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
770 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
771 ac_prev
=x_libraries
;;
772 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
773 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
774 x_libraries
=$ac_optarg ;;
776 -*) { echo "$as_me: error: unrecognized option: $ac_option
777 Try \`$0 --help' for more information." >&2
778 { (exit 1); exit 1; }; }
782 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
783 # Reject names that are not valid shell variable names.
784 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
785 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
786 { (exit 1); exit 1; }; }
787 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
788 eval "$ac_envvar='$ac_optarg'"
792 # FIXME: should be removed in autoconf 3.0.
793 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
794 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
795 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
796 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
802 if test -n "$ac_prev"; then
803 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
804 { echo "$as_me: error: missing argument to $ac_option" >&2
805 { (exit 1); exit 1; }; }
808 # Be sure to have absolute paths.
809 for ac_var
in exec_prefix prefix
811 eval ac_val
=$
`echo $ac_var`
813 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
814 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
815 { (exit 1); exit 1; }; };;
819 # Be sure to have absolute paths.
820 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
821 localstatedir libdir includedir oldincludedir infodir mandir
823 eval ac_val
=$
`echo $ac_var`
825 [\\/$
]* | ?
:[\\/]* ) ;;
826 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
827 { (exit 1); exit 1; }; };;
831 # There might be people who depend on the old broken behavior: `$host'
832 # used to hold the argument of --host etc.
833 # FIXME: To remove some day.
838 # FIXME: To remove some day.
839 if test "x$host_alias" != x
; then
840 if test "x$build_alias" = x
; then
841 cross_compiling
=maybe
842 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
843 If a cross compiler is detected then cross compile mode will be used." >&2
844 elif test "x$build_alias" != "x$host_alias"; then
850 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
852 test "$silent" = yes && exec 6>/dev
/null
855 # Find the source files, if location was not specified.
856 if test -z "$srcdir"; then
857 ac_srcdir_defaulted
=yes
858 # Try the directory containing this script, then its parent.
859 ac_confdir
=`(dirname "$0") 2>/dev/null ||
860 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
861 X"$0" : 'X\(//\)[^/]' \| \
862 X"$0" : 'X\(//\)$' \| \
863 X"$0" : 'X\(/\)' \| \
864 . : '\(.\)' 2>/dev/null ||
866 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
867 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
868 /^X\(\/\/\)$/{ s//\1/; q; }
869 /^X\(\/\).*/{ s//\1/; q; }
872 if test ! -r $srcdir/$ac_unique_file; then
876 ac_srcdir_defaulted
=no
878 if test ! -r $srcdir/$ac_unique_file; then
879 if test "$ac_srcdir_defaulted" = yes; then
880 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
881 { (exit 1); exit 1; }; }
883 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
884 { (exit 1); exit 1; }; }
887 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
888 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
889 { (exit 1); exit 1; }; }
890 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
891 ac_env_build_alias_set
=${build_alias+set}
892 ac_env_build_alias_value
=$build_alias
893 ac_cv_env_build_alias_set
=${build_alias+set}
894 ac_cv_env_build_alias_value
=$build_alias
895 ac_env_host_alias_set
=${host_alias+set}
896 ac_env_host_alias_value
=$host_alias
897 ac_cv_env_host_alias_set
=${host_alias+set}
898 ac_cv_env_host_alias_value
=$host_alias
899 ac_env_target_alias_set
=${target_alias+set}
900 ac_env_target_alias_value
=$target_alias
901 ac_cv_env_target_alias_set
=${target_alias+set}
902 ac_cv_env_target_alias_value
=$target_alias
903 ac_env_CPP_set
=${CPP+set}
904 ac_env_CPP_value
=$CPP
905 ac_cv_env_CPP_set
=${CPP+set}
906 ac_cv_env_CPP_value
=$CPP
907 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
908 ac_env_CPPFLAGS_value
=$CPPFLAGS
909 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
910 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
911 ac_env_CXX_set
=${CXX+set}
912 ac_env_CXX_value
=$CXX
913 ac_cv_env_CXX_set
=${CXX+set}
914 ac_cv_env_CXX_value
=$CXX
915 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
916 ac_env_CXXFLAGS_value
=$CXXFLAGS
917 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
918 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
919 ac_env_LDFLAGS_set
=${LDFLAGS+set}
920 ac_env_LDFLAGS_value
=$LDFLAGS
921 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
922 ac_cv_env_LDFLAGS_value
=$LDFLAGS
923 ac_env_CXXCPP_set
=${CXXCPP+set}
924 ac_env_CXXCPP_value
=$CXXCPP
925 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
926 ac_cv_env_CXXCPP_value
=$CXXCPP
929 # Report the --help message.
931 if test "$ac_init_help" = "long"; then
932 # Omit some internal or obsolete options to make the list less imposing.
933 # This message is too long to be a string in the A/UX 3.1 sh.
935 \`configure' configures libjava version-unused to adapt to many kinds of systems.
937 Usage: $0 [OPTION]... [VAR=VALUE]...
939 To assign environment variables (e.g., CC, CFLAGS...), specify them as
940 VAR=VALUE. See below for descriptions of some of the useful variables.
942 Defaults for the options are specified in brackets.
945 -h, --help display this help and exit
946 --help=short display options specific to this package
947 --help=recursive display the short help of all the included packages
948 -V, --version display version information and exit
949 -q, --quiet, --silent do not print \`checking...' messages
950 --cache-file=FILE cache test results in FILE [disabled]
951 -C, --config-cache alias for \`--cache-file=config.cache'
952 -n, --no-create do not create output files
953 --srcdir=DIR find the sources in DIR [configure dir or \`..']
958 Installation directories:
959 --prefix=PREFIX install architecture-independent files in PREFIX
961 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
964 By default, \`make install' will install all the files in
965 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
966 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
967 for instance \`--prefix=\$HOME'.
969 For better control, use the options below.
971 Fine tuning of the installation directories:
972 --bindir=DIR user executables [EPREFIX/bin]
973 --sbindir=DIR system admin executables [EPREFIX/sbin]
974 --libexecdir=DIR program executables [EPREFIX/libexec]
975 --datadir=DIR read-only architecture-independent data [PREFIX/share]
976 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
977 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
978 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
979 --libdir=DIR object code libraries [EPREFIX/lib]
980 --includedir=DIR C header files [PREFIX/include]
981 --oldincludedir=DIR C header files for non-gcc [/usr/include]
982 --infodir=DIR info documentation [PREFIX/info]
983 --mandir=DIR man documentation [PREFIX/man]
989 --program-prefix=PREFIX prepend PREFIX to installed program names
990 --program-suffix=SUFFIX append SUFFIX to installed program names
991 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
994 --x-includes=DIR X include files are
in DIR
995 --x-libraries=DIR X library files are
in DIR
998 --build=BUILD configure
for building on BUILD
[guessed
]
999 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1000 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1004 if test -n "$ac_init_help"; then
1005 case $ac_init_help in
1006 short | recursive
) echo "Configuration of libjava version-unused:";;
1011 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1012 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1013 --enable-multilib build many library versions
(default
)
1014 --enable-version-specific-runtime-libs
1015 specify that runtime libraries should be installed
1016 in a compiler-specific directory
1017 --enable-plugin build gcjwebplugin web browser plugin
1018 --enable-gconf-peer compile GConf native peers
for util.preferences
1019 --enable-java-maintainer-mode
1020 allow rebuilding of .class and .h files
1021 --disable-dependency-tracking speeds up one-time build
1022 --enable-dependency-tracking do not reject slow dependency extractors
1023 --enable-maintainer-mode enable make rules and dependencies not useful
1024 (and sometimes confusing
) to the casual installer
1025 --enable-libgcj-debug enable runtime debugging code
1026 --enable-java-awt list of AWT peer implementations to be built
1027 --enable-shared[=PKGS
]
1028 build shared libraries
[default
=yes]
1029 --enable-static[=PKGS
]
1030 build static libraries
[default
=yes]
1031 --enable-fast-install[=PKGS
]
1032 optimize
for fast installation
[default
=yes]
1033 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1034 --disable-getenv-properties
1035 don
't set system properties from GCJ_PROPERTIES
1036 --enable-hash-synchronization
1037 use global hash table for monitor locks
1038 --enable-libgcj-bc enable(default) or disable BC ABI for portions of
1040 --enable-gc-debug include full support for pointer backtracing etc.
1041 --enable-interpreter enable interpreter
1042 --enable-sjlj-exceptions
1043 force use of builtin_setjmp for exceptions
1044 --disable-java-net disable java.net
1045 --disable-jvmpi disable JVMPI support
1046 --enable-java-gc=TYPE choose garbage collector (default is boehm)
1047 --disable-rpath do not hardcode runtime library paths
1048 --enable-tls Use thread-local storage [default=yes]
1051 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1052 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1053 --with-build-libsubdir=DIR Directory where to find libraries for build system
1054 --with-target-subdir=SUBDIR
1055 configure in a subdirectory
1056 --with-cross-host=HOST configure with a cross compiler from HOST
1057 --with-newlib configure with newlib
1058 --with-escher=ABS.PATH specify path to escher dir or JAR for X peers
1059 --with-pic try to use only PIC/non-PIC objects [default=use
1061 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1062 --with-ecj-jar=FILE use preinstalled ecj jar
1063 --with-java-home=DIRECTORY
1064 value of java.home system property
1065 --with-win32-nlsapi=ansi or unicows or unicode
1066 native MinGW libgcj Win32 OS API (default is ansi)
1067 --without-libffi don't use libffi
1068 --with-ecos enable runtime eCos target support
1069 --with-system-zlib use installed libz
1070 --with-x use the X Window System
1071 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1072 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1073 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1075 Some influential environment variables:
1076 CC C compiler command
1077 CFLAGS C compiler flags
1078 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1079 nonstandard directory <lib dir>
1080 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1081 headers in a nonstandard directory <include dir>
1082 CXX C++ compiler command
1083 CXXFLAGS C++ compiler flags
1085 CXXCPP C++ preprocessor
1087 Use these variables to override the choices made by `configure' or to
help
1088 it to
find libraries and programs with nonstandard names
/locations.
1093 if test "$ac_init_help" = "recursive"; then
1094 # If there are subdirs, report their specific --help.
1096 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1097 test -d $ac_dir ||
continue
1100 if test "$ac_dir" != .
; then
1101 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1102 # A "../" for each directory in $ac_dir_suffix.
1103 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1105 ac_dir_suffix
= ac_top_builddir
=
1109 .
) # No --srcdir option. We are building in place.
1111 if test -z "$ac_top_builddir"; then
1114 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1116 [\\/]* | ?
:[\\/]* ) # Absolute path.
1117 ac_srcdir
=$srcdir$ac_dir_suffix;
1118 ac_top_srcdir
=$srcdir ;;
1120 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1121 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1124 # Do not use `cd foo && pwd` to compute absolute paths, because
1125 # the directories may not exist.
1127 .
) ac_abs_builddir
="$ac_dir";;
1130 .
) ac_abs_builddir
=`pwd`;;
1131 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1132 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1135 case $ac_abs_builddir in
1136 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1138 case ${ac_top_builddir}.
in
1139 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1140 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1141 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1144 case $ac_abs_builddir in
1145 .
) ac_abs_srcdir
=$ac_srcdir;;
1148 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1149 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1150 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1153 case $ac_abs_builddir in
1154 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1156 case $ac_top_srcdir in
1157 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1158 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1159 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1164 # Check for guested configure; otherwise get Cygnus style configure.
1165 if test -f $ac_srcdir/configure.gnu
; then
1167 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1168 elif test -f $ac_srcdir/configure
; then
1170 $SHELL $ac_srcdir/configure
--help=recursive
1171 elif test -f $ac_srcdir/configure.ac ||
1172 test -f $ac_srcdir/configure.
in; then
1174 $ac_configure --help
1176 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1182 test -n "$ac_init_help" && exit 0
1183 if $ac_init_version; then
1185 libjava configure version-unused
1186 generated by GNU Autoconf
2.59
1188 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1189 This configure
script is free software
; the Free Software Foundation
1190 gives unlimited permission to copy
, distribute and modify it.
1196 This file contains any messages produced by compilers while
1197 running configure, to aid debugging if configure makes a mistake.
1199 It was created by libjava $as_me version-unused, which was
1200 generated by GNU Autoconf 2.59. Invocation command line was
1211 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1212 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1213 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1214 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1215 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1217 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1218 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1220 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1221 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1222 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1223 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1224 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1225 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1226 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1234 test -z "$as_dir" && as_dir
=.
1235 echo "PATH: $as_dir"
1250 # Keep a trace of the command line.
1251 # Strip out --no-create and --no-recursion so they do not pile up.
1252 # Strip out --silent because we don't want to record it for future runs.
1253 # Also quote any args containing shell meta-characters.
1254 # Make two passes to allow for proper duplicate-argument suppression.
1259 ac_must_keep_next
=false
1265 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1266 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1267 |
-silent |
--silent |
--silen |
--sile |
--sil)
1269 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1270 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1273 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1275 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1276 if test $ac_must_keep_next = true
; then
1277 ac_must_keep_next
=false
# Got value, back to normal.
1280 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1281 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1282 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1283 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1284 case "$ac_configure_args0 " in
1285 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1288 -* ) ac_must_keep_next
=true
;;
1291 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1292 # Get rid of the leading space.
1298 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1299 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1301 # When interrupted or exit'd, cleanup temporary files, and complete
1302 # config.log. We remove comments because anyway the quotes in there
1303 # would cause problems or look ugly.
1304 # WARNING: Be sure not to use single quotes in there, as some shells,
1305 # such as our DU 5.0 friend, will then `close' the trap.
1306 trap 'exit_status=$?
1307 # Save into config.log some information that might help in debugging.
1312 ## ---------------- ##
1313 ## Cache variables. ##
1314 ## ---------------- ##
1317 # The following way of writing the cache mishandles newlines in values,
1320 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1323 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1324 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1328 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1335 ## ----------------- ##
1336 ## Output variables. ##
1337 ## ----------------- ##
1340 for ac_var in $ac_subst_vars
1342 eval ac_val=$`echo $ac_var`
1343 echo "$ac_var='"'"'$ac_val'"'"'"
1347 if test -n "$ac_subst_files"; then
1354 for ac_var in $ac_subst_files
1356 eval ac_val=$`echo $ac_var`
1357 echo "$ac_var='"'"'$ac_val'"'"'"
1362 if test -s confdefs.h; then
1369 sed "/^$/d" confdefs.h | sort
1372 test "$ac_signal" != 0 &&
1373 echo "$as_me: caught signal $ac_signal"
1374 echo "$as_me: exit $exit_status"
1376 rm -f core *.core &&
1377 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1380 for ac_signal
in 1 2 13 15; do
1381 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1385 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1386 rm -rf conftest
* confdefs.h
1387 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1390 # Predefined preprocessor variables.
1392 cat >>confdefs.h
<<_ACEOF
1393 #define PACKAGE_NAME "$PACKAGE_NAME"
1397 cat >>confdefs.h
<<_ACEOF
1398 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1402 cat >>confdefs.h
<<_ACEOF
1403 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1407 cat >>confdefs.h
<<_ACEOF
1408 #define PACKAGE_STRING "$PACKAGE_STRING"
1412 cat >>confdefs.h
<<_ACEOF
1413 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1417 # Let the site file select an alternate cache file if it wants to.
1418 # Prefer explicitly selected file to automatically selected ones.
1419 if test -z "$CONFIG_SITE"; then
1420 if test "x$prefix" != xNONE
; then
1421 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1423 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1426 for ac_site_file
in $CONFIG_SITE; do
1427 if test -r "$ac_site_file"; then
1428 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1429 echo "$as_me: loading site script $ac_site_file" >&6;}
1430 sed 's/^/| /' "$ac_site_file" >&5
1435 if test -r "$cache_file"; then
1436 # Some versions of bash will fail to source /dev/null (special
1437 # files actually), so we avoid doing that.
1438 if test -f "$cache_file"; then
1439 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1440 echo "$as_me: loading cache $cache_file" >&6;}
1442 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1443 *) . .
/$cache_file;;
1447 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1448 echo "$as_me: creating cache $cache_file" >&6;}
1452 # Check that the precious variables saved in the cache have kept the same
1454 ac_cache_corrupted
=false
1455 for ac_var
in `(set) 2>&1 |
1456 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1457 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1458 eval ac_new_set
=\
$ac_env_${ac_var}_set
1459 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1460 eval ac_new_val
="\$ac_env_${ac_var}_value"
1461 case $ac_old_set,$ac_new_set in
1463 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1464 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1465 ac_cache_corrupted
=: ;;
1467 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1468 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1469 ac_cache_corrupted
=: ;;
1472 if test "x$ac_old_val" != "x$ac_new_val"; then
1473 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1474 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1475 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1476 echo "$as_me: former value: $ac_old_val" >&2;}
1477 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1478 echo "$as_me: current value: $ac_new_val" >&2;}
1479 ac_cache_corrupted
=:
1482 # Pass precious variables to config.status.
1483 if test "$ac_new_set" = set; then
1485 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1486 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1487 *) ac_arg
=$ac_var=$ac_new_val ;;
1489 case " $ac_configure_args " in
1490 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1491 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1495 if $ac_cache_corrupted; then
1496 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1497 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1498 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1499 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1500 { (exit 1); exit 1; }; }
1504 ac_cpp
='$CPP $CPPFLAGS'
1505 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1506 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1507 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1539 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1540 if test -f $ac_dir/install-sh
; then
1542 ac_install_sh
="$ac_aux_dir/install-sh -c"
1544 elif test -f $ac_dir/install.sh
; then
1546 ac_install_sh
="$ac_aux_dir/install.sh -c"
1548 elif test -f $ac_dir/shtool
; then
1550 ac_install_sh
="$ac_aux_dir/shtool install -c"
1554 if test -z "$ac_aux_dir"; then
1555 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1556 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1557 { (exit 1); exit 1; }; }
1559 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1560 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1561 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1563 # Make sure we can run config.sub.
1564 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1565 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1566 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1567 { (exit 1); exit 1; }; }
1569 echo "$as_me:$LINENO: checking build system type" >&5
1570 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1571 if test "${ac_cv_build+set}" = set; then
1572 echo $ECHO_N "(cached) $ECHO_C" >&6
1574 ac_cv_build_alias
=$build_alias
1575 test -z "$ac_cv_build_alias" &&
1576 ac_cv_build_alias
=`$ac_config_guess`
1577 test -z "$ac_cv_build_alias" &&
1578 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1579 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1580 { (exit 1); exit 1; }; }
1581 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1582 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1583 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1584 { (exit 1); exit 1; }; }
1587 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1588 echo "${ECHO_T}$ac_cv_build" >&6
1590 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1591 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1592 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1595 case ${build_alias} in
1596 "") build_noncanonical
=${build} ;;
1597 *) build_noncanonical
=${build_alias} ;;
1600 case ${host_alias} in
1601 "") host_noncanonical
=${build_noncanonical} ;;
1602 *) host_noncanonical
=${host_alias} ;;
1605 case ${target_alias} in
1606 "") target_noncanonical
=${host_noncanonical} ;;
1607 *) target_noncanonical
=${target_alias} ;;
1611 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1612 # have matching libraries, they should use host libraries: Makefile.tpl
1613 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1614 # However, they still use the build modules, because the corresponding
1615 # host modules (e.g. bison) are only built for the host when bootstrap
1617 # - build_subdir is where we find build modules, and never changes.
1618 # - build_libsubdir is where we find build libraries, and can be overridden.
1620 # Prefix 'build-' so this never conflicts with target_subdir.
1621 build_subdir
="build-${build_noncanonical}"
1623 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1624 if test "${with_build_libsubdir+set}" = set; then
1625 withval
="$with_build_libsubdir"
1626 build_libsubdir
="$withval"
1628 build_libsubdir
="$build_subdir"
1630 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1631 if ( test $srcdir = .
&& test -d gcc
) \
1632 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1633 host_subdir
="host-${host_noncanonical}"
1638 target_subdir
=${target_noncanonical}
1641 # We use these options to decide which functions to include.
1643 # Check whether --with-target-subdir or --without-target-subdir was given.
1644 if test "${with_target_subdir+set}" = set; then
1645 withval
="$with_target_subdir"
1649 # We may get other options which we don't document:
1650 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1652 # Find the rest of the source tree framework.
1653 # Default to --enable-multilib
1654 # Check whether --enable-multilib or --disable-multilib was given.
1655 if test "${enable_multilib+set}" = set; then
1656 enableval
="$enable_multilib"
1657 case "$enableval" in
1658 yes) multilib
=yes ;;
1660 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1661 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1662 { (exit 1); exit 1; }; } ;;
1668 # We may get other options which we leave undocumented:
1669 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1670 # See config-ml.in if you want the gory details.
1672 if test "$srcdir" = "."; then
1673 if test "$with_target_subdir" != "."; then
1674 multi_basedir
="$srcdir/$with_multisrctop../.."
1676 multi_basedir
="$srcdir/$with_multisrctop.."
1679 multi_basedir
="$srcdir/.."
1683 # Even if the default multilib is not a cross compilation,
1684 # it may be that some of the other multilibs are.
1685 if test $cross_compiling = no
&& test $multilib = yes \
1686 && test "x${with_multisubdir}" != x
; then
1687 cross_compiling
=maybe
1690 ac_config_commands
="$ac_config_commands default-1"
1693 echo "$as_me:$LINENO: checking host system type" >&5
1694 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1695 if test "${ac_cv_host+set}" = set; then
1696 echo $ECHO_N "(cached) $ECHO_C" >&6
1698 ac_cv_host_alias
=$host_alias
1699 test -z "$ac_cv_host_alias" &&
1700 ac_cv_host_alias
=$ac_cv_build_alias
1701 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1702 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1703 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1704 { (exit 1); exit 1; }; }
1707 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1708 echo "${ECHO_T}$ac_cv_host" >&6
1710 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1711 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1712 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1715 echo "$as_me:$LINENO: checking target system type" >&5
1716 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1717 if test "${ac_cv_target+set}" = set; then
1718 echo $ECHO_N "(cached) $ECHO_C" >&6
1720 ac_cv_target_alias
=$target_alias
1721 test "x$ac_cv_target_alias" = "x" &&
1722 ac_cv_target_alias
=$ac_cv_host_alias
1723 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1724 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1725 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1726 { (exit 1); exit 1; }; }
1729 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1730 echo "${ECHO_T}$ac_cv_target" >&6
1731 target
=$ac_cv_target
1732 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1733 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1734 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1737 # The aliases save the names the user supplied, while $host etc.
1738 # will get canonicalized.
1739 test -n "$target_alias" &&
1740 test "$program_prefix$program_suffix$program_transform_name" = \
1742 program_prefix
=${target_alias}-
1743 case ${build_alias} in
1744 "") build_noncanonical
=${build} ;;
1745 *) build_noncanonical
=${build_alias} ;;
1748 case ${target_alias} in
1749 "") target_noncanonical
=${host_noncanonical} ;;
1750 *) target_noncanonical
=${target_alias} ;;
1756 # This works around the fact that libtool configuration may change LD
1757 # for this particular configuration, but some shells, instead of
1758 # keeping the changes in LD private, export them just because LD is
1760 ORIGINAL_LD_FOR_MULTILIBS
=$LD
1762 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1763 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1765 if test "$LN_S" = "ln -s"; then
1766 echo "$as_me:$LINENO: result: yes" >&5
1767 echo "${ECHO_T}yes" >&6
1769 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1770 echo "${ECHO_T}no, using $LN_S" >&6
1774 # This works around an automake problem.
1775 mkinstalldirs
="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
1779 # Check whether --with-cross-host or --without-cross-host was given.
1780 if test "${with_cross_host+set}" = set; then
1781 withval
="$with_cross_host"
1786 # Check whether --with-newlib or --without-newlib was given.
1787 if test "${with_newlib+set}" = set; then
1788 withval
="$with_newlib"
1792 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1793 if test "${enable_version_specific_runtime_libs+set}" = set; then
1794 enableval
="$enable_version_specific_runtime_libs"
1795 case "$enableval" in
1796 yes) version_specific_libs
=yes ;;
1797 no
) version_specific_libs
=no
;;
1798 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1799 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1800 { (exit 1); exit 1; }; };;
1803 version_specific_libs
=no
1807 # Check whether --enable-plugin or --disable-plugin was given.
1808 if test "${enable_plugin+set}" = set; then
1809 enableval
="$enable_plugin"
1810 case "$enableval" in
1811 yes) plugin_enabled
=yes ;;
1812 no
) plugin_enabled
=no
;;
1813 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable plugin" >&5
1814 echo "$as_me: error: Unknown argument to enable/disable plugin" >&2;}
1815 { (exit 1); exit 1; }; };;
1822 # Check whether --enable-gconf-peer or --disable-gconf-peer was given.
1823 if test "${enable_gconf_peer+set}" = set; then
1824 enableval
="$enable_gconf_peer"
1825 case "$enableval" in
1826 yes) gconf_enabled
=yes ;;
1827 no
) gconf_enabled
=no
;;
1828 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable gconf-peer" >&5
1829 echo "$as_me: error: Unknown argument to enable/disable gconf-peer" >&2;}
1830 { (exit 1); exit 1; }; };;
1837 # Check whether --enable-java-maintainer-mode or --disable-java-maintainer-mode was given.
1838 if test "${enable_java_maintainer_mode+set}" = set; then
1839 enableval
="$enable_java_maintainer_mode"
1844 if test "$enable_java_maintainer_mode" = yes; then
1845 JAVA_MAINTAINER_MODE_TRUE
=
1846 JAVA_MAINTAINER_MODE_FALSE
='#'
1848 JAVA_MAINTAINER_MODE_TRUE
='#'
1849 JAVA_MAINTAINER_MODE_FALSE
=
1853 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
1856 # (1) We use an abnormal CXX (without library references), so we
1857 # must cache it under a different name.
1858 # (2) CC, CFLAGS, CXX, CXXFLAGS, LDFLAGS must not be 'precious', or
1859 # the non-multilib-adjusted value will be used in multilibs.
1860 # (3) As a side effect, we must SUBST CXXFLAGS, CFLAGS, and LDFLAGS ourselves.
1861 # (4) As another side effect, automake doesn't automatically include them
1863 # (5) For libstdc++-v3, -fno-builtin must be present here so that a
1864 # non-conflicting form of std::exit can be guessed by AC_PROG_CXX, and
1865 # used in later tests. This may not be necessary in libjava; I don't know.
1868 save_CXXFLAGS
="$CXXFLAGS"
1869 CXXFLAGS
="$CXXFLAGS -fno-builtin"
1871 ac_cpp
='$CPP $CPPFLAGS'
1872 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1873 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1874 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1875 if test -n "$ac_tool_prefix"; then
1876 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1877 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1878 echo "$as_me:$LINENO: checking for $ac_word" >&5
1879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1880 if test "${ac_cv_prog_CC+set}" = set; then
1881 echo $ECHO_N "(cached) $ECHO_C" >&6
1883 if test -n "$CC"; then
1884 ac_cv_prog_CC
="$CC" # Let the user override the test.
1886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1890 test -z "$as_dir" && as_dir
=.
1891 for ac_exec_ext
in '' $ac_executable_extensions; do
1892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1893 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1903 if test -n "$CC"; then
1904 echo "$as_me:$LINENO: result: $CC" >&5
1905 echo "${ECHO_T}$CC" >&6
1907 echo "$as_me:$LINENO: result: no" >&5
1908 echo "${ECHO_T}no" >&6
1912 if test -z "$ac_cv_prog_CC"; then
1914 # Extract the first word of "gcc", so it can be a program name with args.
1915 set dummy gcc
; ac_word
=$2
1916 echo "$as_me:$LINENO: checking for $ac_word" >&5
1917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1918 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1919 echo $ECHO_N "(cached) $ECHO_C" >&6
1921 if test -n "$ac_ct_CC"; then
1922 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1928 test -z "$as_dir" && as_dir
=.
1929 for ac_exec_ext
in '' $ac_executable_extensions; do
1930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1931 ac_cv_prog_ac_ct_CC
="gcc"
1932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1940 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1941 if test -n "$ac_ct_CC"; then
1942 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1943 echo "${ECHO_T}$ac_ct_CC" >&6
1945 echo "$as_me:$LINENO: result: no" >&5
1946 echo "${ECHO_T}no" >&6
1954 if test -z "$CC"; then
1955 if test -n "$ac_tool_prefix"; then
1956 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1957 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1958 echo "$as_me:$LINENO: checking for $ac_word" >&5
1959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1960 if test "${ac_cv_prog_CC+set}" = set; then
1961 echo $ECHO_N "(cached) $ECHO_C" >&6
1963 if test -n "$CC"; then
1964 ac_cv_prog_CC
="$CC" # Let the user override the test.
1966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1970 test -z "$as_dir" && as_dir
=.
1971 for ac_exec_ext
in '' $ac_executable_extensions; do
1972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1973 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1983 if test -n "$CC"; then
1984 echo "$as_me:$LINENO: result: $CC" >&5
1985 echo "${ECHO_T}$CC" >&6
1987 echo "$as_me:$LINENO: result: no" >&5
1988 echo "${ECHO_T}no" >&6
1992 if test -z "$ac_cv_prog_CC"; then
1994 # Extract the first word of "cc", so it can be a program name with args.
1995 set dummy cc
; ac_word
=$2
1996 echo "$as_me:$LINENO: checking for $ac_word" >&5
1997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1998 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1999 echo $ECHO_N "(cached) $ECHO_C" >&6
2001 if test -n "$ac_ct_CC"; then
2002 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2008 test -z "$as_dir" && as_dir
=.
2009 for ac_exec_ext
in '' $ac_executable_extensions; do
2010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2011 ac_cv_prog_ac_ct_CC
="cc"
2012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2020 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2021 if test -n "$ac_ct_CC"; then
2022 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2023 echo "${ECHO_T}$ac_ct_CC" >&6
2025 echo "$as_me:$LINENO: result: no" >&5
2026 echo "${ECHO_T}no" >&6
2035 if test -z "$CC"; then
2036 # Extract the first word of "cc", so it can be a program name with args.
2037 set dummy cc
; ac_word
=$2
2038 echo "$as_me:$LINENO: checking for $ac_word" >&5
2039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2040 if test "${ac_cv_prog_CC+set}" = set; then
2041 echo $ECHO_N "(cached) $ECHO_C" >&6
2043 if test -n "$CC"; then
2044 ac_cv_prog_CC
="$CC" # Let the user override the test.
2047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2051 test -z "$as_dir" && as_dir
=.
2052 for ac_exec_ext
in '' $ac_executable_extensions; do
2053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2054 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2055 ac_prog_rejected
=yes
2059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2065 if test $ac_prog_rejected = yes; then
2066 # We found a bogon in the path, so make sure we never use it.
2067 set dummy
$ac_cv_prog_CC
2069 if test $# != 0; then
2070 # We chose a different compiler from the bogus one.
2071 # However, it has the same basename, so the bogon will be chosen
2072 # first if we set CC to just the basename; use the full file name.
2074 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2080 if test -n "$CC"; then
2081 echo "$as_me:$LINENO: result: $CC" >&5
2082 echo "${ECHO_T}$CC" >&6
2084 echo "$as_me:$LINENO: result: no" >&5
2085 echo "${ECHO_T}no" >&6
2089 if test -z "$CC"; then
2090 if test -n "$ac_tool_prefix"; then
2093 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2094 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2095 echo "$as_me:$LINENO: checking for $ac_word" >&5
2096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2097 if test "${ac_cv_prog_CC+set}" = set; then
2098 echo $ECHO_N "(cached) $ECHO_C" >&6
2100 if test -n "$CC"; then
2101 ac_cv_prog_CC
="$CC" # Let the user override the test.
2103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2107 test -z "$as_dir" && as_dir
=.
2108 for ac_exec_ext
in '' $ac_executable_extensions; do
2109 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2110 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2120 if test -n "$CC"; then
2121 echo "$as_me:$LINENO: result: $CC" >&5
2122 echo "${ECHO_T}$CC" >&6
2124 echo "$as_me:$LINENO: result: no" >&5
2125 echo "${ECHO_T}no" >&6
2128 test -n "$CC" && break
2131 if test -z "$CC"; then
2135 # Extract the first word of "$ac_prog", so it can be a program name with args.
2136 set dummy
$ac_prog; ac_word
=$2
2137 echo "$as_me:$LINENO: checking for $ac_word" >&5
2138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2139 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2140 echo $ECHO_N "(cached) $ECHO_C" >&6
2142 if test -n "$ac_ct_CC"; then
2143 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2149 test -z "$as_dir" && as_dir
=.
2150 for ac_exec_ext
in '' $ac_executable_extensions; do
2151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2152 ac_cv_prog_ac_ct_CC
="$ac_prog"
2153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2161 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2162 if test -n "$ac_ct_CC"; then
2163 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2164 echo "${ECHO_T}$ac_ct_CC" >&6
2166 echo "$as_me:$LINENO: result: no" >&5
2167 echo "${ECHO_T}no" >&6
2170 test -n "$ac_ct_CC" && break
2179 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2180 See \`config.log' for more details." >&5
2181 echo "$as_me: error: no acceptable C compiler found in \$PATH
2182 See \`config.log' for more details." >&2;}
2183 { (exit 1); exit 1; }; }
2185 # Provide some information about the compiler.
2186 echo "$as_me:$LINENO:" \
2187 "checking for C compiler version" >&5
2188 ac_compiler
=`set X $ac_compile; echo $2`
2189 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2190 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2193 (exit $ac_status); }
2194 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2195 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2198 (exit $ac_status); }
2199 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2200 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2203 (exit $ac_status); }
2205 cat >conftest.
$ac_ext <<_ACEOF
2208 cat confdefs.h
>>conftest.
$ac_ext
2209 cat >>conftest.
$ac_ext <<_ACEOF
2210 /* end confdefs.h. */
2221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2222 (eval $ac_link) 2>&5
2224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2225 (exit $ac_status); }; then
2231 if test x
$gcc_no_link = xyes
; then
2232 # Setting cross_compile will disable run tests; it will
2233 # also disable AC_CHECK_FILE but that's generally
2234 # correct if we can't link.
2238 cat >conftest.
$ac_ext <<_ACEOF
2241 cat confdefs.h
>>conftest.
$ac_ext
2242 cat >>conftest.
$ac_ext <<_ACEOF
2243 /* end confdefs.h. */
2253 ac_clean_files_save
=$ac_clean_files
2254 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2255 # Try to create an executable without -o first, disregard a.out.
2256 # It will help us diagnose broken compilers, and finding out an intuition
2258 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2259 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2260 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2261 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2262 (eval $ac_link_default) 2>&5
2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265 (exit $ac_status); }; then
2266 # Find the output, starting from the most likely. This scheme is
2267 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2270 # Be careful to initialize this variable, since it used to be cached.
2271 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2273 # b.out is created by i960 compilers.
2274 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2276 test -f "$ac_file" ||
continue
2278 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2281 # This is the source file.
2284 # We found the default executable, but exeext='' is most
2288 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2289 # FIXME: I believe we export ac_cv_exeext for Libtool,
2290 # but it would be cool to find out if it's true. Does anybody
2291 # maintain Libtool? --akim.
2299 echo "$as_me: failed program was:" >&5
2300 sed 's/^/| /' conftest.
$ac_ext >&5
2302 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2303 See \`config.log' for more details." >&5
2304 echo "$as_me: error: C compiler cannot create executables
2305 See \`config.log' for more details." >&2;}
2306 { (exit 77); exit 77; }; }
2309 ac_exeext
=$ac_cv_exeext
2310 echo "$as_me:$LINENO: result: $ac_file" >&5
2311 echo "${ECHO_T}$ac_file" >&6
2313 # Check the compiler produces executables we can run. If not, either
2314 # the compiler is broken, or we cross compile.
2315 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2316 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2317 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2318 # If not cross compiling, check that we can run a simple program.
2319 if test "$cross_compiling" != yes; then
2320 if { ac_try
='./$ac_file'
2321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325 (exit $ac_status); }; }; then
2328 if test "$cross_compiling" = maybe
; then
2331 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2332 If you meant to cross compile, use \`--host'.
2333 See \`config.log' for more details." >&5
2334 echo "$as_me: error: cannot run C compiled programs.
2335 If you meant to cross compile, use \`--host'.
2336 See \`config.log' for more details." >&2;}
2337 { (exit 1); exit 1; }; }
2341 echo "$as_me:$LINENO: result: yes" >&5
2342 echo "${ECHO_T}yes" >&6
2344 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2345 ac_clean_files
=$ac_clean_files_save
2346 # Check the compiler produces executables we can run. If not, either
2347 # the compiler is broken, or we cross compile.
2348 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2349 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2350 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2351 echo "${ECHO_T}$cross_compiling" >&6
2353 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2354 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2356 (eval $ac_link) 2>&5
2358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359 (exit $ac_status); }; then
2360 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2361 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2362 # work properly (i.e., refer to `conftest.exe'), while it won't with
2364 for ac_file
in conftest.exe conftest conftest.
*; do
2365 test -f "$ac_file" ||
continue
2367 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2368 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2375 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2376 See \`config.log' for more details." >&5
2377 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2378 See \`config.log' for more details." >&2;}
2379 { (exit 1); exit 1; }; }
2382 rm -f conftest
$ac_cv_exeext
2383 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2384 echo "${ECHO_T}$ac_cv_exeext" >&6
2386 rm -f conftest.
$ac_ext
2387 EXEEXT
=$ac_cv_exeext
2390 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2391 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2392 if test "${ac_cv_objext+set}" = set; then
2393 echo $ECHO_N "(cached) $ECHO_C" >&6
2395 cat >conftest.
$ac_ext <<_ACEOF
2398 cat confdefs.h
>>conftest.
$ac_ext
2399 cat >>conftest.
$ac_ext <<_ACEOF
2400 /* end confdefs.h. */
2410 rm -f conftest.o conftest.obj
2411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2412 (eval $ac_compile) 2>&5
2414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2415 (exit $ac_status); }; then
2416 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2418 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2419 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2424 echo "$as_me: failed program was:" >&5
2425 sed 's/^/| /' conftest.
$ac_ext >&5
2427 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2428 See \`config.log' for more details." >&5
2429 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2430 See \`config.log' for more details." >&2;}
2431 { (exit 1); exit 1; }; }
2434 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2436 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2437 echo "${ECHO_T}$ac_cv_objext" >&6
2438 OBJEXT
=$ac_cv_objext
2440 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2441 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2442 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2443 echo $ECHO_N "(cached) $ECHO_C" >&6
2445 cat >conftest.
$ac_ext <<_ACEOF
2448 cat confdefs.h
>>conftest.
$ac_ext
2449 cat >>conftest.
$ac_ext <<_ACEOF
2450 /* end confdefs.h. */
2463 rm -f conftest.
$ac_objext
2464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2465 (eval $ac_compile) 2>conftest.er1
2467 grep -v '^ *+' conftest.er1
>conftest.err
2469 cat conftest.err
>&5
2470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2471 (exit $ac_status); } &&
2472 { ac_try
='test -z "$ac_c_werror_flag"
2473 || test ! -s conftest.err'
2474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2478 (exit $ac_status); }; } &&
2479 { ac_try
='test -s conftest.$ac_objext'
2480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2484 (exit $ac_status); }; }; then
2487 echo "$as_me: failed program was:" >&5
2488 sed 's/^/| /' conftest.
$ac_ext >&5
2492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2493 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2496 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2497 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2498 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2499 ac_test_CFLAGS
=${CFLAGS+set}
2500 ac_save_CFLAGS
=$CFLAGS
2502 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2503 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2504 if test "${ac_cv_prog_cc_g+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 cat >conftest.
$ac_ext <<_ACEOF
2510 cat confdefs.h
>>conftest.
$ac_ext
2511 cat >>conftest.
$ac_ext <<_ACEOF
2512 /* end confdefs.h. */
2522 rm -f conftest.
$ac_objext
2523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2524 (eval $ac_compile) 2>conftest.er1
2526 grep -v '^ *+' conftest.er1
>conftest.err
2528 cat conftest.err
>&5
2529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2530 (exit $ac_status); } &&
2531 { ac_try
='test -z "$ac_c_werror_flag"
2532 || test ! -s conftest.err'
2533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537 (exit $ac_status); }; } &&
2538 { ac_try
='test -s conftest.$ac_objext'
2539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2543 (exit $ac_status); }; }; then
2546 echo "$as_me: failed program was:" >&5
2547 sed 's/^/| /' conftest.
$ac_ext >&5
2551 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2553 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2554 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2555 if test "$ac_test_CFLAGS" = set; then
2556 CFLAGS
=$ac_save_CFLAGS
2557 elif test $ac_cv_prog_cc_g = yes; then
2558 if test "$GCC" = yes; then
2564 if test "$GCC" = yes; then
2570 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2571 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2572 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2573 echo $ECHO_N "(cached) $ECHO_C" >&6
2575 ac_cv_prog_cc_stdc
=no
2577 cat >conftest.
$ac_ext <<_ACEOF
2580 cat confdefs.h
>>conftest.
$ac_ext
2581 cat >>conftest.
$ac_ext <<_ACEOF
2582 /* end confdefs.h. */
2585 #include <sys/types.h>
2586 #include <sys/stat.h>
2587 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2588 struct buf { int x; };
2589 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2590 static char *e (p, i)
2596 static char *f (char * (*g) (char **, int), char **p, ...)
2601 s = g (p, va_arg (v,int));
2606 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2607 function prototypes and stuff, but not '\xHH' hex character constants.
2608 These don't provoke an error unfortunately, instead are silently treated
2609 as 'x'. The following induces an error, until -std1 is added to get
2610 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2611 array size at least. It's necessary to write '\x00'==0 to get something
2612 that's true only with -std1. */
2613 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2615 int test (int i, double x);
2616 struct s1 {int (*f) (int a);};
2617 struct s2 {int (*f) (double a);};
2618 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2624 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2629 # Don't try gcc -ansi; that turns off useful extensions and
2630 # breaks some systems' header files.
2631 # AIX -qlanglvl=ansi
2632 # Ultrix and OSF/1 -std1
2633 # HP-UX 10.20 and later -Ae
2634 # HP-UX older versions -Aa -D_HPUX_SOURCE
2635 # SVR4 -Xc -D__EXTENSIONS__
2636 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2638 CC
="$ac_save_CC $ac_arg"
2639 rm -f conftest.
$ac_objext
2640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2641 (eval $ac_compile) 2>conftest.er1
2643 grep -v '^ *+' conftest.er1
>conftest.err
2645 cat conftest.err
>&5
2646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647 (exit $ac_status); } &&
2648 { ac_try
='test -z "$ac_c_werror_flag"
2649 || test ! -s conftest.err'
2650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654 (exit $ac_status); }; } &&
2655 { ac_try
='test -s conftest.$ac_objext'
2656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); }; }; then
2661 ac_cv_prog_cc_stdc
=$ac_arg
2664 echo "$as_me: failed program was:" >&5
2665 sed 's/^/| /' conftest.
$ac_ext >&5
2668 rm -f conftest.err conftest.
$ac_objext
2670 rm -f conftest.
$ac_ext conftest.
$ac_objext
2675 case "x$ac_cv_prog_cc_stdc" in
2677 echo "$as_me:$LINENO: result: none needed" >&5
2678 echo "${ECHO_T}none needed" >&6 ;;
2680 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2681 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2682 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2685 # Some people use a C++ compiler to compile C. Since we use `exit',
2686 # in C++ we need to declare it. In case someone uses the same compiler
2687 # for both compiling C and C++ we need to have the C++ compiler decide
2688 # the declaration of exit, since it's the most demanding environment.
2689 cat >conftest.
$ac_ext <<_ACEOF
2694 rm -f conftest.
$ac_objext
2695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2696 (eval $ac_compile) 2>conftest.er1
2698 grep -v '^ *+' conftest.er1
>conftest.err
2700 cat conftest.err
>&5
2701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2702 (exit $ac_status); } &&
2703 { ac_try
='test -z "$ac_c_werror_flag"
2704 || test ! -s conftest.err'
2705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709 (exit $ac_status); }; } &&
2710 { ac_try
='test -s conftest.$ac_objext'
2711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715 (exit $ac_status); }; }; then
2716 for ac_declaration
in \
2718 'extern "C" void std::exit (int) throw (); using std::exit;' \
2719 'extern "C" void std::exit (int); using std::exit;' \
2720 'extern "C" void exit (int) throw ();' \
2721 'extern "C" void exit (int);' \
2724 cat >conftest.
$ac_ext <<_ACEOF
2727 cat confdefs.h
>>conftest.
$ac_ext
2728 cat >>conftest.
$ac_ext <<_ACEOF
2729 /* end confdefs.h. */
2740 rm -f conftest.
$ac_objext
2741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2742 (eval $ac_compile) 2>conftest.er1
2744 grep -v '^ *+' conftest.er1
>conftest.err
2746 cat conftest.err
>&5
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); } &&
2749 { ac_try
='test -z "$ac_c_werror_flag"
2750 || test ! -s conftest.err'
2751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755 (exit $ac_status); }; } &&
2756 { ac_try
='test -s conftest.$ac_objext'
2757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); }; }; then
2764 echo "$as_me: failed program was:" >&5
2765 sed 's/^/| /' conftest.
$ac_ext >&5
2769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2770 cat >conftest.
$ac_ext <<_ACEOF
2773 cat confdefs.h
>>conftest.
$ac_ext
2774 cat >>conftest.
$ac_ext <<_ACEOF
2775 /* end confdefs.h. */
2785 rm -f conftest.
$ac_objext
2786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2787 (eval $ac_compile) 2>conftest.er1
2789 grep -v '^ *+' conftest.er1
>conftest.err
2791 cat conftest.err
>&5
2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 (exit $ac_status); } &&
2794 { ac_try
='test -z "$ac_c_werror_flag"
2795 || test ! -s conftest.err'
2796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800 (exit $ac_status); }; } &&
2801 { ac_try
='test -s conftest.$ac_objext'
2802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2806 (exit $ac_status); }; }; then
2809 echo "$as_me: failed program was:" >&5
2810 sed 's/^/| /' conftest.
$ac_ext >&5
2813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2816 if test -n "$ac_declaration"; then
2817 echo '#ifdef __cplusplus' >>confdefs.h
2818 echo $ac_declaration >>confdefs.h
2819 echo '#endif' >>confdefs.h
2823 echo "$as_me: failed program was:" >&5
2824 sed 's/^/| /' conftest.
$ac_ext >&5
2827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2829 ac_cpp
='$CPP $CPPFLAGS'
2830 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2831 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2832 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2835 ac_cpp
='$CXXCPP $CPPFLAGS'
2836 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2837 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2838 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2839 if test -n "$ac_tool_prefix"; then
2840 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2842 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2843 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2844 echo "$as_me:$LINENO: checking for $ac_word" >&5
2845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2846 if test "${ac_cv_prog_CXX+set}" = set; then
2847 echo $ECHO_N "(cached) $ECHO_C" >&6
2849 if test -n "$CXX"; then
2850 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2856 test -z "$as_dir" && as_dir
=.
2857 for ac_exec_ext
in '' $ac_executable_extensions; do
2858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2859 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2869 if test -n "$CXX"; then
2870 echo "$as_me:$LINENO: result: $CXX" >&5
2871 echo "${ECHO_T}$CXX" >&6
2873 echo "$as_me:$LINENO: result: no" >&5
2874 echo "${ECHO_T}no" >&6
2877 test -n "$CXX" && break
2880 if test -z "$CXX"; then
2882 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2884 # Extract the first word of "$ac_prog", so it can be a program name with args.
2885 set dummy
$ac_prog; ac_word
=$2
2886 echo "$as_me:$LINENO: checking for $ac_word" >&5
2887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2888 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2889 echo $ECHO_N "(cached) $ECHO_C" >&6
2891 if test -n "$ac_ct_CXX"; then
2892 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2898 test -z "$as_dir" && as_dir
=.
2899 for ac_exec_ext
in '' $ac_executable_extensions; do
2900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2901 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2910 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2911 if test -n "$ac_ct_CXX"; then
2912 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2913 echo "${ECHO_T}$ac_ct_CXX" >&6
2915 echo "$as_me:$LINENO: result: no" >&5
2916 echo "${ECHO_T}no" >&6
2919 test -n "$ac_ct_CXX" && break
2921 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2927 # Provide some information about the compiler.
2928 echo "$as_me:$LINENO:" \
2929 "checking for C++ compiler version" >&5
2930 ac_compiler
=`set X $ac_compile; echo $2`
2931 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2932 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935 (exit $ac_status); }
2936 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2937 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); }
2941 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2942 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945 (exit $ac_status); }
2947 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2948 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2949 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2950 echo $ECHO_N "(cached) $ECHO_C" >&6
2952 cat >conftest.
$ac_ext <<_ACEOF
2955 cat confdefs.h
>>conftest.
$ac_ext
2956 cat >>conftest.
$ac_ext <<_ACEOF
2957 /* end confdefs.h. */
2970 rm -f conftest.
$ac_objext
2971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2972 (eval $ac_compile) 2>conftest.er1
2974 grep -v '^ *+' conftest.er1
>conftest.err
2976 cat conftest.err
>&5
2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); } &&
2979 { ac_try
='test -z "$ac_cxx_werror_flag"
2980 || test ! -s conftest.err'
2981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985 (exit $ac_status); }; } &&
2986 { ac_try
='test -s conftest.$ac_objext'
2987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991 (exit $ac_status); }; }; then
2994 echo "$as_me: failed program was:" >&5
2995 sed 's/^/| /' conftest.
$ac_ext >&5
2999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3000 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3003 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3004 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3005 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3006 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3007 ac_save_CXXFLAGS
=$CXXFLAGS
3009 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3010 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3011 if test "${ac_cv_prog_cxx_g+set}" = set; then
3012 echo $ECHO_N "(cached) $ECHO_C" >&6
3014 cat >conftest.
$ac_ext <<_ACEOF
3017 cat confdefs.h
>>conftest.
$ac_ext
3018 cat >>conftest.
$ac_ext <<_ACEOF
3019 /* end confdefs.h. */
3029 rm -f conftest.
$ac_objext
3030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3031 (eval $ac_compile) 2>conftest.er1
3033 grep -v '^ *+' conftest.er1
>conftest.err
3035 cat conftest.err
>&5
3036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3037 (exit $ac_status); } &&
3038 { ac_try
='test -z "$ac_cxx_werror_flag"
3039 || test ! -s conftest.err'
3040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3044 (exit $ac_status); }; } &&
3045 { ac_try
='test -s conftest.$ac_objext'
3046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); }; }; then
3051 ac_cv_prog_cxx_g
=yes
3053 echo "$as_me: failed program was:" >&5
3054 sed 's/^/| /' conftest.
$ac_ext >&5
3058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3060 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3061 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3062 if test "$ac_test_CXXFLAGS" = set; then
3063 CXXFLAGS
=$ac_save_CXXFLAGS
3064 elif test $ac_cv_prog_cxx_g = yes; then
3065 if test "$GXX" = yes; then
3071 if test "$GXX" = yes; then
3077 for ac_declaration
in \
3079 'extern "C" void std::exit (int) throw (); using std::exit;' \
3080 'extern "C" void std::exit (int); using std::exit;' \
3081 'extern "C" void exit (int) throw ();' \
3082 'extern "C" void exit (int);' \
3085 cat >conftest.
$ac_ext <<_ACEOF
3088 cat confdefs.h
>>conftest.
$ac_ext
3089 cat >>conftest.
$ac_ext <<_ACEOF
3090 /* end confdefs.h. */
3101 rm -f conftest.
$ac_objext
3102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3103 (eval $ac_compile) 2>conftest.er1
3105 grep -v '^ *+' conftest.er1
>conftest.err
3107 cat conftest.err
>&5
3108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3109 (exit $ac_status); } &&
3110 { ac_try
='test -z "$ac_cxx_werror_flag"
3111 || test ! -s conftest.err'
3112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3116 (exit $ac_status); }; } &&
3117 { ac_try
='test -s conftest.$ac_objext'
3118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3122 (exit $ac_status); }; }; then
3125 echo "$as_me: failed program was:" >&5
3126 sed 's/^/| /' conftest.
$ac_ext >&5
3130 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3131 cat >conftest.
$ac_ext <<_ACEOF
3134 cat confdefs.h
>>conftest.
$ac_ext
3135 cat >>conftest.
$ac_ext <<_ACEOF
3136 /* end confdefs.h. */
3146 rm -f conftest.
$ac_objext
3147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3148 (eval $ac_compile) 2>conftest.er1
3150 grep -v '^ *+' conftest.er1
>conftest.err
3152 cat conftest.err
>&5
3153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3154 (exit $ac_status); } &&
3155 { ac_try
='test -z "$ac_cxx_werror_flag"
3156 || test ! -s conftest.err'
3157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161 (exit $ac_status); }; } &&
3162 { ac_try
='test -s conftest.$ac_objext'
3163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3167 (exit $ac_status); }; }; then
3170 echo "$as_me: failed program was:" >&5
3171 sed 's/^/| /' conftest.
$ac_ext >&5
3174 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3177 if test -n "$ac_declaration"; then
3178 echo '#ifdef __cplusplus' >>confdefs.h
3179 echo $ac_declaration >>confdefs.h
3180 echo '#endif' >>confdefs.h
3184 ac_cpp
='$CPP $CPPFLAGS'
3185 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3186 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3187 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3189 CXXFLAGS
="$save_CXXFLAGS"
3195 am__api_version
="1.9"
3196 # Find a good install program. We prefer a C program (faster),
3197 # so one script is as good as another. But avoid the broken or
3198 # incompatible versions:
3199 # SysV /etc/install, /usr/sbin/install
3200 # SunOS /usr/etc/install
3201 # IRIX /sbin/install
3203 # AmigaOS /C/install, which installs bootblocks on floppy discs
3204 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3205 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3206 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3207 # OS/2's system install, which has a completely different semantic
3208 # ./install, which can be erroneously created by make from ./install.sh.
3209 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3210 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3211 if test -z "$INSTALL"; then
3212 if test "${ac_cv_path_install+set}" = set; then
3213 echo $ECHO_N "(cached) $ECHO_C" >&6
3215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3219 test -z "$as_dir" && as_dir
=.
3220 # Account for people who put trailing slashes in PATH elements.
3222 .
/ | .
// |
/cC
/* | \
3223 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3224 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3227 # OSF1 and SCO ODT 3.0 have their own names for install.
3228 # Don't use installbsd from OSF since it installs stuff as root
3230 for ac_prog
in ginstall scoinst
install; do
3231 for ac_exec_ext
in '' $ac_executable_extensions; do
3232 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3233 if test $ac_prog = install &&
3234 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3235 # AIX install. It has an incompatible calling convention.
3237 elif test $ac_prog = install &&
3238 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3239 # program-specific install script used by HP pwplus--don't use.
3242 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3254 if test "${ac_cv_path_install+set}" = set; then
3255 INSTALL
=$ac_cv_path_install
3257 # As a last resort, use the slow shell script. We don't cache a
3258 # path for INSTALL within a source directory, because that will
3259 # break other packages using the cache if that directory is
3260 # removed, or if the path is relative.
3261 INSTALL
=$ac_install_sh
3264 echo "$as_me:$LINENO: result: $INSTALL" >&5
3265 echo "${ECHO_T}$INSTALL" >&6
3267 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3268 # It thinks the first close brace ends the variable substitution.
3269 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3271 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3273 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3275 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3276 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
3279 echo timestamp
> conftest.
file
3280 # Do `set' in a subshell so we don't clobber the current shell's
3281 # arguments. Must try -L first in case configure is actually a
3282 # symlink; some systems play weird games with the mod time of symlinks
3283 # (eg FreeBSD returns the mod time of the symlink's containing
3286 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
3287 if test "$*" = "X"; then
3289 set X
`ls -t $srcdir/configure conftest.file`
3292 if test "$*" != "X $srcdir/configure conftest.file" \
3293 && test "$*" != "X conftest.file $srcdir/configure"; then
3295 # If neither matched, then we have a broken ls. This can happen
3296 # if, for instance, CONFIG_SHELL is bash and it inherits a
3297 # broken ls alias from the environment. This has actually
3298 # happened. Such a system could not be considered "sane".
3299 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
3300 alias in your environment" >&5
3301 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
3302 alias in your environment" >&2;}
3303 { (exit 1); exit 1; }; }
3306 test "$2" = conftest.
file
3312 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
3313 Check your system clock" >&5
3314 echo "$as_me: error: newly created file is older than distributed files!
3315 Check your system clock" >&2;}
3316 { (exit 1); exit 1; }; }
3318 echo "$as_me:$LINENO: result: yes" >&5
3319 echo "${ECHO_T}yes" >&6
3320 test "$program_prefix" != NONE
&&
3321 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
3322 # Use a double $ so make ignores it.
3323 test "$program_suffix" != NONE
&&
3324 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
3325 # Double any \ or $. echo might interpret backslashes.
3326 # By default was `s,x,x', remove it if useless.
3327 cat <<\_ACEOF
>conftest.
sed
3328 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
3330 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
3333 # expand $ac_aux_dir to an absolute path
3334 am_aux_dir
=`cd $ac_aux_dir && pwd`
3336 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
3337 # Use eval to expand $SHELL
3338 if eval "$MISSING --run true"; then
3339 am_missing_run
="$MISSING --run "
3342 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
3343 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3346 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
3347 # We used to keeping the `.' as first argument, in order to
3348 # allow $(mkdir_p) to be used without argument. As in
3349 # $(mkdir_p) $(somedir)
3350 # where $(somedir) is conditionally defined. However this is wrong
3352 # 1. if the package is installed by a user who cannot write `.'
3353 # make install will fail,
3354 # 2. the above comment should most certainly read
3355 # $(mkdir_p) $(DESTDIR)$(somedir)
3356 # so it does not work when $(somedir) is undefined and
3357 # $(DESTDIR) is not.
3358 # To support the latter case, we have to write
3359 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
3360 # so the `.' trick is pointless.
3361 mkdir_p
='mkdir -p --'
3363 # On NextStep and OpenStep, the `mkdir' command does not
3364 # recognize any option. It will interpret all options as
3365 # directories to create, and then abort because `.' already
3367 for d
in .
/-p .
/--version;
3369 test -d $d && rmdir $d
3371 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
3372 if test -f "$ac_aux_dir/mkinstalldirs"; then
3373 mkdir_p
='$(mkinstalldirs)'
3375 mkdir_p
='$(install_sh) -d'
3379 for ac_prog
in gawk mawk nawk
awk
3381 # Extract the first word of "$ac_prog", so it can be a program name with args.
3382 set dummy
$ac_prog; ac_word
=$2
3383 echo "$as_me:$LINENO: checking for $ac_word" >&5
3384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3385 if test "${ac_cv_prog_AWK+set}" = set; then
3386 echo $ECHO_N "(cached) $ECHO_C" >&6
3388 if test -n "$AWK"; then
3389 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3395 test -z "$as_dir" && as_dir
=.
3396 for ac_exec_ext
in '' $ac_executable_extensions; do
3397 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3398 ac_cv_prog_AWK
="$ac_prog"
3399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3408 if test -n "$AWK"; then
3409 echo "$as_me:$LINENO: result: $AWK" >&5
3410 echo "${ECHO_T}$AWK" >&6
3412 echo "$as_me:$LINENO: result: no" >&5
3413 echo "${ECHO_T}no" >&6
3416 test -n "$AWK" && break
3419 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3420 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3421 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3422 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3423 echo $ECHO_N "(cached) $ECHO_C" >&6
3425 cat >conftest.
make <<\_ACEOF
3427 @
echo 'ac_maketemp="$(MAKE)"'
3429 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3430 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3431 if test -n "$ac_maketemp"; then
3432 eval ac_cv_prog_make_
${ac_make}_set
=yes
3434 eval ac_cv_prog_make_
${ac_make}_set
=no
3438 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3439 echo "$as_me:$LINENO: result: yes" >&5
3440 echo "${ECHO_T}yes" >&6
3443 echo "$as_me:$LINENO: result: no" >&5
3444 echo "${ECHO_T}no" >&6
3445 SET_MAKE
="MAKE=${MAKE-make}"
3448 rm -rf .tst
2>/dev
/null
3449 mkdir .tst
2>/dev
/null
3450 if test -d .tst
; then
3455 rmdir .tst
2>/dev
/null
3457 DEPDIR
="${am__leading_dot}deps"
3459 ac_config_commands
="$ac_config_commands depfiles"
3462 am_make
=${MAKE-make}
3463 cat > confinc
<< 'END'
3468 # If we don't find an include directive, just comment out the code.
3469 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3470 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3474 # First try GNU make style include.
3475 echo "include confinc" > confmf
3476 # We grep out `Entering directory' and `Leaving directory'
3477 # messages which can occur if `w' ends up in MAKEFLAGS.
3478 # In particular we don't look at `^make:' because GNU make might
3479 # be invoked under some other name (usually "gmake"), in which
3480 # case it prints its new name instead of `make'.
3481 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3486 # Now try BSD make style include.
3487 if test "$am__include" = "#"; then
3488 echo '.include "confinc"' > confmf
3489 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3490 am__include
=.include
3497 echo "$as_me:$LINENO: result: $_am_result" >&5
3498 echo "${ECHO_T}$_am_result" >&6
3499 rm -f confinc confmf
3501 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3502 if test "${enable_dependency_tracking+set}" = set; then
3503 enableval
="$enable_dependency_tracking"
3506 if test "x$enable_dependency_tracking" != xno
; then
3507 am_depcomp
="$ac_aux_dir/depcomp"
3512 if test "x$enable_dependency_tracking" != xno; then
3522 # test to see if srcdir already configured
3523 if test "`cd $srcdir && pwd`" != "`pwd`" &&
3524 test -f $srcdir/config.status
; then
3525 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3526 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3527 { (exit 1); exit 1; }; }
3530 # test whether we have cygpath
3531 if test -z "$CYGPATH_W"; then
3532 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3533 CYGPATH_W
='cygpath -w'
3540 # Define the identity of the package.
3542 VERSION
='version-unused'
3545 cat >>confdefs.h
<<_ACEOF
3546 #define PACKAGE "$PACKAGE"
3550 cat >>confdefs.h
<<_ACEOF
3551 #define VERSION "$VERSION"
3554 # Some tools Automake needs.
3556 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3559 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3562 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3565 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3568 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3570 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3572 # Installed binaries are usually stripped using `strip' when the user
3573 # run `make install-strip'. However `strip' might not be the right
3574 # tool to use in cross-compilation environments, therefore Automake
3575 # will honor the `STRIP' environment variable to overrule this program.
3576 if test "$cross_compiling" != no
; then
3577 if test -n "$ac_tool_prefix"; then
3578 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3579 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3580 echo "$as_me:$LINENO: checking for $ac_word" >&5
3581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3582 if test "${ac_cv_prog_STRIP+set}" = set; then
3583 echo $ECHO_N "(cached) $ECHO_C" >&6
3585 if test -n "$STRIP"; then
3586 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3592 test -z "$as_dir" && as_dir
=.
3593 for ac_exec_ext
in '' $ac_executable_extensions; do
3594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3595 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3604 STRIP
=$ac_cv_prog_STRIP
3605 if test -n "$STRIP"; then
3606 echo "$as_me:$LINENO: result: $STRIP" >&5
3607 echo "${ECHO_T}$STRIP" >&6
3609 echo "$as_me:$LINENO: result: no" >&5
3610 echo "${ECHO_T}no" >&6
3614 if test -z "$ac_cv_prog_STRIP"; then
3616 # Extract the first word of "strip", so it can be a program name with args.
3617 set dummy strip
; ac_word
=$2
3618 echo "$as_me:$LINENO: checking for $ac_word" >&5
3619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3620 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3621 echo $ECHO_N "(cached) $ECHO_C" >&6
3623 if test -n "$ac_ct_STRIP"; then
3624 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3630 test -z "$as_dir" && as_dir
=.
3631 for ac_exec_ext
in '' $ac_executable_extensions; do
3632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3633 ac_cv_prog_ac_ct_STRIP
="strip"
3634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3640 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3643 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3644 if test -n "$ac_ct_STRIP"; then
3645 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3646 echo "${ECHO_T}$ac_ct_STRIP" >&6
3648 echo "$as_me:$LINENO: result: no" >&5
3649 echo "${ECHO_T}no" >&6
3654 STRIP
="$ac_cv_prog_STRIP"
3658 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3660 # We need awk for the "check" target. The system "awk" is bad on
3662 # Always define AMTAR for backward compatibility.
3664 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3666 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3671 depcc
="$CC" am_compiler_list
=
3673 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3674 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3675 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3676 echo $ECHO_N "(cached) $ECHO_C" >&6
3678 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3679 # We make a subdir and do the tests there. Otherwise we can end up
3680 # making bogus files that we don't know about and never remove. For
3681 # instance it was reported that on HP-UX the gcc test will end up
3682 # making a dummy file named `D' -- because `-MD' means `put the output
3685 # Copy depcomp to subdir because otherwise we won't find it if we're
3686 # using a relative directory.
3687 cp "$am_depcomp" conftest.dir
3689 # We will build objects and dependencies in a subdirectory because
3690 # it helps to detect inapplicable dependency modes. For instance
3691 # both Tru64's cc and ICC support -MD to output dependencies as a
3692 # side effect of compilation, but ICC will put the dependencies in
3693 # the current directory while Tru64 will put them in the object
3697 am_cv_CC_dependencies_compiler_type
=none
3698 if test "$am_compiler_list" = ""; then
3699 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3701 for depmode
in $am_compiler_list; do
3702 # Setup a source with many dependencies, because some compilers
3703 # like to wrap large dependency lists on column 80 (with \), and
3704 # we should not choose a depcomp mode which is confused by this.
3706 # We need to recreate these files for each test, as the compiler may
3707 # overwrite some of them when testing with obscure command lines.
3708 # This happens at least with the AIX C compiler.
3710 for i
in 1 2 3 4 5 6; do
3711 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3712 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3713 # Solaris 8's {/usr,}/bin/sh.
3714 touch sub
/conftst
$i.h
3716 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3720 # after this tag, mechanisms are not by side-effect, so they'll
3721 # only be used when explicitly requested
3722 if test "x$enable_dependency_tracking" = xyes
; then
3730 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3731 # mode. It turns out that the SunPro C++ compiler does not properly
3732 # handle `-M -o', and we need to detect this.
3733 if depmode
=$depmode \
3734 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3735 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3736 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3737 >/dev
/null
2>conftest.err
&&
3738 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3739 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3740 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3741 # icc doesn't choke on unknown options, it will just issue warnings
3742 # or remarks (even with -Werror). So we grep stderr for any message
3743 # that says an option was ignored or not supported.
3744 # When given -MP, icc 7.0 and 7.1 complain thusly:
3745 # icc: Command line warning: ignoring option '-M'; no argument required
3746 # The diagnosis changed in icc 8.0:
3747 # icc: Command line remark: option '-MP' not supported
3748 if (grep 'ignoring option' conftest.err ||
3749 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3750 am_cv_CC_dependencies_compiler_type
=$depmode
3759 am_cv_CC_dependencies_compiler_type
=none
3763 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3764 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3765 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3770 test "x$enable_dependency_tracking" != xno \
3771 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3773 am__fastdepCC_FALSE
='#'
3775 am__fastdepCC_TRUE
='#'
3776 am__fastdepCC_FALSE
=
3780 depcc
="$CXX" am_compiler_list
=
3782 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3783 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3784 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3785 echo $ECHO_N "(cached) $ECHO_C" >&6
3787 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3788 # We make a subdir and do the tests there. Otherwise we can end up
3789 # making bogus files that we don't know about and never remove. For
3790 # instance it was reported that on HP-UX the gcc test will end up
3791 # making a dummy file named `D' -- because `-MD' means `put the output
3794 # Copy depcomp to subdir because otherwise we won't find it if we're
3795 # using a relative directory.
3796 cp "$am_depcomp" conftest.dir
3798 # We will build objects and dependencies in a subdirectory because
3799 # it helps to detect inapplicable dependency modes. For instance
3800 # both Tru64's cc and ICC support -MD to output dependencies as a
3801 # side effect of compilation, but ICC will put the dependencies in
3802 # the current directory while Tru64 will put them in the object
3806 am_cv_CXX_dependencies_compiler_type
=none
3807 if test "$am_compiler_list" = ""; then
3808 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3810 for depmode
in $am_compiler_list; do
3811 # Setup a source with many dependencies, because some compilers
3812 # like to wrap large dependency lists on column 80 (with \), and
3813 # we should not choose a depcomp mode which is confused by this.
3815 # We need to recreate these files for each test, as the compiler may
3816 # overwrite some of them when testing with obscure command lines.
3817 # This happens at least with the AIX C compiler.
3819 for i
in 1 2 3 4 5 6; do
3820 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3821 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3822 # Solaris 8's {/usr,}/bin/sh.
3823 touch sub
/conftst
$i.h
3825 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3829 # after this tag, mechanisms are not by side-effect, so they'll
3830 # only be used when explicitly requested
3831 if test "x$enable_dependency_tracking" = xyes
; then
3839 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3840 # mode. It turns out that the SunPro C++ compiler does not properly
3841 # handle `-M -o', and we need to detect this.
3842 if depmode
=$depmode \
3843 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3844 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3845 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3846 >/dev
/null
2>conftest.err
&&
3847 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3848 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3849 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3850 # icc doesn't choke on unknown options, it will just issue warnings
3851 # or remarks (even with -Werror). So we grep stderr for any message
3852 # that says an option was ignored or not supported.
3853 # When given -MP, icc 7.0 and 7.1 complain thusly:
3854 # icc: Command line warning: ignoring option '-M'; no argument required
3855 # The diagnosis changed in icc 8.0:
3856 # icc: Command line remark: option '-MP' not supported
3857 if (grep 'ignoring option' conftest.err ||
3858 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3859 am_cv_CXX_dependencies_compiler_type
=$depmode
3868 am_cv_CXX_dependencies_compiler_type
=none
3872 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3873 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3874 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3879 test "x$enable_dependency_tracking" != xno \
3880 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3881 am__fastdepCXX_TRUE
=
3882 am__fastdepCXX_FALSE
='#'
3884 am__fastdepCXX_TRUE
='#'
3885 am__fastdepCXX_FALSE
=
3891 if test -n "$ac_tool_prefix"; then
3892 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3893 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3894 echo "$as_me:$LINENO: checking for $ac_word" >&5
3895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3896 if test "${ac_cv_prog_AS+set}" = set; then
3897 echo $ECHO_N "(cached) $ECHO_C" >&6
3899 if test -n "$AS"; then
3900 ac_cv_prog_AS
="$AS" # Let the user override the test.
3902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3906 test -z "$as_dir" && as_dir
=.
3907 for ac_exec_ext
in '' $ac_executable_extensions; do
3908 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3909 ac_cv_prog_AS
="${ac_tool_prefix}as"
3910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3919 if test -n "$AS"; then
3920 echo "$as_me:$LINENO: result: $AS" >&5
3921 echo "${ECHO_T}$AS" >&6
3923 echo "$as_me:$LINENO: result: no" >&5
3924 echo "${ECHO_T}no" >&6
3928 if test -z "$ac_cv_prog_AS"; then
3930 # Extract the first word of "as", so it can be a program name with args.
3931 set dummy as
; ac_word
=$2
3932 echo "$as_me:$LINENO: checking for $ac_word" >&5
3933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3934 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3935 echo $ECHO_N "(cached) $ECHO_C" >&6
3937 if test -n "$ac_ct_AS"; then
3938 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3944 test -z "$as_dir" && as_dir
=.
3945 for ac_exec_ext
in '' $ac_executable_extensions; do
3946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3947 ac_cv_prog_ac_ct_AS
="as"
3948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3956 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3957 if test -n "$ac_ct_AS"; then
3958 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3959 echo "${ECHO_T}$ac_ct_AS" >&6
3961 echo "$as_me:$LINENO: result: no" >&5
3962 echo "${ECHO_T}no" >&6
3970 if test -n "$ac_tool_prefix"; then
3971 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
3972 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
3973 echo "$as_me:$LINENO: checking for $ac_word" >&5
3974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3975 if test "${ac_cv_prog_LD+set}" = set; then
3976 echo $ECHO_N "(cached) $ECHO_C" >&6
3978 if test -n "$LD"; then
3979 ac_cv_prog_LD
="$LD" # Let the user override the test.
3981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3985 test -z "$as_dir" && as_dir
=.
3986 for ac_exec_ext
in '' $ac_executable_extensions; do
3987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3988 ac_cv_prog_LD
="${ac_tool_prefix}ld"
3989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3998 if test -n "$LD"; then
3999 echo "$as_me:$LINENO: result: $LD" >&5
4000 echo "${ECHO_T}$LD" >&6
4002 echo "$as_me:$LINENO: result: no" >&5
4003 echo "${ECHO_T}no" >&6
4007 if test -z "$ac_cv_prog_LD"; then
4009 # Extract the first word of "ld", so it can be a program name with args.
4010 set dummy ld
; ac_word
=$2
4011 echo "$as_me:$LINENO: checking for $ac_word" >&5
4012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4013 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4014 echo $ECHO_N "(cached) $ECHO_C" >&6
4016 if test -n "$ac_ct_LD"; then
4017 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4023 test -z "$as_dir" && as_dir
=.
4024 for ac_exec_ext
in '' $ac_executable_extensions; do
4025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4026 ac_cv_prog_ac_ct_LD
="ld"
4027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4035 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4036 if test -n "$ac_ct_LD"; then
4037 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4038 echo "${ECHO_T}$ac_ct_LD" >&6
4040 echo "$as_me:$LINENO: result: no" >&5
4041 echo "${ECHO_T}no" >&6
4049 if test -n "$ac_tool_prefix"; then
4050 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4051 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4052 echo "$as_me:$LINENO: checking for $ac_word" >&5
4053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4054 if test "${ac_cv_prog_AR+set}" = set; then
4055 echo $ECHO_N "(cached) $ECHO_C" >&6
4057 if test -n "$AR"; then
4058 ac_cv_prog_AR
="$AR" # Let the user override the test.
4060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4064 test -z "$as_dir" && as_dir
=.
4065 for ac_exec_ext
in '' $ac_executable_extensions; do
4066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4067 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4077 if test -n "$AR"; then
4078 echo "$as_me:$LINENO: result: $AR" >&5
4079 echo "${ECHO_T}$AR" >&6
4081 echo "$as_me:$LINENO: result: no" >&5
4082 echo "${ECHO_T}no" >&6
4086 if test -z "$ac_cv_prog_AR"; then
4088 # Extract the first word of "ar", so it can be a program name with args.
4089 set dummy
ar; ac_word
=$2
4090 echo "$as_me:$LINENO: checking for $ac_word" >&5
4091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4092 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4093 echo $ECHO_N "(cached) $ECHO_C" >&6
4095 if test -n "$ac_ct_AR"; then
4096 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4102 test -z "$as_dir" && as_dir
=.
4103 for ac_exec_ext
in '' $ac_executable_extensions; do
4104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4105 ac_cv_prog_ac_ct_AR
="ar"
4106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4114 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4115 if test -n "$ac_ct_AR"; then
4116 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4117 echo "${ECHO_T}$ac_ct_AR" >&6
4119 echo "$as_me:$LINENO: result: no" >&5
4120 echo "${ECHO_T}no" >&6
4128 if test -n "$ac_tool_prefix"; then
4129 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4130 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4131 echo "$as_me:$LINENO: checking for $ac_word" >&5
4132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4133 if test "${ac_cv_prog_RANLIB+set}" = set; then
4134 echo $ECHO_N "(cached) $ECHO_C" >&6
4136 if test -n "$RANLIB"; then
4137 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4143 test -z "$as_dir" && as_dir
=.
4144 for ac_exec_ext
in '' $ac_executable_extensions; do
4145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4146 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4155 RANLIB
=$ac_cv_prog_RANLIB
4156 if test -n "$RANLIB"; then
4157 echo "$as_me:$LINENO: result: $RANLIB" >&5
4158 echo "${ECHO_T}$RANLIB" >&6
4160 echo "$as_me:$LINENO: result: no" >&5
4161 echo "${ECHO_T}no" >&6
4165 if test -z "$ac_cv_prog_RANLIB"; then
4166 ac_ct_RANLIB
=$RANLIB
4167 # Extract the first word of "ranlib", so it can be a program name with args.
4168 set dummy ranlib
; ac_word
=$2
4169 echo "$as_me:$LINENO: checking for $ac_word" >&5
4170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4171 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4172 echo $ECHO_N "(cached) $ECHO_C" >&6
4174 if test -n "$ac_ct_RANLIB"; then
4175 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4181 test -z "$as_dir" && as_dir
=.
4182 for ac_exec_ext
in '' $ac_executable_extensions; do
4183 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4184 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4191 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4194 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4195 if test -n "$ac_ct_RANLIB"; then
4196 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4197 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4199 echo "$as_me:$LINENO: result: no" >&5
4200 echo "${ECHO_T}no" >&6
4203 RANLIB
=$ac_ct_RANLIB
4205 RANLIB
="$ac_cv_prog_RANLIB"
4208 for ac_prog
in gawk mawk nawk
awk
4210 # Extract the first word of "$ac_prog", so it can be a program name with args.
4211 set dummy
$ac_prog; ac_word
=$2
4212 echo "$as_me:$LINENO: checking for $ac_word" >&5
4213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4214 if test "${ac_cv_prog_AWK+set}" = set; then
4215 echo $ECHO_N "(cached) $ECHO_C" >&6
4217 if test -n "$AWK"; then
4218 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4224 test -z "$as_dir" && as_dir
=.
4225 for ac_exec_ext
in '' $ac_executable_extensions; do
4226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4227 ac_cv_prog_AWK
="$ac_prog"
4228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4237 if test -n "$AWK"; then
4238 echo "$as_me:$LINENO: result: $AWK" >&5
4239 echo "${ECHO_T}$AWK" >&6
4241 echo "$as_me:$LINENO: result: no" >&5
4242 echo "${ECHO_T}no" >&6
4245 test -n "$AWK" && break
4248 for ac_prog
in jar fastjar gjar
4250 # Extract the first word of "$ac_prog", so it can be a program name with args.
4251 set dummy
$ac_prog; ac_word
=$2
4252 echo "$as_me:$LINENO: checking for $ac_word" >&5
4253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4254 if test "${ac_cv_prog_JAR+set}" = set; then
4255 echo $ECHO_N "(cached) $ECHO_C" >&6
4257 if test -n "$JAR"; then
4258 ac_cv_prog_JAR
="$JAR" # Let the user override the test.
4260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4264 test -z "$as_dir" && as_dir
=.
4265 for ac_exec_ext
in '' $ac_executable_extensions; do
4266 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4267 ac_cv_prog_JAR
="$ac_prog"
4268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4277 if test -n "$JAR"; then
4278 echo "$as_me:$LINENO: result: $JAR" >&5
4279 echo "${ECHO_T}$JAR" >&6
4281 echo "$as_me:$LINENO: result: no" >&5
4282 echo "${ECHO_T}no" >&6
4285 test -n "$JAR" && break
4287 test -n "$JAR" || JAR
="no"
4289 # Extract the first word of "zip", so it can be a program name with args.
4290 set dummy
zip; ac_word
=$2
4291 echo "$as_me:$LINENO: checking for $ac_word" >&5
4292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4293 if test "${ac_cv_path_ZIP+set}" = set; then
4294 echo $ECHO_N "(cached) $ECHO_C" >&6
4298 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
4301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4305 test -z "$as_dir" && as_dir
=.
4306 for ac_exec_ext
in '' $ac_executable_extensions; do
4307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4308 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
4309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4315 test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP
="no"
4321 if test -n "$ZIP"; then
4322 echo "$as_me:$LINENO: result: $ZIP" >&5
4323 echo "${ECHO_T}$ZIP" >&6
4325 echo "$as_me:$LINENO: result: no" >&5
4326 echo "${ECHO_T}no" >&6
4329 # Extract the first word of "unzip", so it can be a program name with args.
4330 set dummy
unzip; ac_word
=$2
4331 echo "$as_me:$LINENO: checking for $ac_word" >&5
4332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4333 if test "${ac_cv_path_UNZIP+set}" = set; then
4334 echo $ECHO_N "(cached) $ECHO_C" >&6
4338 ac_cv_path_UNZIP
="$UNZIP" # Let the user override the test with a path.
4341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4345 test -z "$as_dir" && as_dir
=.
4346 for ac_exec_ext
in '' $ac_executable_extensions; do
4347 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4348 ac_cv_path_UNZIP
="$as_dir/$ac_word$ac_exec_ext"
4349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4355 test -z "$ac_cv_path_UNZIP" && ac_cv_path_UNZIP
="unzip"
4359 UNZIP
=$ac_cv_path_UNZIP
4361 if test -n "$UNZIP"; then
4362 echo "$as_me:$LINENO: result: $UNZIP" >&5
4363 echo "${ECHO_T}$UNZIP" >&6
4365 echo "$as_me:$LINENO: result: no" >&5
4366 echo "${ECHO_T}no" >&6
4370 # We need a jar that supports -@. This is a GNU extension.
4371 if test "$JAR" != no
; then
4372 rm -f config-test.jar
4373 echo $srcdir/configure.ac |
$JAR -cf@ config-test.jar
4374 if test -f config-test.jar
; then
4375 rm -f config-test.jar
4381 # Prefer the jar we found, but fall back to our jar script.
4382 if test "$JAR" = no
; then
4383 if test "$ZIP" = no
; then
4384 { { echo "$as_me:$LINENO: error: cannot find neither zip nor jar, cannot continue" >&5
4385 echo "$as_me: error: cannot find neither zip nor jar, cannot continue" >&2;}
4386 { (exit 1); exit 1; }; }
4388 # InfoZIP available, use the 'guaranteed' Bourne-shell JAR to build libjava
4389 JAR
=`pwd`/scripts
/jar
4393 # Find a good install program. We prefer a C program (faster),
4394 # so one script is as good as another. But avoid the broken or
4395 # incompatible versions:
4396 # SysV /etc/install, /usr/sbin/install
4397 # SunOS /usr/etc/install
4398 # IRIX /sbin/install
4400 # AmigaOS /C/install, which installs bootblocks on floppy discs
4401 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4402 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4403 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4404 # OS/2's system install, which has a completely different semantic
4405 # ./install, which can be erroneously created by make from ./install.sh.
4406 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4407 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4408 if test -z "$INSTALL"; then
4409 if test "${ac_cv_path_install+set}" = set; then
4410 echo $ECHO_N "(cached) $ECHO_C" >&6
4412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4416 test -z "$as_dir" && as_dir
=.
4417 # Account for people who put trailing slashes in PATH elements.
4419 .
/ | .
// |
/cC
/* | \
4420 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4421 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4424 # OSF1 and SCO ODT 3.0 have their own names for install.
4425 # Don't use installbsd from OSF since it installs stuff as root
4427 for ac_prog
in ginstall scoinst
install; do
4428 for ac_exec_ext
in '' $ac_executable_extensions; do
4429 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4430 if test $ac_prog = install &&
4431 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4432 # AIX install. It has an incompatible calling convention.
4434 elif test $ac_prog = install &&
4435 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4436 # program-specific install script used by HP pwplus--don't use.
4439 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4451 if test "${ac_cv_path_install+set}" = set; then
4452 INSTALL
=$ac_cv_path_install
4454 # As a last resort, use the slow shell script. We don't cache a
4455 # path for INSTALL within a source directory, because that will
4456 # break other packages using the cache if that directory is
4457 # removed, or if the path is relative.
4458 INSTALL
=$ac_install_sh
4461 echo "$as_me:$LINENO: result: $INSTALL" >&5
4462 echo "${ECHO_T}$INSTALL" >&6
4464 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4465 # It thinks the first close brace ends the variable substitution.
4466 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4468 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4470 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4473 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4474 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4475 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4476 if test "${enable_maintainer_mode+set}" = set; then
4477 enableval
="$enable_maintainer_mode"
4478 USE_MAINTAINER_MODE
=$enableval
4480 USE_MAINTAINER_MODE
=no
4482 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4483 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4486 if test $USE_MAINTAINER_MODE = yes; then
4487 MAINTAINER_MODE_TRUE
=
4488 MAINTAINER_MODE_FALSE
='#'
4490 MAINTAINER_MODE_TRUE
='#'
4491 MAINTAINER_MODE_FALSE
=
4494 MAINT
=$MAINTAINER_MODE_TRUE
4500 # configure.host sets the following important variables
4501 # libgcj_cflags - host specific C compiler flags
4502 # libgcj_cxxflags - host specific C++ compiler flags
4503 # libgcj_javaflags - host specific Java compiler flags
4509 .
${srcdir}/configure.
host
4511 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4512 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4513 if test "${acl_cv_prog_gnu_ld+set}" = set; then
4514 echo $ECHO_N "(cached) $ECHO_C" >&6
4516 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4517 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4518 acl_cv_prog_gnu_ld
=yes
4520 acl_cv_prog_gnu_ld
=no
4523 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
4524 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
4525 with_gnu_ld
=$acl_cv_prog_gnu_ld
4527 echo "$as_me:$LINENO: checking if the GNU linker ($LD) supports -Bsymbolic-functions" >&5
4528 echo $ECHO_N "checking if the GNU linker ($LD) supports -Bsymbolic-functions... $ECHO_C" >&6
4529 if test "${acl_cv_prog_gnu_ld_symbolic+set}" = set; then
4530 echo $ECHO_N "(cached) $ECHO_C" >&6
4533 acl_cv_prog_gnu_ld_symbolic
=no
4535 if test x
"$with_gnu_ld" = x
"yes"; then
4536 if $LD --help 2>&1 </dev
/null |
grep Bsymbolic-functions
1>&5; then
4537 acl_cv_prog_gnu_ld_symbolic
=yes
4541 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld_symbolic" >&5
4542 echo "${ECHO_T}$acl_cv_prog_gnu_ld_symbolic" >&6
4543 if test x
"$acl_cv_prog_gnu_ld_symbolic" = x
"yes"; then
4544 SYMBOLIC_LDFLAGS
="-Wl,-Bsymbolic-functions"
4549 libgcj_ld_symbolic_functions
=$SYMBOLIC_LDFLAGS
4550 if test -z "$libgcj_ld_symbolic"; then
4551 libgcj_ld_symbolic
=$SYMBOLIC_LDFLAGS
4554 LIBGCJ_CFLAGS
="${libgcj_cflags}"
4555 LIBGCJ_CXXFLAGS
="${libgcj_cxxflags}"
4556 LIBGCJ_JAVAFLAGS
="${libgcj_javaflags}"
4557 LIBGCJ_LD_SYMBOLIC
="${libgcj_ld_symbolic}"
4558 LIBGCJ_LD_SYMBOLIC_FUNCTIONS
="${libgcj_ld_symbolic_functions}"
4565 # Only use libltdl for non-newlib builds.
4566 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
4567 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
4568 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
4570 libname_spec
='lib$name'
4578 shlibpath_overrides_runpath
=unknown
4580 dynamic_linker
="$host_os ld.so"
4581 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
4582 if test "$GCC" = yes; then
4583 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
4584 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
4585 # if the path contains ";" then we assume it to be the separator
4586 # otherwise default to the standard path separator (i.e. ":") - it is
4587 # assumed that no part of a normal pathname contains ";" but that should
4588 # okay in the real world where ";" in dirpaths is itself problematic.
4589 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
4591 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
4594 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
4596 need_lib_prefix
=unknown
4597 hardcode_into_libs
=no
4599 # when you set need_version to no, make sure it does not cause -set_version
4600 # flags to be left without arguments
4601 need_version
=unknown
4606 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
4607 shlibpath_var
=LIBPATH
4609 # AIX 3 has no versioning support, so we append a major version to the name.
4610 soname_spec
='${libname}${release}${shared_ext}$major'
4617 hardcode_into_libs
=yes
4618 if test "$host_cpu" = ia64
; then
4619 # AIX 5 supports IA64
4620 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
4621 shlibpath_var
=LD_LIBRARY_PATH
4623 # With GCC up to 2.95.x, collect2 would create an import file
4624 # for dependence libraries. The import file would start with
4625 # the line `#! .'. This would cause the generated library to
4626 # depend on `.', always an invalid library. This was fixed in
4627 # development snapshots of GCC prior to 3.0.
4629 aix4 | aix4.
[01] | aix4.
[01].
*)
4630 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
4632 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
4639 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
4640 # soname into executable. Probably we can add versioning support to
4641 # collect2, so additional links can be useful in future.
4642 if test "$aix_use_runtimelinking" = yes; then
4643 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
4644 # instead of lib<name>.a to let people know that these are not
4645 # typical AIX shared libraries.
4646 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4648 # We preserve .a as extension for shared libraries through AIX4.2
4649 # and later when we are not doing run time linking.
4650 library_names_spec
='${libname}${release}.a $libname.a'
4651 soname_spec
='${libname}${release}${shared_ext}$major'
4653 shlibpath_var
=LIBPATH
4658 library_names_spec
='$libname.ixlibrary $libname.a'
4659 # Create ${libname}_ixlibrary.a entries in /sys/libs.
4660 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
4664 library_names_spec
='${libname}${shared_ext}'
4665 dynamic_linker
="$host_os ld.so"
4666 shlibpath_var
=LIBRARY_PATH
4672 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4673 soname_spec
='${libname}${release}${shared_ext}$major'
4674 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
4675 shlibpath_var
=LD_LIBRARY_PATH
4676 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
4677 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
4678 # the default ld.so.conf also contains /usr/contrib/lib and
4679 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
4680 # libtool to hard-code these into programs
4683 cygwin
* | mingw
* | pw32
*)
4684 version_type
=windows
4689 case $GCC,$host_os in
4690 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
4691 library_names_spec
='$libname.dll.a'
4692 # DLL is installed to $(libdir)/../bin by postinstall_cmds
4693 postinstall_cmds
='base_file=`basename \${file}`~
4694 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
4695 dldir=$destdir/`dirname \$dlpath`~
4696 test -d \$dldir || mkdir -p \$dldir~
4697 $install_prog $dir/$dlname \$dldir/$dlname'
4698 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
4699 dlpath=$dir/\$dldll~
4701 shlibpath_overrides_runpath
=yes
4705 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
4706 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
4707 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
4710 # MinGW DLLs use traditional 'lib' prefix
4711 soname_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
4712 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
4713 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
4714 # It is most probably a Windows format PATH printed by
4715 # mingw gcc, but we are running on Cygwin. Gcc prints its search
4716 # path with ; separators, and with drive letters. We can handle the
4717 # drive letters (cygwin fileutils understands them), so leave them,
4718 # especially as we might pass files found there to a mingw objdump,
4719 # which wouldn't understand a cygwinified path. Ahh.
4720 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
4722 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
4726 # pw32 DLLs use 'pw' prefix rather than 'lib'
4727 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}${shared_ext}'
4733 library_names_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
4736 dynamic_linker
='Win32 ld.exe'
4737 # FIXME: first we should search . and the directory the executable is in
4741 darwin
* | rhapsody
*)
4742 dynamic_linker
="$host_os dyld"
4746 # FIXME: Relying on posixy $() will cause problems for
4747 # cross-compilation, but unfortunately the echo tests do not
4748 # yet detect zsh echo's removal of \ escapes.
4749 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
4750 soname_spec
='${libname}${release}${major}$shared_ext'
4751 shlibpath_overrides_runpath
=yes
4752 shlibpath_var
=DYLD_LIBRARY_PATH
4753 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
4754 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
4755 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
4756 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
4758 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
4765 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
4766 soname_spec
='${libname}${release}${shared_ext}$major'
4767 shlibpath_var
=LD_LIBRARY_PATH
4775 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
4776 version_type
=freebsd-
$objformat
4777 case $version_type in
4779 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
4784 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
4788 shlibpath_var
=LD_LIBRARY_PATH
4791 shlibpath_overrides_runpath
=yes
4793 freebsd3.01
* | freebsdelf3.01
*)
4794 shlibpath_overrides_runpath
=yes
4795 hardcode_into_libs
=yes
4798 shlibpath_overrides_runpath
=no
4799 hardcode_into_libs
=yes
4808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
4809 soname_spec
='${libname}${release}${shared_ext}$major'
4810 shlibpath_var
=LD_LIBRARY_PATH
4811 hardcode_into_libs
=yes
4814 hpux9
* | hpux10
* | hpux11
*)
4815 # Give a soname corresponding to the major version so that dld.sl refuses to
4816 # link against other versions.
4823 hardcode_into_libs
=yes
4824 dynamic_linker
="$host_os dld.so"
4825 shlibpath_var
=LD_LIBRARY_PATH
4826 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
4827 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4828 soname_spec
='${libname}${release}${shared_ext}$major'
4829 if test "X$HPUX_IA64_MODE" = X32
; then
4830 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
4832 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
4834 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
4838 hardcode_into_libs
=yes
4839 dynamic_linker
="$host_os dld.sl"
4840 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
4841 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
4842 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4843 soname_spec
='${libname}${release}${shared_ext}$major'
4844 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
4845 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
4849 dynamic_linker
="$host_os dld.sl"
4850 shlibpath_var
=SHLIB_PATH
4851 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
4852 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4853 soname_spec
='${libname}${release}${shared_ext}$major'
4856 # HP-UX runs *really* slowly unless shared libraries are mode 555.
4857 postinstall_cmds
='chmod 555 $lib'
4860 irix5
* | irix6
* | nonstopux
*)
4862 nonstopux
*) version_type
=nonstopux
;;
4864 if test "$lt_cv_prog_gnu_ld" = yes; then
4872 soname_spec
='${libname}${release}${shared_ext}$major'
4873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
4875 irix5
* | nonstopux
*)
4879 case $LD in # libtool.m4 will add one of these switches to LD
4880 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
4881 libsuff
= shlibsuff
= libmagic
=32-bit;;
4882 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
4883 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
4884 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
4885 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
4886 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
4890 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
4891 shlibpath_overrides_runpath
=no
4892 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
4893 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
4894 hardcode_into_libs
=yes
4897 # No shared lib support for Linux oldld, aout, or coff.
4898 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
4902 # This must be Linux ELF.
4907 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4908 soname_spec
='${libname}${release}${shared_ext}$major'
4909 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
4910 shlibpath_var
=LD_LIBRARY_PATH
4911 shlibpath_overrides_runpath
=no
4912 # This implies no fast_install, which is unacceptable.
4913 # Some rework will be needed to allow for fast_install
4914 # before this can be enabled.
4915 hardcode_into_libs
=yes
4917 # We used to test for /lib/ld.so.1 and disable shared libraries on
4918 # powerpc, because MkLinux only supported shared libraries with the
4919 # GNU dynamic linker. Since this was broken with cross compilers,
4920 # most powerpc-linux boxes support dynamic linking these days and
4921 # people can always --disable-shared, the test was removed, and we
4922 # assume the GNU/Linux dynamic linker is in use.
4923 dynamic_linker
='GNU/Linux ld.so'
4930 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
4931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4932 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4933 dynamic_linker
='NetBSD (a.out) ld.so'
4935 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
4936 soname_spec
='${libname}${release}${shared_ext}$major'
4937 dynamic_linker
='NetBSD ld.elf_so'
4939 shlibpath_var
=LD_LIBRARY_PATH
4940 shlibpath_overrides_runpath
=yes
4941 hardcode_into_libs
=yes
4946 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4947 shlibpath_var
=LD_LIBRARY_PATH
4948 shlibpath_overrides_runpath
=yes
4955 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4956 soname_spec
='${libname}${release}${shared_ext}$major'
4957 shlibpath_var
=LD_LIBRARY_PATH
4958 shlibpath_overrides_runpath
=yes
4965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4966 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4967 shlibpath_var
=LD_LIBRARY_PATH
4968 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4970 openbsd2.
[89] | openbsd2.
[89].
*)
4971 shlibpath_overrides_runpath
=no
4974 shlibpath_overrides_runpath
=yes
4978 shlibpath_overrides_runpath
=yes
4983 libname_spec
='$name'
4986 library_names_spec
='$libname${shared_ext} $libname.a'
4987 dynamic_linker
='OS/2 ld.exe'
4988 shlibpath_var
=LIBPATH
4991 osf3
* | osf4
* | osf5
*)
4995 soname_spec
='${libname}${release}${shared_ext}$major'
4996 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4997 shlibpath_var
=LD_LIBRARY_PATH
4998 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
4999 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
5004 soname_spec
='${libname}${release}${shared_ext}$major'
5005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5006 shlibpath_var
=LD_LIBRARY_PATH
5013 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5014 soname_spec
='${libname}${release}${shared_ext}$major'
5015 shlibpath_var
=LD_LIBRARY_PATH
5016 shlibpath_overrides_runpath
=yes
5017 hardcode_into_libs
=yes
5018 # ldd complains unless libraries are executable
5019 postinstall_cmds
='chmod +x $lib'
5024 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5025 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
5026 shlibpath_var
=LD_LIBRARY_PATH
5027 shlibpath_overrides_runpath
=yes
5028 if test "$with_gnu_ld" = yes; then
5034 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
5036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5037 soname_spec
='${libname}${release}${shared_ext}$major'
5038 shlibpath_var
=LD_LIBRARY_PATH
5039 case $host_vendor in
5041 shlibpath_overrides_runpath
=no
5043 export_dynamic_flag_spec
='${wl}-Blargedynsym'
5044 runpath_var
=LD_RUN_PATH
5052 shlibpath_overrides_runpath
=no
5053 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
5059 if test -d /usr
/nec
;then
5061 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
5062 soname_spec
='$libname${shared_ext}.$major'
5063 shlibpath_var
=LD_LIBRARY_PATH
5069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5070 soname_spec
='${libname}${release}${shared_ext}$major'
5071 shlibpath_var
=LD_LIBRARY_PATH
5078 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
5079 echo "${ECHO_T}$dynamic_linker" >&6
5080 test "$dynamic_linker" = no
&& can_build_shared
=no
5083 echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
5084 echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6
5085 if test "${libltdl_cv_shlibpath_var+set}" = set; then
5086 echo $ECHO_N "(cached) $ECHO_C" >&6
5088 libltdl_cv_shlibpath_var
="$shlibpath_var"
5090 echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
5091 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6
5092 if test -n "$libltdl_cv_shlibpath_var"; then
5094 cat >>confdefs.h
<<_ACEOF
5095 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
5102 ac_config_headers
="$ac_config_headers include/config.h gcj/libgcj-config.h"
5105 # See if the user has requested runtime debugging.
5106 LIBGCJDEBUG
="disable"
5108 # Check whether --enable-libgcj-debug or --disable-libgcj-debug was given.
5109 if test "${enable_libgcj_debug+set}" = set; then
5110 enableval
="$enable_libgcj_debug"
5111 if test "$enable_libgcj_debug" = yes; then
5113 cat >>confdefs.h
<<\_ACEOF
5117 LIBGCJDEBUG
="enable"
5122 # Check whether --with-escher or --without-escher was given.
5123 if test "${with_escher+set}" = set; then
5124 withval
="$with_escher"
5127 case "$with_escher" in
5135 { { echo "$as_me:$LINENO: error: Please supply an absolute path to Escher library" >&5
5136 echo "$as_me: error: Please supply an absolute path to Escher library" >&2;}
5137 { (exit 1); exit 1; }; }
5144 # Determine which AWT peer libraries to build
5145 # Check whether --enable-java-awt or --disable-java-awt was given.
5146 if test "${enable_java_awt+set}" = set; then
5147 enableval
="$enable_java_awt"
5151 peerlibs
="`echo ${enable_java_awt} | tr ',' ' '`"
5156 # The default toolkit to use is the first one specified.
5160 for peer
in $peerlibs ; do
5163 if test "$no_x" = yes; then
5164 echo "*** xlib peers requested but no X library available" 1>&2
5168 if test -z "$TOOLKIT"; then
5169 TOOLKIT
=gnu.awt.xlib.XToolkit
5174 if test "$no_x" = yes; then
5175 echo "*** gtk peers requested but no X library available" 1>&2
5179 if test -z "$TOOLKIT"; then
5180 TOOLKIT
=gnu.java.awt.peer.gtk.GtkToolkit
5185 if test "$no_x" = yes; then
5186 # Perhaps we should admit the possibility of embedded Qt.
5187 echo "*** Qt peers requested but no X library available" 1>&2
5191 if test -z "$TOOLKIT"; then
5192 TOOLKIT
=gnu.java.awt.peer.qt.QtToolkit
5198 if test -z "$TOOLKIT"; then
5199 TOOLKIT
=gnu.java.awt.peer.x.XToolkit
5210 echo "*** unrecognised argument \"${peer}\" for --enable-java-awt" 1>&2
5217 if test "$use_xlib_awt" = yes; then
5227 if test "$use_x_awt" = yes; then
5237 cat >>confdefs.h
<<_ACEOF
5238 #define AWT_TOOLKIT "$TOOLKIT"
5243 cat >>confdefs.h
<<_ACEOF
5244 #define LIBGCJ_PREFIX "$prefix"
5248 # Create standard.omit based on decisions we just made.
5249 cp $srcdir/standard.omit.
in standard.omit
5250 if test "$use_xlib_awt" != yes; then
5251 echo gnu
/awt
/xlib
>> standard.omit
5252 echo gnu
/gcj
/xlib
>> standard.omit
5254 if test "$use_x_awt" != yes; then
5255 echo gnu
/java
/awt
/peer
/x
>> standard.omit
5258 # Tools that need to be compiled against classpath's tools classes
5259 : > vm-tools-packages
5260 for package
in gnu
/gcj
/tools
/gc_analyze
; do
5261 echo $package >> standard.omit
5262 echo $package >> vm-tools-packages
5265 if test -z "${with_multisubdir}"; then
5268 builddotdot
=`echo ${with_multisubdir} | sed -e 's:[^/][^/]*:..:g'`
5273 # Which gcj and host gcj (for ecjx) do we use?
5275 host_exeext
=${ac_exeext}
5277 built_gcc_dir
="`cd ${builddotdot}/../../${host_subdir}/gcc && ${PWDCMD-pwd}`"
5278 if test -n "${with_cross_host}"; then
5279 # We are being configured with a cross compiler. We can't
5280 # use ac_exeext, because that is for the target platform.
5283 GCJ_FOR_ECJX
="${with_cross_host}-gcj"
5284 case "${with_cross_host}" in
5286 cross_host_exeext
=.exe
5289 host_exeext
=${cross_host_exeext}
5290 if test -x "${built_gcc_dir}/gcj${cross_host_exeext}"; then
5291 if test x
"$build_noncanonical" = x
"$with_cross_host"; then
5292 # Ordinary cross (host!=target and host=build)
5295 # Canadian cross (host!=target and host!=build)
5302 # We are being configured with a native or crossed-native compiler
5303 if test -x "${built_gcc_dir}/gcj${ac_exeext}"; then
5304 if test x
"$build" = x
"$host"; then
5305 # True native build (host=target and host=build)
5308 # Crossed-native build (host=target and host!=build)
5315 case "${which_gcj}" in
5317 GCJ
="$built_gcc_dir/gcj -B`${PWDCMD-pwd}`/ -B$built_gcc_dir/"
5318 GCJH
='$(top_builddir)/$(MULTIBUILDTOP)../../$(host_subdir)/gcc/gcjh'
5321 if test "x${with_newlib}" = "xyes"; then
5322 # FIXME (comment): Why is this needed?
5324 GCJ
="${target_noncanonical}-gcj"
5326 GCJ
="${target_noncanonical}-gcj -B`${PWDCMD-pwd}`/"
5328 GCJH
='$(target_noncanonical)-gcjh'
5331 GCJ
="gcj -B`${PWDCMD-pwd}`/"
5340 # Create it, so that compile/link tests don't fail
5341 test -f libgcj.spec ||
touch libgcj.spec
5345 # Set up to configure Classpath.
5346 # FIXME: no supported way to pass args in autoconf.
5347 ac_configure_args
="$ac_configure_args --with-fastjar=$JAR"
5348 # Disable tool wrappers to avoid ltdl.h configure check.
5349 ac_configure_args
="$ac_configure_args --disable-tool-wrappers"
5350 ac_configure_args
="$ac_configure_args --disable-load-library"
5351 ac_configure_args
="$ac_configure_args --${LIBGCJDEBUG}-debug"
5352 ac_configure_args
="$ac_configure_args --enable-default-toolkit=$TOOLKIT"
5353 dir1
=`cd $srcdir && pwd`
5355 ac_configure_args
="$ac_configure_args --with-vm-classes=$dir1:$dir2"
5356 ac_configure_args
="$ac_configure_args --disable-core-jni"
5357 ac_configure_args
="$ac_configure_args --disable-examples"
5358 ac_configure_args
="$ac_configure_args --with-glibj=build"
5359 if test "$plugin_enabled" != yes; then
5360 ac_configure_args
="$ac_configure_args --disable-plugin"
5362 if test "$gconf_enabled" != yes; then
5363 ac_configure_args
="$ac_configure_args --disable-gconf-peer"
5364 ac_configure_args
="$ac_configure_args --enable-default-preferences-peer=gnu.java.util.prefs.FileBasedFactory"
5366 if test "$use_gtk_awt" != yes; then
5367 ac_configure_args
="$ac_configure_args --disable-gtk-peer --disable-plugin"
5369 if test "$use_qt_awt" != yes; then
5370 ac_configure_args
="$ac_configure_args --disable-qt-peer"
5372 # We need this as qt is disabled by default in classpath.
5373 ac_configure_args
="$ac_configure_args --enable-qt-peer"
5375 if test "$use_x_awt" != yes; then
5376 ac_configure_args
="$ac_configure_args --without-escher"
5378 # We need this as escher is disabled by default in classpath.
5379 if test "$use_escher" != true
; then
5380 { { echo "$as_me:$LINENO: error: Please supply an absolute path to the Escher library" >&5
5381 echo "$as_me: error: Please supply an absolute path to the Escher library" >&2;}
5382 { (exit 1); exit 1; }; }
5384 ac_configure_args
="$ac_configure_args --with-escher=$with_escher"
5387 # -Werror causes unavoidable problems in code using alsa.
5388 ac_configure_args
="$ac_configure_args --disable-Werror"
5390 # Only use libltdl for non-newlib builds.
5391 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
5392 case $enable_ltdl_convenience in
5393 no
) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
5394 echo "$as_me: error: this package needs a convenience libltdl" >&2;}
5395 { (exit 1); exit 1; }; } ;;
5396 "") enable_ltdl_convenience
=yes
5397 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
5399 LIBLTDL
='${top_builddir}/''libltdl'/libltdlc.la
5400 LTDLINCL
='-I${top_srcdir}/''libltdl'
5401 # For backwards non-gettext consistent compatibility...
5410 cat >>confdefs.h
<<\_ACEOF
5414 # Sigh. Libtool's macro doesn't do the right thing.
5415 INCLTDL
="-I\$(top_srcdir)/libltdl $INCLTDL"
5416 # FIXME: this is a hack.
5417 sub_auxdir
="`cd $ac_aux_dir && ${PWDCMD-pwd}`"
5418 ac_configure_args
="$ac_configure_args --with-auxdir=$sub_auxdir"
5425 macro_version
='2.1a'
5426 macro_revision
='1.2435'
5439 ltmain
="$ac_aux_dir/ltmain.sh"
5447 # Check whether --enable-shared or --disable-shared was given.
5448 if test "${enable_shared+set}" = set; then
5449 enableval
="$enable_shared"
5450 p
=${PACKAGE-default}
5452 yes) enable_shared
=yes ;;
5453 no
) enable_shared
=no
;;
5456 # Look at the argument we got. We use all the common list separators.
5457 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5458 for pkg
in $enableval; do
5460 if test "X$pkg" = "X$p"; then
5478 # Check whether --enable-static or --disable-static was given.
5479 if test "${enable_static+set}" = set; then
5480 enableval
="$enable_static"
5481 p
=${PACKAGE-default}
5483 yes) enable_static
=yes ;;
5484 no
) enable_static
=no
;;
5487 # Look at the argument we got. We use all the common list separators.
5488 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5489 for pkg
in $enableval; do
5491 if test "X$pkg" = "X$p"; then
5510 # Check whether --with-pic or --without-pic was given.
5511 if test "${with_pic+set}" = set; then
5518 test -z "$pic_mode" && pic_mode
=default
5526 # Check whether --enable-fast-install or --disable-fast-install was given.
5527 if test "${enable_fast_install+set}" = set; then
5528 enableval
="$enable_fast_install"
5529 p
=${PACKAGE-default}
5531 yes) enable_fast_install
=yes ;;
5532 no
) enable_fast_install
=no
;;
5534 enable_fast_install
=no
5535 # Look at the argument we got. We use all the common list separators.
5536 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5537 for pkg
in $enableval; do
5539 if test "X$pkg" = "X$p"; then
5540 enable_fast_install
=yes
5547 enable_fast_install
=yes
5557 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5558 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
5559 if test "${lt_cv_path_SED+set}" = set; then
5560 echo $ECHO_N "(cached) $ECHO_C" >&6
5562 # Loop through the user's path and test for sed and gsed.
5563 # Then use that list of sed's as ones to test for truncation.
5564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5568 test -z "$as_dir" && as_dir
=.
5569 for lt_ac_prog
in sed gsed
; do
5570 for ac_exec_ext
in '' $ac_executable_extensions; do
5571 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5572 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5580 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5581 # along with /bin/sed that truncates output.
5582 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
5583 test ! -f $lt_ac_sed && continue
5584 cat /dev
/null
> conftest.
in
5586 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
5587 # Check for GNU sed and select it if it is found.
5588 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
5589 lt_cv_path_SED
=$lt_ac_sed
5593 cat conftest.
in conftest.
in >conftest.tmp
5594 mv conftest.tmp conftest.
in
5595 cp conftest.
in conftest.
nl
5597 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
5598 cmp -s conftest.out conftest.
nl ||
break
5599 # 10000 chars as input seems more than enough
5600 test $lt_ac_count -gt 10 && break
5601 lt_ac_count
=`expr $lt_ac_count + 1`
5602 if test $lt_ac_count -gt $lt_ac_max; then
5603 lt_ac_max
=$lt_ac_count
5604 lt_cv_path_SED
=$lt_ac_sed
5613 echo "$as_me:$LINENO: result: $SED" >&5
5614 echo "${ECHO_T}$SED" >&6
5616 test -z "$SED" && SED
=sed
5617 Xsed
="$SED -e 1s/^X//"
5629 echo "$as_me:$LINENO: checking for egrep" >&5
5630 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5631 if test "${ac_cv_prog_egrep+set}" = set; then
5632 echo $ECHO_N "(cached) $ECHO_C" >&6
5634 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5635 then ac_cv_prog_egrep
='grep -E'
5636 else ac_cv_prog_egrep
='egrep'
5639 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5640 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5641 EGREP
=$ac_cv_prog_egrep
5644 echo "$as_me:$LINENO: checking for fgrep" >&5
5645 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
5646 if test "${ac_cv_prog_fgrep+set}" = set; then
5647 echo $ECHO_N "(cached) $ECHO_C" >&6
5649 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
5650 then ac_cv_prog_fgrep
='grep -F'
5651 else ac_cv_prog_fgrep
='fgrep'
5654 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
5655 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
5656 FGREP
=$ac_cv_prog_fgrep
5659 test -z "$GREP" && GREP
=grep
5679 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5680 if test "${with_gnu_ld+set}" = set; then
5681 withval
="$with_gnu_ld"
5682 test "$withval" = no || with_gnu_ld
=yes
5687 if test "$GCC" = yes; then
5688 # Check if gcc -print-prog-name=ld gives a path.
5689 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5690 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5693 # gcc leaves a trailing carriage return which upsets mingw
5694 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5696 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5699 # Accept absolute paths.
5701 re_direlt
='/[^/][^/]*/\.\./'
5702 # Canonicalize the pathname of ld
5703 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5704 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5705 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5707 test -z "$LD" && LD
="$ac_prog"
5710 # If it fails, then pretend we aren't using GCC.
5714 # If it is relative, then search for the first ld in PATH.
5718 elif test "$with_gnu_ld" = yes; then
5719 echo "$as_me:$LINENO: checking for GNU ld" >&5
5720 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5722 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5723 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5725 if test "${lt_cv_path_LD+set}" = set; then
5726 echo $ECHO_N "(cached) $ECHO_C" >&6
5728 if test -z "$LD"; then
5729 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5730 for ac_dir
in $PATH; do
5732 test -z "$ac_dir" && ac_dir
=.
5733 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5734 lt_cv_path_LD
="$ac_dir/$ac_prog"
5735 # Check to see if the program is GNU ld. I'd rather use --version,
5736 # but apparently some variants of GNU ld only accept -v.
5737 # Break only if it was the GNU/non-GNU ld that we prefer.
5738 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5739 *GNU
* |
*'with BFD'*)
5740 test "$with_gnu_ld" != no
&& break
5743 test "$with_gnu_ld" != yes && break
5750 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5755 if test -n "$LD"; then
5756 echo "$as_me:$LINENO: result: $LD" >&5
5757 echo "${ECHO_T}$LD" >&6
5759 echo "$as_me:$LINENO: result: no" >&5
5760 echo "${ECHO_T}no" >&6
5762 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5763 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5764 { (exit 1); exit 1; }; }
5765 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5766 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5767 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5768 echo $ECHO_N "(cached) $ECHO_C" >&6
5770 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5771 case `$LD -v 2>&1 </dev/null` in
5772 *GNU
* |
*'with BFD'*)
5773 lt_cv_prog_gnu_ld
=yes
5776 lt_cv_prog_gnu_ld
=no
5780 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5781 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5782 with_gnu_ld
=$lt_cv_prog_gnu_ld
5793 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5794 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
5795 if test "${lt_cv_path_NM+set}" = set; then
5796 echo $ECHO_N "(cached) $ECHO_C" >&6
5798 if test -n "$NM"; then
5799 # Let the user override the test.
5802 lt_nm_to_check
="${ac_tool_prefix}nm"
5803 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5804 lt_nm_to_check
="$lt_nm_to_check nm"
5806 for lt_tmp_nm
in $lt_nm_to_check; do
5807 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5808 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5810 test -z "$ac_dir" && ac_dir
=.
5811 tmp_nm
="$ac_dir/$lt_tmp_nm"
5812 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5813 # Check to see if the nm accepts a BSD-compat flag.
5814 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5815 # nm: unknown option "B" ignored
5816 # Tru64's nm complains that /dev/null is an invalid object file
5817 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5818 */dev
/null
* |
*'Invalid file or object type'*)
5819 lt_cv_path_NM
="$tmp_nm -B"
5823 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5825 lt_cv_path_NM
="$tmp_nm -p"
5829 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5830 continue # so that we can try to find one that supports BSD flags
5839 : ${lt_cv_path_NM=no}
5842 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5843 echo "${ECHO_T}$lt_cv_path_NM" >&6
5844 if test "$lt_cv_path_NM" != "no"; then
5847 # Didn't find any BSD compatible name lister, look for dumpbin.
5848 if test -n "$ac_tool_prefix"; then
5849 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5851 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5852 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5853 echo "$as_me:$LINENO: checking for $ac_word" >&5
5854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5855 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5856 echo $ECHO_N "(cached) $ECHO_C" >&6
5858 if test -n "$DUMPBIN"; then
5859 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5865 test -z "$as_dir" && as_dir
=.
5866 for ac_exec_ext
in '' $ac_executable_extensions; do
5867 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5868 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5877 DUMPBIN
=$ac_cv_prog_DUMPBIN
5878 if test -n "$DUMPBIN"; then
5879 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5880 echo "${ECHO_T}$DUMPBIN" >&6
5882 echo "$as_me:$LINENO: result: no" >&5
5883 echo "${ECHO_T}no" >&6
5886 test -n "$DUMPBIN" && break
5889 if test -z "$DUMPBIN"; then
5890 ac_ct_DUMPBIN
=$DUMPBIN
5891 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5893 # Extract the first word of "$ac_prog", so it can be a program name with args.
5894 set dummy
$ac_prog; ac_word
=$2
5895 echo "$as_me:$LINENO: checking for $ac_word" >&5
5896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5897 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5898 echo $ECHO_N "(cached) $ECHO_C" >&6
5900 if test -n "$ac_ct_DUMPBIN"; then
5901 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5907 test -z "$as_dir" && as_dir
=.
5908 for ac_exec_ext
in '' $ac_executable_extensions; do
5909 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5910 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5919 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5920 if test -n "$ac_ct_DUMPBIN"; then
5921 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5922 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
5924 echo "$as_me:$LINENO: result: no" >&5
5925 echo "${ECHO_T}no" >&6
5928 test -n "$ac_ct_DUMPBIN" && break
5930 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
5932 DUMPBIN
=$ac_ct_DUMPBIN
5936 if test "$DUMPBIN" != ":"; then
5940 test -z "$NM" && NM
=nm
5947 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5948 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
5949 if test "${lt_cv_nm_interface+set}" = set; then
5950 echo $ECHO_N "(cached) $ECHO_C" >&6
5952 lt_cv_nm_interface
="BSD nm"
5953 echo "int some_variable = 0;" > conftest.
$ac_ext
5954 (eval echo "\"\$as_me:5954: $ac_compile\"" >&5)
5955 (eval "$ac_compile" 2>conftest.err
)
5956 cat conftest.err
>&5
5957 (eval echo "\"\$as_me:5957: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5958 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5959 cat conftest.err
>&5
5960 (eval echo "\"\$as_me:5960: output\"" >&5)
5961 cat conftest.out
>&5
5962 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5963 lt_cv_nm_interface
="MS dumpbin"
5967 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5968 echo "${ECHO_T}$lt_cv_nm_interface" >&6
5970 # find the maximum length of command line arguments
5971 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5972 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5973 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5974 echo $ECHO_N "(cached) $ECHO_C" >&6
5981 # On DJGPP, this test can blow up pretty badly due to problems in libc
5982 # (any single argument exceeding 2000 bytes causes a buffer overrun
5983 # during glob expansion). Even if it were fixed, the result of this
5984 # check would be larger than it should be.
5985 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5989 # Under GNU Hurd, this test is not required because there is
5990 # no limit to the length of command line arguments.
5991 # Libtool will interpret -1 as no limit whatsoever
5992 lt_cv_sys_max_cmd_len
=-1;
5996 # On Win9x/ME, this test blows up -- it succeeds, but takes
5997 # about 5 minutes as the teststring grows exponentially.
5998 # Worse, since 9x/ME are not pre-emptively multitasking,
5999 # you end up with a "frozen" computer, even though with patience
6000 # the test eventually succeeds (with a max line length of 256k).
6001 # Instead, let's just punt: use the minimum linelength reported by
6002 # all of the supported platforms: 8192 (on NT/2K/XP).
6003 lt_cv_sys_max_cmd_len
=8192;
6007 # On AmigaOS with pdksh, this test takes hours, literally.
6008 # So we just punt and use a minimum line length of 8192.
6009 lt_cv_sys_max_cmd_len
=8192;
6012 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6013 # This has been around since 386BSD, at least. Likely further.
6014 if test -x /sbin
/sysctl
; then
6015 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6016 elif test -x /usr
/sbin
/sysctl
; then
6017 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6019 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6021 # And add a safety zone
6022 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6023 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6027 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6028 lt_cv_sys_max_cmd_len
=196608
6032 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6033 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6034 # nice to cause kernel panics so lets avoid the loop below.
6035 # First set a reasonable default.
6036 lt_cv_sys_max_cmd_len
=16384
6038 if test -x /sbin
/sysconfig
; then
6039 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6040 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6045 lt_cv_sys_max_cmd_len
=102400
6047 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6048 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6049 if test -n "$kargmax"; then
6050 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6052 lt_cv_sys_max_cmd_len
=32768
6056 lt_cv_sys_max_cmd_len
=`getconf ARG_MAX 2> /dev/null`
6057 if test -n $lt_cv_sys_max_cmd_len; then
6058 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6059 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6061 # Make teststring a little bigger before we do anything with it.
6062 # a 1K string should be a reasonable start.
6063 for i
in 1 2 3 4 5 6 7 8 ; do
6064 teststring
=$teststring$teststring
6066 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6067 # If test is not a shell built-in, we'll probably end up computing a
6068 # maximum length that is only half of the actual maximum length, but
6070 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6071 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
6072 test $i != 17 # 1/2 MB should be enough
6075 teststring
=$teststring$teststring
6077 # Only check the string length outside the loop.
6078 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6080 # Add a significant safety factor because C++ compilers can tack on
6081 # massive amounts of additional arguments before passing them to the
6082 # linker. It appears as though 1/2 is a usable value.
6083 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6090 if test -n $lt_cv_sys_max_cmd_len ; then
6091 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6092 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
6094 echo "$as_me:$LINENO: result: none" >&5
6095 echo "${ECHO_T}none" >&6
6097 max_cmd_len
=$lt_cv_sys_max_cmd_len
6108 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6109 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
6110 # Try some XSI features
6113 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6114 = c,a/b,, ) >/dev/null 2>&1 \
6116 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
6117 echo "${ECHO_T}$xsi_shell" >&6
6120 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
6121 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
6123 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6125 && lt_shell_append=yes
6126 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
6127 echo "${ECHO_T}$lt_shell_append" >&6
6130 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6140 # test EBCDIC or ASCII
6141 case `echo X|tr X '\101'` in
6142 A) # ASCII based system
6143 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6144 lt_SP2NL='tr \040 \012'
6145 lt_NL2SP='tr \015\012 \040\040'
6147 *) # EBCDIC based system
6148 lt_SP2NL='tr \100 \n'
6149 lt_NL2SP='tr \r\n \100\100'
6161 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
6162 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
6163 if test "${lt_cv_ld_reload_flag+set}" = set; then
6164 echo $ECHO_N "(cached
) $ECHO_C" >&6
6166 lt_cv_ld_reload_flag='-r'
6168 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
6169 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
6170 reload_flag=$lt_cv_ld_reload_flag
6171 case $reload_flag in
6173 *) reload_flag=" $reload_flag" ;;
6175 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6178 if test "$GCC" = yes; then
6179 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6181 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6195 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
6196 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
6197 if test "${lt_cv_deplibs_check_method+set}" = set; then
6198 echo $ECHO_N "(cached
) $ECHO_C" >&6
6200 lt_cv_file_magic_cmd='$MAGIC_CMD'
6201 lt_cv_file_magic_test_file=
6202 lt_cv_deplibs_check_method='unknown'
6203 # Need to set the preceding variable on all platforms that support
6204 # interlibrary dependencies.
6205 # 'none' -- dependencies not supported.
6206 # `unknown' -- same as none, but documents that we really don't know.
6207 # 'pass_all' -- all dependencies passed with no checks.
6208 # 'test_compile' -- check by making test program.
6209 # 'file_magic [[regex]]' -- check by looking for files in library path
6210 # which responds to the $file_magic_cmd with a given extended regex.
6211 # If you have `file' or equivalent on your system and you're not sure
6212 # whether `pass_all' will *always* work, you probably want this one.
6216 lt_cv_deplibs_check_method=pass_all
6220 lt_cv_deplibs_check_method=pass_all
6224 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6225 lt_cv_file_magic_cmd='/usr/bin/file -L'
6226 lt_cv_file_magic_test_file=/shlib/libc.so
6230 # func_win32_libid is a shell function defined in ltmain.sh
6231 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6232 lt_cv_file_magic_cmd='func_win32_libid'
6236 # Base MSYS/MinGW do not provide the 'file' command needed by
6237 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6238 # unless we find 'file', for example because we are cross-compiling.
6239 if ( file / ) >/dev/null 2>&1; then
6240 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6241 lt_cv_file_magic_cmd='func_win32_libid'
6243 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6244 lt_cv_file_magic_cmd='$OBJDUMP -f'
6248 darwin* | rhapsody*)
6249 lt_cv_deplibs_check_method=pass_all
6252 freebsd* | dragonfly*)
6253 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6256 # Not sure whether the presence of OpenBSD here was a mistake.
6257 # Let's accept both of them until this is cleared up.
6258 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6259 lt_cv_file_magic_cmd=/usr/bin/file
6260 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6264 lt_cv_deplibs_check_method=pass_all
6269 lt_cv_deplibs_check_method=pass_all
6272 hpux10.20* | hpux11*)
6273 lt_cv_file_magic_cmd=/usr/bin/file
6276 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6277 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6280 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6281 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6284 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6285 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6291 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6292 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6295 irix5* | irix6* | nonstopux*)
6297 *-32|*"-32 ") libmagic=32-bit;;
6298 *-n32|*"-n32 ") libmagic=N32;;
6299 *-64|*"-64 ") libmagic=64-bit;;
6300 *) libmagic=never-match;;
6302 lt_cv_deplibs_check_method=pass_all
6305 # This must be Linux ELF.
6306 linux* | k*bsd*-gnu)
6307 lt_cv_deplibs_check_method=pass_all
6311 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6312 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6314 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6319 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6320 lt_cv_file_magic_cmd=/usr/bin/file
6321 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6325 lt_cv_deplibs_check_method=pass_all
6329 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6330 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6332 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6336 osf3* | osf4* | osf5*)
6337 lt_cv_deplibs_check_method=pass_all
6341 lt_cv_deplibs_check_method=pass_all
6345 lt_cv_deplibs_check_method=pass_all
6348 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6349 lt_cv_deplibs_check_method=pass_all
6353 case $host_vendor in
6355 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6356 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6359 lt_cv_deplibs_check_method=pass_all
6362 lt_cv_file_magic_cmd='/bin/file'
6363 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6366 lt_cv_file_magic_cmd='/bin/file'
6367 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6368 lt_cv_file_magic_test_file=/lib/libc.so
6371 lt_cv_deplibs_check_method=pass_all
6374 lt_cv_deplibs_check_method=pass_all
6380 lt_cv_deplibs_check_method=pass_all
6385 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
6386 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
6387 file_magic_cmd=$lt_cv_file_magic_cmd
6388 deplibs_check_method=$lt_cv_deplibs_check_method
6389 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6402 if test -n "$ac_tool_prefix"; then
6403 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6404 set dummy ${ac_tool_prefix}ar; ac_word=$2
6405 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6406 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6407 if test "${ac_cv_prog_AR+set}" = set; then
6408 echo $ECHO_N "(cached
) $ECHO_C" >&6
6410 if test -n "$AR"; then
6411 ac_cv_prog_AR="$AR" # Let the user override the test.
6413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6417 test -z "$as_dir" && as_dir=.
6418 for ac_exec_ext in '' $ac_executable_extensions; do
6419 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6420 ac_cv_prog_AR="${ac_tool_prefix}ar"
6421 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6430 if test -n "$AR"; then
6431 echo "$as_me:$LINENO: result
: $AR" >&5
6432 echo "${ECHO_T}$AR" >&6
6434 echo "$as_me:$LINENO: result
: no
" >&5
6435 echo "${ECHO_T}no
" >&6
6439 if test -z "$ac_cv_prog_AR"; then
6441 # Extract the first word of "ar", so it can be a program name with args.
6442 set dummy ar; ac_word=$2
6443 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6444 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6445 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6446 echo $ECHO_N "(cached
) $ECHO_C" >&6
6448 if test -n "$ac_ct_AR"; then
6449 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6455 test -z "$as_dir" && as_dir=.
6456 for ac_exec_ext in '' $ac_executable_extensions; do
6457 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6458 ac_cv_prog_ac_ct_AR="ar"
6459 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6465 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
6468 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6469 if test -n "$ac_ct_AR"; then
6470 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
6471 echo "${ECHO_T}$ac_ct_AR" >&6
6473 echo "$as_me:$LINENO: result
: no
" >&5
6474 echo "${ECHO_T}no
" >&6
6482 test -z "$AR" && AR=ar
6483 test -z "$AR_FLAGS" && AR_FLAGS=cru
6495 if test -n "$ac_tool_prefix"; then
6496 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6497 set dummy ${ac_tool_prefix}strip; ac_word=$2
6498 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6499 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6500 if test "${ac_cv_prog_STRIP+set}" = set; then
6501 echo $ECHO_N "(cached
) $ECHO_C" >&6
6503 if test -n "$STRIP"; then
6504 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6510 test -z "$as_dir" && as_dir=.
6511 for ac_exec_ext in '' $ac_executable_extensions; do
6512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6513 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6514 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6522 STRIP=$ac_cv_prog_STRIP
6523 if test -n "$STRIP"; then
6524 echo "$as_me:$LINENO: result
: $STRIP" >&5
6525 echo "${ECHO_T}$STRIP" >&6
6527 echo "$as_me:$LINENO: result
: no
" >&5
6528 echo "${ECHO_T}no
" >&6
6532 if test -z "$ac_cv_prog_STRIP"; then
6534 # Extract the first word of "strip
", so it can be a program name with args.
6535 set dummy strip; ac_word=$2
6536 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6537 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6538 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6539 echo $ECHO_N "(cached
) $ECHO_C" >&6
6541 if test -n "$ac_ct_STRIP"; then
6542 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6548 test -z "$as_dir" && as_dir=.
6549 for ac_exec_ext in '' $ac_executable_extensions; do
6550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6551 ac_cv_prog_ac_ct_STRIP="strip
"
6552 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6558 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6561 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6562 if test -n "$ac_ct_STRIP"; then
6563 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
6564 echo "${ECHO_T}$ac_ct_STRIP" >&6
6566 echo "$as_me:$LINENO: result
: no
" >&5
6567 echo "${ECHO_T}no
" >&6
6572 STRIP="$ac_cv_prog_STRIP"
6575 test -z "$STRIP" && STRIP=:
6582 if test -n "$ac_tool_prefix"; then
6583 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6584 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6585 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6586 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6587 if test "${ac_cv_prog_RANLIB+set}" = set; then
6588 echo $ECHO_N "(cached
) $ECHO_C" >&6
6590 if test -n "$RANLIB"; then
6591 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6597 test -z "$as_dir" && as_dir=.
6598 for ac_exec_ext in '' $ac_executable_extensions; do
6599 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6600 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6601 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6609 RANLIB=$ac_cv_prog_RANLIB
6610 if test -n "$RANLIB"; then
6611 echo "$as_me:$LINENO: result
: $RANLIB" >&5
6612 echo "${ECHO_T}$RANLIB" >&6
6614 echo "$as_me:$LINENO: result
: no
" >&5
6615 echo "${ECHO_T}no
" >&6
6619 if test -z "$ac_cv_prog_RANLIB"; then
6620 ac_ct_RANLIB=$RANLIB
6621 # Extract the first word of "ranlib
", so it can be a program name with args.
6622 set dummy ranlib; ac_word=$2
6623 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6624 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6625 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6626 echo $ECHO_N "(cached
) $ECHO_C" >&6
6628 if test -n "$ac_ct_RANLIB"; then
6629 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6635 test -z "$as_dir" && as_dir=.
6636 for ac_exec_ext in '' $ac_executable_extensions; do
6637 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6638 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6639 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6645 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6648 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6649 if test -n "$ac_ct_RANLIB"; then
6650 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
6651 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6653 echo "$as_me:$LINENO: result
: no
" >&5
6654 echo "${ECHO_T}no
" >&6
6657 RANLIB=$ac_ct_RANLIB
6659 RANLIB="$ac_cv_prog_RANLIB"
6662 test -z "$RANLIB" && RANLIB=:
6669 # Determine commands to create old-style static archives.
6670 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6671 old_postinstall_cmds='chmod 644 $oldlib'
6672 old_postuninstall_cmds=
6674 if test -n "$RANLIB"; then
6677 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6680 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6683 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6719 # If no C compiler was specified, use CC.
6722 # If no C compiler flags were specified, use CFLAGS.
6723 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6725 # Allow CC to be a program name with arguments.
6729 # Check for command to grab the raw symbol name followed by C symbol from nm.
6730 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
6731 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
6732 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6733 echo $ECHO_N "(cached
) $ECHO_C" >&6
6736 # These are sane defaults that work on at least a few old systems.
6737 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6739 # Character class describing NM global symbol codes.
6740 symcode='[BCDEGRST]'
6742 # Regexp to match symbols that can be accessed directly from C.
6743 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6745 # Define system-specific variables.
6750 cygwin* | mingw* | pw32*)
6751 symcode='[ABCDGISTW]'
6754 if test "$host_cpu" = ia64; then
6755 symcode='[ABCDEGRST]'
6759 symcode='[BCDEGRST]'
6762 symcode='[BCDEGQRST]'
6773 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6781 # If we're using GNU nm, then use its standard symbol codes.
6782 case `$NM -V 2>&1` in
6783 *GNU* | *'with BFD'*)
6784 symcode='[ABCDGIRSTW]' ;;
6787 # Transform an extracted symbol line into a proper C declaration.
6788 # Some systems (esp. on ia64) link data and code symbols differently,
6789 # so use this general approach.
6790 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6792 # Transform an extracted symbol line into symbol name and symbol address
6793 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6795 # Handle CRLF in mingw tool chain
6799 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6803 # Try without a prefix underscore, then with it.
6804 for ac_symprfx in "" "_
"; do
6806 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6807 symxfrm="\\1 $ac_symprfx\\2 \\2"
6809 # Write the raw and C identifiers.
6810 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6811 # Fake it for dumpbin and say T for any non-static function
6812 # and D for any global variable.
6813 # Also find C++ and __fastcall symbols from MSVC++,
6814 # which start with @ or ?.
6815 lt_cv_sys_global_symbol_pipe="$AWK '"\
6816 " {last_section=section; section=\$ 3};"\
6817 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6818 " \$ 0!~/External *\|/{next};"\
6819 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6820 " {if(hide[section]) next};"\
6821 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6822 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6823 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6824 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6825 " ' prfx
=^
$ac_symprfx"
6827 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6830 # Check to see that the pipe works correctly.
6834 cat > conftest.$ac_ext <<_LT_EOF
6839 void nm_test_func(void);
6840 void nm_test_func(void){}
6844 int main(){nm_test_var='a';nm_test_func();return(0);}
6847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6848 (eval $ac_compile) 2>&5
6850 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6851 (exit $ac_status); }; then
6852 # Now try to grab the symbols.
6854 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
6855 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6857 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6858 (exit $ac_status); } && test -s "$nlist"; then
6859 # Try sorting and uniquifying the output.
6860 if sort "$nlist" | uniq > "$nlist"T; then
6861 mv -f "$nlist"T "$nlist"
6866 # Make sure that we snagged all the symbols we need.
6867 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6868 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6869 cat <<_LT_EOF > conftest.$ac_ext
6875 # Now generate the symbol file.
6876 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6878 cat <<_LT_EOF >> conftest.$ac_ext
6880 /* The mapping between symbol names and symbols. */
6885 lt__PROGRAM__LTX_preloaded_symbols[] =
6887 { "@PROGRAM@
", (void *) 0 },
6889 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6890 cat <<\_LT_EOF >> conftest.$ac_ext
6894 /* This works around a problem in FreeBSD linker */
6895 #ifdef FREEBSD_WORKAROUND
6896 static const void *lt_preloaded_setup() {
6897 return lt__PROGRAM__LTX_preloaded_symbols;
6905 # Now try linking the two files.
6906 mv conftest.$ac_objext conftstm.$ac_objext
6907 lt_save_LIBS="$LIBS"
6908 lt_save_CFLAGS="$CFLAGS"
6909 LIBS="conftstm.
$ac_objext"
6910 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6912 (eval $ac_link) 2>&5
6914 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6915 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6918 LIBS="$lt_save_LIBS"
6919 CFLAGS="$lt_save_CFLAGS"
6921 echo "cannot
find nm_test_func
in $nlist" >&5
6924 echo "cannot
find nm_test_var
in $nlist" >&5
6927 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6930 echo "$progname: failed program was
:" >&5
6931 cat conftest.$ac_ext >&5
6933 rm -f conftest* conftst*
6935 # Do not use the global_symbol_pipe unless it works.
6936 if test "$pipe_works" = yes; then
6939 lt_cv_sys_global_symbol_pipe=
6945 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6946 lt_cv_sys_global_symbol_to_cdecl=
6948 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6949 echo "$as_me:$LINENO: result
: failed
" >&5
6950 echo "${ECHO_T}failed
" >&6
6952 echo "$as_me:$LINENO: result
: ok
" >&5
6953 echo "${ECHO_T}ok
" >&6
6973 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6974 if test "${enable_libtool_lock+set}" = set; then
6975 enableval="$enable_libtool_lock"
6978 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6980 # Some flags need to be propagated to the compiler or linker for good
6984 # Find out which ABI we are using.
6985 echo 'int i;' > conftest.$ac_ext
6986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6987 (eval $ac_compile) 2>&5
6989 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6990 (exit $ac_status); }; then
6991 case `/usr/bin/file conftest.$ac_objext` in
7003 # Find out which ABI we are using.
7004 echo '#line 7004 "configure
"' > conftest.$ac_ext
7005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7006 (eval $ac_compile) 2>&5
7008 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7009 (exit $ac_status); }; then
7010 if test "$lt_cv_prog_gnu_ld" = yes; then
7011 case `/usr/bin/file conftest.$ac_objext` in
7013 LD="${LD-ld} -melf32bsmip"
7016 LD="${LD-ld} -melf32bmipn32"
7019 LD="${LD-ld} -melf64bmip"
7023 case `/usr/bin/file conftest.$ac_objext` in
7039 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7040 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7041 # Find out which ABI we are using.
7042 echo 'int i;' > conftest.$ac_ext
7043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7044 (eval $ac_compile) 2>&5
7046 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7047 (exit $ac_status); }; then
7048 case `/usr/bin/file conftest.o` in
7051 x86_64-*kfreebsd*-gnu)
7052 LD="${LD-ld} -m elf_i386_fbsd
"
7055 LD="${LD-ld} -m elf_i386
"
7057 ppc64-*linux*|powerpc64-*linux*)
7058 LD="${LD-ld} -m elf32ppclinux
"
7061 LD="${LD-ld} -m elf_s390
"
7064 LD="${LD-ld} -m elf32_sparc
"
7070 x86_64-*kfreebsd*-gnu)
7071 LD="${LD-ld} -m elf_x86_64_fbsd
"
7074 LD="${LD-ld} -m elf_x86_64
"
7076 ppc*-*linux*|powerpc*-*linux*)
7077 LD="${LD-ld} -m elf64ppc
"
7079 s390*-*linux*|s390*-*tpf*)
7080 LD="${LD-ld} -m elf64_s390
"
7083 LD="${LD-ld} -m elf64_sparc
"
7093 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7094 SAVE_CFLAGS="$CFLAGS"
7095 CFLAGS="$CFLAGS -belf"
7096 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
7097 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
7098 if test "${lt_cv_cc_needs_belf+set}" = set; then
7099 echo $ECHO_N "(cached
) $ECHO_C" >&6
7102 ac_cpp='$CPP $CPPFLAGS'
7103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7107 if test x$gcc_no_link = xyes; then
7108 { { echo "$as_me:$LINENO: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&5
7109 echo "$as_me: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&2;}
7110 { (exit 1); exit 1; }; }
7112 cat >conftest.$ac_ext <<_ACEOF
7115 cat confdefs.h >>conftest.$ac_ext
7116 cat >>conftest.$ac_ext <<_ACEOF
7117 /* end confdefs.h. */
7127 rm -f conftest.$ac_objext conftest$ac_exeext
7128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7129 (eval $ac_link) 2>conftest.er1
7131 grep -v '^ *+' conftest.er1 >conftest.err
7133 cat conftest.err >&5
7134 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7135 (exit $ac_status); } &&
7136 { ac_try='test -z "$ac_c_werror_flag"
7137 || test ! -s conftest.err'
7138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7141 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7142 (exit $ac_status); }; } &&
7143 { ac_try='test -s conftest$ac_exeext'
7144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7147 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7148 (exit $ac_status); }; }; then
7149 lt_cv_cc_needs_belf=yes
7151 echo "$as_me: failed program was
:" >&5
7152 sed 's/^/| /' conftest.$ac_ext >&5
7154 lt_cv_cc_needs_belf=no
7156 rm -f conftest.err conftest.$ac_objext \
7157 conftest$ac_exeext conftest.$ac_ext
7159 ac_cpp='$CPP $CPPFLAGS'
7160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7165 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
7166 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
7167 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7168 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7169 CFLAGS="$SAVE_CFLAGS"
7173 # Find out which ABI we are using.
7174 echo 'int i;' > conftest.$ac_ext
7175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7176 (eval $ac_compile) 2>&5
7178 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7179 (exit $ac_status); }; then
7180 case `/usr/bin/file conftest.o` in
7182 case $lt_cv_prog_gnu_ld in
7183 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7184 *) LD="${LD-ld} -64" ;;
7193 need_locks="$enable_libtool_lock"
7196 ac_cpp='$CPP $CPPFLAGS'
7197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7200 echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
7201 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6
7202 # On Suns, sometimes $CPP names a directory.
7203 if test -n "$CPP" && test -d "$CPP"; then
7206 if test -z "$CPP"; then
7207 if test "${ac_cv_prog_CPP+set}" = set; then
7208 echo $ECHO_N "(cached
) $ECHO_C" >&6
7210 # Double quotes because CPP needs to be expanded
7211 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7214 for ac_c_preproc_warn_flag in '' yes
7216 # Use a header file that comes with gcc, so configuring glibc
7217 # with a fresh cross-compiler works.
7218 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7219 # <limits.h> exists even on freestanding compilers.
7220 # On the NeXT, cc -E runs the code through the compiler's parser,
7221 # not just through cpp. "Syntax error
" is here to catch this case.
7222 cat >conftest.$ac_ext <<_ACEOF
7225 cat confdefs.h >>conftest.$ac_ext
7226 cat >>conftest.$ac_ext <<_ACEOF
7227 /* end confdefs.h. */
7229 # include <limits.h>
7231 # include <assert.h>
7235 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7236 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7238 grep -v '^ *+' conftest.er1 >conftest.err
7240 cat conftest.err >&5
7241 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7242 (exit $ac_status); } >/dev/null; then
7243 if test -s conftest.err; then
7244 ac_cpp_err=$ac_c_preproc_warn_flag
7245 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7252 if test -z "$ac_cpp_err"; then
7255 echo "$as_me: failed program was
:" >&5
7256 sed 's/^/| /' conftest.$ac_ext >&5
7258 # Broken: fails on valid input.
7261 rm -f conftest.err conftest.$ac_ext
7263 # OK, works on sane cases. Now check whether non-existent headers
7264 # can be detected and how.
7265 cat >conftest.$ac_ext <<_ACEOF
7268 cat confdefs.h >>conftest.$ac_ext
7269 cat >>conftest.$ac_ext <<_ACEOF
7270 /* end confdefs.h. */
7271 #include <ac_nonexistent.h>
7273 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7274 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7276 grep -v '^ *+' conftest.er1 >conftest.err
7278 cat conftest.err >&5
7279 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7280 (exit $ac_status); } >/dev/null; then
7281 if test -s conftest.err; then
7282 ac_cpp_err=$ac_c_preproc_warn_flag
7283 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7290 if test -z "$ac_cpp_err"; then
7291 # Broken: success on invalid input.
7294 echo "$as_me: failed program was
:" >&5
7295 sed 's/^/| /' conftest.$ac_ext >&5
7297 # Passes both tests.
7301 rm -f conftest.err conftest.$ac_ext
7304 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7305 rm -f conftest.err conftest.$ac_ext
7306 if $ac_preproc_ok; then
7318 echo "$as_me:$LINENO: result
: $CPP" >&5
7319 echo "${ECHO_T}$CPP" >&6
7321 for ac_c_preproc_warn_flag in '' yes
7323 # Use a header file that comes with gcc, so configuring glibc
7324 # with a fresh cross-compiler works.
7325 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7326 # <limits.h> exists even on freestanding compilers.
7327 # On the NeXT, cc -E runs the code through the compiler's parser,
7328 # not just through cpp. "Syntax error
" is here to catch this case.
7329 cat >conftest.$ac_ext <<_ACEOF
7332 cat confdefs.h >>conftest.$ac_ext
7333 cat >>conftest.$ac_ext <<_ACEOF
7334 /* end confdefs.h. */
7336 # include <limits.h>
7338 # include <assert.h>
7342 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7343 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7345 grep -v '^ *+' conftest.er1 >conftest.err
7347 cat conftest.err >&5
7348 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7349 (exit $ac_status); } >/dev/null; then
7350 if test -s conftest.err; then
7351 ac_cpp_err=$ac_c_preproc_warn_flag
7352 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7359 if test -z "$ac_cpp_err"; then
7362 echo "$as_me: failed program was
:" >&5
7363 sed 's/^/| /' conftest.$ac_ext >&5
7365 # Broken: fails on valid input.
7368 rm -f conftest.err conftest.$ac_ext
7370 # OK, works on sane cases. Now check whether non-existent headers
7371 # can be detected and how.
7372 cat >conftest.$ac_ext <<_ACEOF
7375 cat confdefs.h >>conftest.$ac_ext
7376 cat >>conftest.$ac_ext <<_ACEOF
7377 /* end confdefs.h. */
7378 #include <ac_nonexistent.h>
7380 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7381 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7383 grep -v '^ *+' conftest.er1 >conftest.err
7385 cat conftest.err >&5
7386 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7387 (exit $ac_status); } >/dev/null; then
7388 if test -s conftest.err; then
7389 ac_cpp_err=$ac_c_preproc_warn_flag
7390 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7397 if test -z "$ac_cpp_err"; then
7398 # Broken: success on invalid input.
7401 echo "$as_me: failed program was
:" >&5
7402 sed 's/^/| /' conftest.$ac_ext >&5
7404 # Passes both tests.
7408 rm -f conftest.err conftest.$ac_ext
7411 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7412 rm -f conftest.err conftest.$ac_ext
7413 if $ac_preproc_ok; then
7416 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
7417 See \
`config.log' for more details." >&5
7418 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7419 See \`config.log
' for more details." >&2;}
7420 { (exit 1); exit 1; }; }
7424 ac_cpp='$CPP $CPPFLAGS'
7425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
7426 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
7427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7430 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7431 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7432 if test "${ac_cv_header_stdc+set}" = set; then
7433 echo $ECHO_N "(cached) $ECHO_C" >&6
7435 cat >conftest.$ac_ext <<_ACEOF
7438 cat confdefs.h >>conftest.$ac_ext
7439 cat >>conftest.$ac_ext <<_ACEOF
7440 /* end confdefs.h. */
7454 rm -f conftest.$ac_objext
7455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7456 (eval $ac_compile) 2>conftest.er1
7458 grep -v '^
*+' conftest.er1 >conftest.err
7460 cat conftest.err >&5
7461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7462 (exit $ac_status); } &&
7463 { ac_try='test -z "$ac_c_werror_flag"
7464 ||
test ! -s conftest.err
'
7465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7469 (exit $ac_status); }; } &&
7470 { ac_try='test -s conftest.
$ac_objext'
7471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7475 (exit $ac_status); }; }; then
7476 ac_cv_header_stdc=yes
7478 echo "$as_me: failed program was:" >&5
7479 sed 's
/^
/|
/' conftest.$ac_ext >&5
7481 ac_cv_header_stdc=no
7483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7485 if test $ac_cv_header_stdc = yes; then
7486 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7487 cat >conftest.$ac_ext <<_ACEOF
7490 cat confdefs.h >>conftest.$ac_ext
7491 cat >>conftest.$ac_ext <<_ACEOF
7492 /* end confdefs.h. */
7496 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7497 $EGREP "memchr" >/dev/null 2>&1; then
7500 ac_cv_header_stdc=no
7506 if test $ac_cv_header_stdc = yes; then
7507 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7508 cat >conftest.$ac_ext <<_ACEOF
7511 cat confdefs.h >>conftest.$ac_ext
7512 cat >>conftest.$ac_ext <<_ACEOF
7513 /* end confdefs.h. */
7517 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7518 $EGREP "free" >/dev/null 2>&1; then
7521 ac_cv_header_stdc=no
7527 if test $ac_cv_header_stdc = yes; then
7528 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7529 if test "$cross_compiling" = yes; then
7532 cat >conftest.$ac_ext <<_ACEOF
7535 cat confdefs.h >>conftest.$ac_ext
7536 cat >>conftest.$ac_ext <<_ACEOF
7537 /* end confdefs.h. */
7539 #if ((' ' & 0x0FF) == 0x020)
7540 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
7541 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
7543 # define ISLOWER(c) \
7544 (('a
' <= (c) && (c) <= 'i
') \
7545 || ('j
' <= (c) && (c) <= 'r
') \
7546 || ('s
' <= (c) && (c) <= 'z
'))
7547 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7550 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7555 for (i = 0; i < 256; i++)
7556 if (XOR (islower (i), ISLOWER (i))
7557 || toupper (i) != TOUPPER (i))
7562 rm -f conftest$ac_exeext
7563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7564 (eval $ac_link) 2>&5
7566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7567 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
7568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7572 (exit $ac_status); }; }; then
7575 echo "$as_me: program exited with status $ac_status" >&5
7576 echo "$as_me: failed program was:" >&5
7577 sed 's
/^
/|
/' conftest.$ac_ext >&5
7580 ac_cv_header_stdc=no
7582 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7586 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7587 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7588 if test $ac_cv_header_stdc = yes; then
7590 cat >>confdefs.h <<\_ACEOF
7591 #define STDC_HEADERS 1
7596 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7606 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7607 inttypes.h stdint.h unistd.h
7609 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7610 echo "$as_me:$LINENO: checking for $ac_header" >&5
7611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7613 echo $ECHO_N "(cached) $ECHO_C" >&6
7615 cat >conftest.$ac_ext <<_ACEOF
7618 cat confdefs.h >>conftest.$ac_ext
7619 cat >>conftest.$ac_ext <<_ACEOF
7620 /* end confdefs.h. */
7621 $ac_includes_default
7623 #include <$ac_header>
7625 rm -f conftest.$ac_objext
7626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7627 (eval $ac_compile) 2>conftest.er1
7629 grep -v '^
*+' conftest.er1 >conftest.err
7631 cat conftest.err >&5
7632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7633 (exit $ac_status); } &&
7634 { ac_try='test -z "$ac_c_werror_flag"
7635 ||
test ! -s conftest.err
'
7636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7640 (exit $ac_status); }; } &&
7641 { ac_try='test -s conftest.
$ac_objext'
7642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7646 (exit $ac_status); }; }; then
7647 eval "$as_ac_Header=yes"
7649 echo "$as_me: failed program was:" >&5
7650 sed 's
/^
/|
/' conftest.$ac_ext >&5
7652 eval "$as_ac_Header=no"
7654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7658 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7659 cat >>confdefs.h <<_ACEOF
7660 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7669 for ac_header in dlfcn.h
7671 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7672 echo "$as_me:$LINENO: checking for $ac_header" >&5
7673 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7675 echo $ECHO_N "(cached) $ECHO_C" >&6
7677 cat >conftest.$ac_ext <<_ACEOF
7680 cat confdefs.h >>conftest.$ac_ext
7681 cat >>conftest.$ac_ext <<_ACEOF
7682 /* end confdefs.h. */
7683 $ac_includes_default
7685 #include <$ac_header>
7687 rm -f conftest.$ac_objext
7688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7689 (eval $ac_compile) 2>conftest.er1
7691 grep -v '^
*+' conftest.er1 >conftest.err
7693 cat conftest.err >&5
7694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7695 (exit $ac_status); } &&
7696 { ac_try='test -z "$ac_c_werror_flag"
7697 ||
test ! -s conftest.err
'
7698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7702 (exit $ac_status); }; } &&
7703 { ac_try='test -s conftest.
$ac_objext'
7704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7708 (exit $ac_status); }; }; then
7709 eval "$as_ac_Header=yes"
7711 echo "$as_me: failed program was:" >&5
7712 sed 's
/^
/|
/' conftest.$ac_ext >&5
7714 eval "$as_ac_Header=no"
7716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7719 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7720 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7721 cat >>confdefs.h <<_ACEOF
7722 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7732 ac_cpp='$CXXCPP $CPPFLAGS'
7733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
7734 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
7735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7736 if test -n "$ac_tool_prefix"; then
7737 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7739 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7740 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7741 echo "$as_me:$LINENO: checking for $ac_word" >&5
7742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7743 if test "${ac_cv_prog_CXX+set}" = set; then
7744 echo $ECHO_N "(cached) $ECHO_C" >&6
7746 if test -n "$CXX"; then
7747 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7753 test -z "$as_dir" && as_dir=.
7754 for ac_exec_ext in '' $ac_executable_extensions; do
7755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7756 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7766 if test -n "$CXX"; then
7767 echo "$as_me:$LINENO: result: $CXX" >&5
7768 echo "${ECHO_T}$CXX" >&6
7770 echo "$as_me:$LINENO: result: no" >&5
7771 echo "${ECHO_T}no" >&6
7774 test -n "$CXX" && break
7777 if test -z "$CXX"; then
7779 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7781 # Extract the first word of "$ac_prog", so it can be a program name with args.
7782 set dummy $ac_prog; ac_word=$2
7783 echo "$as_me:$LINENO: checking for $ac_word" >&5
7784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7785 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7786 echo $ECHO_N "(cached) $ECHO_C" >&6
7788 if test -n "$ac_ct_CXX"; then
7789 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7795 test -z "$as_dir" && as_dir=.
7796 for ac_exec_ext in '' $ac_executable_extensions; do
7797 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7798 ac_cv_prog_ac_ct_CXX="$ac_prog"
7799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7807 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7808 if test -n "$ac_ct_CXX"; then
7809 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7810 echo "${ECHO_T}$ac_ct_CXX" >&6
7812 echo "$as_me:$LINENO: result: no" >&5
7813 echo "${ECHO_T}no" >&6
7816 test -n "$ac_ct_CXX" && break
7818 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
7824 # Provide some information about the compiler.
7825 echo "$as_me:$LINENO:" \
7826 "checking for C++ compiler version" >&5
7827 ac_compiler=`set X $ac_compile; echo $2`
7828 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7829 (eval $ac_compiler --version </dev/null >&5) 2>&5
7831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7832 (exit $ac_status); }
7833 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7834 (eval $ac_compiler -v </dev/null >&5) 2>&5
7836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7837 (exit $ac_status); }
7838 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7839 (eval $ac_compiler -V </dev/null >&5) 2>&5
7841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7842 (exit $ac_status); }
7844 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7845 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
7846 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7847 echo $ECHO_N "(cached) $ECHO_C" >&6
7849 cat >conftest.$ac_ext <<_ACEOF
7852 cat confdefs.h >>conftest.$ac_ext
7853 cat >>conftest.$ac_ext <<_ACEOF
7854 /* end confdefs.h. */
7867 rm -f conftest.$ac_objext
7868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7869 (eval $ac_compile) 2>conftest.er1
7871 grep -v '^
*+' conftest.er1 >conftest.err
7873 cat conftest.err >&5
7874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7875 (exit $ac_status); } &&
7876 { ac_try='test -z "$ac_cxx_werror_flag"
7877 ||
test ! -s conftest.err
'
7878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7882 (exit $ac_status); }; } &&
7883 { ac_try='test -s conftest.
$ac_objext'
7884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7888 (exit $ac_status); }; }; then
7891 echo "$as_me: failed program was:" >&5
7892 sed 's
/^
/|
/' conftest.$ac_ext >&5
7896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7897 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7900 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7901 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
7902 GXX=`test $ac_compiler_gnu = yes && echo yes`
7903 ac_test_CXXFLAGS=${CXXFLAGS+set}
7904 ac_save_CXXFLAGS=$CXXFLAGS
7906 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7907 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
7908 if test "${ac_cv_prog_cxx_g+set}" = set; then
7909 echo $ECHO_N "(cached) $ECHO_C" >&6
7911 cat >conftest.$ac_ext <<_ACEOF
7914 cat confdefs.h >>conftest.$ac_ext
7915 cat >>conftest.$ac_ext <<_ACEOF
7916 /* end confdefs.h. */
7926 rm -f conftest.$ac_objext
7927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7928 (eval $ac_compile) 2>conftest.er1
7930 grep -v '^
*+' conftest.er1 >conftest.err
7932 cat conftest.err >&5
7933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7934 (exit $ac_status); } &&
7935 { ac_try='test -z "$ac_cxx_werror_flag"
7936 ||
test ! -s conftest.err
'
7937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7941 (exit $ac_status); }; } &&
7942 { ac_try='test -s conftest.
$ac_objext'
7943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7947 (exit $ac_status); }; }; then
7948 ac_cv_prog_cxx_g=yes
7950 echo "$as_me: failed program was:" >&5
7951 sed 's
/^
/|
/' conftest.$ac_ext >&5
7955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7957 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7958 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
7959 if test "$ac_test_CXXFLAGS" = set; then
7960 CXXFLAGS=$ac_save_CXXFLAGS
7961 elif test $ac_cv_prog_cxx_g = yes; then
7962 if test "$GXX" = yes; then
7968 if test "$GXX" = yes; then
7974 for ac_declaration in \
7976 'extern
"C" void std
::exit (int
) throw
(); using std
::exit;' \
7977 'extern
"C" void std
::exit (int
); using std
::exit;' \
7978 'extern
"C" void
exit (int
) throw
();' \
7979 'extern
"C" void
exit (int
);' \
7982 cat >conftest.$ac_ext <<_ACEOF
7985 cat confdefs.h >>conftest.$ac_ext
7986 cat >>conftest.$ac_ext <<_ACEOF
7987 /* end confdefs.h. */
7998 rm -f conftest.$ac_objext
7999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8000 (eval $ac_compile) 2>conftest.er1
8002 grep -v '^
*+' conftest.er1 >conftest.err
8004 cat conftest.err >&5
8005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8006 (exit $ac_status); } &&
8007 { ac_try='test -z "$ac_cxx_werror_flag"
8008 ||
test ! -s conftest.err
'
8009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8013 (exit $ac_status); }; } &&
8014 { ac_try='test -s conftest.
$ac_objext'
8015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8019 (exit $ac_status); }; }; then
8022 echo "$as_me: failed program was:" >&5
8023 sed 's
/^
/|
/' conftest.$ac_ext >&5
8027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8028 cat >conftest.$ac_ext <<_ACEOF
8031 cat confdefs.h >>conftest.$ac_ext
8032 cat >>conftest.$ac_ext <<_ACEOF
8033 /* end confdefs.h. */
8043 rm -f conftest.$ac_objext
8044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8045 (eval $ac_compile) 2>conftest.er1
8047 grep -v '^
*+' conftest.er1 >conftest.err
8049 cat conftest.err >&5
8050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8051 (exit $ac_status); } &&
8052 { ac_try='test -z "$ac_cxx_werror_flag"
8053 ||
test ! -s conftest.err
'
8054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8058 (exit $ac_status); }; } &&
8059 { ac_try='test -s conftest.
$ac_objext'
8060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8064 (exit $ac_status); }; }; then
8067 echo "$as_me: failed program was:" >&5
8068 sed 's
/^
/|
/' conftest.$ac_ext >&5
8071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8074 if test -n "$ac_declaration"; then
8075 echo '#ifdef __cplusplus' >>confdefs.h
8076 echo $ac_declaration >>confdefs.h
8077 echo '#endif' >>confdefs.h
8081 ac_cpp
='$CPP $CPPFLAGS'
8082 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8083 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8084 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8086 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8087 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
8088 (test "X$CXX" != "Xg++"))) ; then
8090 ac_cpp
='$CXXCPP $CPPFLAGS'
8091 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8092 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8093 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
8094 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
8095 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
8096 if test -z "$CXXCPP"; then
8097 if test "${ac_cv_prog_CXXCPP+set}" = set; then
8098 echo $ECHO_N "(cached) $ECHO_C" >&6
8100 # Double quotes because CXXCPP needs to be expanded
8101 for CXXCPP
in "$CXX -E" "/lib/cpp"
8104 for ac_cxx_preproc_warn_flag
in '' yes
8106 # Use a header file that comes with gcc, so configuring glibc
8107 # with a fresh cross-compiler works.
8108 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8109 # <limits.h> exists even on freestanding compilers.
8110 # On the NeXT, cc -E runs the code through the compiler's parser,
8111 # not just through cpp. "Syntax error" is here to catch this case.
8112 cat >conftest.
$ac_ext <<_ACEOF
8115 cat confdefs.h
>>conftest.
$ac_ext
8116 cat >>conftest.
$ac_ext <<_ACEOF
8117 /* end confdefs.h. */
8119 # include <limits.h>
8121 # include <assert.h>
8125 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8126 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8128 grep -v '^ *+' conftest.er1
>conftest.err
8130 cat conftest.err
>&5
8131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8132 (exit $ac_status); } >/dev
/null
; then
8133 if test -s conftest.err
; then
8134 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8135 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8142 if test -z "$ac_cpp_err"; then
8145 echo "$as_me: failed program was:" >&5
8146 sed 's/^/| /' conftest.
$ac_ext >&5
8148 # Broken: fails on valid input.
8151 rm -f conftest.err conftest.
$ac_ext
8153 # OK, works on sane cases. Now check whether non-existent headers
8154 # can be detected and how.
8155 cat >conftest.
$ac_ext <<_ACEOF
8158 cat confdefs.h
>>conftest.
$ac_ext
8159 cat >>conftest.
$ac_ext <<_ACEOF
8160 /* end confdefs.h. */
8161 #include <ac_nonexistent.h>
8163 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8164 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8166 grep -v '^ *+' conftest.er1
>conftest.err
8168 cat conftest.err
>&5
8169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8170 (exit $ac_status); } >/dev
/null
; then
8171 if test -s conftest.err
; then
8172 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8173 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8180 if test -z "$ac_cpp_err"; then
8181 # Broken: success on invalid input.
8184 echo "$as_me: failed program was:" >&5
8185 sed 's/^/| /' conftest.
$ac_ext >&5
8187 # Passes both tests.
8191 rm -f conftest.err conftest.
$ac_ext
8194 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8195 rm -f conftest.err conftest.
$ac_ext
8196 if $ac_preproc_ok; then
8201 ac_cv_prog_CXXCPP
=$CXXCPP
8204 CXXCPP
=$ac_cv_prog_CXXCPP
8206 ac_cv_prog_CXXCPP
=$CXXCPP
8208 echo "$as_me:$LINENO: result: $CXXCPP" >&5
8209 echo "${ECHO_T}$CXXCPP" >&6
8211 for ac_cxx_preproc_warn_flag
in '' yes
8213 # Use a header file that comes with gcc, so configuring glibc
8214 # with a fresh cross-compiler works.
8215 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8216 # <limits.h> exists even on freestanding compilers.
8217 # On the NeXT, cc -E runs the code through the compiler's parser,
8218 # not just through cpp. "Syntax error" is here to catch this case.
8219 cat >conftest.
$ac_ext <<_ACEOF
8222 cat confdefs.h
>>conftest.
$ac_ext
8223 cat >>conftest.
$ac_ext <<_ACEOF
8224 /* end confdefs.h. */
8226 # include <limits.h>
8228 # include <assert.h>
8232 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8233 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8235 grep -v '^ *+' conftest.er1
>conftest.err
8237 cat conftest.err
>&5
8238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8239 (exit $ac_status); } >/dev
/null
; then
8240 if test -s conftest.err
; then
8241 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8242 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8249 if test -z "$ac_cpp_err"; then
8252 echo "$as_me: failed program was:" >&5
8253 sed 's/^/| /' conftest.
$ac_ext >&5
8255 # Broken: fails on valid input.
8258 rm -f conftest.err conftest.
$ac_ext
8260 # OK, works on sane cases. Now check whether non-existent headers
8261 # can be detected and how.
8262 cat >conftest.
$ac_ext <<_ACEOF
8265 cat confdefs.h
>>conftest.
$ac_ext
8266 cat >>conftest.
$ac_ext <<_ACEOF
8267 /* end confdefs.h. */
8268 #include <ac_nonexistent.h>
8270 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8271 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8273 grep -v '^ *+' conftest.er1
>conftest.err
8275 cat conftest.err
>&5
8276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8277 (exit $ac_status); } >/dev
/null
; then
8278 if test -s conftest.err
; then
8279 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8280 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8287 if test -z "$ac_cpp_err"; then
8288 # Broken: success on invalid input.
8291 echo "$as_me: failed program was:" >&5
8292 sed 's/^/| /' conftest.
$ac_ext >&5
8294 # Passes both tests.
8298 rm -f conftest.err conftest.
$ac_ext
8301 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8302 rm -f conftest.err conftest.
$ac_ext
8303 if $ac_preproc_ok; then
8306 _lt_caught_CXX_error
=yes
8310 ac_cpp
='$CPP $CPPFLAGS'
8311 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8312 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8313 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8316 _lt_caught_CXX_error
=yes
8323 # This can be used to rebuild libtool when needed
8324 LIBTOOL_DEPS
="$ltmain"
8326 # Always use our own libtool.
8327 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8353 test -z "$LN_S" && LN_S
="ln -s"
8368 if test -n "${ZSH_VERSION+set}" ; then
8369 setopt NO_GLOB_SUBST
8372 echo "$as_me:$LINENO: checking for objdir" >&5
8373 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
8374 if test "${lt_cv_objdir+set}" = set; then
8375 echo $ECHO_N "(cached) $ECHO_C" >&6
8377 rm -f .libs
2>/dev
/null
8378 mkdir .libs
2>/dev
/null
8379 if test -d .libs
; then
8382 # MS-DOS does not allow filenames that begin with a dot.
8385 rmdir .libs
2>/dev
/null
8387 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8388 echo "${ECHO_T}$lt_cv_objdir" >&6
8389 objdir
=$lt_cv_objdir
8395 cat >>confdefs.h
<<_ACEOF
8396 #define LT_OBJDIR "$lt_cv_objdir/"
8417 # AIX sometimes has problems with the GCC collect2 program. For some
8418 # reason, if we set the COLLECT_NAMES environment variable, the problems
8419 # vanish in a puff of smoke.
8420 if test "X${COLLECT_NAMES+set}" != Xset
; then
8422 export COLLECT_NAMES
8427 # Sed substitution that helps us do robust quoting. It backslashifies
8428 # metacharacters that are still active within double-quoted strings.
8429 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
8431 # Same as above, but do not quote variable references.
8432 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
8434 # Sed substitution to delay expansion of an escaped shell variable in a
8435 # double_quote_subst'ed string.
8436 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8438 # Sed substitution to delay expansion of an escaped single quote.
8439 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
8441 # Sed substitution to avoid accidental globbing in evaled expressions
8442 no_glob_subst
='s/\*/\\\*/g'
8446 can_build_shared
=yes
8448 # All known linkers require a `.a' archive for static linking (except MSVC,
8449 # which needs '.lib').
8452 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8455 old_CFLAGS
="$CFLAGS"
8457 # Set sane defaults for various variables
8458 test -z "$CC" && CC
=cc
8459 test -z "$LTCC" && LTCC
=$CC
8460 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8461 test -z "$LD" && LD
=ld
8462 test -z "$ac_objext" && ac_objext
=o
8464 for cc_temp
in $compiler""; do
8466 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8467 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8472 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8475 # Only perform the check for file, if the check method requires it
8476 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8477 case $deplibs_check_method in
8479 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8480 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8481 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
8482 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8483 echo $ECHO_N "(cached) $ECHO_C" >&6
8487 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8490 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8491 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8492 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8493 for ac_dir
in $ac_dummy; do
8495 test -z "$ac_dir" && ac_dir
=.
8496 if test -f $ac_dir/${ac_tool_prefix}file; then
8497 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8498 if test -n "$file_magic_test_file"; then
8499 case $deplibs_check_method in
8501 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8502 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8503 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8504 $EGREP "$file_magic_regex" > /dev
/null
; then
8509 *** Warning: the command libtool uses to detect shared libraries,
8510 *** $file_magic_cmd, produces output that libtool cannot recognize.
8511 *** The result is that libtool may fail to recognize shared libraries
8512 *** as such. This will affect the creation of libtool libraries that
8513 *** depend on shared libraries, but programs linked with such libtool
8514 *** libraries will work regardless of this problem. Nevertheless, you
8515 *** may want to report the problem to your system manager and/or to
8516 *** bug-libtool@gnu.org
8526 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8531 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8532 if test -n "$MAGIC_CMD"; then
8533 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8534 echo "${ECHO_T}$MAGIC_CMD" >&6
8536 echo "$as_me:$LINENO: result: no" >&5
8537 echo "${ECHO_T}no" >&6
8544 if test -z "$lt_cv_path_MAGIC_CMD"; then
8545 if test -n "$ac_tool_prefix"; then
8546 echo "$as_me:$LINENO: checking for file" >&5
8547 echo $ECHO_N "checking for file... $ECHO_C" >&6
8548 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8549 echo $ECHO_N "(cached) $ECHO_C" >&6
8553 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8556 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8557 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8558 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8559 for ac_dir
in $ac_dummy; do
8561 test -z "$ac_dir" && ac_dir
=.
8562 if test -f $ac_dir/file; then
8563 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8564 if test -n "$file_magic_test_file"; then
8565 case $deplibs_check_method in
8567 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8568 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8569 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8570 $EGREP "$file_magic_regex" > /dev
/null
; then
8575 *** Warning: the command libtool uses to detect shared libraries,
8576 *** $file_magic_cmd, produces output that libtool cannot recognize.
8577 *** The result is that libtool may fail to recognize shared libraries
8578 *** as such. This will affect the creation of libtool libraries that
8579 *** depend on shared libraries, but programs linked with such libtool
8580 *** libraries will work regardless of this problem. Nevertheless, you
8581 *** may want to report the problem to your system manager and/or to
8582 *** bug-libtool@gnu.org
8592 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8597 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8598 if test -n "$MAGIC_CMD"; then
8599 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8600 echo "${ECHO_T}$MAGIC_CMD" >&6
8602 echo "$as_me:$LINENO: result: no" >&5
8603 echo "${ECHO_T}no" >&6
8616 # Use C for the default configuration in the libtool script
8620 ac_cpp
='$CPP $CPPFLAGS'
8621 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8622 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8623 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8626 # Source file extension for C test sources.
8629 # Object file extension for compiled C test sources.
8633 # Code to be used in simple compile tests
8634 lt_simple_compile_test_code
="int some_variable = 0;"
8636 # Code to be used in simple link tests
8637 lt_simple_link_test_code
='int main(){return(0);}'
8645 # If no C compiler was specified, use CC.
8648 # If no C compiler flags were specified, use CFLAGS.
8649 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8651 # Allow CC to be a program name with arguments.
8654 # Save the default compiler, since it gets overwritten when the other
8655 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8656 compiler_DEFAULT
=$CC
8658 # save warnings/boilerplate of simple test code
8659 ac_outfile
=conftest.
$ac_objext
8660 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8661 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8662 _lt_compiler_boilerplate
=`cat conftest.err`
8665 ac_outfile
=conftest.
$ac_objext
8666 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8667 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8668 _lt_linker_boilerplate
=`cat conftest.err`
8673 ## There is no encapsulation within the following macros, do not change
8674 ## the running order or otherwise move them around unless you know exactly
8675 ## what you are doing...
8676 if test -n "$compiler"; then
8678 lt_prog_compiler_no_builtin_flag
=
8680 if test "$GCC" = yes; then
8681 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8683 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8684 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
8685 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8686 echo $ECHO_N "(cached) $ECHO_C" >&6
8688 lt_cv_prog_compiler_rtti_exceptions
=no
8689 ac_outfile
=conftest.
$ac_objext
8690 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8691 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8692 # Insert the option either (1) after the last *FLAGS variable, or
8693 # (2) before a word containing "conftest.", or (3) at the end.
8694 # Note that $ac_compile itself does not contain backslashes and begins
8695 # with a dollar sign (not a hyphen), so the echo should work correctly.
8696 # The option is referenced via a variable to avoid confusing sed.
8697 lt_compile
=`echo "$ac_compile" | $SED \
8698 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8699 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8700 -e 's:$: $lt_compiler_flag:'`
8701 (eval echo "\"\$as_me:8701: $lt_compile\"" >&5)
8702 (eval "$lt_compile" 2>conftest.err
)
8704 cat conftest.err
>&5
8705 echo "$as_me:8705: \$? = $ac_status" >&5
8706 if (exit $ac_status) && test -s "$ac_outfile"; then
8707 # The compiler can only warn and ignore the option if not recognized
8708 # So say no if there are warnings other than the usual output.
8709 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8710 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8711 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8712 lt_cv_prog_compiler_rtti_exceptions
=yes
8718 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8719 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
8721 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8722 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8734 lt_prog_compiler_wl
=
8735 lt_prog_compiler_pic
=
8736 lt_prog_compiler_static
=
8738 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8739 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
8741 if test "$GCC" = yes; then
8742 lt_prog_compiler_wl
='-Wl,'
8743 lt_prog_compiler_static
='-static'
8747 # All AIX code is PIC.
8748 if test "$host_cpu" = ia64
; then
8749 # AIX 5 now supports IA64 processor
8750 lt_prog_compiler_static
='-Bstatic'
8755 if test "$host_cpu" = m68k
; then
8756 # FIXME: we need at least 68020 code to build shared libraries, but
8757 # adding the `-m68020' flag to GCC prevents building anything better,
8759 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8763 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8764 # PIC is the default for these OSes.
8767 mingw
* | cygwin
* | pw32
* | os2
*)
8768 # This hack is so that the source file can tell whether it is being
8769 # built for inclusion in a dll (and should export symbols for example).
8770 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8771 # (--disable-auto-import) libraries
8772 lt_prog_compiler_pic
='-DDLL_EXPORT'
8775 darwin
* | rhapsody
*)
8776 # PIC is the default on this platform
8777 # Common symbols not allowed in MH_DYLIB files
8778 lt_prog_compiler_pic
='-fno-common'
8782 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8789 lt_prog_compiler_pic
='-fPIC'
8795 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8796 # Instead, we relocate shared libraries at runtime.
8800 # Just because we use GCC doesn't mean we suddenly get shared libraries
8801 # on systems that don't support them.
8802 lt_prog_compiler_can_build_shared
=no
8807 # QNX uses GNU C++, but need to define -shared option too, otherwise
8809 lt_prog_compiler_pic
='-fPIC -shared'
8813 if test -d /usr
/nec
; then
8814 lt_prog_compiler_pic
=-Kconform_pic
8819 lt_prog_compiler_pic
='-fPIC'
8823 # PORTME Check for flag to pass linker flags through the system compiler.
8826 lt_prog_compiler_wl
='-Wl,'
8827 if test "$host_cpu" = ia64
; then
8828 # AIX 5 now supports IA64 processor
8829 lt_prog_compiler_static
='-Bstatic'
8831 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8835 # PIC is the default on this platform
8836 # Common symbols not allowed in MH_DYLIB files
8837 case $cc_basename in
8839 lt_prog_compiler_pic
='-qnocommon'
8840 lt_prog_compiler_wl
='-Wl,'
8845 mingw
* | cygwin
* | pw32
* | os2
*)
8846 # This hack is so that the source file can tell whether it is being
8847 # built for inclusion in a dll (and should export symbols for example).
8848 lt_prog_compiler_pic
='-DDLL_EXPORT'
8851 hpux9
* | hpux10
* | hpux11
*)
8852 lt_prog_compiler_wl
='-Wl,'
8853 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8860 lt_prog_compiler_pic
='+Z'
8863 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8864 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8867 irix5
* | irix6
* | nonstopux
*)
8868 lt_prog_compiler_wl
='-Wl,'
8869 # PIC (with -KPIC) is the default.
8870 lt_prog_compiler_static
='-non_shared'
8873 linux
* | k
*bsd
*-gnu)
8874 case $cc_basename in
8876 lt_prog_compiler_wl
='-Wl,'
8877 lt_prog_compiler_pic
='-KPIC'
8878 lt_prog_compiler_static
='-static'
8880 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8881 # Portland Group compilers (*not* the Pentium gcc compiler,
8882 # which looks to be a dead project)
8883 lt_prog_compiler_wl
='-Wl,'
8884 lt_prog_compiler_pic
='-fpic'
8885 lt_prog_compiler_static
='-Bstatic'
8888 lt_prog_compiler_wl
='-Wl,'
8889 # All Alpha code is PIC.
8890 lt_prog_compiler_static
='-non_shared'
8893 case `$CC -V 2>&1 | sed 5q` in
8896 lt_prog_compiler_pic
='-KPIC'
8897 lt_prog_compiler_static
='-Bstatic'
8898 lt_prog_compiler_wl
='-Wl,'
8901 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8902 lt_prog_compiler_pic
='-KPIC'
8903 lt_prog_compiler_static
='-Bstatic'
8904 lt_prog_compiler_wl
=''
8912 lt_prog_compiler_pic
='-KPIC'
8913 lt_prog_compiler_static
='-Bstatic'
8917 # QNX uses GNU C++, but need to define -shared option too, otherwise
8919 lt_prog_compiler_pic
='-fPIC -shared'
8922 osf3
* | osf4
* | osf5
*)
8923 lt_prog_compiler_wl
='-Wl,'
8924 # All OSF/1 code is PIC.
8925 lt_prog_compiler_static
='-non_shared'
8929 lt_prog_compiler_static
='-non_shared'
8933 lt_prog_compiler_pic
='-KPIC'
8934 lt_prog_compiler_static
='-Bstatic'
8935 case $cc_basename in
8937 lt_prog_compiler_wl
='-Qoption ld ';;
8939 lt_prog_compiler_wl
='-Wl,';;
8944 lt_prog_compiler_wl
='-Qoption ld '
8945 lt_prog_compiler_pic
='-PIC'
8946 lt_prog_compiler_static
='-Bstatic'
8949 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8950 lt_prog_compiler_wl
='-Wl,'
8951 lt_prog_compiler_pic
='-KPIC'
8952 lt_prog_compiler_static
='-Bstatic'
8956 if test -d /usr
/nec
;then
8957 lt_prog_compiler_pic
='-Kconform_pic'
8958 lt_prog_compiler_static
='-Bstatic'
8962 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8963 lt_prog_compiler_wl
='-Wl,'
8964 lt_prog_compiler_pic
='-KPIC'
8965 lt_prog_compiler_static
='-Bstatic'
8969 lt_prog_compiler_wl
='-Wl,'
8970 lt_prog_compiler_can_build_shared
=no
8974 lt_prog_compiler_pic
='-pic'
8975 lt_prog_compiler_static
='-Bstatic'
8979 lt_prog_compiler_can_build_shared
=no
8985 # For platforms which do not support PIC, -DPIC is meaningless:
8987 lt_prog_compiler_pic
=
8990 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8993 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8994 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
9002 # Check to make sure the PIC flag actually works.
9004 if test -n "$lt_prog_compiler_pic"; then
9005 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9006 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
9007 if test "${lt_prog_compiler_pic_works+set}" = set; then
9008 echo $ECHO_N "(cached) $ECHO_C" >&6
9010 lt_prog_compiler_pic_works
=no
9011 ac_outfile
=conftest.
$ac_objext
9012 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9013 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9014 # Insert the option either (1) after the last *FLAGS variable, or
9015 # (2) before a word containing "conftest.", or (3) at the end.
9016 # Note that $ac_compile itself does not contain backslashes and begins
9017 # with a dollar sign (not a hyphen), so the echo should work correctly.
9018 # The option is referenced via a variable to avoid confusing sed.
9019 lt_compile
=`echo "$ac_compile" | $SED \
9020 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9021 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9022 -e 's:$: $lt_compiler_flag:'`
9023 (eval echo "\"\$as_me:9023: $lt_compile\"" >&5)
9024 (eval "$lt_compile" 2>conftest.err
)
9026 cat conftest.err
>&5
9027 echo "$as_me:9027: \$? = $ac_status" >&5
9028 if (exit $ac_status) && test -s "$ac_outfile"; then
9029 # The compiler can only warn and ignore the option if not recognized
9030 # So say no if there are warnings other than the usual output.
9031 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
9032 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9033 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9034 lt_prog_compiler_pic_works
=yes
9040 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
9041 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
9043 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
9044 case $lt_prog_compiler_pic in
9046 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9049 lt_prog_compiler_pic
=
9050 lt_prog_compiler_can_build_shared
=no
9061 # Check to make sure the static flag actually works.
9063 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9064 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9065 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
9066 if test "${lt_prog_compiler_static_works+set}" = set; then
9067 echo $ECHO_N "(cached) $ECHO_C" >&6
9069 lt_prog_compiler_static_works
=no
9070 save_LDFLAGS
="$LDFLAGS"
9071 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9072 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9073 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9074 # The linker can only warn and ignore the option if not recognized
9075 # So say no if there are warnings
9076 if test -s conftest.err
; then
9077 # Append any errors to the config.log.
9078 cat conftest.err
1>&5
9079 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
9080 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9081 if diff conftest.exp conftest.er2
>/dev
/null
; then
9082 lt_prog_compiler_static_works
=yes
9085 lt_prog_compiler_static_works
=yes
9089 LDFLAGS
="$save_LDFLAGS"
9092 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
9093 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
9095 if test x
"$lt_prog_compiler_static_works" = xyes
; then
9098 lt_prog_compiler_static
=
9107 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9108 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
9109 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9110 echo $ECHO_N "(cached) $ECHO_C" >&6
9112 lt_cv_prog_compiler_c_o
=no
9113 $RM -r conftest
2>/dev
/null
9117 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9119 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9120 # Insert the option either (1) after the last *FLAGS variable, or
9121 # (2) before a word containing "conftest.", or (3) at the end.
9122 # Note that $ac_compile itself does not contain backslashes and begins
9123 # with a dollar sign (not a hyphen), so the echo should work correctly.
9124 lt_compile
=`echo "$ac_compile" | $SED \
9125 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9126 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9127 -e 's:$: $lt_compiler_flag:'`
9128 (eval echo "\"\$as_me:9128: $lt_compile\"" >&5)
9129 (eval "$lt_compile" 2>out
/conftest.err
)
9131 cat out
/conftest.err
>&5
9132 echo "$as_me:9132: \$? = $ac_status" >&5
9133 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9135 # The compiler can only warn and ignore the option if not recognized
9136 # So say no if there are warnings
9137 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9138 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9139 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9140 lt_cv_prog_compiler_c_o
=yes
9145 # SGI C++ compiler will create directory out/ii_files/ for
9146 # template instantiation
9147 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9148 $RM out
/* && rmdir out
9154 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9155 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
9162 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9163 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
9164 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9165 echo $ECHO_N "(cached) $ECHO_C" >&6
9167 lt_cv_prog_compiler_c_o
=no
9168 $RM -r conftest
2>/dev
/null
9172 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9174 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9175 # Insert the option either (1) after the last *FLAGS variable, or
9176 # (2) before a word containing "conftest.", or (3) at the end.
9177 # Note that $ac_compile itself does not contain backslashes and begins
9178 # with a dollar sign (not a hyphen), so the echo should work correctly.
9179 lt_compile
=`echo "$ac_compile" | $SED \
9180 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9181 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9182 -e 's:$: $lt_compiler_flag:'`
9183 (eval echo "\"\$as_me:9183: $lt_compile\"" >&5)
9184 (eval "$lt_compile" 2>out
/conftest.err
)
9186 cat out
/conftest.err
>&5
9187 echo "$as_me:9187: \$? = $ac_status" >&5
9188 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9190 # The compiler can only warn and ignore the option if not recognized
9191 # So say no if there are warnings
9192 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9193 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9194 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9195 lt_cv_prog_compiler_c_o
=yes
9200 # SGI C++ compiler will create directory out/ii_files/ for
9201 # template instantiation
9202 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9203 $RM out
/* && rmdir out
9209 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9210 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
9215 hard_links
="nottested"
9216 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9217 # do not overwrite the value of need_locks provided by the user
9218 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9219 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
9222 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9224 ln conftest.a conftest.b
2>&5 || hard_links
=no
9225 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9226 echo "$as_me:$LINENO: result: $hard_links" >&5
9227 echo "${ECHO_T}$hard_links" >&6
9228 if test "$hard_links" = no
; then
9229 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9230 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9242 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9243 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9246 allow_undefined_flag
=
9247 always_export_symbols
=no
9249 archive_expsym_cmds
=
9250 compiler_needs_object
=no
9251 enable_shared_with_static_runtimes
=no
9252 export_dynamic_flag_spec
=
9253 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9254 hardcode_automatic
=no
9256 hardcode_direct_absolute
=no
9257 hardcode_libdir_flag_spec
=
9258 hardcode_libdir_flag_spec_ld
=
9259 hardcode_libdir_separator
=
9261 hardcode_shlibpath_var
=unsupported
9263 link_all_deplibs
=unknown
9266 old_archive_from_new_cmds
=
9267 old_archive_from_expsyms_cmds
=
9268 thread_safe_flag_spec
=
9269 whole_archive_flag_spec
=
9270 # include_expsyms should be a list of space-separated symbols to be *always*
9271 # included in the symbol list
9273 # exclude_expsyms can be an extended regexp of symbols to exclude
9274 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9275 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9276 # as well as any symbol that contains `d'.
9277 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
9278 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9279 # platforms (ab)use it in PIC code, but their linkers get confused if
9280 # the symbol is explicitly referenced. Since portable code cannot
9281 # rely on this symbol name, it's probably fine to never include it in
9282 # preloaded symbol tables.
9283 extract_expsyms_cmds
=
9286 cygwin
* | mingw
* | pw32
*)
9287 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9288 # When not using gcc, we currently assume that we are using
9289 # Microsoft Visual C++.
9290 if test "$GCC" != yes; then
9295 # we just hope/assume this is gcc and not c89 (= MSVC++)
9304 if test "$with_gnu_ld" = yes; then
9305 # If archive_cmds runs LD, not CC, wlarc should be empty
9308 # Set some defaults for GNU ld with shared library support. These
9309 # are reset later if shared libraries are not supported. Putting them
9310 # here allows them to be overridden if necessary.
9311 runpath_var
=LD_RUN_PATH
9312 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9313 export_dynamic_flag_spec
='${wl}--export-dynamic'
9314 # ancient GNU ld didn't support --whole-archive et. al.
9315 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9316 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9318 whole_archive_flag_spec
=
9320 supports_anon_versioning
=no
9321 case `$LD -v 2>&1` in
9322 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9323 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9324 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9325 *\
2.11.
*) ;; # other 2.11 versions
9326 *) supports_anon_versioning
=yes ;;
9329 # See if GNU ld supports shared libraries.
9332 # On AIX/PPC, the GNU linker is very broken
9333 if test "$host_cpu" != ia64
; then
9337 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9338 *** to be unable to reliably create shared libraries on AIX.
9339 *** Therefore, libtool is disabling shared libraries support. If you
9340 *** really care for shared libraries, you may want to modify your PATH
9341 *** so that a non-GNU linker is found, and then restart.
9348 if test "$host_cpu" = m68k
; then
9349 archive_cmds
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9350 hardcode_libdir_flag_spec
='-L$libdir'
9351 hardcode_minus_L
=yes
9354 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9355 # that the semantics of dynamic libraries on AmigaOS, at least up
9356 # to version 4, is to share data among multiple programs linked
9357 # with the same dynamic library. Since this doesn't match the
9358 # behavior of shared libraries on other platforms, we can't use
9364 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9365 allow_undefined_flag
=unsupported
9366 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9367 # support --undefined. This deserves some investigation. FIXME
9368 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9374 cygwin
* | mingw
* | pw32
*)
9375 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9376 # as there is no search path for DLLs.
9377 hardcode_libdir_flag_spec
='-L$libdir'
9378 allow_undefined_flag
=unsupported
9379 always_export_symbols
=no
9380 enable_shared_with_static_runtimes
=yes
9381 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9383 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9384 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9385 # If the export-symbols file already is a .def file (1st line
9386 # is EXPORTS), use it as is; otherwise, prepend...
9387 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9388 cp $export_symbols $output_objdir/$soname.def;
9390 echo EXPORTS > $output_objdir/$soname.def;
9391 cat $export_symbols >> $output_objdir/$soname.def;
9393 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9401 hardcode_shlibpath_var
=no
9402 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9403 export_dynamic_flag_spec
='${wl}-E'
9404 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9405 # Instead, shared libraries are loaded at an image base (0x10000000 by
9406 # default) and relocated if they conflict, which is a slow very memory
9407 # consuming and fragmenting process. To avoid this, we pick a random,
9408 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9409 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9410 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9411 archive_expsym_cmds
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9414 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
9416 if test "$host_os" = linux-dietlibc
; then
9417 case $cc_basename in
9418 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9421 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9422 && test "$tmp_diet" = no
9425 case $cc_basename,$host_cpu in
9426 pgcc
*) # Portland Group C compiler
9427 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9428 tmp_addflag
=' $pic_flag'
9430 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9431 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9432 tmp_addflag
=' $pic_flag -Mnomain' ;;
9433 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9434 tmp_addflag
=' -i_dynamic' ;;
9435 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9436 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9437 ifc
* | ifort
*) # Intel Fortran compiler
9438 tmp_addflag
=' -nofor_main' ;;
9440 case `$CC -V 2>&1 | sed 5q` in
9441 *Sun\ C
*) # Sun C 5.9
9442 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9443 compiler_needs_object
=yes
9444 tmp_sharedflag
='-G' ;;
9445 *Sun\ F
*) # Sun Fortran 8.3
9446 tmp_sharedflag
='-G' ;;
9448 tmp_sharedflag
='-shared' ;;
9450 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9452 if test "x$supports_anon_versioning" = xyes
; then
9453 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9454 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9455 echo "local: *; };" >> $output_objdir/$libname.ver~
9456 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9464 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9465 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9468 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9469 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9474 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9478 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9479 *** create shared libraries on Solaris systems. Therefore, libtool
9480 *** is disabling shared libraries support. We urge you to upgrade GNU
9481 *** binutils to release 2.9.1 or newer. Another option is to modify
9482 *** your PATH or compiler configuration so that the native linker is
9483 *** used, and then restart.
9486 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9487 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9488 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9494 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9495 case `$LD -v 2>&1` in
9496 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9500 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9501 *** reliably create shared libraries on SCO systems. Therefore, libtool
9502 *** is disabling shared libraries support. We urge you to upgrade GNU
9503 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9504 *** your PATH or compiler configuration so that the native linker is
9505 *** used, and then restart.
9510 # For security reasons, it is highly recommended that you always
9511 # use absolute paths for naming shared libraries, and exclude the
9512 # DT_RUNPATH tag from executables and libraries. But doing so
9513 # requires that you compile everything twice, which is a pain.
9514 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9515 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9516 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9517 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9526 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9529 hardcode_shlibpath_var
=no
9533 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9534 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9535 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9542 if test "$ld_shlibs" = no
; then
9544 hardcode_libdir_flag_spec
=
9545 export_dynamic_flag_spec
=
9546 whole_archive_flag_spec
=
9549 # PORTME fill in a description of your system's linker (not GNU ld)
9552 allow_undefined_flag
=unsupported
9553 always_export_symbols
=yes
9554 archive_expsym_cmds
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9555 # Note: this linker hardcodes the directories in LIBPATH if there
9556 # are no directories specified by -L.
9557 hardcode_minus_L
=yes
9558 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9559 # Neither direct hardcoding nor static linking is supported with a
9561 hardcode_direct
=unsupported
9566 if test "$host_cpu" = ia64
; then
9567 # On IA64, the linker does run time linking by default, so we don't
9568 # have to do anything special.
9569 aix_use_runtimelinking
=no
9570 exp_sym_flag
='-Bexport'
9573 # If we're using GNU nm, then we don't want the "-C" option.
9574 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9575 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9576 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9578 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9580 aix_use_runtimelinking
=no
9582 # Test if we are trying to use run time linking or normal
9583 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9584 # need to do runtime linking.
9585 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9586 for ld_flag
in $LDFLAGS; do
9587 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9588 aix_use_runtimelinking
=yes
9595 exp_sym_flag
='-bexport'
9596 no_entry_flag
='-bnoentry'
9599 # When large executables or shared objects are built, AIX ld can
9600 # have problems creating the table of contents. If linking a library
9601 # or program results in "error TOC overflow" add -mminimal-toc to
9602 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9603 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9607 hardcode_direct_absolute
=yes
9608 hardcode_libdir_separator
=':'
9609 link_all_deplibs
=yes
9610 file_list_spec
='${wl}-f,'
9612 if test "$GCC" = yes; then
9613 case $host_os in aix4.
[012]|aix4.
[012].
*)
9614 # We only want to do this on AIX 4.2 and lower, the check
9615 # below for broken collect2 doesn't work under 4.3+
9616 collect2name
=`${CC} -print-prog-name=collect2`
9617 if test -f "$collect2name" &&
9618 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9620 # We have reworked collect2
9623 # We have old collect2
9624 hardcode_direct
=unsupported
9625 # It fails to find uninstalled libraries when the uninstalled
9626 # path is not listed in the libpath. Setting hardcode_minus_L
9627 # to unsupported forces relinking
9628 hardcode_minus_L
=yes
9629 hardcode_libdir_flag_spec
='-L$libdir'
9630 hardcode_libdir_separator
=
9634 shared_flag
='-shared'
9635 if test "$aix_use_runtimelinking" = yes; then
9636 shared_flag
="$shared_flag "'${wl}-G'
9640 if test "$host_cpu" = ia64
; then
9641 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9642 # chokes on -Wl,-G. The following line is correct:
9645 if test "$aix_use_runtimelinking" = yes; then
9646 shared_flag
='${wl}-G'
9648 shared_flag
='${wl}-bM:SRE'
9653 # It seems that -bexpall does not export symbols beginning with
9654 # underscore (_), so it is better to generate a list of symbols to export.
9655 always_export_symbols
=yes
9656 if test "$aix_use_runtimelinking" = yes; then
9657 # Warning - without using the other runtime loading flags (-brtl),
9658 # -berok will link without error, but may produce a broken library.
9659 allow_undefined_flag
='-berok'
9660 # Determine the default libpath from the value encoded in an
9662 if test x
$gcc_no_link = xyes
; then
9663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9665 { (exit 1); exit 1; }; }
9667 cat >conftest.
$ac_ext <<_ACEOF
9670 cat confdefs.h
>>conftest.
$ac_ext
9671 cat >>conftest.
$ac_ext <<_ACEOF
9672 /* end confdefs.h. */
9682 rm -f conftest.
$ac_objext conftest
$ac_exeext
9683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9684 (eval $ac_link) 2>conftest.er1
9686 grep -v '^ *+' conftest.er1
>conftest.err
9688 cat conftest.err
>&5
9689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9690 (exit $ac_status); } &&
9691 { ac_try
='test -z "$ac_c_werror_flag"
9692 || test ! -s conftest.err'
9693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9697 (exit $ac_status); }; } &&
9698 { ac_try
='test -s conftest$ac_exeext'
9699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9703 (exit $ac_status); }; }; then
9705 lt_aix_libpath_sed
='
9706 /Import File Strings/,/^$/ {
9712 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9713 # Check for a 64-bit object if we didn't find anything.
9714 if test -z "$aix_libpath"; then
9715 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9718 echo "$as_me: failed program was:" >&5
9719 sed 's/^/| /' conftest.
$ac_ext >&5
9722 rm -f conftest.err conftest.
$ac_objext \
9723 conftest
$ac_exeext conftest.
$ac_ext
9724 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9726 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9727 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9729 if test "$host_cpu" = ia64
; then
9730 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9731 allow_undefined_flag
="-z nodefs"
9732 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9734 # Determine the default libpath from the value encoded in an
9736 if test x
$gcc_no_link = xyes
; then
9737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9739 { (exit 1); exit 1; }; }
9741 cat >conftest.
$ac_ext <<_ACEOF
9744 cat confdefs.h
>>conftest.
$ac_ext
9745 cat >>conftest.
$ac_ext <<_ACEOF
9746 /* end confdefs.h. */
9756 rm -f conftest.
$ac_objext conftest
$ac_exeext
9757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9758 (eval $ac_link) 2>conftest.er1
9760 grep -v '^ *+' conftest.er1
>conftest.err
9762 cat conftest.err
>&5
9763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9764 (exit $ac_status); } &&
9765 { ac_try
='test -z "$ac_c_werror_flag"
9766 || test ! -s conftest.err'
9767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9771 (exit $ac_status); }; } &&
9772 { ac_try
='test -s conftest$ac_exeext'
9773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9777 (exit $ac_status); }; }; then
9779 lt_aix_libpath_sed
='
9780 /Import File Strings/,/^$/ {
9786 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9787 # Check for a 64-bit object if we didn't find anything.
9788 if test -z "$aix_libpath"; then
9789 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9792 echo "$as_me: failed program was:" >&5
9793 sed 's/^/| /' conftest.
$ac_ext >&5
9796 rm -f conftest.err conftest.
$ac_objext \
9797 conftest
$ac_exeext conftest.
$ac_ext
9798 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9800 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9801 # Warning - without using the other run time loading flags,
9802 # -berok will link without error, but may produce a broken library.
9803 no_undefined_flag
=' ${wl}-bernotok'
9804 allow_undefined_flag
=' ${wl}-berok'
9805 # Exported symbols can be pulled into shared objects from archives
9806 whole_archive_flag_spec
='$convenience'
9807 archive_cmds_need_lc
=yes
9808 # This is similar to how AIX traditionally builds its shared libraries.
9809 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9815 if test "$host_cpu" = m68k
; then
9816 archive_cmds
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9817 hardcode_libdir_flag_spec
='-L$libdir'
9818 hardcode_minus_L
=yes
9820 # see comment about different semantics on the GNU ld section
9825 export_dynamic_flag_spec
=-rdynamic
9828 cygwin
* | mingw
* | pw32
*)
9829 # When not using gcc, we currently assume that we are using
9830 # Microsoft Visual C++.
9831 # hardcode_libdir_flag_spec is actually meaningless, as there is
9832 # no search path for DLLs.
9833 hardcode_libdir_flag_spec
=' '
9834 allow_undefined_flag
=unsupported
9835 # Tell ltmain to make .lib files, not .a files.
9837 # Tell ltmain to make .dll files, not .so files.
9839 # FIXME: Setting linknames here is a bad hack.
9840 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9841 # The linker will automatically build a .lib file if we build a DLL.
9842 old_archive_from_new_cmds
='true'
9843 # FIXME: Should let the user specify the lib program.
9844 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9845 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9846 enable_shared_with_static_runtimes
=yes
9849 darwin
* | rhapsody
*)
9851 rhapsody
* | darwin1.
[012])
9852 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
9855 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
9857 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9860 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
9865 archive_cmds_need_lc
=no
9867 hardcode_automatic
=yes
9868 hardcode_shlibpath_var
=unsupported
9869 whole_archive_flag_spec
=''
9870 link_all_deplibs
=yes
9871 if test "$GCC" = yes ; then
9872 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
9873 echo $ECHO_N "(cached) $ECHO_C" >&6
9875 lt_cv_apple_cc_single_mod
=no
9876 if test -z "${LT_MULTI_MODULE}"; then
9877 # By default we will add the -single_module flag. You can override
9878 # by either setting the environment variable LT_MULTI_MODULE
9879 # non-empty at configure time, or by adding -multi-module to the
9881 echo "int foo(void){return 1;}" > conftest.c
9882 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9883 -dynamiclib ${wl}-single_module conftest.c
9884 if test -f libconftest.dylib
; then
9885 lt_cv_apple_cc_single_mod
=yes
9886 rm libconftest.dylib
9892 output_verbose_link_cmd
=echo
9893 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
9894 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9895 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9897 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9898 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9900 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9901 module_expsym_cmds
='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9903 case $cc_basename in
9905 output_verbose_link_cmd
=echo
9906 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
9907 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9908 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9909 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9910 module_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9920 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9921 hardcode_libdir_flag_spec
='-L$libdir'
9922 hardcode_shlibpath_var
=no
9929 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9930 # support. Future versions do this automatically, but an explicit c++rt0.o
9931 # does not break anything, and helps significantly (at the cost of a little
9934 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9935 hardcode_libdir_flag_spec
='-R$libdir'
9937 hardcode_shlibpath_var
=no
9940 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9942 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9944 hardcode_minus_L
=yes
9945 hardcode_shlibpath_var
=no
9948 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9949 freebsd
* | dragonfly
*)
9950 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9951 hardcode_libdir_flag_spec
='-R$libdir'
9953 hardcode_shlibpath_var
=no
9957 if test "$GCC" = yes; then
9958 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9960 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9962 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9963 hardcode_libdir_separator
=:
9966 # hardcode_minus_L: Not really in the search PATH,
9967 # but as the default location of the library.
9968 hardcode_minus_L
=yes
9969 export_dynamic_flag_spec
='${wl}-E'
9973 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9974 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9976 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9978 if test "$with_gnu_ld" = no
; then
9979 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9980 hardcode_libdir_flag_spec_ld
='+b $libdir'
9981 hardcode_libdir_separator
=:
9983 hardcode_direct_absolute
=yes
9984 export_dynamic_flag_spec
='${wl}-E'
9985 # hardcode_minus_L: Not really in the search PATH,
9986 # but as the default location of the library.
9987 hardcode_minus_L
=yes
9992 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9995 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9998 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10001 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10007 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10010 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10013 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10017 if test "$with_gnu_ld" = no
; then
10018 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10019 hardcode_libdir_separator
=:
10024 hardcode_shlibpath_var
=no
10027 hardcode_direct
=yes
10028 hardcode_direct_absolute
=yes
10029 export_dynamic_flag_spec
='${wl}-E'
10031 # hardcode_minus_L: Not really in the search PATH,
10032 # but as the default location of the library.
10033 hardcode_minus_L
=yes
10039 irix5
* | irix6
* | nonstopux
*)
10040 if test "$GCC" = yes; then
10041 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10042 # Try to use the -exported_symbol ld option, if it does not
10043 # work, assume that -exports_file does not work either and
10044 # implicitly export all symbols.
10045 save_LDFLAGS
="$LDFLAGS"
10046 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10047 if test x
$gcc_no_link = xyes
; then
10048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10050 { (exit 1); exit 1; }; }
10052 cat >conftest.
$ac_ext <<_ACEOF
10055 rm -f conftest.
$ac_objext conftest
$ac_exeext
10056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10057 (eval $ac_link) 2>conftest.er1
10059 grep -v '^ *+' conftest.er1
>conftest.err
10061 cat conftest.err
>&5
10062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10063 (exit $ac_status); } &&
10064 { ac_try
='test -z "$ac_c_werror_flag"
10065 || test ! -s conftest.err'
10066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10067 (eval $ac_try) 2>&5
10069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10070 (exit $ac_status); }; } &&
10071 { ac_try
='test -s conftest$ac_exeext'
10072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10073 (eval $ac_try) 2>&5
10075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10076 (exit $ac_status); }; }; then
10077 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10080 echo "$as_me: failed program was:" >&5
10081 sed 's/^/| /' conftest.
$ac_ext >&5
10084 rm -f conftest.err conftest.
$ac_objext \
10085 conftest
$ac_exeext conftest.
$ac_ext
10086 LDFLAGS
="$save_LDFLAGS"
10088 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10089 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10091 archive_cmds_need_lc
='no'
10092 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10093 hardcode_libdir_separator
=:
10095 link_all_deplibs
=yes
10099 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10100 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10102 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10104 hardcode_libdir_flag_spec
='-R$libdir'
10105 hardcode_direct
=yes
10106 hardcode_shlibpath_var
=no
10110 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10111 hardcode_direct
=yes
10112 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10113 hardcode_libdir_separator
=:
10114 hardcode_shlibpath_var
=no
10121 hardcode_direct
=yes
10122 hardcode_shlibpath_var
=no
10123 hardcode_direct_absolute
=yes
10124 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10125 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10126 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10127 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10128 export_dynamic_flag_spec
='${wl}-E'
10131 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10132 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10133 hardcode_libdir_flag_spec
='-R$libdir'
10136 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10137 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10144 hardcode_libdir_flag_spec
='-L$libdir'
10145 hardcode_minus_L
=yes
10146 allow_undefined_flag
=unsupported
10147 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10148 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10152 if test "$GCC" = yes; then
10153 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10154 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10156 allow_undefined_flag
=' -expect_unresolved \*'
10157 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10159 archive_cmds_need_lc
='no'
10160 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10161 hardcode_libdir_separator
=:
10164 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10165 if test "$GCC" = yes; then
10166 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10167 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10168 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10170 allow_undefined_flag
=' -expect_unresolved \*'
10171 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10172 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10173 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10175 # Both c and cxx compiler support -rpath directly
10176 hardcode_libdir_flag_spec
='-rpath $libdir'
10178 archive_cmds_need_lc
='no'
10179 hardcode_libdir_separator
=:
10183 no_undefined_flag
=' -z defs'
10184 if test "$GCC" = yes; then
10186 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10187 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10188 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10190 case `$CC -V 2>&1` in
10193 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10194 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10195 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10199 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10200 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10201 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10205 hardcode_libdir_flag_spec
='-R$libdir'
10206 hardcode_shlibpath_var
=no
10208 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10210 # The compiler driver will combine and reorder linker options,
10211 # but understands `-z linker_flag'. GCC discards it without `$wl',
10212 # but is careful enough not to reorder.
10213 # Supported since Solaris 2.6 (maybe 2.5.1?)
10214 if test "$GCC" = yes; then
10215 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10217 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10221 link_all_deplibs
=yes
10225 if test "x$host_vendor" = xsequent
; then
10226 # Use $CC to link under sequent, because it throws in some extra .o
10227 # files that make .init and .fini sections work.
10228 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10230 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10232 hardcode_libdir_flag_spec
='-L$libdir'
10233 hardcode_direct
=yes
10234 hardcode_minus_L
=yes
10235 hardcode_shlibpath_var
=no
10239 case $host_vendor in
10241 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10242 hardcode_direct
=yes # is this really true???
10245 ## LD is ld it makes a PLAMLIB
10246 ## CC just makes a GrossModule.
10247 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10248 reload_cmds
='$CC -r -o $output$reload_objs'
10252 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10253 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10256 runpath_var
='LD_RUN_PATH'
10257 hardcode_shlibpath_var
=no
10261 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10262 hardcode_shlibpath_var
=no
10263 export_dynamic_flag_spec
='-Bexport'
10267 if test -d /usr
/nec
; then
10268 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10269 hardcode_shlibpath_var
=no
10270 runpath_var
=LD_RUN_PATH
10271 hardcode_runpath_var
=yes
10276 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10277 no_undefined_flag
='${wl}-z,text'
10278 archive_cmds_need_lc
=no
10279 hardcode_shlibpath_var
=no
10280 runpath_var
='LD_RUN_PATH'
10282 if test "$GCC" = yes; then
10283 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10284 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10286 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10287 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10291 sysv5
* | sco3.2v5
* | sco5v6
*)
10292 # Note: We can NOT use -z defs as we might desire, because we do not
10293 # link with -lc, and that would cause any symbols used from libc to
10294 # always be unresolved, which means just about no library would
10295 # ever link correctly. If we're not using GNU ld we use -z text
10296 # though, which does catch some bad symbols but isn't as heavy-handed
10298 no_undefined_flag
='${wl}-z,text'
10299 allow_undefined_flag
='${wl}-z,nodefs'
10300 archive_cmds_need_lc
=no
10301 hardcode_shlibpath_var
=no
10302 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10303 hardcode_libdir_separator
=':'
10304 link_all_deplibs
=yes
10305 export_dynamic_flag_spec
='${wl}-Bexport'
10306 runpath_var
='LD_RUN_PATH'
10308 if test "$GCC" = yes; then
10309 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10310 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10312 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10313 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10318 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10319 hardcode_libdir_flag_spec
='-L$libdir'
10320 hardcode_shlibpath_var
=no
10328 if test x
$host_vendor = xsni
; then
10330 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10331 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10337 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10338 echo "${ECHO_T}$ld_shlibs" >&6
10339 test "$ld_shlibs" = no
&& can_build_shared
=no
10341 with_gnu_ld
=$with_gnu_ld
10358 # Do we need to explicitly link libc?
10360 case "x$archive_cmds_need_lc" in
10362 # Assume -lc should be added
10363 archive_cmds_need_lc
=yes
10365 if test "$enable_shared" = yes && test "$GCC" = yes; then
10366 case $archive_cmds in
10368 # FIXME: we may have to deal with multi-command sequences.
10371 # Test whether the compiler implicitly links with -lc since on some
10372 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10373 # to ld, don't add -lc before -lgcc.
10374 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10375 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10377 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10380 (eval $ac_compile) 2>&5
10382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10383 (exit $ac_status); } 2>conftest.err
; then
10386 libobjs
=conftest.
$ac_objext
10388 wl
=$lt_prog_compiler_wl
10389 pic_flag
=$lt_prog_compiler_pic
10395 lt_save_allow_undefined_flag
=$allow_undefined_flag
10396 allow_undefined_flag
=
10397 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
10398 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10401 (exit $ac_status); }
10403 archive_cmds_need_lc
=no
10405 archive_cmds_need_lc
=yes
10407 allow_undefined_flag
=$lt_save_allow_undefined_flag
10409 cat conftest.err
1>&5
10412 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10413 echo "${ECHO_T}$archive_cmds_need_lc" >&6
10576 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10577 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
10579 if test "$withGCC" = yes; then
10581 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10582 *) lt_awk_arg
="/^libraries:/" ;;
10584 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10585 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
10586 # if the path contains ";" then we assume it to be the separator
10587 # otherwise default to the standard path separator (i.e. ":") - it is
10588 # assumed that no part of a normal pathname contains ";" but that should
10589 # okay in the real world where ";" in dirpaths is itself problematic.
10590 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10592 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10594 # Ok, now we have the path, separated by spaces, we can step through it
10595 # and add multilib dir if necessary.
10596 lt_tmp_lt_search_path_spec
=
10597 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10598 for lt_sys_path
in $lt_search_path_spec; do
10599 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10600 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10602 test -d "$lt_sys_path" && \
10603 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10606 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10607 BEGIN {RS=" "; FS="/|\n";} {
10610 for (lt_i = NF; lt_i > 0; lt_i--) {
10611 if ($lt_i != "" && $lt_i != ".") {
10612 if ($lt_i == "..") {
10615 if (lt_count == 0) {
10616 lt_foo="/" $lt_i lt_foo;
10623 if (lt_foo != "") { lt_freq[lt_foo]++; }
10624 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10626 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10628 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10630 library_names_spec
=
10631 libname_spec
='lib$name'
10635 postuninstall_cmds
=
10639 shlibpath_overrides_runpath
=unknown
10641 dynamic_linker
="$host_os ld.so"
10642 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10643 need_lib_prefix
=unknown
10644 hardcode_into_libs
=no
10646 # when you set need_version to no, make sure it does not cause -set_version
10647 # flags to be left without arguments
10648 need_version
=unknown
10653 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10654 shlibpath_var
=LIBPATH
10656 # AIX 3 has no versioning support, so we append a major version to the name.
10657 soname_spec
='${libname}${release}${shared_ext}$major'
10664 hardcode_into_libs
=yes
10665 if test "$host_cpu" = ia64
; then
10666 # AIX 5 supports IA64
10667 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10668 shlibpath_var
=LD_LIBRARY_PATH
10670 # With GCC up to 2.95.x, collect2 would create an import file
10671 # for dependence libraries. The import file would start with
10672 # the line `#! .'. This would cause the generated library to
10673 # depend on `.', always an invalid library. This was fixed in
10674 # development snapshots of GCC prior to 3.0.
10676 aix4 | aix4.
[01] | aix4.
[01].
*)
10677 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10679 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10682 can_build_shared
=no
10686 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10687 # soname into executable. Probably we can add versioning support to
10688 # collect2, so additional links can be useful in future.
10689 if test "$aix_use_runtimelinking" = yes; then
10690 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10691 # instead of lib<name>.a to let people know that these are not
10692 # typical AIX shared libraries.
10693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10695 # We preserve .a as extension for shared libraries through AIX4.2
10696 # and later when we are not doing run time linking.
10697 library_names_spec
='${libname}${release}.a $libname.a'
10698 soname_spec
='${libname}${release}${shared_ext}$major'
10700 shlibpath_var
=LIBPATH
10705 if test "$host_cpu" = m68k
; then
10706 library_names_spec
='$libname.ixlibrary $libname.a'
10707 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10708 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10715 library_names_spec
='${libname}${shared_ext}'
10716 dynamic_linker
="$host_os ld.so"
10717 shlibpath_var
=LIBRARY_PATH
10723 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10724 soname_spec
='${libname}${release}${shared_ext}$major'
10725 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10726 shlibpath_var
=LD_LIBRARY_PATH
10727 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10728 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10729 # the default ld.so.conf also contains /usr/contrib/lib and
10730 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10731 # libtool to hard-code these into programs
10734 cygwin
* | mingw
* | pw32
*)
10735 version_type
=windows
10740 case $withGCC,$host_os in
10741 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
10742 library_names_spec
='$libname.dll.a'
10743 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10744 postinstall_cmds
='base_file=`basename \${file}`~
10745 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10746 dldir=$destdir/`dirname \$dlpath`~
10747 test -d \$dldir || mkdir -p \$dldir~
10748 $install_prog $dir/$dlname \$dldir/$dlname~
10749 chmod a+x \$dldir/$dlname~
10750 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10751 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10753 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10754 dlpath=$dir/\$dldll~
10756 shlibpath_overrides_runpath
=yes
10760 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10761 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10762 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10765 # MinGW DLLs use traditional 'lib' prefix
10766 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10767 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10768 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10769 # It is most probably a Windows format PATH printed by
10770 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10771 # path with ; separators, and with drive letters. We can handle the
10772 # drive letters (cygwin fileutils understands them), so leave them,
10773 # especially as we might pass files found there to a mingw objdump,
10774 # which wouldn't understand a cygwinified path. Ahh.
10775 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10777 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10781 # pw32 DLLs use 'pw' prefix rather than 'lib'
10782 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10788 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10791 dynamic_linker
='Win32 ld.exe'
10792 # FIXME: first we should search . and the directory the executable is in
10796 darwin
* | rhapsody
*)
10797 dynamic_linker
="$host_os dyld"
10798 version_type
=darwin
10801 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10802 soname_spec
='${libname}${release}${major}$shared_ext'
10803 shlibpath_overrides_runpath
=yes
10804 shlibpath_var
=DYLD_LIBRARY_PATH
10805 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10807 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10808 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10815 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10816 soname_spec
='${libname}${release}${shared_ext}$major'
10817 shlibpath_var
=LD_LIBRARY_PATH
10824 freebsd
* | dragonfly
*)
10825 # DragonFly does not have aout. When/if they implement a new
10826 # versioning mechanism, adjust this.
10827 if test -x /usr
/bin
/objformat
; then
10828 objformat
=`/usr/bin/objformat`
10831 freebsd
[123]*) objformat
=aout
;;
10832 *) objformat
=elf
;;
10835 version_type
=freebsd-
$objformat
10836 case $version_type in
10838 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10843 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10847 shlibpath_var
=LD_LIBRARY_PATH
10850 shlibpath_overrides_runpath
=yes
10852 freebsd3.
[01]* | freebsdelf3.
[01]*)
10853 shlibpath_overrides_runpath
=yes
10854 hardcode_into_libs
=yes
10856 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10857 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10858 shlibpath_overrides_runpath
=no
10859 hardcode_into_libs
=yes
10861 *) # from 4.6 on, and DragonFly
10862 shlibpath_overrides_runpath
=yes
10863 hardcode_into_libs
=yes
10872 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10873 soname_spec
='${libname}${release}${shared_ext}$major'
10874 shlibpath_var
=LD_LIBRARY_PATH
10875 hardcode_into_libs
=yes
10878 hpux9
* | hpux10
* | hpux11
*)
10879 # Give a soname corresponding to the major version so that dld.sl refuses to
10880 # link against other versions.
10887 hardcode_into_libs
=yes
10888 dynamic_linker
="$host_os dld.so"
10889 shlibpath_var
=LD_LIBRARY_PATH
10890 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10891 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10892 soname_spec
='${libname}${release}${shared_ext}$major'
10893 if test "X$HPUX_IA64_MODE" = X32
; then
10894 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10896 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10898 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10902 hardcode_into_libs
=yes
10903 dynamic_linker
="$host_os dld.sl"
10904 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10905 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10906 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10907 soname_spec
='${libname}${release}${shared_ext}$major'
10908 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10909 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10913 dynamic_linker
="$host_os dld.sl"
10914 shlibpath_var
=SHLIB_PATH
10915 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10916 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10917 soname_spec
='${libname}${release}${shared_ext}$major'
10920 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10921 postinstall_cmds
='chmod 555 $lib'
10928 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10929 soname_spec
='${libname}${release}${shared_ext}$major'
10930 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10931 shlibpath_var
=LD_LIBRARY_PATH
10932 shlibpath_overrides_runpath
=no
10933 hardcode_into_libs
=yes
10936 irix5
* | irix6
* | nonstopux
*)
10938 nonstopux
*) version_type
=nonstopux
;;
10940 if test "$lt_cv_prog_gnu_ld" = yes; then
10948 soname_spec
='${libname}${release}${shared_ext}$major'
10949 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10951 irix5
* | nonstopux
*)
10952 libsuff
= shlibsuff
=
10955 case $LD in # libtool.m4 will add one of these switches to LD
10956 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10957 libsuff
= shlibsuff
= libmagic
=32-bit;;
10958 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10959 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10960 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10961 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10962 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10966 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10967 shlibpath_overrides_runpath
=no
10968 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10969 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10970 hardcode_into_libs
=yes
10973 # No shared lib support for Linux oldld, aout, or coff.
10974 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10978 # This must be Linux ELF.
10979 linux
* | k
*bsd
*-gnu)
10983 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10984 soname_spec
='${libname}${release}${shared_ext}$major'
10985 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10986 shlibpath_var
=LD_LIBRARY_PATH
10987 shlibpath_overrides_runpath
=no
10988 # Some binutils ld are patched to set DT_RUNPATH
10989 save_LDFLAGS
=$LDFLAGS
10990 save_libdir
=$libdir
10991 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10992 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10993 if test x
$gcc_no_link = xyes
; then
10994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10996 { (exit 1); exit 1; }; }
10998 cat >conftest.
$ac_ext <<_ACEOF
11001 cat confdefs.h
>>conftest.
$ac_ext
11002 cat >>conftest.
$ac_ext <<_ACEOF
11003 /* end confdefs.h. */
11013 rm -f conftest.
$ac_objext conftest
$ac_exeext
11014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11015 (eval $ac_link) 2>conftest.er1
11017 grep -v '^ *+' conftest.er1
>conftest.err
11019 cat conftest.err
>&5
11020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11021 (exit $ac_status); } &&
11022 { ac_try
='test -z "$ac_c_werror_flag"
11023 || test ! -s conftest.err'
11024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11025 (eval $ac_try) 2>&5
11027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11028 (exit $ac_status); }; } &&
11029 { ac_try
='test -s conftest$ac_exeext'
11030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11031 (eval $ac_try) 2>&5
11033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11034 (exit $ac_status); }; }; then
11035 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
11036 shlibpath_overrides_runpath
=yes
11040 echo "$as_me: failed program was:" >&5
11041 sed 's/^/| /' conftest.
$ac_ext >&5
11044 rm -f conftest.err conftest.
$ac_objext \
11045 conftest
$ac_exeext conftest.
$ac_ext
11046 LDFLAGS
=$save_LDFLAGS
11047 libdir
=$save_libdir
11049 # This implies no fast_install, which is unacceptable.
11050 # Some rework will be needed to allow for fast_install
11051 # before this can be enabled.
11052 hardcode_into_libs
=yes
11054 # Append ld.so.conf contents to the search path
11055 if test -f /etc
/ld.so.conf
; then
11056 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11057 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11060 # We used to test for /lib/ld.so.1 and disable shared libraries on
11061 # powerpc, because MkLinux only supported shared libraries with the
11062 # GNU dynamic linker. Since this was broken with cross compilers,
11063 # most powerpc-linux boxes support dynamic linking these days and
11064 # people can always --disable-shared, the test was removed, and we
11065 # assume the GNU/Linux dynamic linker is in use.
11066 dynamic_linker
='GNU/Linux ld.so'
11073 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11075 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11076 dynamic_linker
='NetBSD (a.out) ld.so'
11078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11079 soname_spec
='${libname}${release}${shared_ext}$major'
11080 dynamic_linker
='NetBSD ld.elf_so'
11082 shlibpath_var
=LD_LIBRARY_PATH
11083 shlibpath_overrides_runpath
=yes
11084 hardcode_into_libs
=yes
11089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11090 shlibpath_var
=LD_LIBRARY_PATH
11091 shlibpath_overrides_runpath
=yes
11098 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11099 soname_spec
='${libname}${release}${shared_ext}$major'
11100 shlibpath_var
=LD_LIBRARY_PATH
11101 shlibpath_overrides_runpath
=no
11102 hardcode_into_libs
=yes
11103 dynamic_linker
='ldqnx.so'
11108 sys_lib_dlsearch_path_spec
="/usr/lib"
11110 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11112 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11113 *) need_version
=no
;;
11115 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11116 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11117 shlibpath_var
=LD_LIBRARY_PATH
11118 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11120 openbsd2.
[89] | openbsd2.
[89].
*)
11121 shlibpath_overrides_runpath
=no
11124 shlibpath_overrides_runpath
=yes
11128 shlibpath_overrides_runpath
=yes
11133 libname_spec
='$name'
11136 library_names_spec
='$libname${shared_ext} $libname.a'
11137 dynamic_linker
='OS/2 ld.exe'
11138 shlibpath_var
=LIBPATH
11141 osf3
* | osf4
* | osf5
*)
11145 soname_spec
='${libname}${release}${shared_ext}$major'
11146 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11147 shlibpath_var
=LD_LIBRARY_PATH
11148 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11149 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11160 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11161 soname_spec
='${libname}${release}${shared_ext}$major'
11162 shlibpath_var
=LD_LIBRARY_PATH
11163 shlibpath_overrides_runpath
=yes
11164 hardcode_into_libs
=yes
11165 # ldd complains unless libraries are executable
11166 postinstall_cmds
='chmod +x $lib'
11171 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11172 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11173 shlibpath_var
=LD_LIBRARY_PATH
11174 shlibpath_overrides_runpath
=yes
11175 if test "$with_gnu_ld" = yes; then
11183 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11184 soname_spec
='${libname}${release}${shared_ext}$major'
11185 shlibpath_var
=LD_LIBRARY_PATH
11186 case $host_vendor in
11188 shlibpath_overrides_runpath
=no
11190 runpath_var
=LD_RUN_PATH
11198 shlibpath_overrides_runpath
=no
11199 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11205 if test -d /usr
/nec
;then
11207 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11208 soname_spec
='$libname${shared_ext}.$major'
11209 shlibpath_var
=LD_LIBRARY_PATH
11213 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11214 version_type
=freebsd-elf
11217 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11218 soname_spec
='${libname}${release}${shared_ext}$major'
11219 shlibpath_var
=LD_LIBRARY_PATH
11220 shlibpath_overrides_runpath
=yes
11221 hardcode_into_libs
=yes
11222 if test "$with_gnu_ld" = yes; then
11223 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11225 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11228 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11232 sys_lib_dlsearch_path_spec
='/usr/lib'
11236 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11240 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11241 shlibpath_var
=LD_LIBRARY_PATH
11242 shlibpath_overrides_runpath
=no
11243 hardcode_into_libs
=yes
11248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11249 soname_spec
='${libname}${release}${shared_ext}$major'
11250 shlibpath_var
=LD_LIBRARY_PATH
11257 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11258 echo "${ECHO_T}$dynamic_linker" >&6
11259 test "$dynamic_linker" = no
&& can_build_shared
=no
11261 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11262 if test "$GCC" = yes; then
11263 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11352 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11353 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11355 if test -n "$hardcode_libdir_flag_spec" ||
11356 test -n "$runpath_var" ||
11357 test "X$hardcode_automatic" = "Xyes" ; then
11359 # We can hardcode non-existent directories.
11360 if test "$hardcode_direct" != no
&&
11361 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11362 # have to relink, otherwise we might link with an installed library
11363 # when we should be linking with a yet-to-be-installed one
11364 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11365 test "$hardcode_minus_L" != no
; then
11366 # Linking always hardcodes the temporary library directory.
11367 hardcode_action
=relink
11369 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11370 hardcode_action
=immediate
11373 # We cannot hardcode anything, or else we can only hardcode existing
11375 hardcode_action
=unsupported
11377 echo "$as_me:$LINENO: result: $hardcode_action" >&5
11378 echo "${ECHO_T}$hardcode_action" >&6
11380 if test "$hardcode_action" = relink ||
11381 test "$inherit_rpath" = yes; then
11382 # Fast installation is not supported
11383 enable_fast_install
=no
11384 elif test "$shlibpath_overrides_runpath" = yes ||
11385 test "$enable_shared" = no
; then
11386 # Fast installation is not necessary
11387 enable_fast_install
=needless
11395 if test "x$enable_dlopen" != xyes
; then
11396 enable_dlopen
=unknown
11397 enable_dlopen_self
=unknown
11398 enable_dlopen_self_static
=unknown
11405 lt_cv_dlopen
="load_add_on"
11407 lt_cv_dlopen_self
=yes
11411 lt_cv_dlopen
="LoadLibrary"
11416 lt_cv_dlopen
="dlopen"
11421 # if libdl is installed we need to link against it
11422 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11423 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11424 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11425 echo $ECHO_N "(cached) $ECHO_C" >&6
11427 ac_check_lib_save_LIBS
=$LIBS
11429 if test x
$gcc_no_link = xyes
; then
11430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11432 { (exit 1); exit 1; }; }
11434 cat >conftest.
$ac_ext <<_ACEOF
11437 cat confdefs.h
>>conftest.
$ac_ext
11438 cat >>conftest.
$ac_ext <<_ACEOF
11439 /* end confdefs.h. */
11441 /* Override any gcc2 internal prototype to avoid an error. */
11445 /* We use char because int might match the return type of a gcc2
11446 builtin and then its argument prototype would still apply. */
11456 rm -f conftest.
$ac_objext conftest
$ac_exeext
11457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11458 (eval $ac_link) 2>conftest.er1
11460 grep -v '^ *+' conftest.er1
>conftest.err
11462 cat conftest.err
>&5
11463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11464 (exit $ac_status); } &&
11465 { ac_try
='test -z "$ac_c_werror_flag"
11466 || test ! -s conftest.err'
11467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11468 (eval $ac_try) 2>&5
11470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11471 (exit $ac_status); }; } &&
11472 { ac_try
='test -s conftest$ac_exeext'
11473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11474 (eval $ac_try) 2>&5
11476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11477 (exit $ac_status); }; }; then
11478 ac_cv_lib_dl_dlopen
=yes
11480 echo "$as_me: failed program was:" >&5
11481 sed 's/^/| /' conftest.
$ac_ext >&5
11483 ac_cv_lib_dl_dlopen
=no
11485 rm -f conftest.err conftest.
$ac_objext \
11486 conftest
$ac_exeext conftest.
$ac_ext
11487 LIBS
=$ac_check_lib_save_LIBS
11489 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11490 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11491 if test $ac_cv_lib_dl_dlopen = yes; then
11492 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11495 lt_cv_dlopen
="dyld"
11497 lt_cv_dlopen_self
=yes
11504 echo "$as_me:$LINENO: checking for shl_load" >&5
11505 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11506 if test "${ac_cv_func_shl_load+set}" = set; then
11507 echo $ECHO_N "(cached) $ECHO_C" >&6
11509 if test x
$gcc_no_link = xyes
; then
11510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11512 { (exit 1); exit 1; }; }
11514 cat >conftest.
$ac_ext <<_ACEOF
11517 cat confdefs.h
>>conftest.
$ac_ext
11518 cat >>conftest.
$ac_ext <<_ACEOF
11519 /* end confdefs.h. */
11520 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11522 #define shl_load innocuous_shl_load
11524 /* System header to define __stub macros and hopefully few prototypes,
11525 which can conflict with char shl_load (); below.
11526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11527 <limits.h> exists even on freestanding compilers. */
11530 # include <limits.h>
11532 # include <assert.h>
11537 /* Override any gcc2 internal prototype to avoid an error. */
11542 /* We use char because int might match the return type of a gcc2
11543 builtin and then its argument prototype would still apply. */
11545 /* The GNU C library defines this for functions which it implements
11546 to always fail with ENOSYS. Some functions are actually named
11547 something starting with __ and the normal name is an alias. */
11548 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11551 char (*f) () = shl_load;
11560 return f != shl_load;
11565 rm -f conftest.
$ac_objext conftest
$ac_exeext
11566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11567 (eval $ac_link) 2>conftest.er1
11569 grep -v '^ *+' conftest.er1
>conftest.err
11571 cat conftest.err
>&5
11572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11573 (exit $ac_status); } &&
11574 { ac_try
='test -z "$ac_c_werror_flag"
11575 || test ! -s conftest.err'
11576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11577 (eval $ac_try) 2>&5
11579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11580 (exit $ac_status); }; } &&
11581 { ac_try
='test -s conftest$ac_exeext'
11582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11583 (eval $ac_try) 2>&5
11585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11586 (exit $ac_status); }; }; then
11587 ac_cv_func_shl_load
=yes
11589 echo "$as_me: failed program was:" >&5
11590 sed 's/^/| /' conftest.
$ac_ext >&5
11592 ac_cv_func_shl_load
=no
11594 rm -f conftest.err conftest.
$ac_objext \
11595 conftest
$ac_exeext conftest.
$ac_ext
11597 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11598 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11599 if test $ac_cv_func_shl_load = yes; then
11600 lt_cv_dlopen
="shl_load"
11602 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11603 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11604 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11605 echo $ECHO_N "(cached) $ECHO_C" >&6
11607 ac_check_lib_save_LIBS
=$LIBS
11609 if test x
$gcc_no_link = xyes
; then
11610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11612 { (exit 1); exit 1; }; }
11614 cat >conftest.
$ac_ext <<_ACEOF
11617 cat confdefs.h
>>conftest.
$ac_ext
11618 cat >>conftest.
$ac_ext <<_ACEOF
11619 /* end confdefs.h. */
11621 /* Override any gcc2 internal prototype to avoid an error. */
11625 /* We use char because int might match the return type of a gcc2
11626 builtin and then its argument prototype would still apply. */
11636 rm -f conftest.
$ac_objext conftest
$ac_exeext
11637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11638 (eval $ac_link) 2>conftest.er1
11640 grep -v '^ *+' conftest.er1
>conftest.err
11642 cat conftest.err
>&5
11643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11644 (exit $ac_status); } &&
11645 { ac_try
='test -z "$ac_c_werror_flag"
11646 || test ! -s conftest.err'
11647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11648 (eval $ac_try) 2>&5
11650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11651 (exit $ac_status); }; } &&
11652 { ac_try
='test -s conftest$ac_exeext'
11653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11654 (eval $ac_try) 2>&5
11656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11657 (exit $ac_status); }; }; then
11658 ac_cv_lib_dld_shl_load
=yes
11660 echo "$as_me: failed program was:" >&5
11661 sed 's/^/| /' conftest.
$ac_ext >&5
11663 ac_cv_lib_dld_shl_load
=no
11665 rm -f conftest.err conftest.
$ac_objext \
11666 conftest
$ac_exeext conftest.
$ac_ext
11667 LIBS
=$ac_check_lib_save_LIBS
11669 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11670 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11671 if test $ac_cv_lib_dld_shl_load = yes; then
11672 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
11674 echo "$as_me:$LINENO: checking for dlopen" >&5
11675 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11676 if test "${ac_cv_func_dlopen+set}" = set; then
11677 echo $ECHO_N "(cached) $ECHO_C" >&6
11679 if test x
$gcc_no_link = xyes
; then
11680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11682 { (exit 1); exit 1; }; }
11684 cat >conftest.
$ac_ext <<_ACEOF
11687 cat confdefs.h
>>conftest.
$ac_ext
11688 cat >>conftest.
$ac_ext <<_ACEOF
11689 /* end confdefs.h. */
11690 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11692 #define dlopen innocuous_dlopen
11694 /* System header to define __stub macros and hopefully few prototypes,
11695 which can conflict with char dlopen (); below.
11696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11697 <limits.h> exists even on freestanding compilers. */
11700 # include <limits.h>
11702 # include <assert.h>
11707 /* Override any gcc2 internal prototype to avoid an error. */
11712 /* We use char because int might match the return type of a gcc2
11713 builtin and then its argument prototype would still apply. */
11715 /* The GNU C library defines this for functions which it implements
11716 to always fail with ENOSYS. Some functions are actually named
11717 something starting with __ and the normal name is an alias. */
11718 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11721 char (*f) () = dlopen;
11730 return f != dlopen;
11735 rm -f conftest.
$ac_objext conftest
$ac_exeext
11736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11737 (eval $ac_link) 2>conftest.er1
11739 grep -v '^ *+' conftest.er1
>conftest.err
11741 cat conftest.err
>&5
11742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11743 (exit $ac_status); } &&
11744 { ac_try
='test -z "$ac_c_werror_flag"
11745 || test ! -s conftest.err'
11746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11747 (eval $ac_try) 2>&5
11749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11750 (exit $ac_status); }; } &&
11751 { ac_try
='test -s conftest$ac_exeext'
11752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11753 (eval $ac_try) 2>&5
11755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11756 (exit $ac_status); }; }; then
11757 ac_cv_func_dlopen
=yes
11759 echo "$as_me: failed program was:" >&5
11760 sed 's/^/| /' conftest.
$ac_ext >&5
11762 ac_cv_func_dlopen
=no
11764 rm -f conftest.err conftest.
$ac_objext \
11765 conftest
$ac_exeext conftest.
$ac_ext
11767 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11768 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11769 if test $ac_cv_func_dlopen = yes; then
11770 lt_cv_dlopen
="dlopen"
11772 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11773 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11774 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11775 echo $ECHO_N "(cached) $ECHO_C" >&6
11777 ac_check_lib_save_LIBS
=$LIBS
11779 if test x
$gcc_no_link = xyes
; then
11780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11782 { (exit 1); exit 1; }; }
11784 cat >conftest.
$ac_ext <<_ACEOF
11787 cat confdefs.h
>>conftest.
$ac_ext
11788 cat >>conftest.
$ac_ext <<_ACEOF
11789 /* end confdefs.h. */
11791 /* Override any gcc2 internal prototype to avoid an error. */
11795 /* We use char because int might match the return type of a gcc2
11796 builtin and then its argument prototype would still apply. */
11806 rm -f conftest.
$ac_objext conftest
$ac_exeext
11807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11808 (eval $ac_link) 2>conftest.er1
11810 grep -v '^ *+' conftest.er1
>conftest.err
11812 cat conftest.err
>&5
11813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11814 (exit $ac_status); } &&
11815 { ac_try
='test -z "$ac_c_werror_flag"
11816 || test ! -s conftest.err'
11817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11818 (eval $ac_try) 2>&5
11820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11821 (exit $ac_status); }; } &&
11822 { ac_try
='test -s conftest$ac_exeext'
11823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11824 (eval $ac_try) 2>&5
11826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11827 (exit $ac_status); }; }; then
11828 ac_cv_lib_dl_dlopen
=yes
11830 echo "$as_me: failed program was:" >&5
11831 sed 's/^/| /' conftest.
$ac_ext >&5
11833 ac_cv_lib_dl_dlopen
=no
11835 rm -f conftest.err conftest.
$ac_objext \
11836 conftest
$ac_exeext conftest.
$ac_ext
11837 LIBS
=$ac_check_lib_save_LIBS
11839 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11840 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11841 if test $ac_cv_lib_dl_dlopen = yes; then
11842 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11844 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11845 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11846 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11847 echo $ECHO_N "(cached) $ECHO_C" >&6
11849 ac_check_lib_save_LIBS
=$LIBS
11850 LIBS
="-lsvld $LIBS"
11851 if test x
$gcc_no_link = xyes
; then
11852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11854 { (exit 1); exit 1; }; }
11856 cat >conftest.
$ac_ext <<_ACEOF
11859 cat confdefs.h
>>conftest.
$ac_ext
11860 cat >>conftest.
$ac_ext <<_ACEOF
11861 /* end confdefs.h. */
11863 /* Override any gcc2 internal prototype to avoid an error. */
11867 /* We use char because int might match the return type of a gcc2
11868 builtin and then its argument prototype would still apply. */
11878 rm -f conftest.
$ac_objext conftest
$ac_exeext
11879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11880 (eval $ac_link) 2>conftest.er1
11882 grep -v '^ *+' conftest.er1
>conftest.err
11884 cat conftest.err
>&5
11885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11886 (exit $ac_status); } &&
11887 { ac_try
='test -z "$ac_c_werror_flag"
11888 || test ! -s conftest.err'
11889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11890 (eval $ac_try) 2>&5
11892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11893 (exit $ac_status); }; } &&
11894 { ac_try
='test -s conftest$ac_exeext'
11895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11896 (eval $ac_try) 2>&5
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); }; }; then
11900 ac_cv_lib_svld_dlopen
=yes
11902 echo "$as_me: failed program was:" >&5
11903 sed 's/^/| /' conftest.
$ac_ext >&5
11905 ac_cv_lib_svld_dlopen
=no
11907 rm -f conftest.err conftest.
$ac_objext \
11908 conftest
$ac_exeext conftest.
$ac_ext
11909 LIBS
=$ac_check_lib_save_LIBS
11911 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11912 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11913 if test $ac_cv_lib_svld_dlopen = yes; then
11914 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11916 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11917 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11918 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11919 echo $ECHO_N "(cached) $ECHO_C" >&6
11921 ac_check_lib_save_LIBS
=$LIBS
11923 if test x
$gcc_no_link = xyes
; then
11924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11926 { (exit 1); exit 1; }; }
11928 cat >conftest.
$ac_ext <<_ACEOF
11931 cat confdefs.h
>>conftest.
$ac_ext
11932 cat >>conftest.
$ac_ext <<_ACEOF
11933 /* end confdefs.h. */
11935 /* Override any gcc2 internal prototype to avoid an error. */
11939 /* We use char because int might match the return type of a gcc2
11940 builtin and then its argument prototype would still apply. */
11950 rm -f conftest.
$ac_objext conftest
$ac_exeext
11951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11952 (eval $ac_link) 2>conftest.er1
11954 grep -v '^ *+' conftest.er1
>conftest.err
11956 cat conftest.err
>&5
11957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11958 (exit $ac_status); } &&
11959 { ac_try
='test -z "$ac_c_werror_flag"
11960 || test ! -s conftest.err'
11961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11962 (eval $ac_try) 2>&5
11964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11965 (exit $ac_status); }; } &&
11966 { ac_try
='test -s conftest$ac_exeext'
11967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11968 (eval $ac_try) 2>&5
11970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11971 (exit $ac_status); }; }; then
11972 ac_cv_lib_dld_dld_link
=yes
11974 echo "$as_me: failed program was:" >&5
11975 sed 's/^/| /' conftest.
$ac_ext >&5
11977 ac_cv_lib_dld_dld_link
=no
11979 rm -f conftest.err conftest.
$ac_objext \
11980 conftest
$ac_exeext conftest.
$ac_ext
11981 LIBS
=$ac_check_lib_save_LIBS
11983 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11984 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
11985 if test $ac_cv_lib_dld_dld_link = yes; then
11986 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
12007 if test "x$lt_cv_dlopen" != xno
; then
12013 case $lt_cv_dlopen in
12015 save_CPPFLAGS
="$CPPFLAGS"
12016 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12018 save_LDFLAGS
="$LDFLAGS"
12019 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12022 LIBS
="$lt_cv_dlopen_libs $LIBS"
12024 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12025 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12026 if test "${lt_cv_dlopen_self+set}" = set; then
12027 echo $ECHO_N "(cached) $ECHO_C" >&6
12029 if test "$cross_compiling" = yes; then :
12030 lt_cv_dlopen_self
=cross
12032 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12033 lt_status
=$lt_dlunknown
12034 cat > conftest.
$ac_ext <<_LT_EOF
12035 #line 12035 "configure"
12036 #include "confdefs.h"
12045 # define LT_DLGLOBAL RTLD_GLOBAL
12048 # define LT_DLGLOBAL DL_GLOBAL
12050 # define LT_DLGLOBAL 0
12054 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12055 find out it does not work in some platform. */
12056 #ifndef LT_DLLAZY_OR_NOW
12058 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12061 # define LT_DLLAZY_OR_NOW DL_LAZY
12064 # define LT_DLLAZY_OR_NOW RTLD_NOW
12067 # define LT_DLLAZY_OR_NOW DL_NOW
12069 # define LT_DLLAZY_OR_NOW 0
12077 extern "C" void exit (int);
12080 void fnord() { int i=42;}
12083 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12084 int status = $lt_dlunknown;
12088 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12089 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12090 /* dlclose (self); */
12098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12099 (eval $ac_link) 2>&5
12101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12102 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12103 (.
/conftest
; exit; ) >&5 2>/dev
/null
12105 case x
$lt_status in
12106 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12107 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12108 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12111 # compilation failed
12112 lt_cv_dlopen_self
=no
12119 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12120 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12122 if test "x$lt_cv_dlopen_self" = xyes
; then
12123 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12124 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12125 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12126 if test "${lt_cv_dlopen_self_static+set}" = set; then
12127 echo $ECHO_N "(cached) $ECHO_C" >&6
12129 if test "$cross_compiling" = yes; then :
12130 lt_cv_dlopen_self_static
=cross
12132 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12133 lt_status
=$lt_dlunknown
12134 cat > conftest.
$ac_ext <<_LT_EOF
12135 #line 12135 "configure"
12136 #include "confdefs.h"
12145 # define LT_DLGLOBAL RTLD_GLOBAL
12148 # define LT_DLGLOBAL DL_GLOBAL
12150 # define LT_DLGLOBAL 0
12154 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12155 find out it does not work in some platform. */
12156 #ifndef LT_DLLAZY_OR_NOW
12158 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12161 # define LT_DLLAZY_OR_NOW DL_LAZY
12164 # define LT_DLLAZY_OR_NOW RTLD_NOW
12167 # define LT_DLLAZY_OR_NOW DL_NOW
12169 # define LT_DLLAZY_OR_NOW 0
12177 extern "C" void exit (int);
12180 void fnord() { int i=42;}
12183 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12184 int status = $lt_dlunknown;
12188 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12189 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12190 /* dlclose (self); */
12198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12199 (eval $ac_link) 2>&5
12201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12202 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12203 (.
/conftest
; exit; ) >&5 2>/dev
/null
12205 case x
$lt_status in
12206 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12207 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12208 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12211 # compilation failed
12212 lt_cv_dlopen_self_static
=no
12219 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12220 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12223 CPPFLAGS
="$save_CPPFLAGS"
12224 LDFLAGS
="$save_LDFLAGS"
12229 case $lt_cv_dlopen_self in
12230 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12231 *) enable_dlopen_self
=unknown
;;
12234 case $lt_cv_dlopen_self_static in
12235 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12236 *) enable_dlopen_self_static
=unknown
;;
12258 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12259 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
12260 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12261 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12262 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12263 echo "$as_me:$LINENO: result: yes" >&5
12264 echo "${ECHO_T}yes" >&6
12266 # FIXME - insert some real tests, host_os isn't really good enough
12269 if test -n "$STRIP" ; then
12270 striplib
="$STRIP -x"
12271 old_striplib
="$STRIP -S"
12272 echo "$as_me:$LINENO: result: yes" >&5
12273 echo "${ECHO_T}yes" >&6
12275 echo "$as_me:$LINENO: result: no" >&5
12276 echo "${ECHO_T}no" >&6
12280 echo "$as_me:$LINENO: result: no" >&5
12281 echo "${ECHO_T}no" >&6
12297 # Report which library types will actually be built
12298 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12299 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12300 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12301 echo "${ECHO_T}$can_build_shared" >&6
12303 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12304 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12305 test "$can_build_shared" = "no" && enable_shared
=no
12307 # On AIX, shared libraries and static libraries use the same namespace, and
12308 # are all built from PIC.
12311 test "$enable_shared" = yes && enable_static
=no
12312 if test -n "$RANLIB"; then
12313 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12314 postinstall_cmds
='$RANLIB $lib'
12319 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12320 test "$enable_shared" = yes && enable_static
=no
12324 echo "$as_me:$LINENO: result: $enable_shared" >&5
12325 echo "${ECHO_T}$enable_shared" >&6
12327 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12328 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12329 # Make sure either enable_shared or enable_static is yes.
12330 test "$enable_shared" = yes || enable_static
=yes
12331 echo "$as_me:$LINENO: result: $enable_static" >&5
12332 echo "${ECHO_T}$enable_static" >&6
12339 ac_cpp
='$CPP $CPPFLAGS'
12340 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12341 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12342 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12348 ac_cpp
='$CXXCPP $CPPFLAGS'
12349 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12350 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12351 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12353 archive_cmds_need_lc_CXX
=no
12354 allow_undefined_flag_CXX
=
12355 always_export_symbols_CXX
=no
12356 archive_expsym_cmds_CXX
=
12357 compiler_needs_object_CXX
=no
12358 export_dynamic_flag_spec_CXX
=
12359 hardcode_direct_CXX
=no
12360 hardcode_direct_absolute_CXX
=no
12361 hardcode_libdir_flag_spec_CXX
=
12362 hardcode_libdir_flag_spec_ld_CXX
=
12363 hardcode_libdir_separator_CXX
=
12364 hardcode_minus_L_CXX
=no
12365 hardcode_shlibpath_var_CXX
=unsupported
12366 hardcode_automatic_CXX
=no
12367 inherit_rpath_CXX
=no
12369 module_expsym_cmds_CXX
=
12370 link_all_deplibs_CXX
=unknown
12371 old_archive_cmds_CXX
=$old_archive_cmds
12372 no_undefined_flag_CXX
=
12373 whole_archive_flag_spec_CXX
=
12374 enable_shared_with_static_runtimes_CXX
=no
12376 # Source file extension for C++ test sources.
12379 # Object file extension for compiled C++ test sources.
12383 # No sense in running all these tests if we already determined that
12384 # the CXX compiler isn't working. Some variables (like enable_shared)
12385 # are currently assumed to apply to all compilers on this platform,
12386 # and will be corrupted by setting them based on a non-working compiler.
12387 if test "$_lt_caught_CXX_error" != yes; then
12388 # Code to be used in simple compile tests
12389 lt_simple_compile_test_code
="int some_variable = 0;"
12391 # Code to be used in simple link tests
12392 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12394 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12401 # If no C compiler was specified, use CC.
12404 # If no C compiler flags were specified, use CFLAGS.
12405 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12407 # Allow CC to be a program name with arguments.
12411 # save warnings/boilerplate of simple test code
12412 ac_outfile
=conftest.
$ac_objext
12413 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12414 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12415 _lt_compiler_boilerplate
=`cat conftest.err`
12418 ac_outfile
=conftest.
$ac_objext
12419 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12420 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12421 _lt_linker_boilerplate
=`cat conftest.err`
12425 # Allow CC to be a program name with arguments.
12430 lt_save_with_gnu_ld
=$with_gnu_ld
12431 lt_save_path_LD
=$lt_cv_path_LD
12432 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12433 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12435 $as_unset lt_cv_prog_gnu_ld
12437 if test -n "${lt_cv_path_LDCXX+set}"; then
12438 lt_cv_path_LD
=$lt_cv_path_LDCXX
12440 $as_unset lt_cv_path_LD
12442 test -z "${LDCXX+set}" || LD
=$LDCXX
12446 for cc_temp
in $compiler""; do
12448 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12449 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12454 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12457 if test -n "$compiler"; then
12458 # We don't want -fno-exception when compiling C++ code, so set the
12459 # no_builtin_flag separately
12460 if test "$GXX" = yes; then
12461 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12463 lt_prog_compiler_no_builtin_flag_CXX
=
12466 if test "$GXX" = yes; then
12467 # Set up default GNU C++ configuration
12471 # Check whether --with-gnu-ld or --without-gnu-ld was given.
12472 if test "${with_gnu_ld+set}" = set; then
12473 withval
="$with_gnu_ld"
12474 test "$withval" = no || with_gnu_ld
=yes
12479 if test "$GCC" = yes; then
12480 # Check if gcc -print-prog-name=ld gives a path.
12481 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12482 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
12485 # gcc leaves a trailing carriage return which upsets mingw
12486 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12488 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12491 # Accept absolute paths.
12493 re_direlt
='/[^/][^/]*/\.\./'
12494 # Canonicalize the pathname of ld
12495 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12496 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12497 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12499 test -z "$LD" && LD
="$ac_prog"
12502 # If it fails, then pretend we aren't using GCC.
12506 # If it is relative, then search for the first ld in PATH.
12507 with_gnu_ld
=unknown
12510 elif test "$with_gnu_ld" = yes; then
12511 echo "$as_me:$LINENO: checking for GNU ld" >&5
12512 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
12514 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12515 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
12517 if test "${lt_cv_path_LD+set}" = set; then
12518 echo $ECHO_N "(cached) $ECHO_C" >&6
12520 if test -z "$LD"; then
12521 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12522 for ac_dir
in $PATH; do
12524 test -z "$ac_dir" && ac_dir
=.
12525 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12526 lt_cv_path_LD
="$ac_dir/$ac_prog"
12527 # Check to see if the program is GNU ld. I'd rather use --version,
12528 # but apparently some variants of GNU ld only accept -v.
12529 # Break only if it was the GNU/non-GNU ld that we prefer.
12530 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12531 *GNU
* |
*'with BFD'*)
12532 test "$with_gnu_ld" != no
&& break
12535 test "$with_gnu_ld" != yes && break
12542 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12546 LD
="$lt_cv_path_LD"
12547 if test -n "$LD"; then
12548 echo "$as_me:$LINENO: result: $LD" >&5
12549 echo "${ECHO_T}$LD" >&6
12551 echo "$as_me:$LINENO: result: no" >&5
12552 echo "${ECHO_T}no" >&6
12554 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12555 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12556 { (exit 1); exit 1; }; }
12557 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12558 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
12559 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12560 echo $ECHO_N "(cached) $ECHO_C" >&6
12562 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12563 case `$LD -v 2>&1 </dev/null` in
12564 *GNU
* |
*'with BFD'*)
12565 lt_cv_prog_gnu_ld
=yes
12568 lt_cv_prog_gnu_ld
=no
12572 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12573 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
12574 with_gnu_ld
=$lt_cv_prog_gnu_ld
12582 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12583 # archiving commands below assume that GNU ld is being used.
12584 if test "$with_gnu_ld" = yes; then
12585 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12586 archive_expsym_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12588 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12589 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12591 # If archive_cmds runs LD, not CC, wlarc should be empty
12592 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12593 # investigate it a little bit more. (MM)
12596 # ancient GNU ld didn't support --whole-archive et. al.
12597 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12598 $GREP 'no-whole-archive' > /dev
/null
; then
12599 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12601 whole_archive_flag_spec_CXX
=
12607 # A generic and very simple default shared library creation
12608 # command for GNU C++ for the case where it uses the native
12609 # linker, instead of GNU ld. If possible, this setting should
12610 # overridden to take advantage of the native linker features on
12611 # the platform it is being used on.
12612 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12615 # Commands to make compiler produce verbose output that lists
12616 # what "hidden" libraries, object files and flags are used when
12617 # linking a shared library.
12618 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12626 # PORTME: fill in a description of your system's C++ link characteristics
12627 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12628 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12632 # FIXME: insert proper C++ library support
12636 if test "$host_cpu" = ia64
; then
12637 # On IA64, the linker does run time linking by default, so we don't
12638 # have to do anything special.
12639 aix_use_runtimelinking
=no
12640 exp_sym_flag
='-Bexport'
12643 aix_use_runtimelinking
=no
12645 # Test if we are trying to use run time linking or normal
12646 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12647 # need to do runtime linking.
12648 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12649 for ld_flag
in $LDFLAGS; do
12652 aix_use_runtimelinking
=yes
12660 exp_sym_flag
='-bexport'
12661 no_entry_flag
='-bnoentry'
12664 # When large executables or shared objects are built, AIX ld can
12665 # have problems creating the table of contents. If linking a library
12666 # or program results in "error TOC overflow" add -mminimal-toc to
12667 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12668 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12670 archive_cmds_CXX
=''
12671 hardcode_direct_CXX
=yes
12672 hardcode_direct_absolute_CXX
=yes
12673 hardcode_libdir_separator_CXX
=':'
12674 link_all_deplibs_CXX
=yes
12675 file_list_spec_CXX
='${wl}-f,'
12677 if test "$GXX" = yes; then
12678 case $host_os in aix4.
[012]|aix4.
[012].
*)
12679 # We only want to do this on AIX 4.2 and lower, the check
12680 # below for broken collect2 doesn't work under 4.3+
12681 collect2name
=`${CC} -print-prog-name=collect2`
12682 if test -f "$collect2name" &&
12683 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12685 # We have reworked collect2
12688 # We have old collect2
12689 hardcode_direct_CXX
=unsupported
12690 # It fails to find uninstalled libraries when the uninstalled
12691 # path is not listed in the libpath. Setting hardcode_minus_L
12692 # to unsupported forces relinking
12693 hardcode_minus_L_CXX
=yes
12694 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12695 hardcode_libdir_separator_CXX
=
12698 shared_flag
='-shared'
12699 if test "$aix_use_runtimelinking" = yes; then
12700 shared_flag
="$shared_flag "'${wl}-G'
12704 if test "$host_cpu" = ia64
; then
12705 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12706 # chokes on -Wl,-G. The following line is correct:
12709 if test "$aix_use_runtimelinking" = yes; then
12710 shared_flag
='${wl}-G'
12712 shared_flag
='${wl}-bM:SRE'
12717 # It seems that -bexpall does not export symbols beginning with
12718 # underscore (_), so it is better to generate a list of symbols to
12720 always_export_symbols_CXX
=yes
12721 if test "$aix_use_runtimelinking" = yes; then
12722 # Warning - without using the other runtime loading flags (-brtl),
12723 # -berok will link without error, but may produce a broken library.
12724 allow_undefined_flag_CXX
='-berok'
12725 # Determine the default libpath from the value encoded in an empty
12727 if test x
$gcc_no_link = xyes
; then
12728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12730 { (exit 1); exit 1; }; }
12732 cat >conftest.
$ac_ext <<_ACEOF
12735 cat confdefs.h
>>conftest.
$ac_ext
12736 cat >>conftest.
$ac_ext <<_ACEOF
12737 /* end confdefs.h. */
12747 rm -f conftest.
$ac_objext conftest
$ac_exeext
12748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12749 (eval $ac_link) 2>conftest.er1
12751 grep -v '^ *+' conftest.er1
>conftest.err
12753 cat conftest.err
>&5
12754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12755 (exit $ac_status); } &&
12756 { ac_try
='test -z "$ac_cxx_werror_flag"
12757 || test ! -s conftest.err'
12758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12759 (eval $ac_try) 2>&5
12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762 (exit $ac_status); }; } &&
12763 { ac_try
='test -s conftest$ac_exeext'
12764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12765 (eval $ac_try) 2>&5
12767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12768 (exit $ac_status); }; }; then
12770 lt_aix_libpath_sed
='
12771 /Import File Strings/,/^$/ {
12777 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12778 # Check for a 64-bit object if we didn't find anything.
12779 if test -z "$aix_libpath"; then
12780 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12783 echo "$as_me: failed program was:" >&5
12784 sed 's/^/| /' conftest.
$ac_ext >&5
12787 rm -f conftest.err conftest.
$ac_objext \
12788 conftest
$ac_exeext conftest.
$ac_ext
12789 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12791 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12793 archive_expsym_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12795 if test "$host_cpu" = ia64
; then
12796 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12797 allow_undefined_flag_CXX
="-z nodefs"
12798 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12800 # Determine the default libpath from the value encoded in an
12801 # empty executable.
12802 if test x
$gcc_no_link = xyes
; then
12803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12805 { (exit 1); exit 1; }; }
12807 cat >conftest.
$ac_ext <<_ACEOF
12810 cat confdefs.h
>>conftest.
$ac_ext
12811 cat >>conftest.
$ac_ext <<_ACEOF
12812 /* end confdefs.h. */
12822 rm -f conftest.
$ac_objext conftest
$ac_exeext
12823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12824 (eval $ac_link) 2>conftest.er1
12826 grep -v '^ *+' conftest.er1
>conftest.err
12828 cat conftest.err
>&5
12829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12830 (exit $ac_status); } &&
12831 { ac_try
='test -z "$ac_cxx_werror_flag"
12832 || test ! -s conftest.err'
12833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12834 (eval $ac_try) 2>&5
12836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12837 (exit $ac_status); }; } &&
12838 { ac_try
='test -s conftest$ac_exeext'
12839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12840 (eval $ac_try) 2>&5
12842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843 (exit $ac_status); }; }; then
12845 lt_aix_libpath_sed
='
12846 /Import File Strings/,/^$/ {
12852 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12853 # Check for a 64-bit object if we didn't find anything.
12854 if test -z "$aix_libpath"; then
12855 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12858 echo "$as_me: failed program was:" >&5
12859 sed 's/^/| /' conftest.
$ac_ext >&5
12862 rm -f conftest.err conftest.
$ac_objext \
12863 conftest
$ac_exeext conftest.
$ac_ext
12864 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12866 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12867 # Warning - without using the other run time loading flags,
12868 # -berok will link without error, but may produce a broken library.
12869 no_undefined_flag_CXX
=' ${wl}-bernotok'
12870 allow_undefined_flag_CXX
=' ${wl}-berok'
12871 # Exported symbols can be pulled into shared objects from archives
12872 whole_archive_flag_spec_CXX
='$convenience'
12873 archive_cmds_need_lc_CXX
=yes
12874 # This is similar to how AIX traditionally builds its shared
12876 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12882 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12883 allow_undefined_flag_CXX
=unsupported
12884 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12885 # support --undefined. This deserves some investigation. FIXME
12886 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12893 case $cc_basename in
12895 # FIXME: insert proper C++ library support
12901 cygwin
* | mingw
* | pw32
*)
12902 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12903 # as there is no search path for DLLs.
12904 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12905 allow_undefined_flag_CXX
=unsupported
12906 always_export_symbols_CXX
=no
12907 enable_shared_with_static_runtimes_CXX
=yes
12909 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12910 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12911 # If the export-symbols file already is a .def file (1st line
12912 # is EXPORTS), use it as is; otherwise, prepend...
12913 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12914 cp $export_symbols $output_objdir/$soname.def;
12916 echo EXPORTS > $output_objdir/$soname.def;
12917 cat $export_symbols >> $output_objdir/$soname.def;
12919 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12924 darwin
* | rhapsody
*)
12926 rhapsody
* | darwin1.
[012])
12927 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
12930 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
12932 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12935 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
12940 archive_cmds_need_lc_CXX
=no
12941 hardcode_direct_CXX
=no
12942 hardcode_automatic_CXX
=yes
12943 hardcode_shlibpath_var_CXX
=unsupported
12944 whole_archive_flag_spec_CXX
=''
12945 link_all_deplibs_CXX
=yes
12947 if test "$GXX" = yes ; then
12948 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
12949 echo $ECHO_N "(cached) $ECHO_C" >&6
12951 lt_cv_apple_cc_single_mod
=no
12952 if test -z "${LT_MULTI_MODULE}"; then
12953 # By default we will add the -single_module flag. You can override
12954 # by either setting the environment variable LT_MULTI_MODULE
12955 # non-empty at configure time, or by adding -multi-module to the
12957 echo "int foo(void){return 1;}" > conftest.c
12958 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
12959 -dynamiclib ${wl}-single_module conftest.c
12960 if test -f libconftest.dylib
; then
12961 lt_cv_apple_cc_single_mod
=yes
12962 rm libconftest.dylib
12964 rm conftest.
$ac_ext
12968 output_verbose_link_cmd
=echo
12969 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
12970 archive_cmds_CXX
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12971 archive_expsym_cmds_CXX
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12973 archive_cmds_CXX
='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12974 archive_expsym_cmds_CXX
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12976 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12977 module_expsym_cmds_CXX
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12979 case $cc_basename in
12981 output_verbose_link_cmd
=echo
12982 archive_cmds_CXX
='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO "$rpath/$soname"` $verstring'
12983 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12984 # Don't fix this by using the ld -exported_symbols_list flag,
12985 # it doesn't exist in older darwin lds
12986 archive_expsym_cmds_CXX
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12987 module_expsym_cmds_CXX
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12997 case $cc_basename in
12999 # FIXME: insert proper C++ library support
13003 # Green Hills C++ Compiler
13004 # FIXME: insert proper C++ library support
13008 # FIXME: insert proper C++ library support
13015 # C++ shared libraries reported to be fairly broken before
13021 archive_cmds_need_lc_CXX
=no
13024 freebsd
* | dragonfly
*)
13025 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13034 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13035 hardcode_libdir_separator_CXX
=:
13036 export_dynamic_flag_spec_CXX
='${wl}-E'
13037 hardcode_direct_CXX
=yes
13038 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13039 # but as the default
13040 # location of the library.
13042 case $cc_basename in
13044 # FIXME: insert proper C++ library support
13048 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13049 # Commands to make compiler produce verbose output that lists
13050 # what "hidden" libraries, object files and flags are used when
13051 # linking a shared library.
13053 # There doesn't appear to be a way to prevent this compiler from
13054 # explicitly linking system object files so we need to strip them
13055 # from the output so that they don't get included in the library
13057 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13060 if test "$GXX" = yes; then
13061 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13063 # FIXME: insert proper C++ library support
13071 if test $with_gnu_ld = no
; then
13072 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13073 hardcode_libdir_separator_CXX
=:
13079 export_dynamic_flag_spec_CXX
='${wl}-E'
13085 hardcode_direct_CXX
=no
13086 hardcode_shlibpath_var_CXX
=no
13089 hardcode_direct_CXX
=yes
13090 hardcode_direct_absolute_CXX
=yes
13091 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13092 # but as the default
13093 # location of the library.
13097 case $cc_basename in
13099 # FIXME: insert proper C++ library support
13105 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13108 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13111 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13114 # Commands to make compiler produce verbose output that lists
13115 # what "hidden" libraries, object files and flags are used when
13116 # linking a shared library.
13118 # There doesn't appear to be a way to prevent this compiler from
13119 # explicitly linking system object files so we need to strip them
13120 # from the output so that they don't get included in the library
13122 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13125 if test "$GXX" = yes; then
13126 if test $with_gnu_ld = no
; then
13129 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13132 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13135 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13140 # FIXME: insert proper C++ library support
13148 hardcode_direct_CXX
=no
13149 hardcode_shlibpath_var_CXX
=no
13150 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13151 export_dynamic_flag_spec_CXX
='${wl}-E'
13152 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13153 # Instead, shared libraries are loaded at an image base (0x10000000 by
13154 # default) and relocated if they conflict, which is a slow very memory
13155 # consuming and fragmenting process. To avoid this, we pick a random,
13156 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13157 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13158 archive_cmds_CXX
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13159 archive_expsym_cmds_CXX
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13162 case $cc_basename in
13165 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13167 # Archives containing C++ object files must be created using
13168 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13169 # necessary to make sure instantiated templates are included
13171 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13174 if test "$GXX" = yes; then
13175 if test "$with_gnu_ld" = no
; then
13176 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13178 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
13181 link_all_deplibs_CXX
=yes
13184 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13185 hardcode_libdir_separator_CXX
=:
13186 inherit_rpath_CXX
=yes
13189 linux
* | k
*bsd
*-gnu)
13190 case $cc_basename in
13192 # Kuck and Associates, Inc. (KAI) C++ Compiler
13194 # KCC will only create a shared library if the output file
13195 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13196 # to its proper name (with version) after linking.
13197 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13198 archive_expsym_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
13199 # Commands to make compiler produce verbose output that lists
13200 # what "hidden" libraries, object files and flags are used when
13201 # linking a shared library.
13203 # There doesn't appear to be a way to prevent this compiler from
13204 # explicitly linking system object files so we need to strip them
13205 # from the output so that they don't get included in the library
13207 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13209 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13210 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13212 # Archives containing C++ object files must be created using
13213 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13214 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13219 # version 8.0 and above of icpc choke on multiply defined symbols
13220 # if we add $predep_objects and $postdep_objects, however 7.1 and
13221 # earlier do not add the objects themselves.
13222 case `$CC -V 2>&1` in
13224 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13225 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13227 *) # Version 8.0 or newer
13230 ia64
*) tmp_idyn
=' -i_dynamic';;
13232 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13233 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13236 archive_cmds_need_lc_CXX
=no
13237 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13238 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13239 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13242 # Portland Group C++ compiler
13245 prelink_cmds_CXX
='tpldir=Template.dir~
13247 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13248 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13249 old_archive_cmds_CXX
='tpldir=Template.dir~
13251 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13252 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13254 archive_cmds_CXX
='tpldir=Template.dir~
13256 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13257 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13258 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13260 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13261 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13263 *) # Version 6 will use weak symbols
13264 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13265 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13269 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13270 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13271 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
13275 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13276 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
13278 runpath_var
=LD_RUN_PATH
13279 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13280 hardcode_libdir_separator_CXX
=:
13282 # Commands to make compiler produce verbose output that lists
13283 # what "hidden" libraries, object files and flags are used when
13284 # linking a shared library.
13286 # There doesn't appear to be a way to prevent this compiler from
13287 # explicitly linking system object files so we need to strip them
13288 # from the output so that they don't get included in the library
13290 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13293 case `$CC -V 2>&1 | sed 5q` in
13296 no_undefined_flag_CXX
=' -zdefs'
13297 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13298 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13299 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13300 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
13301 compiler_needs_object_CXX
=yes
13303 # Not sure whether something based on
13304 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13306 output_verbose_link_cmd
='echo'
13308 # Archives containing C++ object files must be created using
13309 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13310 # necessary to make sure instantiated templates are included
13312 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13320 # FIXME: insert proper C++ library support
13325 # FIXME: insert proper C++ library support
13330 case $cc_basename in
13332 # FIXME: insert proper C++ library support
13336 # FIXME: insert proper C++ library support
13343 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13344 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13346 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13347 hardcode_direct_CXX
=yes
13348 hardcode_shlibpath_var_CXX
=no
13350 # Workaround some broken pre-1.5 toolchains
13351 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13359 # C++ shared libraries are fairly broken
13364 hardcode_direct_CXX
=yes
13365 hardcode_shlibpath_var_CXX
=no
13366 hardcode_direct_absolute_CXX
=yes
13367 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13368 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13369 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13370 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13371 export_dynamic_flag_spec_CXX
='${wl}-E'
13372 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13374 output_verbose_link_cmd
=echo
13377 osf3
* | osf4
* | osf5
*)
13378 case $cc_basename in
13380 # Kuck and Associates, Inc. (KAI) C++ Compiler
13382 # KCC will only create a shared library if the output file
13383 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13384 # to its proper name (with version) after linking.
13385 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13387 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13388 hardcode_libdir_separator_CXX
=:
13390 # Archives containing C++ object files must be created using
13391 # the KAI C++ compiler.
13393 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13394 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13398 # Rational C++ 2.4.1
13399 # FIXME: insert proper C++ library support
13405 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13406 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13407 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13410 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13411 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13412 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13413 echo "-hidden">> $lib.exp~
13414 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
13416 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13420 hardcode_libdir_separator_CXX
=:
13422 # Commands to make compiler produce verbose output that lists
13423 # what "hidden" libraries, object files and flags are used when
13424 # linking a shared library.
13426 # There doesn't appear to be a way to prevent this compiler from
13427 # explicitly linking system object files so we need to strip them
13428 # from the output so that they don't get included in the library
13430 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13433 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13434 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13437 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13440 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13444 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13445 hardcode_libdir_separator_CXX
=:
13447 # Commands to make compiler produce verbose output that lists
13448 # what "hidden" libraries, object files and flags are used when
13449 # linking a shared library.
13450 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13453 # FIXME: insert proper C++ library support
13461 # FIXME: insert proper C++ library support
13466 case $cc_basename in
13469 # FIXME: insert proper C++ library support
13474 # FIXME: insert proper C++ library support
13478 # FIXME: insert proper C++ library support
13485 case $cc_basename in
13487 # Sun C++ 4.2, 5.x and Centerline C++
13488 archive_cmds_need_lc_CXX
=yes
13489 no_undefined_flag_CXX
=' -zdefs'
13490 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13491 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13492 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13494 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13495 hardcode_shlibpath_var_CXX
=no
13497 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13499 # The compiler driver will combine and reorder linker options,
13500 # but understands `-z linker_flag'.
13501 # Supported since Solaris 2.6 (maybe 2.5.1?)
13502 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13505 link_all_deplibs_CXX
=yes
13507 output_verbose_link_cmd
='echo'
13509 # Archives containing C++ object files must be created using
13510 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13511 # necessary to make sure instantiated templates are included
13513 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13516 # Green Hills C++ Compiler
13517 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13519 # The C++ compiler must be used to create the archive.
13520 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13523 # GNU C++ compiler with Solaris linker
13524 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13525 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13526 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13527 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13528 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13529 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13531 # Commands to make compiler produce verbose output that lists
13532 # what "hidden" libraries, object files and flags are used when
13533 # linking a shared library.
13534 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13536 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13538 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13539 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13540 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13542 # Commands to make compiler produce verbose output that lists
13543 # what "hidden" libraries, object files and flags are used when
13544 # linking a shared library.
13545 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13548 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13550 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13552 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13560 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13561 no_undefined_flag_CXX
='${wl}-z,text'
13562 archive_cmds_need_lc_CXX
=no
13563 hardcode_shlibpath_var_CXX
=no
13564 runpath_var
='LD_RUN_PATH'
13566 case $cc_basename in
13568 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13569 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13572 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13573 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13578 sysv5
* | sco3.2v5
* | sco5v6
*)
13579 # Note: We can NOT use -z defs as we might desire, because we do not
13580 # link with -lc, and that would cause any symbols used from libc to
13581 # always be unresolved, which means just about no library would
13582 # ever link correctly. If we're not using GNU ld we use -z text
13583 # though, which does catch some bad symbols but isn't as heavy-handed
13585 no_undefined_flag_CXX
='${wl}-z,text'
13586 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13587 archive_cmds_need_lc_CXX
=no
13588 hardcode_shlibpath_var_CXX
=no
13589 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13590 hardcode_libdir_separator_CXX
=':'
13591 link_all_deplibs_CXX
=yes
13592 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13593 runpath_var
='LD_RUN_PATH'
13595 case $cc_basename in
13597 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13598 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13601 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13602 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13608 case $cc_basename in
13610 # NonStop-UX NCC 3.20
13611 # FIXME: insert proper C++ library support
13615 # FIXME: insert proper C++ library support
13622 # FIXME: insert proper C++ library support
13627 # FIXME: insert proper C++ library support
13632 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13633 echo "${ECHO_T}$ld_shlibs_CXX" >&6
13634 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13640 ## There is no encapsulation within the following macros, do not change
13641 ## the running order or otherwise move them around unless you know exactly
13642 ## what you are doing...
13643 # Dependencies to place before and after the object being linked:
13644 predep_objects_CXX
=
13645 postdep_objects_CXX
=
13648 compiler_lib_search_path_CXX
=
13650 cat > conftest.
$ac_ext <<_LT_EOF
13654 Foo (void) { a = 0; }
13660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13661 (eval $ac_compile) 2>&5
13663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13664 (exit $ac_status); }; then
13665 # Parse the compiler output and extract the necessary
13666 # objects, libraries and library flags.
13668 # Sentinel used to keep track of whether or not we are before
13669 # the conftest object file.
13670 pre_test_object_deps_done
=no
13672 # The `*' in the case matches for architectures that use `case' in
13673 # $output_verbose_cmd can trigger glob expansion during the loop
13674 # eval without this substitution.
13675 output_verbose_link_cmd
=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
13677 for p
in `eval $output_verbose_link_cmd`; do
13681 # Some compilers place space between "-{L,R}" and the path.
13682 # Remove the space.
13683 if test $p = "-L" ||
13684 test $p = "-R"; then
13691 if test "$pre_test_object_deps_done" = no
; then
13694 # Internal compiler library paths should come after those
13695 # provided the user. The postdeps already come after the
13696 # user supplied libs so there is no need to process them.
13697 if test -z "$compiler_lib_search_path_CXX"; then
13698 compiler_lib_search_path_CXX
="${prev}${p}"
13700 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13703 # The "-l" case would never come before the object being
13704 # linked, so don't bother handling this case.
13707 if test -z "$postdeps_CXX"; then
13708 postdeps_CXX
="${prev}${p}"
13710 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13716 # This assumes that the test object file only shows up
13717 # once in the compiler output.
13718 if test "$p" = "conftest.$objext"; then
13719 pre_test_object_deps_done
=yes
13723 if test "$pre_test_object_deps_done" = no
; then
13724 if test -z "$predep_objects_CXX"; then
13725 predep_objects_CXX
="$p"
13727 predep_objects_CXX
="$predep_objects_CXX $p"
13730 if test -z "$postdep_objects_CXX"; then
13731 postdep_objects_CXX
="$p"
13733 postdep_objects_CXX
="$postdep_objects_CXX $p"
13738 *) ;; # Ignore the rest.
13746 echo "libtool.m4: error: problem compiling CXX test program"
13749 $RM -f confest.
$objext
13751 # PORTME: override above test on systems where it is broken
13754 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13755 # hack all around it, let's just trust "g++" to DTRT.
13756 predep_objects_CXX
=
13757 postdep_objects_CXX
=
13762 case `$CC -V 2>&1 | sed 5q` in
13766 # The more standards-conforming stlport4 library is
13767 # incompatible with the Cstd library. Avoid specifying
13768 # it if it's in CXXFLAGS. Ignore libCrun as
13769 # -library=stlport4 depends on it.
13770 case " $CXX $CXXFLAGS " in
13771 *" -library=stlport4 "*)
13772 solaris_use_stlport4
=yes
13776 if test "$solaris_use_stlport4" != yes; then
13777 postdeps_CXX
='-library=Cstd -library=Crun'
13784 case $cc_basename in
13786 # The more standards-conforming stlport4 library is
13787 # incompatible with the Cstd library. Avoid specifying
13788 # it if it's in CXXFLAGS. Ignore libCrun as
13789 # -library=stlport4 depends on it.
13790 case " $CXX $CXXFLAGS " in
13791 *" -library=stlport4 "*)
13792 solaris_use_stlport4
=yes
13796 # Adding this requires a known-good setup of shared libraries for
13797 # Sun compiler versions before 5.6, else PIC objects from an old
13798 # archive will be linked into the output, leading to subtle bugs.
13799 if test "$solaris_use_stlport4" != yes; then
13800 postdeps_CXX
='-library=Cstd -library=Crun'
13808 case " $postdeps_CXX " in
13809 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13837 lt_prog_compiler_wl_CXX
=
13838 lt_prog_compiler_pic_CXX
=
13839 lt_prog_compiler_static_CXX
=
13841 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13842 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13844 # C++ specific cases for pic, static, wl, etc.
13845 if test "$GXX" = yes; then
13846 lt_prog_compiler_wl_CXX
='-Wl,'
13847 lt_prog_compiler_static_CXX
='-static'
13851 # All AIX code is PIC.
13852 if test "$host_cpu" = ia64
; then
13853 # AIX 5 now supports IA64 processor
13854 lt_prog_compiler_static_CXX
='-Bstatic'
13858 if test "$host_cpu" = m68k
; then
13859 # FIXME: we need at least 68020 code to build shared libraries, but
13860 # adding the `-m68020' flag to GCC prevents building anything better,
13862 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13865 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13866 # PIC is the default for these OSes.
13868 mingw
* | cygwin
* | os2
* | pw32
*)
13869 # This hack is so that the source file can tell whether it is being
13870 # built for inclusion in a dll (and should export symbols for example).
13871 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13872 # (--disable-auto-import) libraries
13873 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13875 darwin
* | rhapsody
*)
13876 # PIC is the default on this platform
13877 # Common symbols not allowed in MH_DYLIB files
13878 lt_prog_compiler_pic_CXX
='-fno-common'
13881 # DJGPP does not support shared libraries at all
13882 lt_prog_compiler_pic_CXX
=
13885 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13886 # Instead, we relocate shared libraries at runtime.
13889 if test -d /usr
/nec
; then
13890 lt_prog_compiler_pic_CXX
=-Kconform_pic
13894 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13895 # not for PA HP-UX.
13900 lt_prog_compiler_pic_CXX
='-fPIC'
13905 # QNX uses GNU C++, but need to define -shared option too, otherwise
13906 # it will coredump.
13907 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13910 lt_prog_compiler_pic_CXX
='-fPIC'
13916 # All AIX code is PIC.
13917 if test "$host_cpu" = ia64
; then
13918 # AIX 5 now supports IA64 processor
13919 lt_prog_compiler_static_CXX
='-Bstatic'
13921 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13925 case $cc_basename in
13927 # Green Hills C++ Compiler
13928 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13933 # PIC is the default on this platform
13934 # Common symbols not allowed in MH_DYLIB files
13935 case $cc_basename in
13937 lt_prog_compiler_pic_CXX
='-qnocommon'
13938 lt_prog_compiler_wl_CXX
='-Wl,'
13943 case $cc_basename in
13945 lt_prog_compiler_pic_CXX
='-KPIC'
13948 # Green Hills C++ Compiler
13949 lt_prog_compiler_pic_CXX
='-pic'
13955 freebsd
* | dragonfly
*)
13956 # FreeBSD uses GNU C++
13958 hpux9
* | hpux10
* | hpux11
*)
13959 case $cc_basename in
13961 lt_prog_compiler_wl_CXX
='-Wl,'
13962 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13963 if test "$host_cpu" != ia64
; then
13964 lt_prog_compiler_pic_CXX
='+Z'
13968 lt_prog_compiler_wl_CXX
='-Wl,'
13969 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13975 lt_prog_compiler_pic_CXX
='+Z'
13984 # This is c89, which is MS Visual C++ (no shared libs)
13985 # Anyone wants to do a port?
13987 irix5
* | irix6
* | nonstopux
*)
13988 case $cc_basename in
13990 lt_prog_compiler_wl_CXX
='-Wl,'
13991 lt_prog_compiler_static_CXX
='-non_shared'
13992 # CC pic flag -KPIC is the default.
13998 linux
* | k
*bsd
*-gnu)
13999 case $cc_basename in
14002 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14003 lt_prog_compiler_pic_CXX
='-fPIC'
14007 lt_prog_compiler_wl_CXX
='-Wl,'
14008 lt_prog_compiler_pic_CXX
='-KPIC'
14009 lt_prog_compiler_static_CXX
='-static'
14012 # Portland Group C++ compiler
14013 lt_prog_compiler_wl_CXX
='-Wl,'
14014 lt_prog_compiler_pic_CXX
='-fpic'
14015 lt_prog_compiler_static_CXX
='-Bstatic'
14019 # Make sure the PIC flag is empty. It appears that all Alpha
14020 # Linux and Compaq Tru64 Unix objects are PIC.
14021 lt_prog_compiler_pic_CXX
=
14022 lt_prog_compiler_static_CXX
='-non_shared'
14025 case `$CC -V 2>&1 | sed 5q` in
14028 lt_prog_compiler_pic_CXX
='-KPIC'
14029 lt_prog_compiler_static_CXX
='-Bstatic'
14030 lt_prog_compiler_wl_CXX
='-Qoption ld '
14041 case $cc_basename in
14043 lt_prog_compiler_pic_CXX
='-W c,exportall'
14052 # QNX uses GNU C++, but need to define -shared option too, otherwise
14053 # it will coredump.
14054 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14056 osf3
* | osf4
* | osf5
*)
14057 case $cc_basename in
14059 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14062 # Rational C++ 2.4.1
14063 lt_prog_compiler_pic_CXX
='-pic'
14066 # Digital/Compaq C++
14067 lt_prog_compiler_wl_CXX
='-Wl,'
14068 # Make sure the PIC flag is empty. It appears that all Alpha
14069 # Linux and Compaq Tru64 Unix objects are PIC.
14070 lt_prog_compiler_pic_CXX
=
14071 lt_prog_compiler_static_CXX
='-non_shared'
14080 case $cc_basename in
14082 # Sun C++ 4.2, 5.x and Centerline C++
14083 lt_prog_compiler_pic_CXX
='-KPIC'
14084 lt_prog_compiler_static_CXX
='-Bstatic'
14085 lt_prog_compiler_wl_CXX
='-Qoption ld '
14088 # Green Hills C++ Compiler
14089 lt_prog_compiler_pic_CXX
='-PIC'
14096 case $cc_basename in
14099 lt_prog_compiler_pic_CXX
='-pic'
14100 lt_prog_compiler_static_CXX
='-Bstatic'
14104 lt_prog_compiler_pic_CXX
='-pic'
14110 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14111 case $cc_basename in
14113 lt_prog_compiler_wl_CXX
='-Wl,'
14114 lt_prog_compiler_pic_CXX
='-KPIC'
14115 lt_prog_compiler_static_CXX
='-Bstatic'
14120 case $cc_basename in
14122 # NonStop-UX NCC 3.20
14123 lt_prog_compiler_pic_CXX
='-KPIC'
14132 lt_prog_compiler_can_build_shared_CXX
=no
14138 # For platforms which do not support PIC, -DPIC is meaningless:
14140 lt_prog_compiler_pic_CXX
=
14143 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14146 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14147 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
14152 # Check to make sure the PIC flag actually works.
14154 if test -n "$lt_prog_compiler_pic_CXX"; then
14155 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14156 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
14157 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
14158 echo $ECHO_N "(cached) $ECHO_C" >&6
14160 lt_prog_compiler_pic_works_CXX
=no
14161 ac_outfile
=conftest.
$ac_objext
14162 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14163 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14164 # Insert the option either (1) after the last *FLAGS variable, or
14165 # (2) before a word containing "conftest.", or (3) at the end.
14166 # Note that $ac_compile itself does not contain backslashes and begins
14167 # with a dollar sign (not a hyphen), so the echo should work correctly.
14168 # The option is referenced via a variable to avoid confusing sed.
14169 lt_compile
=`echo "$ac_compile" | $SED \
14170 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14171 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14172 -e 's:$: $lt_compiler_flag:'`
14173 (eval echo "\"\$as_me:14173: $lt_compile\"" >&5)
14174 (eval "$lt_compile" 2>conftest.err
)
14176 cat conftest.err
>&5
14177 echo "$as_me:14177: \$? = $ac_status" >&5
14178 if (exit $ac_status) && test -s "$ac_outfile"; then
14179 # The compiler can only warn and ignore the option if not recognized
14180 # So say no if there are warnings other than the usual output.
14181 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14182 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14183 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14184 lt_prog_compiler_pic_works_CXX
=yes
14190 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
14191 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
14193 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
14194 case $lt_prog_compiler_pic_CXX in
14196 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14199 lt_prog_compiler_pic_CXX
=
14200 lt_prog_compiler_can_build_shared_CXX
=no
14208 # Check to make sure the static flag actually works.
14210 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14211 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14212 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
14213 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
14214 echo $ECHO_N "(cached) $ECHO_C" >&6
14216 lt_prog_compiler_static_works_CXX
=no
14217 save_LDFLAGS
="$LDFLAGS"
14218 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14219 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14220 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14221 # The linker can only warn and ignore the option if not recognized
14222 # So say no if there are warnings
14223 if test -s conftest.err
; then
14224 # Append any errors to the config.log.
14225 cat conftest.err
1>&5
14226 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14227 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14228 if diff conftest.exp conftest.er2
>/dev
/null
; then
14229 lt_prog_compiler_static_works_CXX
=yes
14232 lt_prog_compiler_static_works_CXX
=yes
14236 LDFLAGS
="$save_LDFLAGS"
14239 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
14240 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
14242 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
14245 lt_prog_compiler_static_CXX
=
14251 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14252 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
14253 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14254 echo $ECHO_N "(cached) $ECHO_C" >&6
14256 lt_cv_prog_compiler_c_o_CXX
=no
14257 $RM -r conftest
2>/dev
/null
14261 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14263 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14264 # Insert the option either (1) after the last *FLAGS variable, or
14265 # (2) before a word containing "conftest.", or (3) at the end.
14266 # Note that $ac_compile itself does not contain backslashes and begins
14267 # with a dollar sign (not a hyphen), so the echo should work correctly.
14268 lt_compile
=`echo "$ac_compile" | $SED \
14269 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14270 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14271 -e 's:$: $lt_compiler_flag:'`
14272 (eval echo "\"\$as_me:14272: $lt_compile\"" >&5)
14273 (eval "$lt_compile" 2>out
/conftest.err
)
14275 cat out
/conftest.err
>&5
14276 echo "$as_me:14276: \$? = $ac_status" >&5
14277 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14279 # The compiler can only warn and ignore the option if not recognized
14280 # So say no if there are warnings
14281 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14282 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14283 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14284 lt_cv_prog_compiler_c_o_CXX
=yes
14289 # SGI C++ compiler will create directory out/ii_files/ for
14290 # template instantiation
14291 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14292 $RM out
/* && rmdir out
14298 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14299 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
14303 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14304 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
14305 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14306 echo $ECHO_N "(cached) $ECHO_C" >&6
14308 lt_cv_prog_compiler_c_o_CXX
=no
14309 $RM -r conftest
2>/dev
/null
14313 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14315 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14316 # Insert the option either (1) after the last *FLAGS variable, or
14317 # (2) before a word containing "conftest.", or (3) at the end.
14318 # Note that $ac_compile itself does not contain backslashes and begins
14319 # with a dollar sign (not a hyphen), so the echo should work correctly.
14320 lt_compile
=`echo "$ac_compile" | $SED \
14321 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14322 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14323 -e 's:$: $lt_compiler_flag:'`
14324 (eval echo "\"\$as_me:14324: $lt_compile\"" >&5)
14325 (eval "$lt_compile" 2>out
/conftest.err
)
14327 cat out
/conftest.err
>&5
14328 echo "$as_me:14328: \$? = $ac_status" >&5
14329 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14331 # The compiler can only warn and ignore the option if not recognized
14332 # So say no if there are warnings
14333 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14334 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14335 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14336 lt_cv_prog_compiler_c_o_CXX
=yes
14341 # SGI C++ compiler will create directory out/ii_files/ for
14342 # template instantiation
14343 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14344 $RM out
/* && rmdir out
14350 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14351 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
14356 hard_links
="nottested"
14357 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14358 # do not overwrite the value of need_locks provided by the user
14359 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14360 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
14363 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14365 ln conftest.a conftest.b
2>&5 || hard_links
=no
14366 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14367 echo "$as_me:$LINENO: result: $hard_links" >&5
14368 echo "${ECHO_T}$hard_links" >&6
14369 if test "$hard_links" = no
; then
14370 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14371 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14380 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14381 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
14383 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14386 # If we're using GNU nm, then we don't want the "-C" option.
14387 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14388 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14389 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14391 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14395 export_symbols_cmds_CXX
="$ltdll_cmds"
14398 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14401 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14405 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14406 echo "${ECHO_T}$ld_shlibs_CXX" >&6
14407 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14409 with_gnu_ld_CXX
=$with_gnu_ld
14417 # Do we need to explicitly link libc?
14419 case "x$archive_cmds_need_lc_CXX" in
14421 # Assume -lc should be added
14422 archive_cmds_need_lc_CXX
=yes
14424 if test "$enable_shared" = yes && test "$GCC" = yes; then
14425 case $archive_cmds_CXX in
14427 # FIXME: we may have to deal with multi-command sequences.
14430 # Test whether the compiler implicitly links with -lc since on some
14431 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14432 # to ld, don't add -lc before -lgcc.
14433 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14434 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14436 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14439 (eval $ac_compile) 2>&5
14441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14442 (exit $ac_status); } 2>conftest.err
; then
14445 libobjs
=conftest.
$ac_objext
14447 wl
=$lt_prog_compiler_wl_CXX
14448 pic_flag
=$lt_prog_compiler_pic_CXX
14454 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14455 allow_undefined_flag_CXX
=
14456 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
14457 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14460 (exit $ac_status); }
14462 archive_cmds_need_lc_CXX
=no
14464 archive_cmds_need_lc_CXX
=yes
14466 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14468 cat conftest.err
1>&5
14471 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14472 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
14542 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14543 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14545 library_names_spec
=
14546 libname_spec
='lib$name'
14550 postuninstall_cmds
=
14554 shlibpath_overrides_runpath
=unknown
14556 dynamic_linker
="$host_os ld.so"
14557 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14558 need_lib_prefix
=unknown
14559 hardcode_into_libs
=no
14561 # when you set need_version to no, make sure it does not cause -set_version
14562 # flags to be left without arguments
14563 need_version
=unknown
14568 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14569 shlibpath_var
=LIBPATH
14571 # AIX 3 has no versioning support, so we append a major version to the name.
14572 soname_spec
='${libname}${release}${shared_ext}$major'
14579 hardcode_into_libs
=yes
14580 if test "$host_cpu" = ia64
; then
14581 # AIX 5 supports IA64
14582 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14583 shlibpath_var
=LD_LIBRARY_PATH
14585 # With GCC up to 2.95.x, collect2 would create an import file
14586 # for dependence libraries. The import file would start with
14587 # the line `#! .'. This would cause the generated library to
14588 # depend on `.', always an invalid library. This was fixed in
14589 # development snapshots of GCC prior to 3.0.
14591 aix4 | aix4.
[01] | aix4.
[01].
*)
14592 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14594 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14597 can_build_shared
=no
14601 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14602 # soname into executable. Probably we can add versioning support to
14603 # collect2, so additional links can be useful in future.
14604 if test "$aix_use_runtimelinking" = yes; then
14605 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14606 # instead of lib<name>.a to let people know that these are not
14607 # typical AIX shared libraries.
14608 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14610 # We preserve .a as extension for shared libraries through AIX4.2
14611 # and later when we are not doing run time linking.
14612 library_names_spec
='${libname}${release}.a $libname.a'
14613 soname_spec
='${libname}${release}${shared_ext}$major'
14615 shlibpath_var
=LIBPATH
14620 if test "$host_cpu" = m68k
; then
14621 library_names_spec
='$libname.ixlibrary $libname.a'
14622 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14623 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14630 library_names_spec
='${libname}${shared_ext}'
14631 dynamic_linker
="$host_os ld.so"
14632 shlibpath_var
=LIBRARY_PATH
14638 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14639 soname_spec
='${libname}${release}${shared_ext}$major'
14640 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14641 shlibpath_var
=LD_LIBRARY_PATH
14642 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14643 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14644 # the default ld.so.conf also contains /usr/contrib/lib and
14645 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14646 # libtool to hard-code these into programs
14649 cygwin
* | mingw
* | pw32
*)
14650 version_type
=windows
14655 case $withGCC,$host_os in
14656 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14657 library_names_spec
='$libname.dll.a'
14658 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14659 postinstall_cmds
='base_file=`basename \${file}`~
14660 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14661 dldir=$destdir/`dirname \$dlpath`~
14662 test -d \$dldir || mkdir -p \$dldir~
14663 $install_prog $dir/$dlname \$dldir/$dlname~
14664 chmod a+x \$dldir/$dlname~
14665 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14666 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14668 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14669 dlpath=$dir/\$dldll~
14671 shlibpath_overrides_runpath
=yes
14675 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14676 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14677 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14680 # MinGW DLLs use traditional 'lib' prefix
14681 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14682 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14683 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
14684 # It is most probably a Windows format PATH printed by
14685 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14686 # path with ; separators, and with drive letters. We can handle the
14687 # drive letters (cygwin fileutils understands them), so leave them,
14688 # especially as we might pass files found there to a mingw objdump,
14689 # which wouldn't understand a cygwinified path. Ahh.
14690 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14692 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14696 # pw32 DLLs use 'pw' prefix rather than 'lib'
14697 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14703 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14706 dynamic_linker
='Win32 ld.exe'
14707 # FIXME: first we should search . and the directory the executable is in
14711 darwin
* | rhapsody
*)
14712 dynamic_linker
="$host_os dyld"
14713 version_type
=darwin
14716 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14717 soname_spec
='${libname}${release}${major}$shared_ext'
14718 shlibpath_overrides_runpath
=yes
14719 shlibpath_var
=DYLD_LIBRARY_PATH
14720 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14722 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14729 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14730 soname_spec
='${libname}${release}${shared_ext}$major'
14731 shlibpath_var
=LD_LIBRARY_PATH
14738 freebsd
* | dragonfly
*)
14739 # DragonFly does not have aout. When/if they implement a new
14740 # versioning mechanism, adjust this.
14741 if test -x /usr
/bin
/objformat
; then
14742 objformat
=`/usr/bin/objformat`
14745 freebsd
[123]*) objformat
=aout
;;
14746 *) objformat
=elf
;;
14749 version_type
=freebsd-
$objformat
14750 case $version_type in
14752 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14757 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14761 shlibpath_var
=LD_LIBRARY_PATH
14764 shlibpath_overrides_runpath
=yes
14766 freebsd3.
[01]* | freebsdelf3.
[01]*)
14767 shlibpath_overrides_runpath
=yes
14768 hardcode_into_libs
=yes
14770 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14771 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14772 shlibpath_overrides_runpath
=no
14773 hardcode_into_libs
=yes
14775 *) # from 4.6 on, and DragonFly
14776 shlibpath_overrides_runpath
=yes
14777 hardcode_into_libs
=yes
14786 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14787 soname_spec
='${libname}${release}${shared_ext}$major'
14788 shlibpath_var
=LD_LIBRARY_PATH
14789 hardcode_into_libs
=yes
14792 hpux9
* | hpux10
* | hpux11
*)
14793 # Give a soname corresponding to the major version so that dld.sl refuses to
14794 # link against other versions.
14801 hardcode_into_libs
=yes
14802 dynamic_linker
="$host_os dld.so"
14803 shlibpath_var
=LD_LIBRARY_PATH
14804 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14805 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14806 soname_spec
='${libname}${release}${shared_ext}$major'
14807 if test "X$HPUX_IA64_MODE" = X32
; then
14808 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14810 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14812 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14816 hardcode_into_libs
=yes
14817 dynamic_linker
="$host_os dld.sl"
14818 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14819 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14820 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14821 soname_spec
='${libname}${release}${shared_ext}$major'
14822 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14823 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14827 dynamic_linker
="$host_os dld.sl"
14828 shlibpath_var
=SHLIB_PATH
14829 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14830 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14831 soname_spec
='${libname}${release}${shared_ext}$major'
14834 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14835 postinstall_cmds
='chmod 555 $lib'
14842 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14843 soname_spec
='${libname}${release}${shared_ext}$major'
14844 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14845 shlibpath_var
=LD_LIBRARY_PATH
14846 shlibpath_overrides_runpath
=no
14847 hardcode_into_libs
=yes
14850 irix5
* | irix6
* | nonstopux
*)
14852 nonstopux
*) version_type
=nonstopux
;;
14854 if test "$lt_cv_prog_gnu_ld" = yes; then
14862 soname_spec
='${libname}${release}${shared_ext}$major'
14863 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14865 irix5
* | nonstopux
*)
14866 libsuff
= shlibsuff
=
14869 case $LD in # libtool.m4 will add one of these switches to LD
14870 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14871 libsuff
= shlibsuff
= libmagic
=32-bit;;
14872 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14873 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14874 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14875 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14876 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14880 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14881 shlibpath_overrides_runpath
=no
14882 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14883 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14884 hardcode_into_libs
=yes
14887 # No shared lib support for Linux oldld, aout, or coff.
14888 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14892 # This must be Linux ELF.
14893 linux
* | k
*bsd
*-gnu)
14897 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14898 soname_spec
='${libname}${release}${shared_ext}$major'
14899 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14900 shlibpath_var
=LD_LIBRARY_PATH
14901 shlibpath_overrides_runpath
=no
14902 # Some binutils ld are patched to set DT_RUNPATH
14903 save_LDFLAGS
=$LDFLAGS
14904 save_libdir
=$libdir
14905 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14906 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14907 if test x
$gcc_no_link = xyes
; then
14908 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14910 { (exit 1); exit 1; }; }
14912 cat >conftest.
$ac_ext <<_ACEOF
14915 cat confdefs.h
>>conftest.
$ac_ext
14916 cat >>conftest.
$ac_ext <<_ACEOF
14917 /* end confdefs.h. */
14927 rm -f conftest.
$ac_objext conftest
$ac_exeext
14928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14929 (eval $ac_link) 2>conftest.er1
14931 grep -v '^ *+' conftest.er1
>conftest.err
14933 cat conftest.err
>&5
14934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14935 (exit $ac_status); } &&
14936 { ac_try
='test -z "$ac_cxx_werror_flag"
14937 || test ! -s conftest.err'
14938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14939 (eval $ac_try) 2>&5
14941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14942 (exit $ac_status); }; } &&
14943 { ac_try
='test -s conftest$ac_exeext'
14944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14945 (eval $ac_try) 2>&5
14947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948 (exit $ac_status); }; }; then
14949 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
14950 shlibpath_overrides_runpath
=yes
14954 echo "$as_me: failed program was:" >&5
14955 sed 's/^/| /' conftest.
$ac_ext >&5
14958 rm -f conftest.err conftest.
$ac_objext \
14959 conftest
$ac_exeext conftest.
$ac_ext
14960 LDFLAGS
=$save_LDFLAGS
14961 libdir
=$save_libdir
14963 # This implies no fast_install, which is unacceptable.
14964 # Some rework will be needed to allow for fast_install
14965 # before this can be enabled.
14966 hardcode_into_libs
=yes
14968 # Append ld.so.conf contents to the search path
14969 if test -f /etc
/ld.so.conf
; then
14970 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14971 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14974 # We used to test for /lib/ld.so.1 and disable shared libraries on
14975 # powerpc, because MkLinux only supported shared libraries with the
14976 # GNU dynamic linker. Since this was broken with cross compilers,
14977 # most powerpc-linux boxes support dynamic linking these days and
14978 # people can always --disable-shared, the test was removed, and we
14979 # assume the GNU/Linux dynamic linker is in use.
14980 dynamic_linker
='GNU/Linux ld.so'
14987 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14988 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14989 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14990 dynamic_linker
='NetBSD (a.out) ld.so'
14992 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14993 soname_spec
='${libname}${release}${shared_ext}$major'
14994 dynamic_linker
='NetBSD ld.elf_so'
14996 shlibpath_var
=LD_LIBRARY_PATH
14997 shlibpath_overrides_runpath
=yes
14998 hardcode_into_libs
=yes
15003 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15004 shlibpath_var
=LD_LIBRARY_PATH
15005 shlibpath_overrides_runpath
=yes
15012 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15013 soname_spec
='${libname}${release}${shared_ext}$major'
15014 shlibpath_var
=LD_LIBRARY_PATH
15015 shlibpath_overrides_runpath
=no
15016 hardcode_into_libs
=yes
15017 dynamic_linker
='ldqnx.so'
15022 sys_lib_dlsearch_path_spec
="/usr/lib"
15024 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15026 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15027 *) need_version
=no
;;
15029 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15030 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15031 shlibpath_var
=LD_LIBRARY_PATH
15032 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15034 openbsd2.
[89] | openbsd2.
[89].
*)
15035 shlibpath_overrides_runpath
=no
15038 shlibpath_overrides_runpath
=yes
15042 shlibpath_overrides_runpath
=yes
15047 libname_spec
='$name'
15050 library_names_spec
='$libname${shared_ext} $libname.a'
15051 dynamic_linker
='OS/2 ld.exe'
15052 shlibpath_var
=LIBPATH
15055 osf3
* | osf4
* | osf5
*)
15059 soname_spec
='${libname}${release}${shared_ext}$major'
15060 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15061 shlibpath_var
=LD_LIBRARY_PATH
15062 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15063 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15075 soname_spec
='${libname}${release}${shared_ext}$major'
15076 shlibpath_var
=LD_LIBRARY_PATH
15077 shlibpath_overrides_runpath
=yes
15078 hardcode_into_libs
=yes
15079 # ldd complains unless libraries are executable
15080 postinstall_cmds
='chmod +x $lib'
15085 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15086 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15087 shlibpath_var
=LD_LIBRARY_PATH
15088 shlibpath_overrides_runpath
=yes
15089 if test "$with_gnu_ld" = yes; then
15097 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15098 soname_spec
='${libname}${release}${shared_ext}$major'
15099 shlibpath_var
=LD_LIBRARY_PATH
15100 case $host_vendor in
15102 shlibpath_overrides_runpath
=no
15104 runpath_var
=LD_RUN_PATH
15112 shlibpath_overrides_runpath
=no
15113 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15119 if test -d /usr
/nec
;then
15121 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15122 soname_spec
='$libname${shared_ext}.$major'
15123 shlibpath_var
=LD_LIBRARY_PATH
15127 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15128 version_type
=freebsd-elf
15131 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15132 soname_spec
='${libname}${release}${shared_ext}$major'
15133 shlibpath_var
=LD_LIBRARY_PATH
15134 shlibpath_overrides_runpath
=yes
15135 hardcode_into_libs
=yes
15136 if test "$with_gnu_ld" = yes; then
15137 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15139 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15142 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15146 sys_lib_dlsearch_path_spec
='/usr/lib'
15150 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15154 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15155 shlibpath_var
=LD_LIBRARY_PATH
15156 shlibpath_overrides_runpath
=no
15157 hardcode_into_libs
=yes
15162 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15163 soname_spec
='${libname}${release}${shared_ext}$major'
15164 shlibpath_var
=LD_LIBRARY_PATH
15171 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15172 echo "${ECHO_T}$dynamic_linker" >&6
15173 test "$dynamic_linker" = no
&& can_build_shared
=no
15175 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15176 if test "$GCC" = yes; then
15177 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15215 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15216 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15217 hardcode_action_CXX
=
15218 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15219 test -n "$runpath_var_CXX" ||
15220 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15222 # We can hardcode non-existent directories.
15223 if test "$hardcode_direct_CXX" != no
&&
15224 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15225 # have to relink, otherwise we might link with an installed library
15226 # when we should be linking with a yet-to-be-installed one
15227 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15228 test "$hardcode_minus_L_CXX" != no
; then
15229 # Linking always hardcodes the temporary library directory.
15230 hardcode_action_CXX
=relink
15232 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15233 hardcode_action_CXX
=immediate
15236 # We cannot hardcode anything, or else we can only hardcode existing
15238 hardcode_action_CXX
=unsupported
15240 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15241 echo "${ECHO_T}$hardcode_action_CXX" >&6
15243 if test "$hardcode_action_CXX" = relink ||
15244 test "$inherit_rpath_CXX" = yes; then
15245 # Fast installation is not supported
15246 enable_fast_install
=no
15247 elif test "$shlibpath_overrides_runpath" = yes ||
15248 test "$enable_shared" = no
; then
15249 # Fast installation is not necessary
15250 enable_fast_install
=needless
15259 fi # test -n "$compiler"
15265 with_gnu_ld
=$lt_save_with_gnu_ld
15266 lt_cv_path_LDCXX
=$lt_cv_path_LD
15267 lt_cv_path_LD
=$lt_save_path_LD
15268 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15269 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15270 fi # test "$_lt_caught_CXX_error" != yes
15273 ac_cpp
='$CPP $CPPFLAGS'
15274 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15275 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15276 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15290 ac_config_commands
="$ac_config_commands libtool"
15295 # Only expand once:
15301 # Extract the first word of "$ac_prog", so it can be a program name with args.
15302 set dummy
$ac_prog; ac_word
=$2
15303 echo "$as_me:$LINENO: checking for $ac_word" >&5
15304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15305 if test "${ac_cv_prog_GCJ+set}" = set; then
15306 echo $ECHO_N "(cached) $ECHO_C" >&6
15308 if test -n "$GCJ"; then
15309 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
15311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15312 for as_dir
in $PATH
15315 test -z "$as_dir" && as_dir
=.
15316 for ac_exec_ext
in '' $ac_executable_extensions; do
15317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15318 ac_cv_prog_GCJ
="$ac_prog"
15319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15327 GCJ
=$ac_cv_prog_GCJ
15328 if test -n "$GCJ"; then
15329 echo "$as_me:$LINENO: result: $GCJ" >&5
15330 echo "${ECHO_T}$GCJ" >&6
15332 echo "$as_me:$LINENO: result: no" >&5
15333 echo "${ECHO_T}no" >&6
15336 test -n "$GCJ" && break
15338 test -n "$GCJ" || GCJ
="gcj"
15340 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
15341 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
15342 { (exit 1); exit 1; }; }
15343 if test "x${GCJFLAGS-unset}" = xunset
; then
15348 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
15350 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
15351 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
15352 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
15353 echo $ECHO_N "(cached) $ECHO_C" >&6
15355 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15356 # We make a subdir and do the tests there. Otherwise we can end up
15357 # making bogus files that we don't know about and never remove. For
15358 # instance it was reported that on HP-UX the gcc test will end up
15359 # making a dummy file named `D' -- because `-MD' means `put the output
15362 # Copy depcomp to subdir because otherwise we won't find it if we're
15363 # using a relative directory.
15364 cp "$am_depcomp" conftest.dir
15366 # We will build objects and dependencies in a subdirectory because
15367 # it helps to detect inapplicable dependency modes. For instance
15368 # both Tru64's cc and ICC support -MD to output dependencies as a
15369 # side effect of compilation, but ICC will put the dependencies in
15370 # the current directory while Tru64 will put them in the object
15374 am_cv_GCJ_dependencies_compiler_type
=none
15375 if test "$am_compiler_list" = ""; then
15376 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15378 for depmode
in $am_compiler_list; do
15379 # Setup a source with many dependencies, because some compilers
15380 # like to wrap large dependency lists on column 80 (with \), and
15381 # we should not choose a depcomp mode which is confused by this.
15383 # We need to recreate these files for each test, as the compiler may
15384 # overwrite some of them when testing with obscure command lines.
15385 # This happens at least with the AIX C compiler.
15387 for i
in 1 2 3 4 5 6; do
15388 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
15389 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15390 # Solaris 8's {/usr,}/bin/sh.
15391 touch sub
/conftst
$i.h
15393 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15397 # after this tag, mechanisms are not by side-effect, so they'll
15398 # only be used when explicitly requested
15399 if test "x$enable_dependency_tracking" = xyes
; then
15407 # We check with `-c' and `-o' for the sake of the "dashmstdout"
15408 # mode. It turns out that the SunPro C++ compiler does not properly
15409 # handle `-M -o', and we need to detect this.
15410 if depmode
=$depmode \
15411 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
15412 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
15413 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
15414 >/dev
/null
2>conftest.err
&&
15415 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
15416 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
15417 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
15418 # icc doesn't choke on unknown options, it will just issue warnings
15419 # or remarks (even with -Werror). So we grep stderr for any message
15420 # that says an option was ignored or not supported.
15421 # When given -MP, icc 7.0 and 7.1 complain thusly:
15422 # icc: Command line warning: ignoring option '-M'; no argument required
15423 # The diagnosis changed in icc 8.0:
15424 # icc: Command line remark: option '-MP' not supported
15425 if (grep 'ignoring option' conftest.err ||
15426 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
15427 am_cv_GCJ_dependencies_compiler_type
=$depmode
15434 rm -rf conftest.dir
15436 am_cv_GCJ_dependencies_compiler_type
=none
15440 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
15441 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
15442 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
15447 test "x$enable_dependency_tracking" != xno \
15448 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
15449 am__fastdepGCJ_TRUE
=
15450 am__fastdepGCJ_FALSE
='#'
15452 am__fastdepGCJ_TRUE
='#'
15453 am__fastdepGCJ_FALSE
=
15460 # Extract the first word of "$ac_prog", so it can be a program name with args.
15461 set dummy
$ac_prog; ac_word
=$2
15462 echo "$as_me:$LINENO: checking for $ac_word" >&5
15463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15464 if test "${ac_cv_prog_GCJ+set}" = set; then
15465 echo $ECHO_N "(cached) $ECHO_C" >&6
15467 if test -n "$GCJ"; then
15468 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
15470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15471 for as_dir
in $PATH
15474 test -z "$as_dir" && as_dir
=.
15475 for ac_exec_ext
in '' $ac_executable_extensions; do
15476 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15477 ac_cv_prog_GCJ
="$ac_prog"
15478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15486 GCJ
=$ac_cv_prog_GCJ
15487 if test -n "$GCJ"; then
15488 echo "$as_me:$LINENO: result: $GCJ" >&5
15489 echo "${ECHO_T}$GCJ" >&6
15491 echo "$as_me:$LINENO: result: no" >&5
15492 echo "${ECHO_T}no" >&6
15495 test -n "$GCJ" && break
15497 test -n "$GCJ" || GCJ
="gcj"
15499 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
15500 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
15501 { (exit 1); exit 1; }; }
15502 if test "x${GCJFLAGS-unset}" = xunset
; then
15507 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
15509 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
15510 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
15511 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
15512 echo $ECHO_N "(cached) $ECHO_C" >&6
15514 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15515 # We make a subdir and do the tests there. Otherwise we can end up
15516 # making bogus files that we don't know about and never remove. For
15517 # instance it was reported that on HP-UX the gcc test will end up
15518 # making a dummy file named `D' -- because `-MD' means `put the output
15521 # Copy depcomp to subdir because otherwise we won't find it if we're
15522 # using a relative directory.
15523 cp "$am_depcomp" conftest.dir
15525 # We will build objects and dependencies in a subdirectory because
15526 # it helps to detect inapplicable dependency modes. For instance
15527 # both Tru64's cc and ICC support -MD to output dependencies as a
15528 # side effect of compilation, but ICC will put the dependencies in
15529 # the current directory while Tru64 will put them in the object
15533 am_cv_GCJ_dependencies_compiler_type
=none
15534 if test "$am_compiler_list" = ""; then
15535 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15537 for depmode
in $am_compiler_list; do
15538 # Setup a source with many dependencies, because some compilers
15539 # like to wrap large dependency lists on column 80 (with \), and
15540 # we should not choose a depcomp mode which is confused by this.
15542 # We need to recreate these files for each test, as the compiler may
15543 # overwrite some of them when testing with obscure command lines.
15544 # This happens at least with the AIX C compiler.
15546 for i
in 1 2 3 4 5 6; do
15547 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
15548 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15549 # Solaris 8's {/usr,}/bin/sh.
15550 touch sub
/conftst
$i.h
15552 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15556 # after this tag, mechanisms are not by side-effect, so they'll
15557 # only be used when explicitly requested
15558 if test "x$enable_dependency_tracking" = xyes
; then
15566 # We check with `-c' and `-o' for the sake of the "dashmstdout"
15567 # mode. It turns out that the SunPro C++ compiler does not properly
15568 # handle `-M -o', and we need to detect this.
15569 if depmode
=$depmode \
15570 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
15571 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
15572 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
15573 >/dev
/null
2>conftest.err
&&
15574 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
15575 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
15576 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
15577 # icc doesn't choke on unknown options, it will just issue warnings
15578 # or remarks (even with -Werror). So we grep stderr for any message
15579 # that says an option was ignored or not supported.
15580 # When given -MP, icc 7.0 and 7.1 complain thusly:
15581 # icc: Command line warning: ignoring option '-M'; no argument required
15582 # The diagnosis changed in icc 8.0:
15583 # icc: Command line remark: option '-MP' not supported
15584 if (grep 'ignoring option' conftest.err ||
15585 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
15586 am_cv_GCJ_dependencies_compiler_type
=$depmode
15593 rm -rf conftest.dir
15595 am_cv_GCJ_dependencies_compiler_type
=none
15599 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
15600 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
15601 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
15606 test "x$enable_dependency_tracking" != xno \
15607 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
15608 am__fastdepGCJ_TRUE
=
15609 am__fastdepGCJ_FALSE
='#'
15611 am__fastdepGCJ_TRUE
='#'
15612 am__fastdepGCJ_FALSE
=
15620 # Source file extension for Java test sources.
15623 # Object file extension for compiled Java test sources.
15627 # Code to be used in simple compile tests
15628 lt_simple_compile_test_code
="int some_variable = 0;"
15630 # Code to be used in simple link tests
15631 lt_simple_link_test_code
='int main(){return(0);}'
15633 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15640 # If no C compiler was specified, use CC.
15643 # If no C compiler flags were specified, use CFLAGS.
15644 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15646 # Allow CC to be a program name with arguments.
15650 # save warnings/boilerplate of simple test code
15651 ac_outfile
=conftest.
$ac_objext
15652 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
15653 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15654 _lt_compiler_boilerplate
=`cat conftest.err`
15657 ac_outfile
=conftest.
$ac_objext
15658 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
15659 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15660 _lt_linker_boilerplate
=`cat conftest.err`
15664 # Allow CC to be a program name with arguments.
15667 for cc_temp
in $compiler""; do
15669 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15670 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15675 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15678 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15679 archive_cmds_need_lc_GCJ
=no
15681 old_archive_cmds_GCJ
=$old_archive_cmds
15684 ## There is no encapsulation within the following macros, do not change
15685 ## the running order or otherwise move them around unless you know exactly
15686 ## what you are doing...
15687 if test -n "$compiler"; then
15689 lt_prog_compiler_no_builtin_flag_GCJ
=
15691 if test "$GCC" = yes; then
15692 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15694 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15695 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15696 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15697 echo $ECHO_N "(cached) $ECHO_C" >&6
15699 lt_cv_prog_compiler_rtti_exceptions
=no
15700 ac_outfile
=conftest.
$ac_objext
15701 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15702 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15703 # Insert the option either (1) after the last *FLAGS variable, or
15704 # (2) before a word containing "conftest.", or (3) at the end.
15705 # Note that $ac_compile itself does not contain backslashes and begins
15706 # with a dollar sign (not a hyphen), so the echo should work correctly.
15707 # The option is referenced via a variable to avoid confusing sed.
15708 lt_compile
=`echo "$ac_compile" | $SED \
15709 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15710 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15711 -e 's:$: $lt_compiler_flag:'`
15712 (eval echo "\"\$as_me:15712: $lt_compile\"" >&5)
15713 (eval "$lt_compile" 2>conftest.err
)
15715 cat conftest.err
>&5
15716 echo "$as_me:15716: \$? = $ac_status" >&5
15717 if (exit $ac_status) && test -s "$ac_outfile"; then
15718 # The compiler can only warn and ignore the option if not recognized
15719 # So say no if there are warnings other than the usual output.
15720 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15721 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15722 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15723 lt_cv_prog_compiler_rtti_exceptions
=yes
15729 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15730 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15732 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15733 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15742 lt_prog_compiler_wl_GCJ
=
15743 lt_prog_compiler_pic_GCJ
=
15744 lt_prog_compiler_static_GCJ
=
15746 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15747 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15749 if test "$GCC" = yes; then
15750 lt_prog_compiler_wl_GCJ
='-Wl,'
15751 lt_prog_compiler_static_GCJ
='-static'
15755 # All AIX code is PIC.
15756 if test "$host_cpu" = ia64
; then
15757 # AIX 5 now supports IA64 processor
15758 lt_prog_compiler_static_GCJ
='-Bstatic'
15763 if test "$host_cpu" = m68k
; then
15764 # FIXME: we need at least 68020 code to build shared libraries, but
15765 # adding the `-m68020' flag to GCC prevents building anything better,
15767 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
15771 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15772 # PIC is the default for these OSes.
15775 mingw
* | cygwin
* | pw32
* | os2
*)
15776 # This hack is so that the source file can tell whether it is being
15777 # built for inclusion in a dll (and should export symbols for example).
15778 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15779 # (--disable-auto-import) libraries
15780 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15783 darwin
* | rhapsody
*)
15784 # PIC is the default on this platform
15785 # Common symbols not allowed in MH_DYLIB files
15786 lt_prog_compiler_pic_GCJ
='-fno-common'
15790 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15791 # not for PA HP-UX.
15797 lt_prog_compiler_pic_GCJ
='-fPIC'
15803 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15804 # Instead, we relocate shared libraries at runtime.
15808 # Just because we use GCC doesn't mean we suddenly get shared libraries
15809 # on systems that don't support them.
15810 lt_prog_compiler_can_build_shared_GCJ
=no
15815 # QNX uses GNU C++, but need to define -shared option too, otherwise
15816 # it will coredump.
15817 lt_prog_compiler_pic_GCJ
='-fPIC -shared'
15821 if test -d /usr
/nec
; then
15822 lt_prog_compiler_pic_GCJ
=-Kconform_pic
15827 lt_prog_compiler_pic_GCJ
='-fPIC'
15831 # PORTME Check for flag to pass linker flags through the system compiler.
15834 lt_prog_compiler_wl_GCJ
='-Wl,'
15835 if test "$host_cpu" = ia64
; then
15836 # AIX 5 now supports IA64 processor
15837 lt_prog_compiler_static_GCJ
='-Bstatic'
15839 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
15843 # PIC is the default on this platform
15844 # Common symbols not allowed in MH_DYLIB files
15845 case $cc_basename in
15847 lt_prog_compiler_pic_GCJ
='-qnocommon'
15848 lt_prog_compiler_wl_GCJ
='-Wl,'
15853 mingw
* | cygwin
* | pw32
* | os2
*)
15854 # This hack is so that the source file can tell whether it is being
15855 # built for inclusion in a dll (and should export symbols for example).
15856 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15859 hpux9
* | hpux10
* | hpux11
*)
15860 lt_prog_compiler_wl_GCJ
='-Wl,'
15861 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15862 # not for PA HP-UX.
15868 lt_prog_compiler_pic_GCJ
='+Z'
15871 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15872 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
15875 irix5
* | irix6
* | nonstopux
*)
15876 lt_prog_compiler_wl_GCJ
='-Wl,'
15877 # PIC (with -KPIC) is the default.
15878 lt_prog_compiler_static_GCJ
='-non_shared'
15881 linux
* | k
*bsd
*-gnu)
15882 case $cc_basename in
15884 lt_prog_compiler_wl_GCJ
='-Wl,'
15885 lt_prog_compiler_pic_GCJ
='-KPIC'
15886 lt_prog_compiler_static_GCJ
='-static'
15888 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
15889 # Portland Group compilers (*not* the Pentium gcc compiler,
15890 # which looks to be a dead project)
15891 lt_prog_compiler_wl_GCJ
='-Wl,'
15892 lt_prog_compiler_pic_GCJ
='-fpic'
15893 lt_prog_compiler_static_GCJ
='-Bstatic'
15896 lt_prog_compiler_wl_GCJ
='-Wl,'
15897 # All Alpha code is PIC.
15898 lt_prog_compiler_static_GCJ
='-non_shared'
15901 case `$CC -V 2>&1 | sed 5q` in
15904 lt_prog_compiler_pic_GCJ
='-KPIC'
15905 lt_prog_compiler_static_GCJ
='-Bstatic'
15906 lt_prog_compiler_wl_GCJ
='-Wl,'
15909 # Sun Fortran 8.3 passes all unrecognized flags to the linker
15910 lt_prog_compiler_pic_GCJ
='-KPIC'
15911 lt_prog_compiler_static_GCJ
='-Bstatic'
15912 lt_prog_compiler_wl_GCJ
=''
15920 lt_prog_compiler_pic_GCJ
='-KPIC'
15921 lt_prog_compiler_static_GCJ
='-Bstatic'
15925 # QNX uses GNU C++, but need to define -shared option too, otherwise
15926 # it will coredump.
15927 lt_prog_compiler_pic_GCJ
='-fPIC -shared'
15930 osf3
* | osf4
* | osf5
*)
15931 lt_prog_compiler_wl_GCJ
='-Wl,'
15932 # All OSF/1 code is PIC.
15933 lt_prog_compiler_static_GCJ
='-non_shared'
15937 lt_prog_compiler_static_GCJ
='-non_shared'
15941 lt_prog_compiler_pic_GCJ
='-KPIC'
15942 lt_prog_compiler_static_GCJ
='-Bstatic'
15943 case $cc_basename in
15944 f77
* | f90
* | f95
*)
15945 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
15947 lt_prog_compiler_wl_GCJ
='-Wl,';;
15952 lt_prog_compiler_wl_GCJ
='-Qoption ld '
15953 lt_prog_compiler_pic_GCJ
='-PIC'
15954 lt_prog_compiler_static_GCJ
='-Bstatic'
15957 sysv4 | sysv4.2uw2
* | sysv4.3
*)
15958 lt_prog_compiler_wl_GCJ
='-Wl,'
15959 lt_prog_compiler_pic_GCJ
='-KPIC'
15960 lt_prog_compiler_static_GCJ
='-Bstatic'
15964 if test -d /usr
/nec
;then
15965 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
15966 lt_prog_compiler_static_GCJ
='-Bstatic'
15970 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15971 lt_prog_compiler_wl_GCJ
='-Wl,'
15972 lt_prog_compiler_pic_GCJ
='-KPIC'
15973 lt_prog_compiler_static_GCJ
='-Bstatic'
15977 lt_prog_compiler_wl_GCJ
='-Wl,'
15978 lt_prog_compiler_can_build_shared_GCJ
=no
15982 lt_prog_compiler_pic_GCJ
='-pic'
15983 lt_prog_compiler_static_GCJ
='-Bstatic'
15987 lt_prog_compiler_can_build_shared_GCJ
=no
15993 # For platforms which do not support PIC, -DPIC is meaningless:
15995 lt_prog_compiler_pic_GCJ
=
15998 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16001 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16002 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
16007 # Check to make sure the PIC flag actually works.
16009 if test -n "$lt_prog_compiler_pic_GCJ"; then
16010 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16011 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
16012 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16013 echo $ECHO_N "(cached) $ECHO_C" >&6
16015 lt_prog_compiler_pic_works_GCJ
=no
16016 ac_outfile
=conftest.
$ac_objext
16017 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16018 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16019 # Insert the option either (1) after the last *FLAGS variable, or
16020 # (2) before a word containing "conftest.", or (3) at the end.
16021 # Note that $ac_compile itself does not contain backslashes and begins
16022 # with a dollar sign (not a hyphen), so the echo should work correctly.
16023 # The option is referenced via a variable to avoid confusing sed.
16024 lt_compile
=`echo "$ac_compile" | $SED \
16025 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16026 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16027 -e 's:$: $lt_compiler_flag:'`
16028 (eval echo "\"\$as_me:16028: $lt_compile\"" >&5)
16029 (eval "$lt_compile" 2>conftest.err
)
16031 cat conftest.err
>&5
16032 echo "$as_me:16032: \$? = $ac_status" >&5
16033 if (exit $ac_status) && test -s "$ac_outfile"; then
16034 # The compiler can only warn and ignore the option if not recognized
16035 # So say no if there are warnings other than the usual output.
16036 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16037 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16038 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16039 lt_prog_compiler_pic_works_GCJ
=yes
16045 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16046 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
16048 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16049 case $lt_prog_compiler_pic_GCJ in
16051 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16054 lt_prog_compiler_pic_GCJ
=
16055 lt_prog_compiler_can_build_shared_GCJ
=no
16063 # Check to make sure the static flag actually works.
16065 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16066 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16067 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
16068 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16069 echo $ECHO_N "(cached) $ECHO_C" >&6
16071 lt_prog_compiler_static_works_GCJ
=no
16072 save_LDFLAGS
="$LDFLAGS"
16073 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16074 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16075 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16076 # The linker can only warn and ignore the option if not recognized
16077 # So say no if there are warnings
16078 if test -s conftest.err
; then
16079 # Append any errors to the config.log.
16080 cat conftest.err
1>&5
16081 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16082 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16083 if diff conftest.exp conftest.er2
>/dev
/null
; then
16084 lt_prog_compiler_static_works_GCJ
=yes
16087 lt_prog_compiler_static_works_GCJ
=yes
16091 LDFLAGS
="$save_LDFLAGS"
16094 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16095 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
16097 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16100 lt_prog_compiler_static_GCJ
=
16106 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16107 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16108 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16109 echo $ECHO_N "(cached) $ECHO_C" >&6
16111 lt_cv_prog_compiler_c_o_GCJ
=no
16112 $RM -r conftest
2>/dev
/null
16116 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16118 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16119 # Insert the option either (1) after the last *FLAGS variable, or
16120 # (2) before a word containing "conftest.", or (3) at the end.
16121 # Note that $ac_compile itself does not contain backslashes and begins
16122 # with a dollar sign (not a hyphen), so the echo should work correctly.
16123 lt_compile
=`echo "$ac_compile" | $SED \
16124 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16125 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16126 -e 's:$: $lt_compiler_flag:'`
16127 (eval echo "\"\$as_me:16127: $lt_compile\"" >&5)
16128 (eval "$lt_compile" 2>out
/conftest.err
)
16130 cat out
/conftest.err
>&5
16131 echo "$as_me:16131: \$? = $ac_status" >&5
16132 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16134 # The compiler can only warn and ignore the option if not recognized
16135 # So say no if there are warnings
16136 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16137 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16138 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16139 lt_cv_prog_compiler_c_o_GCJ
=yes
16144 # SGI C++ compiler will create directory out/ii_files/ for
16145 # template instantiation
16146 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16147 $RM out
/* && rmdir out
16153 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16154 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16158 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16159 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16160 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16161 echo $ECHO_N "(cached) $ECHO_C" >&6
16163 lt_cv_prog_compiler_c_o_GCJ
=no
16164 $RM -r conftest
2>/dev
/null
16168 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16170 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16171 # Insert the option either (1) after the last *FLAGS variable, or
16172 # (2) before a word containing "conftest.", or (3) at the end.
16173 # Note that $ac_compile itself does not contain backslashes and begins
16174 # with a dollar sign (not a hyphen), so the echo should work correctly.
16175 lt_compile
=`echo "$ac_compile" | $SED \
16176 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16177 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16178 -e 's:$: $lt_compiler_flag:'`
16179 (eval echo "\"\$as_me:16179: $lt_compile\"" >&5)
16180 (eval "$lt_compile" 2>out
/conftest.err
)
16182 cat out
/conftest.err
>&5
16183 echo "$as_me:16183: \$? = $ac_status" >&5
16184 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16186 # The compiler can only warn and ignore the option if not recognized
16187 # So say no if there are warnings
16188 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16189 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16190 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16191 lt_cv_prog_compiler_c_o_GCJ
=yes
16196 # SGI C++ compiler will create directory out/ii_files/ for
16197 # template instantiation
16198 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16199 $RM out
/* && rmdir out
16205 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16206 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16211 hard_links
="nottested"
16212 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16213 # do not overwrite the value of need_locks provided by the user
16214 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16215 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16218 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16220 ln conftest.a conftest.b
2>&5 || hard_links
=no
16221 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16222 echo "$as_me:$LINENO: result: $hard_links" >&5
16223 echo "${ECHO_T}$hard_links" >&6
16224 if test "$hard_links" = no
; then
16225 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16226 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16235 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16236 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16239 allow_undefined_flag_GCJ
=
16240 always_export_symbols_GCJ
=no
16242 archive_expsym_cmds_GCJ
=
16243 compiler_needs_object_GCJ
=no
16244 enable_shared_with_static_runtimes_GCJ
=no
16245 export_dynamic_flag_spec_GCJ
=
16246 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16247 hardcode_automatic_GCJ
=no
16248 hardcode_direct_GCJ
=no
16249 hardcode_direct_absolute_GCJ
=no
16250 hardcode_libdir_flag_spec_GCJ
=
16251 hardcode_libdir_flag_spec_ld_GCJ
=
16252 hardcode_libdir_separator_GCJ
=
16253 hardcode_minus_L_GCJ
=no
16254 hardcode_shlibpath_var_GCJ
=unsupported
16255 inherit_rpath_GCJ
=no
16256 link_all_deplibs_GCJ
=unknown
16258 module_expsym_cmds_GCJ
=
16259 old_archive_from_new_cmds_GCJ
=
16260 old_archive_from_expsyms_cmds_GCJ
=
16261 thread_safe_flag_spec_GCJ
=
16262 whole_archive_flag_spec_GCJ
=
16263 # include_expsyms should be a list of space-separated symbols to be *always*
16264 # included in the symbol list
16265 include_expsyms_GCJ
=
16266 # exclude_expsyms can be an extended regexp of symbols to exclude
16267 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16268 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16269 # as well as any symbol that contains `d'.
16270 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16271 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16272 # platforms (ab)use it in PIC code, but their linkers get confused if
16273 # the symbol is explicitly referenced. Since portable code cannot
16274 # rely on this symbol name, it's probably fine to never include it in
16275 # preloaded symbol tables.
16276 extract_expsyms_cmds
=
16279 cygwin
* | mingw
* | pw32
*)
16280 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16281 # When not using gcc, we currently assume that we are using
16282 # Microsoft Visual C++.
16283 if test "$GCC" != yes; then
16288 # we just hope/assume this is gcc and not c89 (= MSVC++)
16297 if test "$with_gnu_ld" = yes; then
16298 # If archive_cmds runs LD, not CC, wlarc should be empty
16301 # Set some defaults for GNU ld with shared library support. These
16302 # are reset later if shared libraries are not supported. Putting them
16303 # here allows them to be overridden if necessary.
16304 runpath_var
=LD_RUN_PATH
16305 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16306 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16307 # ancient GNU ld didn't support --whole-archive et. al.
16308 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
16309 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16311 whole_archive_flag_spec_GCJ
=
16313 supports_anon_versioning
=no
16314 case `$LD -v 2>&1` in
16315 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16316 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16317 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16318 *\
2.11.
*) ;; # other 2.11 versions
16319 *) supports_anon_versioning
=yes ;;
16322 # See if GNU ld supports shared libraries.
16325 # On AIX/PPC, the GNU linker is very broken
16326 if test "$host_cpu" != ia64
; then
16330 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16331 *** to be unable to reliably create shared libraries on AIX.
16332 *** Therefore, libtool is disabling shared libraries support. If you
16333 *** really care for shared libraries, you may want to modify your PATH
16334 *** so that a non-GNU linker is found, and then restart.
16341 if test "$host_cpu" = m68k
; then
16342 archive_cmds_GCJ
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
16343 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16344 hardcode_minus_L_GCJ
=yes
16347 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16348 # that the semantics of dynamic libraries on AmigaOS, at least up
16349 # to version 4, is to share data among multiple programs linked
16350 # with the same dynamic library. Since this doesn't match the
16351 # behavior of shared libraries on other platforms, we can't use
16357 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16358 allow_undefined_flag_GCJ
=unsupported
16359 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16360 # support --undefined. This deserves some investigation. FIXME
16361 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16367 cygwin
* | mingw
* | pw32
*)
16368 # _LT_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16369 # as there is no search path for DLLs.
16370 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16371 allow_undefined_flag_GCJ
=unsupported
16372 always_export_symbols_GCJ
=no
16373 enable_shared_with_static_runtimes_GCJ
=yes
16374 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16376 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
16377 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16378 # If the export-symbols file already is a .def file (1st line
16379 # is EXPORTS), use it as is; otherwise, prepend...
16380 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16381 cp $export_symbols $output_objdir/$soname.def;
16383 echo EXPORTS > $output_objdir/$soname.def;
16384 cat $export_symbols >> $output_objdir/$soname.def;
16386 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16393 hardcode_direct_GCJ
=no
16394 hardcode_shlibpath_var_GCJ
=no
16395 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16396 export_dynamic_flag_spec_GCJ
='${wl}-E'
16397 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16398 # Instead, shared libraries are loaded at an image base (0x10000000 by
16399 # default) and relocated if they conflict, which is a slow very memory
16400 # consuming and fragmenting process. To avoid this, we pick a random,
16401 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16402 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16403 archive_cmds_GCJ
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16404 archive_expsym_cmds_GCJ
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16407 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
16409 if test "$host_os" = linux-dietlibc
; then
16410 case $cc_basename in
16411 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
16414 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
16415 && test "$tmp_diet" = no
16418 case $cc_basename,$host_cpu in
16419 pgcc
*) # Portland Group C compiler
16420 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
16421 tmp_addflag
=' $pic_flag'
16423 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16424 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
16425 tmp_addflag
=' $pic_flag -Mnomain' ;;
16426 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16427 tmp_addflag
=' -i_dynamic' ;;
16428 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16429 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16430 ifc
* | ifort
*) # Intel Fortran compiler
16431 tmp_addflag
=' -nofor_main' ;;
16433 case `$CC -V 2>&1 | sed 5q` in
16434 *Sun\ C
*) # Sun C 5.9
16435 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
16436 compiler_needs_object_GCJ
=yes
16437 tmp_sharedflag
='-G' ;;
16438 *Sun\ F
*) # Sun Fortran 8.3
16439 tmp_sharedflag
='-G' ;;
16441 tmp_sharedflag
='-shared' ;;
16443 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16445 if test "x$supports_anon_versioning" = xyes
; then
16446 archive_expsym_cmds_GCJ
='echo "{ global:" > $output_objdir/$libname.ver~
16447 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16448 echo "local: *; };" >> $output_objdir/$libname.ver~
16449 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16457 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
16458 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16461 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16462 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16467 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
16471 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16472 *** create shared libraries on Solaris systems. Therefore, libtool
16473 *** is disabling shared libraries support. We urge you to upgrade GNU
16474 *** binutils to release 2.9.1 or newer. Another option is to modify
16475 *** your PATH or compiler configuration so that the native linker is
16476 *** used, and then restart.
16479 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16480 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16481 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16487 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16488 case `$LD -v 2>&1` in
16489 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16493 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16494 *** reliably create shared libraries on SCO systems. Therefore, libtool
16495 *** is disabling shared libraries support. We urge you to upgrade GNU
16496 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16497 *** your PATH or compiler configuration so that the native linker is
16498 *** used, and then restart.
16503 # For security reasons, it is highly recommended that you always
16504 # use absolute paths for naming shared libraries, and exclude the
16505 # DT_RUNPATH tag from executables and libraries. But doing so
16506 # requires that you compile everything twice, which is a pain.
16507 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16508 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16509 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16510 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16519 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16521 hardcode_direct_GCJ
=yes
16522 hardcode_shlibpath_var_GCJ
=no
16526 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16527 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16528 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16535 if test "$ld_shlibs_GCJ" = no
; then
16537 hardcode_libdir_flag_spec_GCJ
=
16538 export_dynamic_flag_spec_GCJ
=
16539 whole_archive_flag_spec_GCJ
=
16542 # PORTME fill in a description of your system's linker (not GNU ld)
16545 allow_undefined_flag_GCJ
=unsupported
16546 always_export_symbols_GCJ
=yes
16547 archive_expsym_cmds_GCJ
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
16548 # Note: this linker hardcodes the directories in LIBPATH if there
16549 # are no directories specified by -L.
16550 hardcode_minus_L_GCJ
=yes
16551 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16552 # Neither direct hardcoding nor static linking is supported with a
16554 hardcode_direct_GCJ
=unsupported
16559 if test "$host_cpu" = ia64
; then
16560 # On IA64, the linker does run time linking by default, so we don't
16561 # have to do anything special.
16562 aix_use_runtimelinking
=no
16563 exp_sym_flag
='-Bexport'
16566 # If we're using GNU nm, then we don't want the "-C" option.
16567 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16568 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
16569 export_symbols_cmds_GCJ
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
16571 export_symbols_cmds_GCJ
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
16573 aix_use_runtimelinking
=no
16575 # Test if we are trying to use run time linking or normal
16576 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16577 # need to do runtime linking.
16578 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
16579 for ld_flag
in $LDFLAGS; do
16580 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16581 aix_use_runtimelinking
=yes
16588 exp_sym_flag
='-bexport'
16589 no_entry_flag
='-bnoentry'
16592 # When large executables or shared objects are built, AIX ld can
16593 # have problems creating the table of contents. If linking a library
16594 # or program results in "error TOC overflow" add -mminimal-toc to
16595 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16596 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16598 archive_cmds_GCJ
=''
16599 hardcode_direct_GCJ
=yes
16600 hardcode_direct_absolute_GCJ
=yes
16601 hardcode_libdir_separator_GCJ
=':'
16602 link_all_deplibs_GCJ
=yes
16603 file_list_spec_GCJ
='${wl}-f,'
16605 if test "$GCC" = yes; then
16606 case $host_os in aix4.
[012]|aix4.
[012].
*)
16607 # We only want to do this on AIX 4.2 and lower, the check
16608 # below for broken collect2 doesn't work under 4.3+
16609 collect2name
=`${CC} -print-prog-name=collect2`
16610 if test -f "$collect2name" &&
16611 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
16613 # We have reworked collect2
16616 # We have old collect2
16617 hardcode_direct_GCJ
=unsupported
16618 # It fails to find uninstalled libraries when the uninstalled
16619 # path is not listed in the libpath. Setting hardcode_minus_L
16620 # to unsupported forces relinking
16621 hardcode_minus_L_GCJ
=yes
16622 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16623 hardcode_libdir_separator_GCJ
=
16627 shared_flag
='-shared'
16628 if test "$aix_use_runtimelinking" = yes; then
16629 shared_flag
="$shared_flag "'${wl}-G'
16633 if test "$host_cpu" = ia64
; then
16634 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16635 # chokes on -Wl,-G. The following line is correct:
16638 if test "$aix_use_runtimelinking" = yes; then
16639 shared_flag
='${wl}-G'
16641 shared_flag
='${wl}-bM:SRE'
16646 # It seems that -bexpall does not export symbols beginning with
16647 # underscore (_), so it is better to generate a list of symbols to export.
16648 always_export_symbols_GCJ
=yes
16649 if test "$aix_use_runtimelinking" = yes; then
16650 # Warning - without using the other runtime loading flags (-brtl),
16651 # -berok will link without error, but may produce a broken library.
16652 allow_undefined_flag_GCJ
='-berok'
16653 # Determine the default libpath from the value encoded in an
16654 # empty executable.
16655 if test x
$gcc_no_link = xyes
; then
16656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16658 { (exit 1); exit 1; }; }
16660 cat >conftest.
$ac_ext <<_ACEOF
16663 cat confdefs.h
>>conftest.
$ac_ext
16664 cat >>conftest.
$ac_ext <<_ACEOF
16665 /* end confdefs.h. */
16675 rm -f conftest.
$ac_objext conftest
$ac_exeext
16676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16677 (eval $ac_link) 2>conftest.er1
16679 grep -v '^ *+' conftest.er1
>conftest.err
16681 cat conftest.err
>&5
16682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16683 (exit $ac_status); } &&
16684 { ac_try
='test -z "$ac_c_werror_flag"
16685 || test ! -s conftest.err'
16686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16687 (eval $ac_try) 2>&5
16689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16690 (exit $ac_status); }; } &&
16691 { ac_try
='test -s conftest$ac_exeext'
16692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16693 (eval $ac_try) 2>&5
16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696 (exit $ac_status); }; }; then
16698 lt_aix_libpath_sed
='
16699 /Import File Strings/,/^$/ {
16705 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16706 # Check for a 64-bit object if we didn't find anything.
16707 if test -z "$aix_libpath"; then
16708 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16711 echo "$as_me: failed program was:" >&5
16712 sed 's/^/| /' conftest.
$ac_ext >&5
16715 rm -f conftest.err conftest.
$ac_objext \
16716 conftest
$ac_exeext conftest.
$ac_ext
16717 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16719 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16720 archive_expsym_cmds_GCJ
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16722 if test "$host_cpu" = ia64
; then
16723 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
16724 allow_undefined_flag_GCJ
="-z nodefs"
16725 archive_expsym_cmds_GCJ
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
16727 # Determine the default libpath from the value encoded in an
16728 # empty executable.
16729 if test x
$gcc_no_link = xyes
; then
16730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16732 { (exit 1); exit 1; }; }
16734 cat >conftest.
$ac_ext <<_ACEOF
16737 cat confdefs.h
>>conftest.
$ac_ext
16738 cat >>conftest.
$ac_ext <<_ACEOF
16739 /* end confdefs.h. */
16749 rm -f conftest.
$ac_objext conftest
$ac_exeext
16750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16751 (eval $ac_link) 2>conftest.er1
16753 grep -v '^ *+' conftest.er1
>conftest.err
16755 cat conftest.err
>&5
16756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757 (exit $ac_status); } &&
16758 { ac_try
='test -z "$ac_c_werror_flag"
16759 || test ! -s conftest.err'
16760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16761 (eval $ac_try) 2>&5
16763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16764 (exit $ac_status); }; } &&
16765 { ac_try
='test -s conftest$ac_exeext'
16766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16767 (eval $ac_try) 2>&5
16769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16770 (exit $ac_status); }; }; then
16772 lt_aix_libpath_sed
='
16773 /Import File Strings/,/^$/ {
16779 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16780 # Check for a 64-bit object if we didn't find anything.
16781 if test -z "$aix_libpath"; then
16782 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16785 echo "$as_me: failed program was:" >&5
16786 sed 's/^/| /' conftest.
$ac_ext >&5
16789 rm -f conftest.err conftest.
$ac_objext \
16790 conftest
$ac_exeext conftest.
$ac_ext
16791 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16793 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16794 # Warning - without using the other run time loading flags,
16795 # -berok will link without error, but may produce a broken library.
16796 no_undefined_flag_GCJ
=' ${wl}-bernotok'
16797 allow_undefined_flag_GCJ
=' ${wl}-berok'
16798 # Exported symbols can be pulled into shared objects from archives
16799 whole_archive_flag_spec_GCJ
='$convenience'
16800 archive_cmds_need_lc_GCJ
=yes
16801 # This is similar to how AIX traditionally builds its shared libraries.
16802 archive_expsym_cmds_GCJ
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
16808 if test "$host_cpu" = m68k
; then
16809 archive_cmds_GCJ
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
16810 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16811 hardcode_minus_L_GCJ
=yes
16813 # see comment about different semantics on the GNU ld section
16818 export_dynamic_flag_spec_GCJ
=-rdynamic
16821 cygwin
* | mingw
* | pw32
*)
16822 # When not using gcc, we currently assume that we are using
16823 # Microsoft Visual C++.
16824 # hardcode_libdir_flag_spec is actually meaningless, as there is
16825 # no search path for DLLs.
16826 hardcode_libdir_flag_spec_GCJ
=' '
16827 allow_undefined_flag_GCJ
=unsupported
16828 # Tell ltmain to make .lib files, not .a files.
16830 # Tell ltmain to make .dll files, not .so files.
16832 # FIXME: Setting linknames here is a bad hack.
16833 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
16834 # The linker will automatically build a .lib file if we build a DLL.
16835 old_archive_from_new_cmds_GCJ
='true'
16836 # FIXME: Should let the user specify the lib program.
16837 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
16838 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
16839 enable_shared_with_static_runtimes_GCJ
=yes
16842 darwin
* | rhapsody
*)
16844 rhapsody
* | darwin1.
[012])
16845 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
16848 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
16850 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16853 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
16858 archive_cmds_need_lc_GCJ
=no
16859 hardcode_direct_GCJ
=no
16860 hardcode_automatic_GCJ
=yes
16861 hardcode_shlibpath_var_GCJ
=unsupported
16862 whole_archive_flag_spec_GCJ
=''
16863 link_all_deplibs_GCJ
=yes
16864 if test "$GCC" = yes ; then
16865 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
16866 echo $ECHO_N "(cached) $ECHO_C" >&6
16868 lt_cv_apple_cc_single_mod
=no
16869 if test -z "${LT_MULTI_MODULE}"; then
16870 # By default we will add the -single_module flag. You can override
16871 # by either setting the environment variable LT_MULTI_MODULE
16872 # non-empty at configure time, or by adding -multi-module to the
16874 echo "int foo(void){return 1;}" > conftest.c
16875 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
16876 -dynamiclib ${wl}-single_module conftest.c
16877 if test -f libconftest.dylib
; then
16878 lt_cv_apple_cc_single_mod
=yes
16879 rm libconftest.dylib
16881 rm conftest.
$ac_ext
16885 output_verbose_link_cmd
=echo
16886 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
16887 archive_cmds_GCJ
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16888 archive_expsym_cmds_GCJ
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16890 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16891 archive_expsym_cmds_GCJ
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16893 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16894 module_expsym_cmds_GCJ
='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16896 case $cc_basename in
16898 output_verbose_link_cmd
=echo
16899 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
16900 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16901 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16902 archive_expsym_cmds_GCJ
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16903 module_expsym_cmds_GCJ
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16913 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16914 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16915 hardcode_shlibpath_var_GCJ
=no
16922 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16923 # support. Future versions do this automatically, but an explicit c++rt0.o
16924 # does not break anything, and helps significantly (at the cost of a little
16927 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16928 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16929 hardcode_direct_GCJ
=yes
16930 hardcode_shlibpath_var_GCJ
=no
16933 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16935 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16936 hardcode_direct_GCJ
=yes
16937 hardcode_minus_L_GCJ
=yes
16938 hardcode_shlibpath_var_GCJ
=no
16941 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16942 freebsd
* | dragonfly
*)
16943 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16944 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16945 hardcode_direct_GCJ
=yes
16946 hardcode_shlibpath_var_GCJ
=no
16950 if test "$GCC" = yes; then
16951 archive_cmds_GCJ
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16953 archive_cmds_GCJ
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16955 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16956 hardcode_libdir_separator_GCJ
=:
16957 hardcode_direct_GCJ
=yes
16959 # hardcode_minus_L: Not really in the search PATH,
16960 # but as the default location of the library.
16961 hardcode_minus_L_GCJ
=yes
16962 export_dynamic_flag_spec_GCJ
='${wl}-E'
16966 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16967 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16969 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16971 if test "$with_gnu_ld" = no
; then
16972 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16973 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
16974 hardcode_libdir_separator_GCJ
=:
16975 hardcode_direct_GCJ
=yes
16976 hardcode_direct_absolute_GCJ
=yes
16977 export_dynamic_flag_spec_GCJ
='${wl}-E'
16978 # hardcode_minus_L: Not really in the search PATH,
16979 # but as the default location of the library.
16980 hardcode_minus_L_GCJ
=yes
16985 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16988 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16991 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16994 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17000 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17003 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17006 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17010 if test "$with_gnu_ld" = no
; then
17011 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17012 hardcode_libdir_separator_GCJ
=:
17016 hardcode_direct_GCJ
=no
17017 hardcode_shlibpath_var_GCJ
=no
17020 hardcode_direct_GCJ
=yes
17021 hardcode_direct_absolute_GCJ
=yes
17022 export_dynamic_flag_spec_GCJ
='${wl}-E'
17024 # hardcode_minus_L: Not really in the search PATH,
17025 # but as the default location of the library.
17026 hardcode_minus_L_GCJ
=yes
17032 irix5
* | irix6
* | nonstopux
*)
17033 if test "$GCC" = yes; then
17034 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17035 # Try to use the -exported_symbol ld option, if it does not
17036 # work, assume that -exports_file does not work either and
17037 # implicitly export all symbols.
17038 save_LDFLAGS
="$LDFLAGS"
17039 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
17040 if test x
$gcc_no_link = xyes
; then
17041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17043 { (exit 1); exit 1; }; }
17045 cat >conftest.
$ac_ext <<_ACEOF
17048 rm -f conftest.
$ac_objext conftest
$ac_exeext
17049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17050 (eval $ac_link) 2>conftest.er1
17052 grep -v '^ *+' conftest.er1
>conftest.err
17054 cat conftest.err
>&5
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 (exit $ac_status); } &&
17057 { ac_try
='test -z "$ac_c_werror_flag"
17058 || test ! -s conftest.err'
17059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17060 (eval $ac_try) 2>&5
17062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17063 (exit $ac_status); }; } &&
17064 { ac_try
='test -s conftest$ac_exeext'
17065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17066 (eval $ac_try) 2>&5
17068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); }; }; then
17070 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
17073 echo "$as_me: failed program was:" >&5
17074 sed 's/^/| /' conftest.
$ac_ext >&5
17077 rm -f conftest.err conftest.
$ac_objext \
17078 conftest
$ac_exeext conftest.
$ac_ext
17079 LDFLAGS
="$save_LDFLAGS"
17081 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
17082 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
17084 archive_cmds_need_lc_GCJ
='no'
17085 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17086 hardcode_libdir_separator_GCJ
=:
17087 inherit_rpath_GCJ
=yes
17088 link_all_deplibs_GCJ
=yes
17092 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
17093 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17095 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17097 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17098 hardcode_direct_GCJ
=yes
17099 hardcode_shlibpath_var_GCJ
=no
17103 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17104 hardcode_direct_GCJ
=yes
17105 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17106 hardcode_libdir_separator_GCJ
=:
17107 hardcode_shlibpath_var_GCJ
=no
17114 hardcode_direct_GCJ
=yes
17115 hardcode_shlibpath_var_GCJ
=no
17116 hardcode_direct_absolute_GCJ
=yes
17117 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17118 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17119 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17120 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17121 export_dynamic_flag_spec_GCJ
='${wl}-E'
17124 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17125 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17126 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17129 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17130 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17137 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17138 hardcode_minus_L_GCJ
=yes
17139 allow_undefined_flag_GCJ
=unsupported
17140 archive_cmds_GCJ
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
17141 old_archive_from_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17145 if test "$GCC" = yes; then
17146 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17147 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17149 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17150 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
17152 archive_cmds_need_lc_GCJ
='no'
17153 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17154 hardcode_libdir_separator_GCJ
=:
17157 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17158 if test "$GCC" = yes; then
17159 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17160 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17161 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17163 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17164 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
17165 archive_expsym_cmds_GCJ
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
17166 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
17168 # Both c and cxx compiler support -rpath directly
17169 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17171 archive_cmds_need_lc_GCJ
='no'
17172 hardcode_libdir_separator_GCJ
=:
17176 no_undefined_flag_GCJ
=' -z defs'
17177 if test "$GCC" = yes; then
17179 archive_cmds_GCJ
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17180 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17181 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
17183 case `$CC -V 2>&1` in
17186 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17187 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17188 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
17192 archive_cmds_GCJ
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
17193 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17194 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
17198 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17199 hardcode_shlibpath_var_GCJ
=no
17201 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17203 # The compiler driver will combine and reorder linker options,
17204 # but understands `-z linker_flag'. GCC discards it without `$wl',
17205 # but is careful enough not to reorder.
17206 # Supported since Solaris 2.6 (maybe 2.5.1?)
17207 if test "$GCC" = yes; then
17208 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17210 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
17214 link_all_deplibs_GCJ
=yes
17218 if test "x$host_vendor" = xsequent
; then
17219 # Use $CC to link under sequent, because it throws in some extra .o
17220 # files that make .init and .fini sections work.
17221 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17223 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17225 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17226 hardcode_direct_GCJ
=yes
17227 hardcode_minus_L_GCJ
=yes
17228 hardcode_shlibpath_var_GCJ
=no
17232 case $host_vendor in
17234 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17235 hardcode_direct_GCJ
=yes # is this really true???
17238 ## LD is ld it makes a PLAMLIB
17239 ## CC just makes a GrossModule.
17240 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17241 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17242 hardcode_direct_GCJ
=no
17245 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17246 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17249 runpath_var
='LD_RUN_PATH'
17250 hardcode_shlibpath_var_GCJ
=no
17254 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17255 hardcode_shlibpath_var_GCJ
=no
17256 export_dynamic_flag_spec_GCJ
='-Bexport'
17260 if test -d /usr
/nec
; then
17261 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17262 hardcode_shlibpath_var_GCJ
=no
17263 runpath_var
=LD_RUN_PATH
17264 hardcode_runpath_var
=yes
17269 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
17270 no_undefined_flag_GCJ
='${wl}-z,text'
17271 archive_cmds_need_lc_GCJ
=no
17272 hardcode_shlibpath_var_GCJ
=no
17273 runpath_var
='LD_RUN_PATH'
17275 if test "$GCC" = yes; then
17276 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17277 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17279 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17280 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17284 sysv5
* | sco3.2v5
* | sco5v6
*)
17285 # Note: We can NOT use -z defs as we might desire, because we do not
17286 # link with -lc, and that would cause any symbols used from libc to
17287 # always be unresolved, which means just about no library would
17288 # ever link correctly. If we're not using GNU ld we use -z text
17289 # though, which does catch some bad symbols but isn't as heavy-handed
17291 no_undefined_flag_GCJ
='${wl}-z,text'
17292 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17293 archive_cmds_need_lc_GCJ
=no
17294 hardcode_shlibpath_var_GCJ
=no
17295 hardcode_libdir_flag_spec_GCJ
='${wl}-R,$libdir'
17296 hardcode_libdir_separator_GCJ
=':'
17297 link_all_deplibs_GCJ
=yes
17298 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17299 runpath_var
='LD_RUN_PATH'
17301 if test "$GCC" = yes; then
17302 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17303 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17305 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17306 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17311 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17312 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17313 hardcode_shlibpath_var_GCJ
=no
17321 if test x
$host_vendor = xsni
; then
17323 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
17324 export_dynamic_flag_spec_GCJ
='${wl}-Blargedynsym'
17330 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17331 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17332 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17334 with_gnu_ld_GCJ
=$with_gnu_ld
17342 # Do we need to explicitly link libc?
17344 case "x$archive_cmds_need_lc_GCJ" in
17346 # Assume -lc should be added
17347 archive_cmds_need_lc_GCJ
=yes
17349 if test "$enable_shared" = yes && test "$GCC" = yes; then
17350 case $archive_cmds_GCJ in
17352 # FIXME: we may have to deal with multi-command sequences.
17355 # Test whether the compiler implicitly links with -lc since on some
17356 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17357 # to ld, don't add -lc before -lgcc.
17358 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17359 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17361 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17364 (eval $ac_compile) 2>&5
17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367 (exit $ac_status); } 2>conftest.err
; then
17370 libobjs
=conftest.
$ac_objext
17372 wl
=$lt_prog_compiler_wl_GCJ
17373 pic_flag
=$lt_prog_compiler_pic_GCJ
17379 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17380 allow_undefined_flag_GCJ
=
17381 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
17382 (eval $archive_cmds_GCJ 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); }
17387 archive_cmds_need_lc_GCJ
=no
17389 archive_cmds_need_lc_GCJ
=yes
17391 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17393 cat conftest.err
1>&5
17396 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17397 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17467 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17468 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17470 library_names_spec
=
17471 libname_spec
='lib$name'
17475 postuninstall_cmds
=
17479 shlibpath_overrides_runpath
=unknown
17481 dynamic_linker
="$host_os ld.so"
17482 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17483 need_lib_prefix
=unknown
17484 hardcode_into_libs
=no
17486 # when you set need_version to no, make sure it does not cause -set_version
17487 # flags to be left without arguments
17488 need_version
=unknown
17493 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17494 shlibpath_var
=LIBPATH
17496 # AIX 3 has no versioning support, so we append a major version to the name.
17497 soname_spec
='${libname}${release}${shared_ext}$major'
17504 hardcode_into_libs
=yes
17505 if test "$host_cpu" = ia64
; then
17506 # AIX 5 supports IA64
17507 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17508 shlibpath_var
=LD_LIBRARY_PATH
17510 # With GCC up to 2.95.x, collect2 would create an import file
17511 # for dependence libraries. The import file would start with
17512 # the line `#! .'. This would cause the generated library to
17513 # depend on `.', always an invalid library. This was fixed in
17514 # development snapshots of GCC prior to 3.0.
17516 aix4 | aix4.
[01] | aix4.
[01].
*)
17517 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17519 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
17522 can_build_shared
=no
17526 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17527 # soname into executable. Probably we can add versioning support to
17528 # collect2, so additional links can be useful in future.
17529 if test "$aix_use_runtimelinking" = yes; then
17530 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17531 # instead of lib<name>.a to let people know that these are not
17532 # typical AIX shared libraries.
17533 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17535 # We preserve .a as extension for shared libraries through AIX4.2
17536 # and later when we are not doing run time linking.
17537 library_names_spec
='${libname}${release}.a $libname.a'
17538 soname_spec
='${libname}${release}${shared_ext}$major'
17540 shlibpath_var
=LIBPATH
17545 if test "$host_cpu" = m68k
; then
17546 library_names_spec
='$libname.ixlibrary $libname.a'
17547 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17548 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
17555 library_names_spec
='${libname}${shared_ext}'
17556 dynamic_linker
="$host_os ld.so"
17557 shlibpath_var
=LIBRARY_PATH
17563 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17564 soname_spec
='${libname}${release}${shared_ext}$major'
17565 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17566 shlibpath_var
=LD_LIBRARY_PATH
17567 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17568 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17569 # the default ld.so.conf also contains /usr/contrib/lib and
17570 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17571 # libtool to hard-code these into programs
17574 cygwin
* | mingw
* | pw32
*)
17575 version_type
=windows
17580 case $withGCC,$host_os in
17581 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17582 library_names_spec
='$libname.dll.a'
17583 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17584 postinstall_cmds
='base_file=`basename \${file}`~
17585 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17586 dldir=$destdir/`dirname \$dlpath`~
17587 test -d \$dldir || mkdir -p \$dldir~
17588 $install_prog $dir/$dlname \$dldir/$dlname~
17589 chmod a+x \$dldir/$dlname~
17590 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17591 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17593 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17594 dlpath=$dir/\$dldll~
17596 shlibpath_overrides_runpath
=yes
17600 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17601 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17602 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17605 # MinGW DLLs use traditional 'lib' prefix
17606 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17607 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17608 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
17609 # It is most probably a Windows format PATH printed by
17610 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17611 # path with ; separators, and with drive letters. We can handle the
17612 # drive letters (cygwin fileutils understands them), so leave them,
17613 # especially as we might pass files found there to a mingw objdump,
17614 # which wouldn't understand a cygwinified path. Ahh.
17615 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17617 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17621 # pw32 DLLs use 'pw' prefix rather than 'lib'
17622 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17628 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17631 dynamic_linker
='Win32 ld.exe'
17632 # FIXME: first we should search . and the directory the executable is in
17636 darwin
* | rhapsody
*)
17637 dynamic_linker
="$host_os dyld"
17638 version_type
=darwin
17641 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17642 soname_spec
='${libname}${release}${major}$shared_ext'
17643 shlibpath_overrides_runpath
=yes
17644 shlibpath_var
=DYLD_LIBRARY_PATH
17645 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17647 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17654 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17655 soname_spec
='${libname}${release}${shared_ext}$major'
17656 shlibpath_var
=LD_LIBRARY_PATH
17663 freebsd
* | dragonfly
*)
17664 # DragonFly does not have aout. When/if they implement a new
17665 # versioning mechanism, adjust this.
17666 if test -x /usr
/bin
/objformat
; then
17667 objformat
=`/usr/bin/objformat`
17670 freebsd
[123]*) objformat
=aout
;;
17671 *) objformat
=elf
;;
17674 version_type
=freebsd-
$objformat
17675 case $version_type in
17677 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17682 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17686 shlibpath_var
=LD_LIBRARY_PATH
17689 shlibpath_overrides_runpath
=yes
17691 freebsd3.
[01]* | freebsdelf3.
[01]*)
17692 shlibpath_overrides_runpath
=yes
17693 hardcode_into_libs
=yes
17695 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17696 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17697 shlibpath_overrides_runpath
=no
17698 hardcode_into_libs
=yes
17700 *) # from 4.6 on, and DragonFly
17701 shlibpath_overrides_runpath
=yes
17702 hardcode_into_libs
=yes
17711 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17712 soname_spec
='${libname}${release}${shared_ext}$major'
17713 shlibpath_var
=LD_LIBRARY_PATH
17714 hardcode_into_libs
=yes
17717 hpux9
* | hpux10
* | hpux11
*)
17718 # Give a soname corresponding to the major version so that dld.sl refuses to
17719 # link against other versions.
17726 hardcode_into_libs
=yes
17727 dynamic_linker
="$host_os dld.so"
17728 shlibpath_var
=LD_LIBRARY_PATH
17729 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17730 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17731 soname_spec
='${libname}${release}${shared_ext}$major'
17732 if test "X$HPUX_IA64_MODE" = X32
; then
17733 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17735 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17737 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17741 hardcode_into_libs
=yes
17742 dynamic_linker
="$host_os dld.sl"
17743 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17744 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17745 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17746 soname_spec
='${libname}${release}${shared_ext}$major'
17747 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17748 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17752 dynamic_linker
="$host_os dld.sl"
17753 shlibpath_var
=SHLIB_PATH
17754 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17755 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17756 soname_spec
='${libname}${release}${shared_ext}$major'
17759 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17760 postinstall_cmds
='chmod 555 $lib'
17767 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17768 soname_spec
='${libname}${release}${shared_ext}$major'
17769 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17770 shlibpath_var
=LD_LIBRARY_PATH
17771 shlibpath_overrides_runpath
=no
17772 hardcode_into_libs
=yes
17775 irix5
* | irix6
* | nonstopux
*)
17777 nonstopux
*) version_type
=nonstopux
;;
17779 if test "$lt_cv_prog_gnu_ld" = yes; then
17787 soname_spec
='${libname}${release}${shared_ext}$major'
17788 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17790 irix5
* | nonstopux
*)
17791 libsuff
= shlibsuff
=
17794 case $LD in # libtool.m4 will add one of these switches to LD
17795 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17796 libsuff
= shlibsuff
= libmagic
=32-bit;;
17797 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17798 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17799 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17800 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17801 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17805 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17806 shlibpath_overrides_runpath
=no
17807 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17808 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17809 hardcode_into_libs
=yes
17812 # No shared lib support for Linux oldld, aout, or coff.
17813 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17817 # This must be Linux ELF.
17818 linux
* | k
*bsd
*-gnu)
17822 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17823 soname_spec
='${libname}${release}${shared_ext}$major'
17824 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17825 shlibpath_var
=LD_LIBRARY_PATH
17826 shlibpath_overrides_runpath
=no
17827 # Some binutils ld are patched to set DT_RUNPATH
17828 save_LDFLAGS
=$LDFLAGS
17829 save_libdir
=$libdir
17830 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_GCJ\"; \
17831 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_GCJ\""
17832 if test x
$gcc_no_link = xyes
; then
17833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17835 { (exit 1); exit 1; }; }
17837 cat >conftest.
$ac_ext <<_ACEOF
17840 cat confdefs.h
>>conftest.
$ac_ext
17841 cat >>conftest.
$ac_ext <<_ACEOF
17842 /* end confdefs.h. */
17852 rm -f conftest.
$ac_objext conftest
$ac_exeext
17853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17854 (eval $ac_link) 2>conftest.er1
17856 grep -v '^ *+' conftest.er1
>conftest.err
17858 cat conftest.err
>&5
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); } &&
17861 { ac_try
='test -z "$ac_c_werror_flag"
17862 || test ! -s conftest.err'
17863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17864 (eval $ac_try) 2>&5
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); }; } &&
17868 { ac_try
='test -s conftest$ac_exeext'
17869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17870 (eval $ac_try) 2>&5
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); }; }; then
17874 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
17875 shlibpath_overrides_runpath
=yes
17879 echo "$as_me: failed program was:" >&5
17880 sed 's/^/| /' conftest.
$ac_ext >&5
17883 rm -f conftest.err conftest.
$ac_objext \
17884 conftest
$ac_exeext conftest.
$ac_ext
17885 LDFLAGS
=$save_LDFLAGS
17886 libdir
=$save_libdir
17888 # This implies no fast_install, which is unacceptable.
17889 # Some rework will be needed to allow for fast_install
17890 # before this can be enabled.
17891 hardcode_into_libs
=yes
17893 # Append ld.so.conf contents to the search path
17894 if test -f /etc
/ld.so.conf
; then
17895 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17896 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17899 # We used to test for /lib/ld.so.1 and disable shared libraries on
17900 # powerpc, because MkLinux only supported shared libraries with the
17901 # GNU dynamic linker. Since this was broken with cross compilers,
17902 # most powerpc-linux boxes support dynamic linking these days and
17903 # people can always --disable-shared, the test was removed, and we
17904 # assume the GNU/Linux dynamic linker is in use.
17905 dynamic_linker
='GNU/Linux ld.so'
17912 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
17913 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17914 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17915 dynamic_linker
='NetBSD (a.out) ld.so'
17917 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17918 soname_spec
='${libname}${release}${shared_ext}$major'
17919 dynamic_linker
='NetBSD ld.elf_so'
17921 shlibpath_var
=LD_LIBRARY_PATH
17922 shlibpath_overrides_runpath
=yes
17923 hardcode_into_libs
=yes
17928 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17929 shlibpath_var
=LD_LIBRARY_PATH
17930 shlibpath_overrides_runpath
=yes
17937 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17938 soname_spec
='${libname}${release}${shared_ext}$major'
17939 shlibpath_var
=LD_LIBRARY_PATH
17940 shlibpath_overrides_runpath
=no
17941 hardcode_into_libs
=yes
17942 dynamic_linker
='ldqnx.so'
17947 sys_lib_dlsearch_path_spec
="/usr/lib"
17949 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17951 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
17952 *) need_version
=no
;;
17954 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17955 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17956 shlibpath_var
=LD_LIBRARY_PATH
17957 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17959 openbsd2.
[89] | openbsd2.
[89].
*)
17960 shlibpath_overrides_runpath
=no
17963 shlibpath_overrides_runpath
=yes
17967 shlibpath_overrides_runpath
=yes
17972 libname_spec
='$name'
17975 library_names_spec
='$libname${shared_ext} $libname.a'
17976 dynamic_linker
='OS/2 ld.exe'
17977 shlibpath_var
=LIBPATH
17980 osf3
* | osf4
* | osf5
*)
17984 soname_spec
='${libname}${release}${shared_ext}$major'
17985 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17986 shlibpath_var
=LD_LIBRARY_PATH
17987 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17988 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17999 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18000 soname_spec
='${libname}${release}${shared_ext}$major'
18001 shlibpath_var
=LD_LIBRARY_PATH
18002 shlibpath_overrides_runpath
=yes
18003 hardcode_into_libs
=yes
18004 # ldd complains unless libraries are executable
18005 postinstall_cmds
='chmod +x $lib'
18010 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18011 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18012 shlibpath_var
=LD_LIBRARY_PATH
18013 shlibpath_overrides_runpath
=yes
18014 if test "$with_gnu_ld" = yes; then
18022 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18023 soname_spec
='${libname}${release}${shared_ext}$major'
18024 shlibpath_var
=LD_LIBRARY_PATH
18025 case $host_vendor in
18027 shlibpath_overrides_runpath
=no
18029 runpath_var
=LD_RUN_PATH
18037 shlibpath_overrides_runpath
=no
18038 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18044 if test -d /usr
/nec
;then
18046 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18047 soname_spec
='$libname${shared_ext}.$major'
18048 shlibpath_var
=LD_LIBRARY_PATH
18052 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18053 version_type
=freebsd-elf
18056 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18057 soname_spec
='${libname}${release}${shared_ext}$major'
18058 shlibpath_var
=LD_LIBRARY_PATH
18059 shlibpath_overrides_runpath
=yes
18060 hardcode_into_libs
=yes
18061 if test "$with_gnu_ld" = yes; then
18062 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18064 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18067 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18071 sys_lib_dlsearch_path_spec
='/usr/lib'
18075 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
18079 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18080 shlibpath_var
=LD_LIBRARY_PATH
18081 shlibpath_overrides_runpath
=no
18082 hardcode_into_libs
=yes
18087 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18088 soname_spec
='${libname}${release}${shared_ext}$major'
18089 shlibpath_var
=LD_LIBRARY_PATH
18096 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18097 echo "${ECHO_T}$dynamic_linker" >&6
18098 test "$dynamic_linker" = no
&& can_build_shared
=no
18100 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18101 if test "$GCC" = yes; then
18102 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18140 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18141 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
18142 hardcode_action_GCJ
=
18143 if test -n "$hardcode_libdir_flag_spec_GCJ" ||
18144 test -n "$runpath_var_GCJ" ||
18145 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18147 # We can hardcode non-existent directories.
18148 if test "$hardcode_direct_GCJ" != no
&&
18149 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18150 # have to relink, otherwise we might link with an installed library
18151 # when we should be linking with a yet-to-be-installed one
18152 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18153 test "$hardcode_minus_L_GCJ" != no
; then
18154 # Linking always hardcodes the temporary library directory.
18155 hardcode_action_GCJ
=relink
18157 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18158 hardcode_action_GCJ
=immediate
18161 # We cannot hardcode anything, or else we can only hardcode existing
18163 hardcode_action_GCJ
=unsupported
18165 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18166 echo "${ECHO_T}$hardcode_action_GCJ" >&6
18168 if test "$hardcode_action_GCJ" = relink ||
18169 test "$inherit_rpath_GCJ" = yes; then
18170 # Fast installation is not supported
18171 enable_fast_install
=no
18172 elif test "$shlibpath_overrides_runpath" = yes ||
18173 test "$enable_shared" = no
; then
18174 # Fast installation is not necessary
18175 enable_fast_install
=needless
18186 compiler_GCJ
=${GCJ-gcj}
18188 ac_cpp
='$CPP $CPPFLAGS'
18189 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18190 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18191 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18194 if test "x$CC" != xcc
; then
18195 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
18196 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
18198 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
18199 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
18201 set dummy
$CC; ac_cc
=`echo $2 |
18202 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
18203 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
18204 echo $ECHO_N "(cached) $ECHO_C" >&6
18206 cat >conftest.
$ac_ext <<_ACEOF
18209 cat confdefs.h
>>conftest.
$ac_ext
18210 cat >>conftest.
$ac_ext <<_ACEOF
18211 /* end confdefs.h. */
18221 # Make sure it works both with $CC and with simple cc.
18222 # We do the test twice because some compilers refuse to overwrite an
18223 # existing .o file with -o, though they will create one.
18224 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
18225 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18226 (eval $ac_try) 2>&5
18228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229 (exit $ac_status); } &&
18230 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18231 (eval $ac_try) 2>&5
18233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18234 (exit $ac_status); };
18236 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
18237 if test "x$CC" != xcc
; then
18238 # Test first that cc exists at all.
18239 if { ac_try
='cc -c conftest.$ac_ext >&5'
18240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18241 (eval $ac_try) 2>&5
18243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18244 (exit $ac_status); }; }; then
18245 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
18246 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18247 (eval $ac_try) 2>&5
18249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18250 (exit $ac_status); } &&
18251 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18252 (eval $ac_try) 2>&5
18254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18255 (exit $ac_status); };
18260 # cc exists but doesn't like -o.
18261 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
18266 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
18271 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
18272 echo "$as_me:$LINENO: result: yes" >&5
18273 echo "${ECHO_T}yes" >&6
18275 echo "$as_me:$LINENO: result: no" >&5
18276 echo "${ECHO_T}no" >&6
18278 cat >>confdefs.h
<<\_ACEOF
18279 #define NO_MINUS_C_MINUS_O 1
18284 # FIXME: we rely on the cache variable name because
18285 # there is no other way.
18287 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
18288 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
18289 # Losing compiler, so override with the script.
18290 # FIXME: It is wrong to rewrite CC.
18291 # But if we don't then we get into trouble of one sort or another.
18292 # A longer-term fix would be to have automake use am__CC in this case,
18293 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
18294 CC
="$am_aux_dir/compile $CC"
18300 subdirs
="$subdirs classpath libltdl"
18303 # The -no-testsuite modules omit the test subdir.
18306 if test -d $srcdir/testsuite
; then
18308 TESTSUBDIR_FALSE
='#'
18310 TESTSUBDIR_TRUE
='#'
18315 # Should the runtime set system properties by examining the
18316 # environment variable GCJ_PROPERTIES?
18317 # Check whether --enable-getenv-properties or --disable-getenv-properties was given.
18318 if test "${enable_getenv_properties+set}" = set; then
18319 enableval
="$enable_getenv_properties"
18323 # Whether GCJ_PROPERTIES is used depends on the target.
18324 if test -z "$enable_getenv_properties"; then
18325 enable_getenv_properties
=${enable_getenv_properties_default-yes}
18327 if test "$enable_getenv_properties" = no
; then
18329 cat >>confdefs.h
<<\_ACEOF
18330 #define DISABLE_GETENV_PROPERTIES 1
18335 # Whether we should use arguments to main()
18336 if test -z "$enable_main_args"; then
18337 enable_main_args
=${enable_main_args_default-yes}
18339 if test "$enable_main_args" = no
; then
18341 cat >>confdefs.h
<<\_ACEOF
18342 #define DISABLE_MAIN_ARGS 1
18348 # Should we use hashtable-based synchronization?
18349 # Currently works only for Linux X86/ia64
18350 # Typically faster and more space-efficient
18351 # Check whether --enable-hash-synchronization or --disable-hash-synchronization was given.
18352 if test "${enable_hash_synchronization+set}" = set; then
18353 enableval
="$enable_hash_synchronization"
18357 if test -z "$enable_hash_synchronization"; then
18358 enable_hash_synchronization
=$enable_hash_synchronization_default
18366 # Check whether --with-ecj-jar or --without-ecj-jar was given.
18367 if test "${with_ecj_jar+set}" = set; then
18368 withval
="$with_ecj_jar"
18371 if test -f $multi_basedir/ecj.jar
; then
18372 ECJ_BUILD_JAR
=$multi_basedir/ecj.jar
18373 ECJ_JAR
='$(jardir)/ecj.jar'
18374 install_ecj_jar
=yes
18381 if test "$ECJ_JAR" != ""; then
18383 BUILD_ECJ1_FALSE
='#'
18385 BUILD_ECJ1_TRUE
='#'
18391 if test $install_ecj_jar = yes; then
18392 INSTALL_ECJ_JAR_TRUE
=
18393 INSTALL_ECJ_JAR_FALSE
='#'
18395 INSTALL_ECJ_JAR_TRUE
='#'
18396 INSTALL_ECJ_JAR_FALSE
=
18401 # Check whether --with-java-home or --without-java-home was given.
18402 if test "${with_java_home+set}" = set; then
18403 withval
="$with_java_home"
18404 JAVA_HOME
="${withval}"
18410 if test ! -z "$JAVA_HOME"; then
18411 JAVA_HOME_SET_TRUE
=
18412 JAVA_HOME_SET_FALSE
='#'
18414 JAVA_HOME_SET_TRUE
='#'
18415 JAVA_HOME_SET_FALSE
=
18420 suppress_libgcj_bc
=no
18421 # Check whether --enable-libgcj-bc or --disable-libgcj-bc was given.
18422 if test "${enable_libgcj_bc+set}" = set; then
18423 enableval
="$enable_libgcj_bc"
18424 if test "$enable_libgcj_bc" = "no"; then
18425 suppress_libgcj_bc
=yes
18430 if test "$suppress_libgcj_bc" = "yes"; then
18431 SUPPRESS_LIBGCJ_BC_TRUE
=
18432 SUPPRESS_LIBGCJ_BC_FALSE
='#'
18434 SUPPRESS_LIBGCJ_BC_TRUE
='#'
18435 SUPPRESS_LIBGCJ_BC_FALSE
=
18439 # What is the native OS API for MinGW?
18441 # Check whether --with-win32-nlsapi or --without-win32-nlsapi was given.
18442 if test "${with_win32_nlsapi+set}" = set; then
18443 withval
="$with_win32_nlsapi"
18444 case "${withval}" in
18445 ansi
) with_win32_nlsapi
=ansi
;;
18446 unicows
) with_win32_nlsapi
=unicows
;;
18447 unicode
) with_win32_nlsapi
=unicode
;;
18448 *) { { echo "$as_me:$LINENO: error: Bad value ${withval} for --with-win32-nlsapi." >&5
18449 echo "$as_me: error: Bad value ${withval} for --with-win32-nlsapi." >&2;}
18450 { (exit 1); exit 1; }; } ;;
18453 with_win32_nlsapi
=ansi
18456 case "${with_win32_nlsapi}" in
18459 cat >>confdefs.h
<<\_ACEOF
18460 #define MINGW_LIBGCJ_UNICODE 1
18466 # configure.host sets slow_pthread_self if the synchronization code should
18467 # try to avoid pthread_self calls by caching thread IDs in a hashtable.
18468 if test "${slow_pthread_self}" = "yes"; then
18470 cat >>confdefs.h
<<\_ACEOF
18471 #define SLOW_PTHREAD_SELF 1
18476 # Check for gc debugging. This option is handled both here and in the GC.
18477 # Check whether --enable-gc-debug or --disable-gc-debug was given.
18478 if test "${enable_gc_debug+set}" = set; then
18479 enableval
="$enable_gc_debug"
18480 if test "$enable_gc_debug" = "yes"; then
18482 cat >>confdefs.h
<<\_ACEOF
18483 #define LIBGCJ_GC_DEBUG 1
18489 # See if the user has the interpreter included.
18490 # Check whether --enable-interpreter or --disable-interpreter was given.
18491 if test "${enable_interpreter+set}" = set; then
18492 enableval
="$enable_interpreter"
18493 if test "$enable_interpreter" = yes; then
18494 # This can also be set in configure.host.
18495 libgcj_interpreter
=yes
18496 elif test "$enable_interpreter" = no
; then
18497 libgcj_interpreter
=no
18501 if test "$libgcj_interpreter" = yes; then
18503 cat >>confdefs.h
<<\_ACEOF
18504 #define INTERPRETER 1
18508 INTERPRETER
="$libgcj_interpreter"
18512 if test "$libgcj_interpreter" = yes; then
18514 INTERPRETER_FALSE
='#'
18516 INTERPRETER_TRUE
='#'
18521 echo "$as_me:$LINENO: checking for exception model to use" >&5
18522 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
18524 ac_cpp
='$CXXCPP $CPPFLAGS'
18525 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18526 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18527 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18529 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
18530 if test "${enable_sjlj_exceptions+set}" = set; then
18531 enableval
="$enable_sjlj_exceptions"
18534 cat > conftest.
$ac_ext << EOF
18535 #line 18535 "configure"
18536 struct S { ~S(); };
18544 old_CXXFLAGS
="$CXXFLAGS"
18546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18547 (eval $ac_compile) 2>&5
18549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18550 (exit $ac_status); }; then
18551 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1 ; then
18552 enable_sjlj_exceptions
=yes
18553 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1 ; then
18554 enable_sjlj_exceptions
=no
18557 CXXFLAGS
="$old_CXXFLAGS"
18560 if test x
$enable_sjlj_exceptions = xyes
; then
18562 cat >>confdefs.h
<<\_ACEOF
18563 #define SJLJ_EXCEPTIONS 1
18566 ac_exception_model_name
=sjlj
18567 elif test x
$enable_sjlj_exceptions = xno
; then
18568 ac_exception_model_name
="call frame"
18570 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
18571 echo "$as_me: error: unable to detect exception model" >&2;}
18572 { (exit 1); exit 1; }; }
18575 ac_cpp
='$CPP $CPPFLAGS'
18576 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18577 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18578 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18580 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
18581 echo "${ECHO_T}$ac_exception_model_name" >&6
18583 # If we are non using SJLJ exceptions, and this host does not have support
18584 # for unwinding from a signal handler, enable checked dereferences and divides.
18585 if test $can_unwind_signal = no
&& test $enable_sjlj_exceptions = no
; then
18586 CHECKREFSPEC
=-fcheck-references
18587 DIVIDESPEC
=-fuse-divide-subroutine
18591 # See if the user wants to disable java.net. This is the mildly
18592 # ugly way that we admit that target-side configuration sucks.
18593 # Check whether --enable-java-net or --disable-java-net was given.
18594 if test "${enable_java_net+set}" = set; then
18595 enableval
="$enable_java_net"
18599 # Whether java.net is built by default can depend on the target.
18600 if test -z "$enable_java_net"; then
18601 enable_java_net
=${enable_java_net_default-yes}
18603 if test "$enable_java_net" = no
; then
18605 cat >>confdefs.h
<<\_ACEOF
18606 #define DISABLE_JAVA_NET 1
18611 # See if the user wants to configure without libffi. Some
18612 # architectures don't support it, and default values are set in
18615 # Check whether --with-libffi or --without-libffi was given.
18616 if test "${with_libffi+set}" = set; then
18617 withval
="$with_libffi"
18620 with_libffi
=${with_libffi_default-yes}
18625 if test "$with_libffi" != no
; then
18627 cat >>confdefs.h
<<\_ACEOF
18628 #define USE_LIBFFI 1
18631 LIBFFI
=..
/libffi
/libffi_convenience.la
18632 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
18637 # See if the user wants to disable JVMPI support.
18638 # Check whether --enable-jvmpi or --disable-jvmpi was given.
18639 if test "${enable_jvmpi+set}" = set; then
18640 enableval
="$enable_jvmpi"
18644 if test "$enable_jvmpi" != no
; then
18646 cat >>confdefs.h
<<\_ACEOF
18647 #define ENABLE_JVMPI 1
18652 # If the target is an eCos system, use the appropriate eCos
18654 # FIXME: this should not be a local option but a global target
18655 # system; at present there is no eCos target.
18656 TARGET_ECOS
=${PROCESS-"no"}
18658 # Check whether --with-ecos or --without-ecos was given.
18659 if test "${with_ecos+set}" = set; then
18660 withval
="$with_ecos"
18661 TARGET_ECOS
="$with_ecos"
18665 case "$TARGET_ECOS" in
18666 no
) case "$host" in
18672 echo "$as_me:$LINENO: checking whether 'ld' is at least 2.13" >&5
18673 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6
18674 LD_PROG
=`$CC --print-prog-name=ld`
18675 LD_VERSION
=`$LD_PROG --version`
18676 LD_VERSION_MAJOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
18677 LD_VERSION_MINOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
18678 if expr "$LD_VERSION_MAJOR" \
> 2 > /dev
/null
; then
18681 if expr "$LD_VERSION_MAJOR" = 2 && expr "$LD_VERSION_MINOR" \
>= 13 > /dev
/null
; then
18685 if test "x$LD_OK" != x
; then
18686 echo "$as_me:$LINENO: result: yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
18687 echo "${ECHO_T}yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
18689 echo "$as_me:$LINENO: result: no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
18690 echo "${ECHO_T}no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
18691 { echo "$as_me:$LINENO: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&5
18692 echo "$as_me: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&2;}
18694 cat >>confdefs.h
<<\_ACEOF
18695 #define JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS 1
18711 cat >>confdefs.h
<<\_ACEOF
18719 ac_config_links
="$ac_config_links include/platform.h:include/$PLATFORMH"
18722 cat >conftest.
$ac_ext <<_ACEOF
18725 cat confdefs.h
>>conftest.
$ac_ext
18726 cat >>conftest.
$ac_ext <<_ACEOF
18727 /* end confdefs.h. */
18728 #include <stdint.h>
18731 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18732 $EGREP "uint32_t" >/dev
/null
2>&1; then
18734 cat >>confdefs.h
<<\_ACEOF
18735 #define HAVE_INT32_DEFINED 1
18741 cat >conftest.
$ac_ext <<_ACEOF
18744 cat confdefs.h
>>conftest.
$ac_ext
18745 cat >>conftest.
$ac_ext <<_ACEOF
18746 /* end confdefs.h. */
18747 #include <inttypes.h>
18750 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18751 $EGREP "uint32_t" >/dev
/null
2>&1; then
18753 cat >>confdefs.h
<<\_ACEOF
18754 #define HAVE_INT32_DEFINED 1
18760 cat >conftest.
$ac_ext <<_ACEOF
18763 cat confdefs.h
>>conftest.
$ac_ext
18764 cat >>conftest.
$ac_ext <<_ACEOF
18765 /* end confdefs.h. */
18766 #include <sys/types.h>
18769 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18770 $EGREP "u_int32_t" >/dev
/null
2>&1; then
18772 cat >>confdefs.h
<<\_ACEOF
18773 #define HAVE_BSD_INT32_DEFINED 1
18779 cat >conftest.
$ac_ext <<_ACEOF
18782 cat confdefs.h
>>conftest.
$ac_ext
18783 cat >>conftest.
$ac_ext <<_ACEOF
18784 /* end confdefs.h. */
18785 #include <sys/config.h>
18788 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18789 $EGREP "u_int32_t" >/dev
/null
2>&1; then
18791 cat >>confdefs.h
<<\_ACEOF
18792 #define HAVE_BSD_INT32_DEFINED 1
18801 if test "$PLATFORM" = Win32
; then
18802 USING_WIN32_PLATFORM_TRUE
=
18803 USING_WIN32_PLATFORM_FALSE
='#'
18805 USING_WIN32_PLATFORM_TRUE
='#'
18806 USING_WIN32_PLATFORM_FALSE
=
18811 if test "$PLATFORM" = Posix ||
test "$PLATFORM" = Ecos
; then
18812 USING_POSIX_PLATFORM_TRUE
=
18813 USING_POSIX_PLATFORM_FALSE
='#'
18815 USING_POSIX_PLATFORM_TRUE
='#'
18816 USING_POSIX_PLATFORM_FALSE
=
18821 *-darwin*) DARWIN_CRT
=true
;;
18822 *) DARWIN_CRT
=false
;;
18826 if $DARWIN_CRT; then
18827 USING_DARWIN_CRT_TRUE
=
18828 USING_DARWIN_CRT_FALSE
='#'
18830 USING_DARWIN_CRT_TRUE
='#'
18831 USING_DARWIN_CRT_FALSE
=
18835 # This may not be defined in a non-ANS conformant embedded system.
18836 # FIXME: Should these case a runtime exception in that case?
18837 cat >conftest.
$ac_ext <<_ACEOF
18840 cat confdefs.h
>>conftest.
$ac_ext
18841 cat >>conftest.
$ac_ext <<_ACEOF
18842 /* end confdefs.h. */
18846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18847 $EGREP "localtime" >/dev
/null
2>&1; then
18849 cat >>confdefs.h
<<\_ACEOF
18850 #define HAVE_LOCALTIME 1
18857 # Create the subdirectory for natFile.cc, or the attempt
18858 # to create the link will fail.
18859 test -d java || mkdir java
18860 test -d java
/io || mkdir java
/io
18861 test -d gnu || mkdir gnu
18862 ac_config_links
="$ac_config_links java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc"
18865 # Likewise for natConcreteProcess.cc.
18866 test -d java
/lang || mkdir java
/lang
18867 ac_config_links
="$ac_config_links java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc"
18870 # Likewise for natVMInetAddress.cc and natVMNetworkInterface.cc.
18871 test -d java
/net || mkdir java
/net
18872 ac_config_links
="$ac_config_links java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc"
18874 ac_config_links
="$ac_config_links java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc"
18877 # Likewise for natPlainSocketImpl.cc and natPlainDatagramSocketImpl.cc.
18878 test -d gnu
/java || mkdir gnu
/java
18879 test -d gnu
/java
/net || mkdir gnu
/java
/net
18880 ac_config_links
="$ac_config_links gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc"
18882 ac_config_links
="$ac_config_links gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc"
18885 # Likewise for natVMPipe.cc and natVMSelector.cc.
18886 test -d gnu
/java
/nio || mkdir gnu
/java
/nio
18887 ac_config_links
="$ac_config_links gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc"
18889 ac_config_links
="$ac_config_links gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc"
18892 # Likewise for natFileChannelImpl.cc
18893 test -d gnu
/java
/nio
/channels || mkdir gnu
/java
/nio
/channels
18894 ac_config_links
="$ac_config_links gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc"
18899 SYSTEMSPEC
="-lgdi32 -lws2_32"
18900 if test "${with_win32_nlsapi}" = "unicows"; then
18901 SYSTEMSPEC
="-lunicows $SYSTEMSPEC"
18911 # Check whether --with-system-zlib or --without-system-zlib was given.
18912 if test "${with_system_zlib+set}" = set; then
18913 withval
="$with_system_zlib"
18921 echo "$as_me:$LINENO: checking for X" >&5
18922 echo $ECHO_N "checking for X... $ECHO_C" >&6
18925 # Check whether --with-x or --without-x was given.
18926 if test "${with_x+set}" = set; then
18930 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
18931 if test "x$with_x" = xno
; then
18932 # The user explicitly disabled X.
18935 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
18936 # Both variables are already set.
18939 if test "${ac_cv_have_x+set}" = set; then
18940 echo $ECHO_N "(cached) $ECHO_C" >&6
18942 # One or both of the vars are not set, and there is no cached value.
18943 ac_x_includes
=no ac_x_libraries
=no
18944 rm -fr conftest.dir
18945 if mkdir conftest.dir
; then
18947 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
18948 cat >Imakefile
<<'_ACEOF'
18950 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
18952 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
18953 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18954 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
18955 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
18956 for ac_extension
in a so sl
; do
18957 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
18958 test -f $ac_im_libdir/libX11.
$ac_extension; then
18959 ac_im_usrlibdir
=$ac_im_libdir; break
18962 # Screen out bogus values from the imake configuration. They are
18963 # bogus both because they are the default anyway, and because
18964 # using them would break gcc on systems where it needs fixed includes.
18965 case $ac_im_incroot in
18967 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
18969 case $ac_im_usrlibdir in
18970 /usr
/lib |
/lib
) ;;
18971 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
18975 rm -fr conftest.dir
18978 # Standard set of common directories for X headers.
18979 # Check X11 before X11Rn because it is often a symlink to the current release.
18991 /usr/local/X11/include
18992 /usr/local/X11R6/include
18993 /usr/local/X11R5/include
18994 /usr/local/X11R4/include
18996 /usr/local/include/X11
18997 /usr/local/include/X11R6
18998 /usr/local/include/X11R5
18999 /usr/local/include/X11R4
19003 /usr/XFree86/include/X11
19007 /usr/unsupported/include
19008 /usr/athena/include
19009 /usr/local/x11r5/include
19010 /usr/lpp/Xamples/include
19012 /usr/openwin/include
19013 /usr/openwin/share/include'
19015 if test "$ac_x_includes" = no
; then
19016 # Guess where to find include files, by looking for Xlib.h.
19017 # First, try using that file with no special directory specified.
19018 cat >conftest.
$ac_ext <<_ACEOF
19021 cat confdefs.h
>>conftest.
$ac_ext
19022 cat >>conftest.
$ac_ext <<_ACEOF
19023 /* end confdefs.h. */
19024 #include <X11/Xlib.h>
19026 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19027 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19029 grep -v '^ *+' conftest.er1
>conftest.err
19031 cat conftest.err
>&5
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); } >/dev
/null
; then
19034 if test -s conftest.err
; then
19035 ac_cpp_err
=$ac_c_preproc_warn_flag
19036 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19043 if test -z "$ac_cpp_err"; then
19044 # We can compile using X headers with no special include directory.
19047 echo "$as_me: failed program was:" >&5
19048 sed 's/^/| /' conftest.
$ac_ext >&5
19050 for ac_dir
in $ac_x_header_dirs; do
19051 if test -r "$ac_dir/X11/Xlib.h"; then
19052 ac_x_includes
=$ac_dir
19057 rm -f conftest.err conftest.
$ac_ext
19058 fi # $ac_x_includes = no
19060 if test "$ac_x_libraries" = no
; then
19061 # Check for the libraries.
19062 # See if we find them without any special options.
19063 # Don't add to $LIBS permanently.
19066 if test x
$gcc_no_link = xyes
; then
19067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19069 { (exit 1); exit 1; }; }
19071 cat >conftest.
$ac_ext <<_ACEOF
19074 cat confdefs.h
>>conftest.
$ac_ext
19075 cat >>conftest.
$ac_ext <<_ACEOF
19076 /* end confdefs.h. */
19077 #include <X11/Xlib.h>
19086 rm -f conftest.
$ac_objext conftest
$ac_exeext
19087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19088 (eval $ac_link) 2>conftest.er1
19090 grep -v '^ *+' conftest.er1
>conftest.err
19092 cat conftest.err
>&5
19093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19094 (exit $ac_status); } &&
19095 { ac_try
='test -z "$ac_c_werror_flag"
19096 || test ! -s conftest.err'
19097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19098 (eval $ac_try) 2>&5
19100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19101 (exit $ac_status); }; } &&
19102 { ac_try
='test -s conftest$ac_exeext'
19103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19104 (eval $ac_try) 2>&5
19106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19107 (exit $ac_status); }; }; then
19109 # We can link X programs with no special library path.
19112 echo "$as_me: failed program was:" >&5
19113 sed 's/^/| /' conftest.
$ac_ext >&5
19116 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
19118 # Don't even attempt the hair of trying to link an X program!
19119 for ac_extension
in a so sl
; do
19120 if test -r $ac_dir/libXt.
$ac_extension; then
19121 ac_x_libraries
=$ac_dir
19127 rm -f conftest.err conftest.
$ac_objext \
19128 conftest
$ac_exeext conftest.
$ac_ext
19129 fi # $ac_x_libraries = no
19131 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
19132 # Didn't find X anywhere. Cache the known absence of X.
19133 ac_cv_have_x
="have_x=no"
19135 # Record where we found X for the cache.
19136 ac_cv_have_x
="have_x=yes \
19137 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
19142 eval "$ac_cv_have_x"
19145 if test "$have_x" != yes; then
19146 echo "$as_me:$LINENO: result: $have_x" >&5
19147 echo "${ECHO_T}$have_x" >&6
19150 # If each of the values was on the command line, it overrides each guess.
19151 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
19152 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
19153 # Update the cache value to reflect the command line values.
19154 ac_cv_have_x
="have_x=yes \
19155 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
19156 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
19157 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
19160 if test "$no_x" = yes; then
19161 # Not all programs may use this symbol, but it does not hurt to define it.
19163 cat >>confdefs.h
<<\_ACEOF
19164 #define X_DISPLAY_MISSING 1
19167 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
19169 if test -n "$x_includes"; then
19170 X_CFLAGS
="$X_CFLAGS -I$x_includes"
19173 # It would also be nice to do this for all -L options, not just this one.
19174 if test -n "$x_libraries"; then
19175 X_LIBS
="$X_LIBS -L$x_libraries"
19176 # For Solaris; some versions of Sun CC require a space after -R and
19177 # others require no space. Words are not sufficient . . . .
19178 case `(uname -sr) 2>/dev/null` in
19180 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
19181 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
19182 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
19183 if test x
$gcc_no_link = xyes
; then
19184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19186 { (exit 1); exit 1; }; }
19188 cat >conftest.
$ac_ext <<_ACEOF
19191 cat confdefs.h
>>conftest.
$ac_ext
19192 cat >>conftest.
$ac_ext <<_ACEOF
19193 /* end confdefs.h. */
19203 rm -f conftest.
$ac_objext conftest
$ac_exeext
19204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19205 (eval $ac_link) 2>conftest.er1
19207 grep -v '^ *+' conftest.er1
>conftest.err
19209 cat conftest.err
>&5
19210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19211 (exit $ac_status); } &&
19212 { ac_try
='test -z "$ac_c_werror_flag"
19213 || test ! -s conftest.err'
19214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19215 (eval $ac_try) 2>&5
19217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19218 (exit $ac_status); }; } &&
19219 { ac_try
='test -s conftest$ac_exeext'
19220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19221 (eval $ac_try) 2>&5
19223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19224 (exit $ac_status); }; }; then
19227 echo "$as_me: failed program was:" >&5
19228 sed 's/^/| /' conftest.
$ac_ext >&5
19232 rm -f conftest.err conftest.
$ac_objext \
19233 conftest
$ac_exeext conftest.
$ac_ext
19234 if test $ac_R_nospace = yes; then
19235 echo "$as_me:$LINENO: result: no" >&5
19236 echo "${ECHO_T}no" >&6
19237 X_LIBS
="$X_LIBS -R$x_libraries"
19239 LIBS
="$ac_xsave_LIBS -R $x_libraries"
19240 if test x
$gcc_no_link = xyes
; then
19241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19243 { (exit 1); exit 1; }; }
19245 cat >conftest.
$ac_ext <<_ACEOF
19248 cat confdefs.h
>>conftest.
$ac_ext
19249 cat >>conftest.
$ac_ext <<_ACEOF
19250 /* end confdefs.h. */
19260 rm -f conftest.
$ac_objext conftest
$ac_exeext
19261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19262 (eval $ac_link) 2>conftest.er1
19264 grep -v '^ *+' conftest.er1
>conftest.err
19266 cat conftest.err
>&5
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); } &&
19269 { ac_try
='test -z "$ac_c_werror_flag"
19270 || test ! -s conftest.err'
19271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19272 (eval $ac_try) 2>&5
19274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275 (exit $ac_status); }; } &&
19276 { ac_try
='test -s conftest$ac_exeext'
19277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19278 (eval $ac_try) 2>&5
19280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19281 (exit $ac_status); }; }; then
19284 echo "$as_me: failed program was:" >&5
19285 sed 's/^/| /' conftest.
$ac_ext >&5
19289 rm -f conftest.err conftest.
$ac_objext \
19290 conftest
$ac_exeext conftest.
$ac_ext
19291 if test $ac_R_space = yes; then
19292 echo "$as_me:$LINENO: result: yes" >&5
19293 echo "${ECHO_T}yes" >&6
19294 X_LIBS
="$X_LIBS -R $x_libraries"
19296 echo "$as_me:$LINENO: result: neither works" >&5
19297 echo "${ECHO_T}neither works" >&6
19300 LIBS
=$ac_xsave_LIBS
19304 # Check for system-dependent libraries X programs must link with.
19305 # Do this before checking for the system-independent R6 libraries
19306 # (-lICE), since we may need -lsocket or whatever for X linking.
19308 if test "$ISC" = yes; then
19309 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
19311 # Martyn Johnson says this is needed for Ultrix, if the X
19312 # libraries were built with DECnet support. And Karl Berry says
19313 # the Alpha needs dnet_stub (dnet does not exist).
19314 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
19315 if test x
$gcc_no_link = xyes
; then
19316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19318 { (exit 1); exit 1; }; }
19320 cat >conftest.
$ac_ext <<_ACEOF
19323 cat confdefs.h
>>conftest.
$ac_ext
19324 cat >>conftest.
$ac_ext <<_ACEOF
19325 /* end confdefs.h. */
19327 /* Override any gcc2 internal prototype to avoid an error. */
19331 /* We use char because int might match the return type of a gcc2
19332 builtin and then its argument prototype would still apply. */
19333 char XOpenDisplay ();
19342 rm -f conftest.
$ac_objext conftest
$ac_exeext
19343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19344 (eval $ac_link) 2>conftest.er1
19346 grep -v '^ *+' conftest.er1
>conftest.err
19348 cat conftest.err
>&5
19349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19350 (exit $ac_status); } &&
19351 { ac_try
='test -z "$ac_c_werror_flag"
19352 || test ! -s conftest.err'
19353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19354 (eval $ac_try) 2>&5
19356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19357 (exit $ac_status); }; } &&
19358 { ac_try
='test -s conftest$ac_exeext'
19359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19360 (eval $ac_try) 2>&5
19362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19363 (exit $ac_status); }; }; then
19366 echo "$as_me: failed program was:" >&5
19367 sed 's/^/| /' conftest.
$ac_ext >&5
19369 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
19370 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
19371 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
19372 echo $ECHO_N "(cached) $ECHO_C" >&6
19374 ac_check_lib_save_LIBS
=$LIBS
19375 LIBS
="-ldnet $LIBS"
19376 if test x
$gcc_no_link = xyes
; then
19377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19379 { (exit 1); exit 1; }; }
19381 cat >conftest.
$ac_ext <<_ACEOF
19384 cat confdefs.h
>>conftest.
$ac_ext
19385 cat >>conftest.
$ac_ext <<_ACEOF
19386 /* end confdefs.h. */
19388 /* Override any gcc2 internal prototype to avoid an error. */
19392 /* We use char because int might match the return type of a gcc2
19393 builtin and then its argument prototype would still apply. */
19403 rm -f conftest.
$ac_objext conftest
$ac_exeext
19404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19405 (eval $ac_link) 2>conftest.er1
19407 grep -v '^ *+' conftest.er1
>conftest.err
19409 cat conftest.err
>&5
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); } &&
19412 { ac_try
='test -z "$ac_c_werror_flag"
19413 || test ! -s conftest.err'
19414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19415 (eval $ac_try) 2>&5
19417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19418 (exit $ac_status); }; } &&
19419 { ac_try
='test -s conftest$ac_exeext'
19420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19421 (eval $ac_try) 2>&5
19423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19424 (exit $ac_status); }; }; then
19425 ac_cv_lib_dnet_dnet_ntoa
=yes
19427 echo "$as_me: failed program was:" >&5
19428 sed 's/^/| /' conftest.
$ac_ext >&5
19430 ac_cv_lib_dnet_dnet_ntoa
=no
19432 rm -f conftest.err conftest.
$ac_objext \
19433 conftest
$ac_exeext conftest.
$ac_ext
19434 LIBS
=$ac_check_lib_save_LIBS
19436 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
19437 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
19438 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
19439 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
19442 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
19443 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
19444 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
19445 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
19446 echo $ECHO_N "(cached) $ECHO_C" >&6
19448 ac_check_lib_save_LIBS
=$LIBS
19449 LIBS
="-ldnet_stub $LIBS"
19450 if test x
$gcc_no_link = xyes
; then
19451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19453 { (exit 1); exit 1; }; }
19455 cat >conftest.
$ac_ext <<_ACEOF
19458 cat confdefs.h
>>conftest.
$ac_ext
19459 cat >>conftest.
$ac_ext <<_ACEOF
19460 /* end confdefs.h. */
19462 /* Override any gcc2 internal prototype to avoid an error. */
19466 /* We use char because int might match the return type of a gcc2
19467 builtin and then its argument prototype would still apply. */
19477 rm -f conftest.
$ac_objext conftest
$ac_exeext
19478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19479 (eval $ac_link) 2>conftest.er1
19481 grep -v '^ *+' conftest.er1
>conftest.err
19483 cat conftest.err
>&5
19484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19485 (exit $ac_status); } &&
19486 { ac_try
='test -z "$ac_c_werror_flag"
19487 || test ! -s conftest.err'
19488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19489 (eval $ac_try) 2>&5
19491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19492 (exit $ac_status); }; } &&
19493 { ac_try
='test -s conftest$ac_exeext'
19494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19495 (eval $ac_try) 2>&5
19497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19498 (exit $ac_status); }; }; then
19499 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
19501 echo "$as_me: failed program was:" >&5
19502 sed 's/^/| /' conftest.
$ac_ext >&5
19504 ac_cv_lib_dnet_stub_dnet_ntoa
=no
19506 rm -f conftest.err conftest.
$ac_objext \
19507 conftest
$ac_exeext conftest.
$ac_ext
19508 LIBS
=$ac_check_lib_save_LIBS
19510 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
19511 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
19512 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
19513 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
19518 rm -f conftest.err conftest.
$ac_objext \
19519 conftest
$ac_exeext conftest.
$ac_ext
19520 LIBS
="$ac_xsave_LIBS"
19522 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
19523 # to get the SysV transport functions.
19524 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
19526 # The nsl library prevents programs from opening the X display
19527 # on Irix 5.2, according to T.E. Dickey.
19528 # The functions gethostbyname, getservbyname, and inet_addr are
19529 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
19530 echo "$as_me:$LINENO: checking for gethostbyname" >&5
19531 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
19532 if test "${ac_cv_func_gethostbyname+set}" = set; then
19533 echo $ECHO_N "(cached) $ECHO_C" >&6
19535 if test x
$gcc_no_link = xyes
; then
19536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19538 { (exit 1); exit 1; }; }
19540 cat >conftest.
$ac_ext <<_ACEOF
19543 cat confdefs.h
>>conftest.
$ac_ext
19544 cat >>conftest.
$ac_ext <<_ACEOF
19545 /* end confdefs.h. */
19546 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
19547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19548 #define gethostbyname innocuous_gethostbyname
19550 /* System header to define __stub macros and hopefully few prototypes,
19551 which can conflict with char gethostbyname (); below.
19552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19553 <limits.h> exists even on freestanding compilers. */
19556 # include <limits.h>
19558 # include <assert.h>
19561 #undef gethostbyname
19563 /* Override any gcc2 internal prototype to avoid an error. */
19568 /* We use char because int might match the return type of a gcc2
19569 builtin and then its argument prototype would still apply. */
19570 char gethostbyname ();
19571 /* The GNU C library defines this for functions which it implements
19572 to always fail with ENOSYS. Some functions are actually named
19573 something starting with __ and the normal name is an alias. */
19574 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
19577 char (*f) () = gethostbyname;
19586 return f != gethostbyname;
19591 rm -f conftest.
$ac_objext conftest
$ac_exeext
19592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19593 (eval $ac_link) 2>conftest.er1
19595 grep -v '^ *+' conftest.er1
>conftest.err
19597 cat conftest.err
>&5
19598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19599 (exit $ac_status); } &&
19600 { ac_try
='test -z "$ac_c_werror_flag"
19601 || test ! -s conftest.err'
19602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19603 (eval $ac_try) 2>&5
19605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19606 (exit $ac_status); }; } &&
19607 { ac_try
='test -s conftest$ac_exeext'
19608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19609 (eval $ac_try) 2>&5
19611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612 (exit $ac_status); }; }; then
19613 ac_cv_func_gethostbyname
=yes
19615 echo "$as_me: failed program was:" >&5
19616 sed 's/^/| /' conftest.
$ac_ext >&5
19618 ac_cv_func_gethostbyname
=no
19620 rm -f conftest.err conftest.
$ac_objext \
19621 conftest
$ac_exeext conftest.
$ac_ext
19623 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
19624 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
19626 if test $ac_cv_func_gethostbyname = no
; then
19627 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
19628 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
19629 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
19630 echo $ECHO_N "(cached) $ECHO_C" >&6
19632 ac_check_lib_save_LIBS
=$LIBS
19634 if test x
$gcc_no_link = xyes
; then
19635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19637 { (exit 1); exit 1; }; }
19639 cat >conftest.
$ac_ext <<_ACEOF
19642 cat confdefs.h
>>conftest.
$ac_ext
19643 cat >>conftest.
$ac_ext <<_ACEOF
19644 /* end confdefs.h. */
19646 /* Override any gcc2 internal prototype to avoid an error. */
19650 /* We use char because int might match the return type of a gcc2
19651 builtin and then its argument prototype would still apply. */
19652 char gethostbyname ();
19661 rm -f conftest.
$ac_objext conftest
$ac_exeext
19662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19663 (eval $ac_link) 2>conftest.er1
19665 grep -v '^ *+' conftest.er1
>conftest.err
19667 cat conftest.err
>&5
19668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19669 (exit $ac_status); } &&
19670 { ac_try
='test -z "$ac_c_werror_flag"
19671 || test ! -s conftest.err'
19672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19673 (eval $ac_try) 2>&5
19675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19676 (exit $ac_status); }; } &&
19677 { ac_try
='test -s conftest$ac_exeext'
19678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19679 (eval $ac_try) 2>&5
19681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19682 (exit $ac_status); }; }; then
19683 ac_cv_lib_nsl_gethostbyname
=yes
19685 echo "$as_me: failed program was:" >&5
19686 sed 's/^/| /' conftest.
$ac_ext >&5
19688 ac_cv_lib_nsl_gethostbyname
=no
19690 rm -f conftest.err conftest.
$ac_objext \
19691 conftest
$ac_exeext conftest.
$ac_ext
19692 LIBS
=$ac_check_lib_save_LIBS
19694 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
19695 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
19696 if test $ac_cv_lib_nsl_gethostbyname = yes; then
19697 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
19700 if test $ac_cv_lib_nsl_gethostbyname = no
; then
19701 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
19702 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
19703 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
19704 echo $ECHO_N "(cached) $ECHO_C" >&6
19706 ac_check_lib_save_LIBS
=$LIBS
19708 if test x
$gcc_no_link = xyes
; then
19709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19711 { (exit 1); exit 1; }; }
19713 cat >conftest.
$ac_ext <<_ACEOF
19716 cat confdefs.h
>>conftest.
$ac_ext
19717 cat >>conftest.
$ac_ext <<_ACEOF
19718 /* end confdefs.h. */
19720 /* Override any gcc2 internal prototype to avoid an error. */
19724 /* We use char because int might match the return type of a gcc2
19725 builtin and then its argument prototype would still apply. */
19726 char gethostbyname ();
19735 rm -f conftest.
$ac_objext conftest
$ac_exeext
19736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19737 (eval $ac_link) 2>conftest.er1
19739 grep -v '^ *+' conftest.er1
>conftest.err
19741 cat conftest.err
>&5
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); } &&
19744 { ac_try
='test -z "$ac_c_werror_flag"
19745 || test ! -s conftest.err'
19746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19747 (eval $ac_try) 2>&5
19749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750 (exit $ac_status); }; } &&
19751 { ac_try
='test -s conftest$ac_exeext'
19752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19753 (eval $ac_try) 2>&5
19755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19756 (exit $ac_status); }; }; then
19757 ac_cv_lib_bsd_gethostbyname
=yes
19759 echo "$as_me: failed program was:" >&5
19760 sed 's/^/| /' conftest.
$ac_ext >&5
19762 ac_cv_lib_bsd_gethostbyname
=no
19764 rm -f conftest.err conftest.
$ac_objext \
19765 conftest
$ac_exeext conftest.
$ac_ext
19766 LIBS
=$ac_check_lib_save_LIBS
19768 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
19769 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
19770 if test $ac_cv_lib_bsd_gethostbyname = yes; then
19771 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
19777 # lieder@skyler.mavd.honeywell.com says without -lsocket,
19778 # socket/setsockopt and other routines are undefined under SCO ODT
19779 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
19780 # on later versions), says Simon Leinen: it contains gethostby*
19781 # variants that don't use the name server (or something). -lsocket
19782 # must be given before -lnsl if both are needed. We assume that
19783 # if connect needs -lnsl, so does gethostbyname.
19784 echo "$as_me:$LINENO: checking for connect" >&5
19785 echo $ECHO_N "checking for connect... $ECHO_C" >&6
19786 if test "${ac_cv_func_connect+set}" = set; then
19787 echo $ECHO_N "(cached) $ECHO_C" >&6
19789 if test x
$gcc_no_link = xyes
; then
19790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19792 { (exit 1); exit 1; }; }
19794 cat >conftest.
$ac_ext <<_ACEOF
19797 cat confdefs.h
>>conftest.
$ac_ext
19798 cat >>conftest.
$ac_ext <<_ACEOF
19799 /* end confdefs.h. */
19800 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
19801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19802 #define connect innocuous_connect
19804 /* System header to define __stub macros and hopefully few prototypes,
19805 which can conflict with char connect (); below.
19806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19807 <limits.h> exists even on freestanding compilers. */
19810 # include <limits.h>
19812 # include <assert.h>
19817 /* Override any gcc2 internal prototype to avoid an error. */
19822 /* We use char because int might match the return type of a gcc2
19823 builtin and then its argument prototype would still apply. */
19825 /* The GNU C library defines this for functions which it implements
19826 to always fail with ENOSYS. Some functions are actually named
19827 something starting with __ and the normal name is an alias. */
19828 #if defined (__stub_connect) || defined (__stub___connect)
19831 char (*f) () = connect;
19840 return f != connect;
19845 rm -f conftest.
$ac_objext conftest
$ac_exeext
19846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19847 (eval $ac_link) 2>conftest.er1
19849 grep -v '^ *+' conftest.er1
>conftest.err
19851 cat conftest.err
>&5
19852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19853 (exit $ac_status); } &&
19854 { ac_try
='test -z "$ac_c_werror_flag"
19855 || test ! -s conftest.err'
19856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19857 (eval $ac_try) 2>&5
19859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19860 (exit $ac_status); }; } &&
19861 { ac_try
='test -s conftest$ac_exeext'
19862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19863 (eval $ac_try) 2>&5
19865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866 (exit $ac_status); }; }; then
19867 ac_cv_func_connect
=yes
19869 echo "$as_me: failed program was:" >&5
19870 sed 's/^/| /' conftest.
$ac_ext >&5
19872 ac_cv_func_connect
=no
19874 rm -f conftest.err conftest.
$ac_objext \
19875 conftest
$ac_exeext conftest.
$ac_ext
19877 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
19878 echo "${ECHO_T}$ac_cv_func_connect" >&6
19880 if test $ac_cv_func_connect = no
; then
19881 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
19882 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
19883 if test "${ac_cv_lib_socket_connect+set}" = set; then
19884 echo $ECHO_N "(cached) $ECHO_C" >&6
19886 ac_check_lib_save_LIBS
=$LIBS
19887 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
19888 if test x
$gcc_no_link = xyes
; then
19889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19891 { (exit 1); exit 1; }; }
19893 cat >conftest.
$ac_ext <<_ACEOF
19896 cat confdefs.h
>>conftest.
$ac_ext
19897 cat >>conftest.
$ac_ext <<_ACEOF
19898 /* end confdefs.h. */
19900 /* Override any gcc2 internal prototype to avoid an error. */
19904 /* We use char because int might match the return type of a gcc2
19905 builtin and then its argument prototype would still apply. */
19915 rm -f conftest.
$ac_objext conftest
$ac_exeext
19916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19917 (eval $ac_link) 2>conftest.er1
19919 grep -v '^ *+' conftest.er1
>conftest.err
19921 cat conftest.err
>&5
19922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19923 (exit $ac_status); } &&
19924 { ac_try
='test -z "$ac_c_werror_flag"
19925 || test ! -s conftest.err'
19926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19927 (eval $ac_try) 2>&5
19929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19930 (exit $ac_status); }; } &&
19931 { ac_try
='test -s conftest$ac_exeext'
19932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19933 (eval $ac_try) 2>&5
19935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19936 (exit $ac_status); }; }; then
19937 ac_cv_lib_socket_connect
=yes
19939 echo "$as_me: failed program was:" >&5
19940 sed 's/^/| /' conftest.
$ac_ext >&5
19942 ac_cv_lib_socket_connect
=no
19944 rm -f conftest.err conftest.
$ac_objext \
19945 conftest
$ac_exeext conftest.
$ac_ext
19946 LIBS
=$ac_check_lib_save_LIBS
19948 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
19949 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
19950 if test $ac_cv_lib_socket_connect = yes; then
19951 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
19956 # Guillermo Gomez says -lposix is necessary on A/UX.
19957 echo "$as_me:$LINENO: checking for remove" >&5
19958 echo $ECHO_N "checking for remove... $ECHO_C" >&6
19959 if test "${ac_cv_func_remove+set}" = set; then
19960 echo $ECHO_N "(cached) $ECHO_C" >&6
19962 if test x
$gcc_no_link = xyes
; then
19963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19965 { (exit 1); exit 1; }; }
19967 cat >conftest.
$ac_ext <<_ACEOF
19970 cat confdefs.h
>>conftest.
$ac_ext
19971 cat >>conftest.
$ac_ext <<_ACEOF
19972 /* end confdefs.h. */
19973 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
19974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19975 #define remove innocuous_remove
19977 /* System header to define __stub macros and hopefully few prototypes,
19978 which can conflict with char remove (); below.
19979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19980 <limits.h> exists even on freestanding compilers. */
19983 # include <limits.h>
19985 # include <assert.h>
19990 /* Override any gcc2 internal prototype to avoid an error. */
19995 /* We use char because int might match the return type of a gcc2
19996 builtin and then its argument prototype would still apply. */
19998 /* The GNU C library defines this for functions which it implements
19999 to always fail with ENOSYS. Some functions are actually named
20000 something starting with __ and the normal name is an alias. */
20001 #if defined (__stub_remove) || defined (__stub___remove)
20004 char (*f) () = remove;
20013 return f != remove;
20018 rm -f conftest.
$ac_objext conftest
$ac_exeext
20019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20020 (eval $ac_link) 2>conftest.er1
20022 grep -v '^ *+' conftest.er1
>conftest.err
20024 cat conftest.err
>&5
20025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026 (exit $ac_status); } &&
20027 { ac_try
='test -z "$ac_c_werror_flag"
20028 || test ! -s conftest.err'
20029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20030 (eval $ac_try) 2>&5
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); }; } &&
20034 { ac_try
='test -s conftest$ac_exeext'
20035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20036 (eval $ac_try) 2>&5
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); }; }; then
20040 ac_cv_func_remove
=yes
20042 echo "$as_me: failed program was:" >&5
20043 sed 's/^/| /' conftest.
$ac_ext >&5
20045 ac_cv_func_remove
=no
20047 rm -f conftest.err conftest.
$ac_objext \
20048 conftest
$ac_exeext conftest.
$ac_ext
20050 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
20051 echo "${ECHO_T}$ac_cv_func_remove" >&6
20053 if test $ac_cv_func_remove = no
; then
20054 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
20055 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
20056 if test "${ac_cv_lib_posix_remove+set}" = set; then
20057 echo $ECHO_N "(cached) $ECHO_C" >&6
20059 ac_check_lib_save_LIBS
=$LIBS
20060 LIBS
="-lposix $LIBS"
20061 if test x
$gcc_no_link = xyes
; then
20062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20064 { (exit 1); exit 1; }; }
20066 cat >conftest.
$ac_ext <<_ACEOF
20069 cat confdefs.h
>>conftest.
$ac_ext
20070 cat >>conftest.
$ac_ext <<_ACEOF
20071 /* end confdefs.h. */
20073 /* Override any gcc2 internal prototype to avoid an error. */
20077 /* We use char because int might match the return type of a gcc2
20078 builtin and then its argument prototype would still apply. */
20088 rm -f conftest.
$ac_objext conftest
$ac_exeext
20089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20090 (eval $ac_link) 2>conftest.er1
20092 grep -v '^ *+' conftest.er1
>conftest.err
20094 cat conftest.err
>&5
20095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20096 (exit $ac_status); } &&
20097 { ac_try
='test -z "$ac_c_werror_flag"
20098 || test ! -s conftest.err'
20099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20100 (eval $ac_try) 2>&5
20102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20103 (exit $ac_status); }; } &&
20104 { ac_try
='test -s conftest$ac_exeext'
20105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20106 (eval $ac_try) 2>&5
20108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20109 (exit $ac_status); }; }; then
20110 ac_cv_lib_posix_remove
=yes
20112 echo "$as_me: failed program was:" >&5
20113 sed 's/^/| /' conftest.
$ac_ext >&5
20115 ac_cv_lib_posix_remove
=no
20117 rm -f conftest.err conftest.
$ac_objext \
20118 conftest
$ac_exeext conftest.
$ac_ext
20119 LIBS
=$ac_check_lib_save_LIBS
20121 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
20122 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
20123 if test $ac_cv_lib_posix_remove = yes; then
20124 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
20129 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
20130 echo "$as_me:$LINENO: checking for shmat" >&5
20131 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
20132 if test "${ac_cv_func_shmat+set}" = set; then
20133 echo $ECHO_N "(cached) $ECHO_C" >&6
20135 if test x
$gcc_no_link = xyes
; then
20136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20138 { (exit 1); exit 1; }; }
20140 cat >conftest.
$ac_ext <<_ACEOF
20143 cat confdefs.h
>>conftest.
$ac_ext
20144 cat >>conftest.
$ac_ext <<_ACEOF
20145 /* end confdefs.h. */
20146 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
20147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20148 #define shmat innocuous_shmat
20150 /* System header to define __stub macros and hopefully few prototypes,
20151 which can conflict with char shmat (); below.
20152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20153 <limits.h> exists even on freestanding compilers. */
20156 # include <limits.h>
20158 # include <assert.h>
20163 /* Override any gcc2 internal prototype to avoid an error. */
20168 /* We use char because int might match the return type of a gcc2
20169 builtin and then its argument prototype would still apply. */
20171 /* The GNU C library defines this for functions which it implements
20172 to always fail with ENOSYS. Some functions are actually named
20173 something starting with __ and the normal name is an alias. */
20174 #if defined (__stub_shmat) || defined (__stub___shmat)
20177 char (*f) () = shmat;
20191 rm -f conftest.
$ac_objext conftest
$ac_exeext
20192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20193 (eval $ac_link) 2>conftest.er1
20195 grep -v '^ *+' conftest.er1
>conftest.err
20197 cat conftest.err
>&5
20198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199 (exit $ac_status); } &&
20200 { ac_try
='test -z "$ac_c_werror_flag"
20201 || test ! -s conftest.err'
20202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20203 (eval $ac_try) 2>&5
20205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 (exit $ac_status); }; } &&
20207 { ac_try
='test -s conftest$ac_exeext'
20208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20209 (eval $ac_try) 2>&5
20211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212 (exit $ac_status); }; }; then
20213 ac_cv_func_shmat
=yes
20215 echo "$as_me: failed program was:" >&5
20216 sed 's/^/| /' conftest.
$ac_ext >&5
20218 ac_cv_func_shmat
=no
20220 rm -f conftest.err conftest.
$ac_objext \
20221 conftest
$ac_exeext conftest.
$ac_ext
20223 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
20224 echo "${ECHO_T}$ac_cv_func_shmat" >&6
20226 if test $ac_cv_func_shmat = no
; then
20227 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
20228 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
20229 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
20230 echo $ECHO_N "(cached) $ECHO_C" >&6
20232 ac_check_lib_save_LIBS
=$LIBS
20234 if test x
$gcc_no_link = xyes
; then
20235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20237 { (exit 1); exit 1; }; }
20239 cat >conftest.
$ac_ext <<_ACEOF
20242 cat confdefs.h
>>conftest.
$ac_ext
20243 cat >>conftest.
$ac_ext <<_ACEOF
20244 /* end confdefs.h. */
20246 /* Override any gcc2 internal prototype to avoid an error. */
20250 /* We use char because int might match the return type of a gcc2
20251 builtin and then its argument prototype would still apply. */
20261 rm -f conftest.
$ac_objext conftest
$ac_exeext
20262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20263 (eval $ac_link) 2>conftest.er1
20265 grep -v '^ *+' conftest.er1
>conftest.err
20267 cat conftest.err
>&5
20268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20269 (exit $ac_status); } &&
20270 { ac_try
='test -z "$ac_c_werror_flag"
20271 || test ! -s conftest.err'
20272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20273 (eval $ac_try) 2>&5
20275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20276 (exit $ac_status); }; } &&
20277 { ac_try
='test -s conftest$ac_exeext'
20278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20279 (eval $ac_try) 2>&5
20281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20282 (exit $ac_status); }; }; then
20283 ac_cv_lib_ipc_shmat
=yes
20285 echo "$as_me: failed program was:" >&5
20286 sed 's/^/| /' conftest.
$ac_ext >&5
20288 ac_cv_lib_ipc_shmat
=no
20290 rm -f conftest.err conftest.
$ac_objext \
20291 conftest
$ac_exeext conftest.
$ac_ext
20292 LIBS
=$ac_check_lib_save_LIBS
20294 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
20295 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
20296 if test $ac_cv_lib_ipc_shmat = yes; then
20297 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
20303 # Check for libraries that X11R6 Xt/Xaw programs need.
20304 ac_save_LDFLAGS
=$LDFLAGS
20305 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
20306 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
20307 # check for ICE first), but we must link in the order -lSM -lICE or
20308 # we get undefined symbols. So assume we have SM if we have ICE.
20309 # These have to be linked with before -lX11, unlike the other
20310 # libraries we check for below, so use a different variable.
20311 # John Interrante, Karl Berry
20312 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
20313 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
20314 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
20315 echo $ECHO_N "(cached) $ECHO_C" >&6
20317 ac_check_lib_save_LIBS
=$LIBS
20318 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
20319 if test x
$gcc_no_link = xyes
; then
20320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20322 { (exit 1); exit 1; }; }
20324 cat >conftest.
$ac_ext <<_ACEOF
20327 cat confdefs.h
>>conftest.
$ac_ext
20328 cat >>conftest.
$ac_ext <<_ACEOF
20329 /* end confdefs.h. */
20331 /* Override any gcc2 internal prototype to avoid an error. */
20335 /* We use char because int might match the return type of a gcc2
20336 builtin and then its argument prototype would still apply. */
20337 char IceConnectionNumber ();
20341 IceConnectionNumber ();
20346 rm -f conftest.
$ac_objext conftest
$ac_exeext
20347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20348 (eval $ac_link) 2>conftest.er1
20350 grep -v '^ *+' conftest.er1
>conftest.err
20352 cat conftest.err
>&5
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); } &&
20355 { ac_try
='test -z "$ac_c_werror_flag"
20356 || test ! -s conftest.err'
20357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20358 (eval $ac_try) 2>&5
20360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20361 (exit $ac_status); }; } &&
20362 { ac_try
='test -s conftest$ac_exeext'
20363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20364 (eval $ac_try) 2>&5
20366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20367 (exit $ac_status); }; }; then
20368 ac_cv_lib_ICE_IceConnectionNumber
=yes
20370 echo "$as_me: failed program was:" >&5
20371 sed 's/^/| /' conftest.
$ac_ext >&5
20373 ac_cv_lib_ICE_IceConnectionNumber
=no
20375 rm -f conftest.err conftest.
$ac_objext \
20376 conftest
$ac_exeext conftest.
$ac_ext
20377 LIBS
=$ac_check_lib_save_LIBS
20379 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
20380 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
20381 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
20382 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
20385 LDFLAGS
=$ac_save_LDFLAGS
20390 # FIXME: this should be _libs on some hosts.
20393 LIBGCJTESTSPEC
="-L`${PWDCMD-pwd}`/.libs -rpath `${PWDCMD-pwd}`/.libs"
20396 # extra LD Flags which are required for targets
20399 # For now we have to disable it on darwin[8-9] because it slows down
20400 # the linking phase. A possible bug in ld?
20401 # on Darwin -single_module speeds up loading of the dynamic libraries.
20402 extra_ldflags_libjava
=-Wl,-single_module
20405 extra_gij_ldflags
=-Wl,-allow_stack_execute
20408 # Some of the ARM unwinder code is actually in libstdc++. We
20409 # could in principle replicate it in libgcj, but it's better to
20410 # have a dependency on libstdc++.
20411 extra_ldflags
='-L$(here)/../libstdc++-v3/src/.libs -lstdc++'
20412 LIBSTDCXXSPEC
=-lstdc++
20413 LIBGCJTESTSPEC
="-L`${PWDCMD-pwd}`/.libs -L`${PWDCMD-pwd}`/../libstdc++-v3/src/.libs -rpath `${PWDCMD-pwd}`/.libs:`${PWDCMD-pwd}`/../libstdc++-v3/src/.libs -lstdc++"
20423 # Allow the GC to be disabled. Can be useful when debugging.
20424 echo "$as_me:$LINENO: checking for garbage collector to use" >&5
20425 echo $ECHO_N "checking for garbage collector to use... $ECHO_C" >&6
20426 # Check whether --enable-java-gc or --disable-java-gc was given.
20427 if test "${enable_java_gc+set}" = set; then
20428 enableval
="$enable_java_gc"
20441 echo "$as_me:$LINENO: result: boehm" >&5
20442 echo "${ECHO_T}boehm" >&6
20443 GCLIBS
=..
/boehm-gc
/libgcjgc_convenience.la
20444 JC1GCSPEC
='-fuse-boehm-gc'
20445 GCTESTSPEC
="-L`${PWDCMD-pwd}`/../boehm-gc/.libs -rpath `${PWDCMD-pwd}`/../boehm-gc/.libs"
20446 GCINCS
='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include'
20449 # The POSIX thread support needs to know this.
20451 cat >>confdefs.h
<<\_ACEOF
20452 #define HAVE_BOEHM_GC 1
20457 echo "$as_me:$LINENO: result: none" >&5
20458 echo "${ECHO_T}none" >&6
20462 { { echo "$as_me:$LINENO: error: unrecognized collector \"$GC\"" >&5
20463 echo "$as_me: error: unrecognized collector \"$GC\"" >&2;}
20464 { (exit 1); exit 1; }; }
20473 ac_config_links
="$ac_config_links include/java-gc.h:include/$GCHDR"
20477 if test "$GC" = boehm
; then
20478 USING_BOEHMGC_TRUE
=
20479 USING_BOEHMGC_FALSE
='#'
20481 USING_BOEHMGC_TRUE
='#'
20482 USING_BOEHMGC_FALSE
=
20487 if test "$GC" = no
; then
20489 USING_NOGC_FALSE
='#'
20491 USING_NOGC_TRUE
='#'
20497 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
20498 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
20499 THREADS
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
20500 echo "$as_me:$LINENO: result: $THREADS" >&5
20501 echo "${ECHO_T}$THREADS" >&6
20504 no | none | single
)
20507 posix | posix95 | pthreads
)
20512 cat >>confdefs.h
<<\_ACEOF
20513 #define LINUX_THREADS 1
20521 decosf1 | irix | mach | os2 | solaris | dce | vxworks
)
20522 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
20523 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
20524 { (exit 1); exit 1; }; }
20527 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
20528 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
20529 { (exit 1); exit 1; }; }
20540 THREADSTARTFILESPEC
=
20545 # Don't set THREADLIBS here. Cygwin doesn't have -lpthread.
20547 *-*-freebsd[1234]*)
20548 # Before FreeBSD 5, it didn't have -lpthread (or any library which
20549 # merely adds pthread_* functions) but it does have a -pthread switch
20550 # which is required at link-time to select -lc_r *instead* of -lc.
20551 THREADLDFLAGS
=-pthread
20552 # Don't set THREADSPEC here as might be expected since -pthread is
20553 # not processed when found within a spec file, it must come from
20554 # the command line. For now, the user must provide the -pthread
20555 # switch to link code compiled with gcj. In future, consider adding
20556 # support for weak references to pthread_* functions ala gthr.h API.
20557 THREADSPEC
='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
20560 # FreeBSD >=5.3 implements a model much closer to other modern UNIX
20561 # systems which support threads and -lpthread.
20562 THREADLDFLAGS
=-pthread
20563 THREADSPEC
=-lpthread
20565 alpha
*-dec-osf* | hppa
*-hp-hpux*)
20566 THREADCXXFLAGS
=-pthread
20567 # boehm-gc needs some functions from librt, so link that too.
20568 THREADLIBS
='-lpthread -lrt'
20569 THREADSPEC
='-lpthread -lrt'
20572 THREADLIBS
=-lpthread
20573 THREADSPEC
=-lpthread
20576 THREADH
=posix-threads.h
20577 # MIT pthreads doesn't seem to have the mutexattr functions.
20578 # But for now we don't check for it. We just assume you aren't
20579 # using MIT pthreads.
20581 cat >>confdefs.h
<<\_ACEOF
20582 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
20586 # If we're using the Boehm GC, then we happen to know that it
20587 # defines _REENTRANT, so we don't bother. Eww.
20588 if test "$GC" != boehm
; then
20590 cat >>confdefs.h
<<\_ACEOF
20591 #define _REENTRANT 1
20596 cat >>confdefs.h
<<\_ACEOF
20597 #define _POSIX_PTHREAD_SEMANTICS 1
20603 THREADH
=win32-threads.h
20604 THREADCXXFLAGS
=-mthreads
20605 # We need thread-safe exception handling so _CRT_MT should be set to 1.
20606 # But we do not want the executables created to be dependent on
20607 # mingwm10.dll which provides a __mingwthr_key_dtor() that cleans up
20608 # exception handling contexts. The following kludge achieves this effect
20609 # and causes a dummy __mingwthr_key_dtor() to be linked in from
20610 # libmingw32.a. This causes a memory leak of about 24 bytes per thread.
20611 # A workaround is to explicitly use -mthreads while linking Java programs.
20612 # See PR libgcj/28263.
20614 # FIXME: In Java we are able to detect thread death at the end of
20615 # Thread.run() so we should be able to clean up the exception handling
20616 # contexts ourselves.
20617 THREADSTARTFILESPEC
='crtmt%O%s'
20621 THREADH
=no-threads.h
20624 ac_config_links
="$ac_config_links include/java-threads.h:include/$THREADH"
20635 if test "$THREADS" = posix
; then
20636 USING_POSIX_THREADS_TRUE
=
20637 USING_POSIX_THREADS_FALSE
='#'
20639 USING_POSIX_THREADS_TRUE
='#'
20640 USING_POSIX_THREADS_FALSE
=
20645 if test "$THREADS" = win32
; then
20646 USING_WIN32_THREADS_TRUE
=
20647 USING_WIN32_THREADS_FALSE
='#'
20649 USING_WIN32_THREADS_TRUE
='#'
20650 USING_WIN32_THREADS_FALSE
=
20655 if test "$THREADS" = none
; then
20656 USING_NO_THREADS_TRUE
=
20657 USING_NO_THREADS_FALSE
='#'
20659 USING_NO_THREADS_TRUE
='#'
20660 USING_NO_THREADS_FALSE
=
20665 if test "$use_libgcj_bc" = yes; then
20666 USE_LIBGCJ_BC_TRUE
=
20667 USE_LIBGCJ_BC_FALSE
='#'
20669 USE_LIBGCJ_BC_TRUE
='#'
20670 USE_LIBGCJ_BC_FALSE
=
20674 if test -d sysdep
; then true
; else mkdir sysdep
; fi
20675 ac_config_links
="$ac_config_links sysdep/locks.h:sysdep/$sysdeps_dir/locks.h"
20677 ac_config_links
="$ac_config_links sysdep/backtrace.h:$fallback_backtrace_h"
20679 ac_config_links
="$ac_config_links sysdep/descriptor.h:$descriptor_h"
20682 LIBGCJ_SPEC
="%{s-bc-abi:} -lgcj"
20683 if test "$use_libgcj_bc" = yes; then
20684 LIBGCJ_SPEC
="%{s-bc-abi:-lgcj_bc;:-lgcj}"
20689 # Hash synchronization is only useful with posix threads right now.
20690 if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then
20691 HASH_SYNC_SPEC
=-fhash-synchronization
20693 cat >>confdefs.h
<<\_ACEOF
20694 #define JV_HASH_SYNCHRONIZATION 1
20702 if test "$GCC" = yes; then
20704 USING_GCC_FALSE
='#'
20711 # We're in the tree with gcc, and need to include some of its headers.
20712 GCC_UNWIND_INCLUDE
='-I$(multi_basedir)/./libjava/../gcc'
20714 if test "x${with_newlib}" = "xyes"; then
20715 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
20716 # may not work correctly, because the compiler may not be able to
20717 # link executables.
20719 # We assume newlib. This lets us hard-code the functions we know
20722 cat >>confdefs.h
<<\_ACEOF
20723 #define HAVE_MEMMOVE 1
20727 cat >>confdefs.h
<<\_ACEOF
20728 #define HAVE_MEMCPY 1
20732 cat >>confdefs.h
<<\_ACEOF
20733 #define HAVE_TIME 1
20737 cat >>confdefs.h
<<\_ACEOF
20738 #define HAVE_GMTIME_R 1
20742 cat >>confdefs.h
<<\_ACEOF
20743 #define HAVE_LOCALTIME_R 1
20747 cat >>confdefs.h
<<\_ACEOF
20748 #define HAVE_USLEEP_DECL 1
20751 # This is only for POSIX threads.
20753 cat >>confdefs.h
<<\_ACEOF
20754 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
20758 # Assume we do not have getuid and friends.
20760 cat >>confdefs.h
<<\_ACEOF
20761 #define NO_GETUID 1
20797 for ac_func
in strerror_r
select fstat open fsync
sleep opendir \
20798 localtime_r readdir_r getpwuid_r getcwd \
20799 access stat lstat mkdir rename
rmdir unlink utime
chmod readlink \
20800 nl_langinfo setlocale \
20801 inet_pton uname inet_ntoa \
20802 getrlimit sigaction ftruncate mmap \
20805 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20806 echo "$as_me:$LINENO: checking for $ac_func" >&5
20807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20808 if eval "test \"\${$as_ac_var+set}\" = set"; then
20809 echo $ECHO_N "(cached) $ECHO_C" >&6
20811 if test x
$gcc_no_link = xyes
; then
20812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20814 { (exit 1); exit 1; }; }
20816 cat >conftest.
$ac_ext <<_ACEOF
20819 cat confdefs.h
>>conftest.
$ac_ext
20820 cat >>conftest.
$ac_ext <<_ACEOF
20821 /* end confdefs.h. */
20822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20824 #define $ac_func innocuous_$ac_func
20826 /* System header to define __stub macros and hopefully few prototypes,
20827 which can conflict with char $ac_func (); below.
20828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20829 <limits.h> exists even on freestanding compilers. */
20832 # include <limits.h>
20834 # include <assert.h>
20839 /* Override any gcc2 internal prototype to avoid an error. */
20844 /* We use char because int might match the return type of a gcc2
20845 builtin and then its argument prototype would still apply. */
20847 /* The GNU C library defines this for functions which it implements
20848 to always fail with ENOSYS. Some functions are actually named
20849 something starting with __ and the normal name is an alias. */
20850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20853 char (*f) () = $ac_func;
20862 return f != $ac_func;
20867 rm -f conftest.
$ac_objext conftest
$ac_exeext
20868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20869 (eval $ac_link) 2>conftest.er1
20871 grep -v '^ *+' conftest.er1
>conftest.err
20873 cat conftest.err
>&5
20874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20875 (exit $ac_status); } &&
20876 { ac_try
='test -z "$ac_c_werror_flag"
20877 || test ! -s conftest.err'
20878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20879 (eval $ac_try) 2>&5
20881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20882 (exit $ac_status); }; } &&
20883 { ac_try
='test -s conftest$ac_exeext'
20884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20885 (eval $ac_try) 2>&5
20887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20888 (exit $ac_status); }; }; then
20889 eval "$as_ac_var=yes"
20891 echo "$as_me: failed program was:" >&5
20892 sed 's/^/| /' conftest.
$ac_ext >&5
20894 eval "$as_ac_var=no"
20896 rm -f conftest.err conftest.
$ac_objext \
20897 conftest
$ac_exeext conftest.
$ac_ext
20899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20901 if test `eval echo '${'$as_ac_var'}'` = yes; then
20902 cat >>confdefs.h
<<_ACEOF
20903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20911 for ac_func
in inet_aton inet_addr
20913 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20914 echo "$as_me:$LINENO: checking for $ac_func" >&5
20915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20916 if eval "test \"\${$as_ac_var+set}\" = set"; then
20917 echo $ECHO_N "(cached) $ECHO_C" >&6
20919 if test x
$gcc_no_link = xyes
; then
20920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20922 { (exit 1); exit 1; }; }
20924 cat >conftest.
$ac_ext <<_ACEOF
20927 cat confdefs.h
>>conftest.
$ac_ext
20928 cat >>conftest.
$ac_ext <<_ACEOF
20929 /* end confdefs.h. */
20930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20932 #define $ac_func innocuous_$ac_func
20934 /* System header to define __stub macros and hopefully few prototypes,
20935 which can conflict with char $ac_func (); below.
20936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20937 <limits.h> exists even on freestanding compilers. */
20940 # include <limits.h>
20942 # include <assert.h>
20947 /* Override any gcc2 internal prototype to avoid an error. */
20952 /* We use char because int might match the return type of a gcc2
20953 builtin and then its argument prototype would still apply. */
20955 /* The GNU C library defines this for functions which it implements
20956 to always fail with ENOSYS. Some functions are actually named
20957 something starting with __ and the normal name is an alias. */
20958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20961 char (*f) () = $ac_func;
20970 return f != $ac_func;
20975 rm -f conftest.
$ac_objext conftest
$ac_exeext
20976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20977 (eval $ac_link) 2>conftest.er1
20979 grep -v '^ *+' conftest.er1
>conftest.err
20981 cat conftest.err
>&5
20982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20983 (exit $ac_status); } &&
20984 { ac_try
='test -z "$ac_c_werror_flag"
20985 || test ! -s conftest.err'
20986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20987 (eval $ac_try) 2>&5
20989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20990 (exit $ac_status); }; } &&
20991 { ac_try
='test -s conftest$ac_exeext'
20992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20993 (eval $ac_try) 2>&5
20995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20996 (exit $ac_status); }; }; then
20997 eval "$as_ac_var=yes"
20999 echo "$as_me: failed program was:" >&5
21000 sed 's/^/| /' conftest.
$ac_ext >&5
21002 eval "$as_ac_var=no"
21004 rm -f conftest.err conftest.
$ac_objext \
21005 conftest
$ac_exeext conftest.
$ac_ext
21007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21009 if test `eval echo '${'$as_ac_var'}'` = yes; then
21010 cat >>confdefs.h
<<_ACEOF
21011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21020 for ac_header
in unistd.h dlfcn.h sys
/resource.h
21022 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21023 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21024 echo "$as_me:$LINENO: checking for $ac_header" >&5
21025 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21026 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21027 echo $ECHO_N "(cached) $ECHO_C" >&6
21029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21030 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21032 # Is the header compilable?
21033 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21034 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21035 cat >conftest.
$ac_ext <<_ACEOF
21038 cat confdefs.h
>>conftest.
$ac_ext
21039 cat >>conftest.
$ac_ext <<_ACEOF
21040 /* end confdefs.h. */
21041 $ac_includes_default
21042 #include <$ac_header>
21044 rm -f conftest.
$ac_objext
21045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21046 (eval $ac_compile) 2>conftest.er1
21048 grep -v '^ *+' conftest.er1
>conftest.err
21050 cat conftest.err
>&5
21051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21052 (exit $ac_status); } &&
21053 { ac_try
='test -z "$ac_c_werror_flag"
21054 || test ! -s conftest.err'
21055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21056 (eval $ac_try) 2>&5
21058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21059 (exit $ac_status); }; } &&
21060 { ac_try
='test -s conftest.$ac_objext'
21061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21062 (eval $ac_try) 2>&5
21064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21065 (exit $ac_status); }; }; then
21066 ac_header_compiler
=yes
21068 echo "$as_me: failed program was:" >&5
21069 sed 's/^/| /' conftest.
$ac_ext >&5
21071 ac_header_compiler
=no
21073 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21074 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21075 echo "${ECHO_T}$ac_header_compiler" >&6
21077 # Is the header present?
21078 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21079 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21080 cat >conftest.
$ac_ext <<_ACEOF
21083 cat confdefs.h
>>conftest.
$ac_ext
21084 cat >>conftest.
$ac_ext <<_ACEOF
21085 /* end confdefs.h. */
21086 #include <$ac_header>
21088 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21089 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21091 grep -v '^ *+' conftest.er1
>conftest.err
21093 cat conftest.err
>&5
21094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21095 (exit $ac_status); } >/dev
/null
; then
21096 if test -s conftest.err
; then
21097 ac_cpp_err
=$ac_c_preproc_warn_flag
21098 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21105 if test -z "$ac_cpp_err"; then
21106 ac_header_preproc
=yes
21108 echo "$as_me: failed program was:" >&5
21109 sed 's/^/| /' conftest.
$ac_ext >&5
21111 ac_header_preproc
=no
21113 rm -f conftest.err conftest.
$ac_ext
21114 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21115 echo "${ECHO_T}$ac_header_preproc" >&6
21117 # So? What about this header?
21118 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21120 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21121 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21122 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21123 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21124 ac_header_preproc
=yes
21127 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21128 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21129 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21130 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21131 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21132 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21133 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21134 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21135 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21136 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21137 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21138 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21141 ## ---------------------------------- ##
21142 ## Report this to the libjava lists. ##
21143 ## ---------------------------------- ##
21146 sed "s/^/$as_me: WARNING: /" >&2
21149 echo "$as_me:$LINENO: checking for $ac_header" >&5
21150 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21151 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21152 echo $ECHO_N "(cached) $ECHO_C" >&6
21154 eval "$as_ac_Header=\$ac_header_preproc"
21156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21157 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21160 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21161 cat >>confdefs.h
<<_ACEOF
21162 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21169 # Do an additional check on dld, HP-UX for example has dladdr in libdld.sl
21170 echo "$as_me:$LINENO: checking for dladdr in -ldl" >&5
21171 echo $ECHO_N "checking for dladdr in -ldl... $ECHO_C" >&6
21172 if test "${ac_cv_lib_dl_dladdr+set}" = set; then
21173 echo $ECHO_N "(cached) $ECHO_C" >&6
21175 ac_check_lib_save_LIBS
=$LIBS
21177 if test x
$gcc_no_link = xyes
; then
21178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21180 { (exit 1); exit 1; }; }
21182 cat >conftest.
$ac_ext <<_ACEOF
21185 cat confdefs.h
>>conftest.
$ac_ext
21186 cat >>conftest.
$ac_ext <<_ACEOF
21187 /* end confdefs.h. */
21189 /* Override any gcc2 internal prototype to avoid an error. */
21193 /* We use char because int might match the return type of a gcc2
21194 builtin and then its argument prototype would still apply. */
21204 rm -f conftest.
$ac_objext conftest
$ac_exeext
21205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21206 (eval $ac_link) 2>conftest.er1
21208 grep -v '^ *+' conftest.er1
>conftest.err
21210 cat conftest.err
>&5
21211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21212 (exit $ac_status); } &&
21213 { ac_try
='test -z "$ac_c_werror_flag"
21214 || test ! -s conftest.err'
21215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21216 (eval $ac_try) 2>&5
21218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21219 (exit $ac_status); }; } &&
21220 { ac_try
='test -s conftest$ac_exeext'
21221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21222 (eval $ac_try) 2>&5
21224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21225 (exit $ac_status); }; }; then
21226 ac_cv_lib_dl_dladdr
=yes
21228 echo "$as_me: failed program was:" >&5
21229 sed 's/^/| /' conftest.
$ac_ext >&5
21231 ac_cv_lib_dl_dladdr
=no
21233 rm -f conftest.err conftest.
$ac_objext \
21234 conftest
$ac_exeext conftest.
$ac_ext
21235 LIBS
=$ac_check_lib_save_LIBS
21237 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dladdr" >&5
21238 echo "${ECHO_T}$ac_cv_lib_dl_dladdr" >&6
21239 if test $ac_cv_lib_dl_dladdr = yes; then
21242 cat >>confdefs.h
<<\_ACEOF
21243 #define HAVE_DLADDR 1
21248 echo "$as_me:$LINENO: checking for dladdr in -ldld" >&5
21249 echo $ECHO_N "checking for dladdr in -ldld... $ECHO_C" >&6
21250 if test "${ac_cv_lib_dld_dladdr+set}" = set; then
21251 echo $ECHO_N "(cached) $ECHO_C" >&6
21253 ac_check_lib_save_LIBS
=$LIBS
21255 if test x
$gcc_no_link = xyes
; then
21256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21258 { (exit 1); exit 1; }; }
21260 cat >conftest.
$ac_ext <<_ACEOF
21263 cat confdefs.h
>>conftest.
$ac_ext
21264 cat >>conftest.
$ac_ext <<_ACEOF
21265 /* end confdefs.h. */
21267 /* Override any gcc2 internal prototype to avoid an error. */
21271 /* We use char because int might match the return type of a gcc2
21272 builtin and then its argument prototype would still apply. */
21282 rm -f conftest.
$ac_objext conftest
$ac_exeext
21283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21284 (eval $ac_link) 2>conftest.er1
21286 grep -v '^ *+' conftest.er1
>conftest.err
21288 cat conftest.err
>&5
21289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290 (exit $ac_status); } &&
21291 { ac_try
='test -z "$ac_c_werror_flag"
21292 || test ! -s conftest.err'
21293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21294 (eval $ac_try) 2>&5
21296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21297 (exit $ac_status); }; } &&
21298 { ac_try
='test -s conftest$ac_exeext'
21299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21300 (eval $ac_try) 2>&5
21302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21303 (exit $ac_status); }; }; then
21304 ac_cv_lib_dld_dladdr
=yes
21306 echo "$as_me: failed program was:" >&5
21307 sed 's/^/| /' conftest.
$ac_ext >&5
21309 ac_cv_lib_dld_dladdr
=no
21311 rm -f conftest.err conftest.
$ac_objext \
21312 conftest
$ac_exeext conftest.
$ac_ext
21313 LIBS
=$ac_check_lib_save_LIBS
21315 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dladdr" >&5
21316 echo "${ECHO_T}$ac_cv_lib_dld_dladdr" >&6
21317 if test $ac_cv_lib_dld_dladdr = yes; then
21320 cat >>confdefs.h
<<\_ACEOF
21321 #define HAVE_DLADDR 1
21329 if test x
"$cross_compiling" = x
"no"; then
21330 echo "$as_me:$LINENO: checking for /proc/self/exe" >&5
21331 echo $ECHO_N "checking for /proc/self/exe... $ECHO_C" >&6
21332 if test "${ac_cv_file__proc_self_exe+set}" = set; then
21333 echo $ECHO_N "(cached) $ECHO_C" >&6
21335 test "$cross_compiling" = yes &&
21336 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21337 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
21338 { (exit 1); exit 1; }; }
21339 if test -r "/proc/self/exe"; then
21340 ac_cv_file__proc_self_exe
=yes
21342 ac_cv_file__proc_self_exe
=no
21345 echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_exe" >&5
21346 echo "${ECHO_T}$ac_cv_file__proc_self_exe" >&6
21347 if test $ac_cv_file__proc_self_exe = yes; then
21349 cat >>confdefs.h
<<_ACEOF
21350 #define HAVE__PROC_SELF_EXE 1
21355 cat >>confdefs.h
<<\_ACEOF
21356 #define HAVE_PROC_SELF_EXE 1
21361 echo "$as_me:$LINENO: checking for /proc/self/maps" >&5
21362 echo $ECHO_N "checking for /proc/self/maps... $ECHO_C" >&6
21363 if test "${ac_cv_file__proc_self_maps+set}" = set; then
21364 echo $ECHO_N "(cached) $ECHO_C" >&6
21366 test "$cross_compiling" = yes &&
21367 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21368 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
21369 { (exit 1); exit 1; }; }
21370 if test -r "/proc/self/maps"; then
21371 ac_cv_file__proc_self_maps
=yes
21373 ac_cv_file__proc_self_maps
=no
21376 echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_maps" >&5
21377 echo "${ECHO_T}$ac_cv_file__proc_self_maps" >&6
21378 if test $ac_cv_file__proc_self_maps = yes; then
21380 cat >>confdefs.h
<<_ACEOF
21381 #define HAVE__PROC_SELF_MAPS 1
21386 cat >>confdefs.h
<<\_ACEOF
21387 #define HAVE_PROC_SELF_MAPS 1
21396 cat >>confdefs.h
<<\_ACEOF
21397 #define HAVE_PROC_SELF_EXE 1
21401 cat >>confdefs.h
<<\_ACEOF
21402 #define HAVE_PROC_SELF_MAPS 1
21410 if test "X$prefix" = "XNONE"; then
21411 acl_final_prefix
="$ac_default_prefix"
21413 acl_final_prefix
="$prefix"
21415 if test "X$exec_prefix" = "XNONE"; then
21416 acl_final_exec_prefix
='${prefix}'
21418 acl_final_exec_prefix
="$exec_prefix"
21420 acl_save_prefix
="$prefix"
21421 prefix
="$acl_final_prefix"
21422 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
21423 prefix
="$acl_save_prefix"
21426 # Check whether --with-gnu-ld or --without-gnu-ld was given.
21427 if test "${with_gnu_ld+set}" = set; then
21428 withval
="$with_gnu_ld"
21429 test "$withval" = no || with_gnu_ld
=yes
21433 # Prepare PATH_SEPARATOR.
21434 # The user is always right.
21435 if test "${PATH_SEPARATOR+set}" != set; then
21436 echo "#! /bin/sh" >conf$$.sh
21437 echo "exit 0" >>conf$$.sh
21439 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21447 if test "$GCC" = yes; then
21448 # Check if gcc -print-prog-name=ld gives a path.
21449 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
21450 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
21453 # gcc leaves a trailing carriage return which upsets mingw
21454 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21456 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
21459 # Accept absolute paths.
21460 [\\/]* |
[A-Za-z
]:[\\/]*)
21461 re_direlt
='/[^/][^/]*/\.\./'
21462 # Canonicalize the path of ld
21463 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
21464 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
21465 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
21467 test -z "$LD" && LD
="$ac_prog"
21470 # If it fails, then pretend we aren't using GCC.
21474 # If it is relative, then search for the first ld in PATH.
21475 with_gnu_ld
=unknown
21478 elif test "$with_gnu_ld" = yes; then
21479 echo "$as_me:$LINENO: checking for GNU ld" >&5
21480 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
21482 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
21483 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
21485 if test "${acl_cv_path_LD+set}" = set; then
21486 echo $ECHO_N "(cached) $ECHO_C" >&6
21488 if test -z "$LD"; then
21489 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
21490 for ac_dir
in $PATH; do
21491 test -z "$ac_dir" && ac_dir
=.
21492 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
21493 acl_cv_path_LD
="$ac_dir/$ac_prog"
21494 # Check to see if the program is GNU ld. I'd rather use --version,
21495 # but apparently some GNU ld's only accept -v.
21496 # Break only if it was the GNU/non-GNU ld that we prefer.
21497 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
21498 test "$with_gnu_ld" != no
&& break
21500 test "$with_gnu_ld" != yes && break
21506 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
21510 LD
="$acl_cv_path_LD"
21511 if test -n "$LD"; then
21512 echo "$as_me:$LINENO: result: $LD" >&5
21513 echo "${ECHO_T}$LD" >&6
21515 echo "$as_me:$LINENO: result: no" >&5
21516 echo "${ECHO_T}no" >&6
21518 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
21519 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
21520 { (exit 1); exit 1; }; }
21521 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
21522 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
21523 if test "${acl_cv_prog_gnu_ld+set}" = set; then
21524 echo $ECHO_N "(cached) $ECHO_C" >&6
21526 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
21527 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
21528 acl_cv_prog_gnu_ld
=yes
21530 acl_cv_prog_gnu_ld
=no
21533 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
21534 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
21535 with_gnu_ld
=$acl_cv_prog_gnu_ld
21539 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
21540 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
21541 if test "${acl_cv_rpath+set}" = set; then
21542 echo $ECHO_N "(cached) $ECHO_C" >&6
21545 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
21546 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
21548 rm -f .
/conftest.sh
21552 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
21553 echo "${ECHO_T}$acl_cv_rpath" >&6
21555 libext
="$acl_cv_libext"
21556 shlibext
="$acl_cv_shlibext"
21557 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
21558 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
21559 hardcode_direct
="$acl_cv_hardcode_direct"
21560 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
21561 # Check whether --enable-rpath or --disable-rpath was given.
21562 if test "${enable_rpath+set}" = set; then
21563 enableval
="$enable_rpath"
21577 acl_save_prefix
="$prefix"
21578 prefix
="$acl_final_prefix"
21579 acl_save_exec_prefix
="$exec_prefix"
21580 exec_prefix
="$acl_final_exec_prefix"
21582 eval additional_includedir
=\"$includedir\"
21583 eval additional_libdir
=\"$libdir\"
21585 exec_prefix
="$acl_save_exec_prefix"
21586 prefix
="$acl_save_prefix"
21589 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
21590 if test "${with_libiconv_prefix+set}" = set; then
21591 withval
="$with_libiconv_prefix"
21593 if test "X$withval" = "Xno"; then
21596 if test "X$withval" = "X"; then
21598 acl_save_prefix
="$prefix"
21599 prefix
="$acl_final_prefix"
21600 acl_save_exec_prefix
="$exec_prefix"
21601 exec_prefix
="$acl_final_exec_prefix"
21603 eval additional_includedir
=\"$includedir\"
21604 eval additional_libdir
=\"$libdir\"
21606 exec_prefix
="$acl_save_exec_prefix"
21607 prefix
="$acl_save_prefix"
21610 additional_includedir
="$withval/include"
21611 additional_libdir
="$withval/lib"
21621 names_already_handled
=
21622 names_next_round
='iconv '
21623 while test -n "$names_next_round"; do
21624 names_this_round
="$names_next_round"
21626 for name
in $names_this_round; do
21628 for n
in $names_already_handled; do
21629 if test "$n" = "$name"; then
21630 already_handled
=yes
21634 if test -z "$already_handled"; then
21635 names_already_handled
="$names_already_handled $name"
21636 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
21637 eval value
=\"\
$HAVE_LIB$uppername\"
21638 if test -n "$value"; then
21639 if test "$value" = yes; then
21640 eval value
=\"\
$LIB$uppername\"
21641 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
21642 eval value
=\"\
$LTLIB$uppername\"
21643 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
21652 if test $use_additional = yes; then
21653 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
21654 found_dir
="$additional_libdir"
21655 found_so
="$additional_libdir/lib$name.$shlibext"
21656 if test -f "$additional_libdir/lib$name.la"; then
21657 found_la
="$additional_libdir/lib$name.la"
21660 if test -f "$additional_libdir/lib$name.$libext"; then
21661 found_dir
="$additional_libdir"
21662 found_a
="$additional_libdir/lib$name.$libext"
21663 if test -f "$additional_libdir/lib$name.la"; then
21664 found_la
="$additional_libdir/lib$name.la"
21669 if test "X$found_dir" = "X"; then
21670 for x
in $LDFLAGS $LTLIBICONV; do
21672 acl_save_prefix
="$prefix"
21673 prefix
="$acl_final_prefix"
21674 acl_save_exec_prefix
="$exec_prefix"
21675 exec_prefix
="$acl_final_exec_prefix"
21677 exec_prefix
="$acl_save_exec_prefix"
21678 prefix
="$acl_save_prefix"
21682 dir
=`echo "X$x" | sed -e 's/^X-L//'`
21683 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
21685 found_so
="$dir/lib$name.$shlibext"
21686 if test -f "$dir/lib$name.la"; then
21687 found_la
="$dir/lib$name.la"
21690 if test -f "$dir/lib$name.$libext"; then
21692 found_a
="$dir/lib$name.$libext"
21693 if test -f "$dir/lib$name.la"; then
21694 found_la
="$dir/lib$name.la"
21700 if test "X$found_dir" != "X"; then
21705 if test "X$found_dir" != "X"; then
21706 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
21707 if test "X$found_so" != "X"; then
21708 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
21709 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21712 for x
in $ltrpathdirs; do
21713 if test "X$x" = "X$found_dir"; then
21718 if test -z "$haveit"; then
21719 ltrpathdirs
="$ltrpathdirs $found_dir"
21721 if test "$hardcode_direct" = yes; then
21722 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21724 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
21725 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21727 for x
in $rpathdirs; do
21728 if test "X$x" = "X$found_dir"; then
21733 if test -z "$haveit"; then
21734 rpathdirs
="$rpathdirs $found_dir"
21738 for x
in $LDFLAGS $LIBICONV; do
21740 acl_save_prefix
="$prefix"
21741 prefix
="$acl_final_prefix"
21742 acl_save_exec_prefix
="$exec_prefix"
21743 exec_prefix
="$acl_final_exec_prefix"
21745 exec_prefix
="$acl_save_exec_prefix"
21746 prefix
="$acl_save_prefix"
21748 if test "X$x" = "X-L$found_dir"; then
21753 if test -z "$haveit"; then
21754 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
21756 if test "$hardcode_minus_L" != no
; then
21757 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21759 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
21765 if test "X$found_a" != "X"; then
21766 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
21768 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
21771 additional_includedir
=
21772 case "$found_dir" in
21774 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
21775 additional_includedir
="$basedir/include"
21778 if test "X$additional_includedir" != "X"; then
21779 if test "X$additional_includedir" != "X/usr/include"; then
21781 if test "X$additional_includedir" = "X/usr/local/include"; then
21782 if test -n "$GCC"; then
21784 linux
*) haveit
=yes;;
21788 if test -z "$haveit"; then
21789 for x
in $CPPFLAGS $INCICONV; do
21791 acl_save_prefix
="$prefix"
21792 prefix
="$acl_final_prefix"
21793 acl_save_exec_prefix
="$exec_prefix"
21794 exec_prefix
="$acl_final_exec_prefix"
21796 exec_prefix
="$acl_save_exec_prefix"
21797 prefix
="$acl_save_prefix"
21799 if test "X$x" = "X-I$additional_includedir"; then
21804 if test -z "$haveit"; then
21805 if test -d "$additional_includedir"; then
21806 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
21812 if test -n "$found_la"; then
21813 save_libdir
="$libdir"
21814 case "$found_la" in
21815 */* |
*\\*) .
"$found_la" ;;
21816 *) .
"./$found_la" ;;
21818 libdir
="$save_libdir"
21819 for dep
in $dependency_libs; do
21822 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
21823 if test "X$additional_libdir" != "X/usr/lib"; then
21825 if test "X$additional_libdir" = "X/usr/local/lib"; then
21826 if test -n "$GCC"; then
21828 linux
*) haveit
=yes;;
21832 if test -z "$haveit"; then
21834 for x
in $LDFLAGS $LIBICONV; do
21836 acl_save_prefix
="$prefix"
21837 prefix
="$acl_final_prefix"
21838 acl_save_exec_prefix
="$exec_prefix"
21839 exec_prefix
="$acl_final_exec_prefix"
21841 exec_prefix
="$acl_save_exec_prefix"
21842 prefix
="$acl_save_prefix"
21844 if test "X$x" = "X-L$additional_libdir"; then
21849 if test -z "$haveit"; then
21850 if test -d "$additional_libdir"; then
21851 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
21855 for x
in $LDFLAGS $LTLIBICONV; do
21857 acl_save_prefix
="$prefix"
21858 prefix
="$acl_final_prefix"
21859 acl_save_exec_prefix
="$exec_prefix"
21860 exec_prefix
="$acl_final_exec_prefix"
21862 exec_prefix
="$acl_save_exec_prefix"
21863 prefix
="$acl_save_prefix"
21865 if test "X$x" = "X-L$additional_libdir"; then
21870 if test -z "$haveit"; then
21871 if test -d "$additional_libdir"; then
21872 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
21879 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
21880 if test "$enable_rpath" != no
; then
21882 for x
in $rpathdirs; do
21883 if test "X$x" = "X$dir"; then
21888 if test -z "$haveit"; then
21889 rpathdirs
="$rpathdirs $dir"
21892 for x
in $ltrpathdirs; do
21893 if test "X$x" = "X$dir"; then
21898 if test -z "$haveit"; then
21899 ltrpathdirs
="$ltrpathdirs $dir"
21904 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
21907 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
21910 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
21911 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
21917 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
21918 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
21924 if test "X$rpathdirs" != "X"; then
21925 if test -n "$hardcode_libdir_separator"; then
21927 for found_dir
in $rpathdirs; do
21928 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
21930 acl_save_libdir
="$libdir"
21932 eval flag
=\"$hardcode_libdir_flag_spec\"
21933 libdir
="$acl_save_libdir"
21934 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
21936 for found_dir
in $rpathdirs; do
21937 acl_save_libdir
="$libdir"
21938 libdir
="$found_dir"
21939 eval flag
=\"$hardcode_libdir_flag_spec\"
21940 libdir
="$acl_save_libdir"
21941 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
21945 if test "X$ltrpathdirs" != "X"; then
21946 for found_dir
in $ltrpathdirs; do
21947 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
21957 am_save_CPPFLAGS
="$CPPFLAGS"
21959 for element
in $INCICONV; do
21961 for x
in $CPPFLAGS; do
21963 acl_save_prefix
="$prefix"
21964 prefix
="$acl_final_prefix"
21965 acl_save_exec_prefix
="$exec_prefix"
21966 exec_prefix
="$acl_final_exec_prefix"
21968 exec_prefix
="$acl_save_exec_prefix"
21969 prefix
="$acl_save_prefix"
21971 if test "X$x" = "X$element"; then
21976 if test -z "$haveit"; then
21977 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
21982 echo "$as_me:$LINENO: checking for iconv" >&5
21983 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
21984 if test "${am_cv_func_iconv+set}" = set; then
21985 echo $ECHO_N "(cached) $ECHO_C" >&6
21988 am_cv_func_iconv
="no, consider installing GNU libiconv"
21990 if test x
$gcc_no_link = xyes
; then
21991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21993 { (exit 1); exit 1; }; }
21995 cat >conftest.
$ac_ext <<_ACEOF
21998 cat confdefs.h
>>conftest.
$ac_ext
21999 cat >>conftest.
$ac_ext <<_ACEOF
22000 /* end confdefs.h. */
22001 #include <stdlib.h>
22006 iconv_t cd = iconv_open("","");
22007 iconv(cd,NULL,NULL,NULL,NULL);
22013 rm -f conftest.
$ac_objext conftest
$ac_exeext
22014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22015 (eval $ac_link) 2>conftest.er1
22017 grep -v '^ *+' conftest.er1
>conftest.err
22019 cat conftest.err
>&5
22020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22021 (exit $ac_status); } &&
22022 { ac_try
='test -z "$ac_c_werror_flag"
22023 || test ! -s conftest.err'
22024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22025 (eval $ac_try) 2>&5
22027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22028 (exit $ac_status); }; } &&
22029 { ac_try
='test -s conftest$ac_exeext'
22030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22031 (eval $ac_try) 2>&5
22033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22034 (exit $ac_status); }; }; then
22035 am_cv_func_iconv
=yes
22037 echo "$as_me: failed program was:" >&5
22038 sed 's/^/| /' conftest.
$ac_ext >&5
22041 rm -f conftest.err conftest.
$ac_objext \
22042 conftest
$ac_exeext conftest.
$ac_ext
22043 if test "$am_cv_func_iconv" != yes; then
22044 am_save_LIBS
="$LIBS"
22045 LIBS
="$LIBS $LIBICONV"
22046 if test x
$gcc_no_link = xyes
; then
22047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22049 { (exit 1); exit 1; }; }
22051 cat >conftest.
$ac_ext <<_ACEOF
22054 cat confdefs.h
>>conftest.
$ac_ext
22055 cat >>conftest.
$ac_ext <<_ACEOF
22056 /* end confdefs.h. */
22057 #include <stdlib.h>
22062 iconv_t cd = iconv_open("","");
22063 iconv(cd,NULL,NULL,NULL,NULL);
22069 rm -f conftest.
$ac_objext conftest
$ac_exeext
22070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22071 (eval $ac_link) 2>conftest.er1
22073 grep -v '^ *+' conftest.er1
>conftest.err
22075 cat conftest.err
>&5
22076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22077 (exit $ac_status); } &&
22078 { ac_try
='test -z "$ac_c_werror_flag"
22079 || test ! -s conftest.err'
22080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22081 (eval $ac_try) 2>&5
22083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22084 (exit $ac_status); }; } &&
22085 { ac_try
='test -s conftest$ac_exeext'
22086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22087 (eval $ac_try) 2>&5
22089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22090 (exit $ac_status); }; }; then
22091 am_cv_lib_iconv
=yes
22092 am_cv_func_iconv
=yes
22094 echo "$as_me: failed program was:" >&5
22095 sed 's/^/| /' conftest.
$ac_ext >&5
22098 rm -f conftest.err conftest.
$ac_objext \
22099 conftest
$ac_exeext conftest.
$ac_ext
22100 LIBS
="$am_save_LIBS"
22104 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
22105 echo "${ECHO_T}$am_cv_func_iconv" >&6
22106 if test "$am_cv_func_iconv" = yes; then
22108 cat >>confdefs.h
<<\_ACEOF
22109 #define HAVE_ICONV 1
22113 if test "$am_cv_lib_iconv" = yes; then
22114 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
22115 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
22116 echo "$as_me:$LINENO: result: $LIBICONV" >&5
22117 echo "${ECHO_T}$LIBICONV" >&6
22119 CPPFLAGS
="$am_save_CPPFLAGS"
22126 if test "$am_cv_func_iconv" = yes; then
22127 echo "$as_me:$LINENO: checking for iconv declaration" >&5
22128 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
22129 if test "${am_cv_proto_iconv+set}" = set; then
22130 echo $ECHO_N "(cached) $ECHO_C" >&6
22133 cat >conftest.
$ac_ext <<_ACEOF
22136 cat confdefs.h
>>conftest.
$ac_ext
22137 cat >>conftest.
$ac_ext <<_ACEOF
22138 /* end confdefs.h. */
22140 #include <stdlib.h>
22146 #if defined(__STDC__) || defined(__cplusplus)
22147 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
22160 rm -f conftest.
$ac_objext
22161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22162 (eval $ac_compile) 2>conftest.er1
22164 grep -v '^ *+' conftest.er1
>conftest.err
22166 cat conftest.err
>&5
22167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22168 (exit $ac_status); } &&
22169 { ac_try
='test -z "$ac_c_werror_flag"
22170 || test ! -s conftest.err'
22171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22172 (eval $ac_try) 2>&5
22174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22175 (exit $ac_status); }; } &&
22176 { ac_try
='test -s conftest.$ac_objext'
22177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22178 (eval $ac_try) 2>&5
22180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22181 (exit $ac_status); }; }; then
22182 am_cv_proto_iconv_arg1
=""
22184 echo "$as_me: failed program was:" >&5
22185 sed 's/^/| /' conftest.
$ac_ext >&5
22187 am_cv_proto_iconv_arg1
="const"
22189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22190 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);"
22193 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
22194 echo "$as_me:$LINENO: result: ${ac_t:-
22195 }$am_cv_proto_iconv" >&5
22196 echo "${ECHO_T}${ac_t:-
22197 }$am_cv_proto_iconv" >&6
22199 cat >>confdefs.h
<<_ACEOF
22200 #define ICONV_CONST $am_cv_proto_iconv_arg1
22206 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
22207 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
22208 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
22209 echo $ECHO_N "(cached) $ECHO_C" >&6
22211 if test x
$gcc_no_link = xyes
; then
22212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22214 { (exit 1); exit 1; }; }
22216 cat >conftest.
$ac_ext <<_ACEOF
22219 cat confdefs.h
>>conftest.
$ac_ext
22220 cat >>conftest.
$ac_ext <<_ACEOF
22221 /* end confdefs.h. */
22222 #include <locale.h>
22231 rm -f conftest.
$ac_objext conftest
$ac_exeext
22232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22233 (eval $ac_link) 2>conftest.er1
22235 grep -v '^ *+' conftest.er1
>conftest.err
22237 cat conftest.err
>&5
22238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239 (exit $ac_status); } &&
22240 { ac_try
='test -z "$ac_c_werror_flag"
22241 || test ! -s conftest.err'
22242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22243 (eval $ac_try) 2>&5
22245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22246 (exit $ac_status); }; } &&
22247 { ac_try
='test -s conftest$ac_exeext'
22248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22249 (eval $ac_try) 2>&5
22251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22252 (exit $ac_status); }; }; then
22253 am_cv_val_LC_MESSAGES
=yes
22255 echo "$as_me: failed program was:" >&5
22256 sed 's/^/| /' conftest.
$ac_ext >&5
22258 am_cv_val_LC_MESSAGES
=no
22260 rm -f conftest.err conftest.
$ac_objext \
22261 conftest
$ac_exeext conftest.
$ac_ext
22263 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
22264 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
22265 if test $am_cv_val_LC_MESSAGES = yes; then
22267 cat >>confdefs.h
<<\_ACEOF
22268 #define HAVE_LC_MESSAGES 1
22273 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
22274 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
22275 if test "${ac_cv_struct_tm+set}" = set; then
22276 echo $ECHO_N "(cached) $ECHO_C" >&6
22278 cat >conftest.
$ac_ext <<_ACEOF
22281 cat confdefs.h
>>conftest.
$ac_ext
22282 cat >>conftest.
$ac_ext <<_ACEOF
22283 /* end confdefs.h. */
22284 #include <sys/types.h>
22290 struct tm *tp; tp->tm_sec;
22295 rm -f conftest.
$ac_objext
22296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22297 (eval $ac_compile) 2>conftest.er1
22299 grep -v '^ *+' conftest.er1
>conftest.err
22301 cat conftest.err
>&5
22302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22303 (exit $ac_status); } &&
22304 { ac_try
='test -z "$ac_c_werror_flag"
22305 || test ! -s conftest.err'
22306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22307 (eval $ac_try) 2>&5
22309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22310 (exit $ac_status); }; } &&
22311 { ac_try
='test -s conftest.$ac_objext'
22312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22313 (eval $ac_try) 2>&5
22315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22316 (exit $ac_status); }; }; then
22317 ac_cv_struct_tm
=time.h
22319 echo "$as_me: failed program was:" >&5
22320 sed 's/^/| /' conftest.
$ac_ext >&5
22322 ac_cv_struct_tm
=sys
/time.h
22324 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22326 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
22327 echo "${ECHO_T}$ac_cv_struct_tm" >&6
22328 if test $ac_cv_struct_tm = sys
/time.h
; then
22330 cat >>confdefs.h
<<\_ACEOF
22331 #define TM_IN_SYS_TIME 1
22336 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
22337 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
22338 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
22339 echo $ECHO_N "(cached) $ECHO_C" >&6
22341 cat >conftest.
$ac_ext <<_ACEOF
22344 cat confdefs.h
>>conftest.
$ac_ext
22345 cat >>conftest.
$ac_ext <<_ACEOF
22346 /* end confdefs.h. */
22347 #include <sys/types.h>
22348 #include <$ac_cv_struct_tm>
22354 static struct tm ac_aggr;
22355 if (ac_aggr.tm_zone)
22361 rm -f conftest.
$ac_objext
22362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22363 (eval $ac_compile) 2>conftest.er1
22365 grep -v '^ *+' conftest.er1
>conftest.err
22367 cat conftest.err
>&5
22368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22369 (exit $ac_status); } &&
22370 { ac_try
='test -z "$ac_c_werror_flag"
22371 || test ! -s conftest.err'
22372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22373 (eval $ac_try) 2>&5
22375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22376 (exit $ac_status); }; } &&
22377 { ac_try
='test -s conftest.$ac_objext'
22378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22379 (eval $ac_try) 2>&5
22381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22382 (exit $ac_status); }; }; then
22383 ac_cv_member_struct_tm_tm_zone
=yes
22385 echo "$as_me: failed program was:" >&5
22386 sed 's/^/| /' conftest.
$ac_ext >&5
22388 cat >conftest.
$ac_ext <<_ACEOF
22391 cat confdefs.h
>>conftest.
$ac_ext
22392 cat >>conftest.
$ac_ext <<_ACEOF
22393 /* end confdefs.h. */
22394 #include <sys/types.h>
22395 #include <$ac_cv_struct_tm>
22401 static struct tm ac_aggr;
22402 if (sizeof ac_aggr.tm_zone)
22408 rm -f conftest.
$ac_objext
22409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22410 (eval $ac_compile) 2>conftest.er1
22412 grep -v '^ *+' conftest.er1
>conftest.err
22414 cat conftest.err
>&5
22415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22416 (exit $ac_status); } &&
22417 { ac_try
='test -z "$ac_c_werror_flag"
22418 || test ! -s conftest.err'
22419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22420 (eval $ac_try) 2>&5
22422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22423 (exit $ac_status); }; } &&
22424 { ac_try
='test -s conftest.$ac_objext'
22425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22426 (eval $ac_try) 2>&5
22428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22429 (exit $ac_status); }; }; then
22430 ac_cv_member_struct_tm_tm_zone
=yes
22432 echo "$as_me: failed program was:" >&5
22433 sed 's/^/| /' conftest.
$ac_ext >&5
22435 ac_cv_member_struct_tm_tm_zone
=no
22437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22439 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22441 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
22442 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
22443 if test $ac_cv_member_struct_tm_tm_zone = yes; then
22445 cat >>confdefs.h
<<_ACEOF
22446 #define HAVE_STRUCT_TM_TM_ZONE 1
22452 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
22454 cat >>confdefs.h
<<\_ACEOF
22455 #define HAVE_TM_ZONE 1
22459 echo "$as_me:$LINENO: checking for tzname" >&5
22460 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
22461 if test "${ac_cv_var_tzname+set}" = set; then
22462 echo $ECHO_N "(cached) $ECHO_C" >&6
22464 if test x
$gcc_no_link = xyes
; then
22465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22467 { (exit 1); exit 1; }; }
22469 cat >conftest.
$ac_ext <<_ACEOF
22472 cat confdefs.h
>>conftest.
$ac_ext
22473 cat >>conftest.
$ac_ext <<_ACEOF
22474 /* end confdefs.h. */
22476 #ifndef tzname /* For SGI. */
22477 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
22488 rm -f conftest.
$ac_objext conftest
$ac_exeext
22489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22490 (eval $ac_link) 2>conftest.er1
22492 grep -v '^ *+' conftest.er1
>conftest.err
22494 cat conftest.err
>&5
22495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22496 (exit $ac_status); } &&
22497 { ac_try
='test -z "$ac_c_werror_flag"
22498 || test ! -s conftest.err'
22499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22500 (eval $ac_try) 2>&5
22502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22503 (exit $ac_status); }; } &&
22504 { ac_try
='test -s conftest$ac_exeext'
22505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22506 (eval $ac_try) 2>&5
22508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22509 (exit $ac_status); }; }; then
22510 ac_cv_var_tzname
=yes
22512 echo "$as_me: failed program was:" >&5
22513 sed 's/^/| /' conftest.
$ac_ext >&5
22515 ac_cv_var_tzname
=no
22517 rm -f conftest.err conftest.
$ac_objext \
22518 conftest
$ac_exeext conftest.
$ac_ext
22520 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
22521 echo "${ECHO_T}$ac_cv_var_tzname" >&6
22522 if test $ac_cv_var_tzname = yes; then
22524 cat >>confdefs.h
<<\_ACEOF
22525 #define HAVE_TZNAME 1
22533 for ac_func
in gethostbyname_r
22535 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22536 echo "$as_me:$LINENO: checking for $ac_func" >&5
22537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22538 if eval "test \"\${$as_ac_var+set}\" = set"; then
22539 echo $ECHO_N "(cached) $ECHO_C" >&6
22541 if test x
$gcc_no_link = xyes
; then
22542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22544 { (exit 1); exit 1; }; }
22546 cat >conftest.
$ac_ext <<_ACEOF
22549 cat confdefs.h
>>conftest.
$ac_ext
22550 cat >>conftest.
$ac_ext <<_ACEOF
22551 /* end confdefs.h. */
22552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22554 #define $ac_func innocuous_$ac_func
22556 /* System header to define __stub macros and hopefully few prototypes,
22557 which can conflict with char $ac_func (); below.
22558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22559 <limits.h> exists even on freestanding compilers. */
22562 # include <limits.h>
22564 # include <assert.h>
22569 /* Override any gcc2 internal prototype to avoid an error. */
22574 /* We use char because int might match the return type of a gcc2
22575 builtin and then its argument prototype would still apply. */
22577 /* The GNU C library defines this for functions which it implements
22578 to always fail with ENOSYS. Some functions are actually named
22579 something starting with __ and the normal name is an alias. */
22580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22583 char (*f) () = $ac_func;
22592 return f != $ac_func;
22597 rm -f conftest.
$ac_objext conftest
$ac_exeext
22598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22599 (eval $ac_link) 2>conftest.er1
22601 grep -v '^ *+' conftest.er1
>conftest.err
22603 cat conftest.err
>&5
22604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22605 (exit $ac_status); } &&
22606 { ac_try
='test -z "$ac_c_werror_flag"
22607 || test ! -s conftest.err'
22608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22609 (eval $ac_try) 2>&5
22611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22612 (exit $ac_status); }; } &&
22613 { ac_try
='test -s conftest$ac_exeext'
22614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22615 (eval $ac_try) 2>&5
22617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22618 (exit $ac_status); }; }; then
22619 eval "$as_ac_var=yes"
22621 echo "$as_me: failed program was:" >&5
22622 sed 's/^/| /' conftest.
$ac_ext >&5
22624 eval "$as_ac_var=no"
22626 rm -f conftest.err conftest.
$ac_objext \
22627 conftest
$ac_exeext conftest.
$ac_ext
22629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22631 if test `eval echo '${'$as_ac_var'}'` = yes; then
22632 cat >>confdefs.h
<<_ACEOF
22633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22637 cat >>confdefs.h
<<\_ACEOF
22638 #define HAVE_GETHOSTBYNAME_R 1
22641 # There are two different kinds of gethostbyname_r.
22642 # We look for the one that returns `int'.
22643 # Hopefully this check is robust enough.
22644 cat >conftest.
$ac_ext <<_ACEOF
22647 cat confdefs.h
>>conftest.
$ac_ext
22648 cat >>conftest.
$ac_ext <<_ACEOF
22649 /* end confdefs.h. */
22653 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22654 $EGREP "int.*gethostbyname_r" >/dev
/null
2>&1; then
22657 cat >>confdefs.h
<<\_ACEOF
22658 #define GETHOSTBYNAME_R_RETURNS_INT 1
22665 case " $GCINCS " in
22666 *" -D_REENTRANT "*) ;;
22668 echo "$as_me:$LINENO: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5
22669 echo $ECHO_N "checking whether gethostbyname_r declaration requires -D_REENTRANT... $ECHO_C" >&6
22670 if test "${libjava_cv_gethostbyname_r_needs_reentrant+set}" = set; then
22671 echo $ECHO_N "(cached) $ECHO_C" >&6
22674 ac_cpp
='$CXXCPP $CPPFLAGS'
22675 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22676 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22677 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22679 cat >conftest.
$ac_ext <<_ACEOF
22682 cat confdefs.h
>>conftest.
$ac_ext
22683 cat >>conftest.
$ac_ext <<_ACEOF
22684 /* end confdefs.h. */
22689 gethostbyname_r("", 0, 0);
22694 rm -f conftest.
$ac_objext
22695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22696 (eval $ac_compile) 2>conftest.er1
22698 grep -v '^ *+' conftest.er1
>conftest.err
22700 cat conftest.err
>&5
22701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22702 (exit $ac_status); } &&
22703 { ac_try
='test -z "$ac_cxx_werror_flag"
22704 || test ! -s conftest.err'
22705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22706 (eval $ac_try) 2>&5
22708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22709 (exit $ac_status); }; } &&
22710 { ac_try
='test -s conftest.$ac_objext'
22711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22712 (eval $ac_try) 2>&5
22714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22715 (exit $ac_status); }; }; then
22716 libjava_cv_gethostbyname_r_needs_reentrant
=no
22718 echo "$as_me: failed program was:" >&5
22719 sed 's/^/| /' conftest.
$ac_ext >&5
22721 CPPFLAGS_SAVE
="$CPPFLAGS"
22722 CPPFLAGS
="$CPPFLAGS -D_REENTRANT"
22723 cat >conftest.
$ac_ext <<_ACEOF
22726 cat confdefs.h
>>conftest.
$ac_ext
22727 cat >>conftest.
$ac_ext <<_ACEOF
22728 /* end confdefs.h. */
22733 gethostbyname_r("", 0, 0);
22738 rm -f conftest.
$ac_objext
22739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22740 (eval $ac_compile) 2>conftest.er1
22742 grep -v '^ *+' conftest.er1
>conftest.err
22744 cat conftest.err
>&5
22745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22746 (exit $ac_status); } &&
22747 { ac_try
='test -z "$ac_cxx_werror_flag"
22748 || test ! -s conftest.err'
22749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22750 (eval $ac_try) 2>&5
22752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22753 (exit $ac_status); }; } &&
22754 { ac_try
='test -s conftest.$ac_objext'
22755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22756 (eval $ac_try) 2>&5
22758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22759 (exit $ac_status); }; }; then
22760 libjava_cv_gethostbyname_r_needs_reentrant
=yes
22762 echo "$as_me: failed program was:" >&5
22763 sed 's/^/| /' conftest.
$ac_ext >&5
22765 libjava_cv_gethostbyname_r_needs_reentrant
=fail
22767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22768 CPPFLAGS
="$CPPFLAGS_SAVE"
22771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22773 ac_cpp
='$CPP $CPPFLAGS'
22774 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22775 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22776 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22780 echo "$as_me:$LINENO: result: $libjava_cv_gethostbyname_r_needs_reentrant" >&5
22781 echo "${ECHO_T}$libjava_cv_gethostbyname_r_needs_reentrant" >&6
22782 if test "x$libjava_cv_gethostbyname_r_needs_reentrant" = xyes
; then
22784 cat >>confdefs.h
<<\_ACEOF
22785 #define _REENTRANT 1
22792 echo "$as_me:$LINENO: checking for struct hostent_data" >&5
22793 echo $ECHO_N "checking for struct hostent_data... $ECHO_C" >&6
22794 if test "${libjava_cv_struct_hostent_data+set}" = set; then
22795 echo $ECHO_N "(cached) $ECHO_C" >&6
22797 cat >conftest.
$ac_ext <<_ACEOF
22800 cat confdefs.h
>>conftest.
$ac_ext
22801 cat >>conftest.
$ac_ext <<_ACEOF
22802 /* end confdefs.h. */
22804 #if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
22805 # define _REENTRANT 1
22811 struct hostent_data data;
22816 rm -f conftest.
$ac_objext
22817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22818 (eval $ac_compile) 2>conftest.er1
22820 grep -v '^ *+' conftest.er1
>conftest.err
22822 cat conftest.err
>&5
22823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22824 (exit $ac_status); } &&
22825 { ac_try
='test -z "$ac_c_werror_flag"
22826 || test ! -s conftest.err'
22827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22828 (eval $ac_try) 2>&5
22830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22831 (exit $ac_status); }; } &&
22832 { ac_try
='test -s conftest.$ac_objext'
22833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22834 (eval $ac_try) 2>&5
22836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22837 (exit $ac_status); }; }; then
22838 libjava_cv_struct_hostent_data
=yes
22840 echo "$as_me: failed program was:" >&5
22841 sed 's/^/| /' conftest.
$ac_ext >&5
22843 libjava_cv_struct_hostent_data
=no
22845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22847 echo "$as_me:$LINENO: result: $libjava_cv_struct_hostent_data" >&5
22848 echo "${ECHO_T}$libjava_cv_struct_hostent_data" >&6
22849 if test "x$libjava_cv_struct_hostent_data" = xyes
; then
22851 cat >>confdefs.h
<<\_ACEOF
22852 #define HAVE_STRUCT_HOSTENT_DATA 1
22861 # FIXME: libjava source code expects to find a prototype for
22862 # gethostbyaddr_r in netdb.h. The outer check ensures that
22863 # HAVE_GETHOSTBYADDR_R will not be defined if the prototype fails
22864 # to exist where expected. (The root issue: AC_CHECK_FUNCS assumes C
22865 # linkage check is enough, yet C++ code requires proper prototypes.)
22866 cat >conftest.
$ac_ext <<_ACEOF
22869 cat confdefs.h
>>conftest.
$ac_ext
22870 cat >>conftest.
$ac_ext <<_ACEOF
22871 /* end confdefs.h. */
22875 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22876 $EGREP "gethostbyaddr_r" >/dev
/null
2>&1; then
22879 for ac_func
in gethostbyaddr_r
22881 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22882 echo "$as_me:$LINENO: checking for $ac_func" >&5
22883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22884 if eval "test \"\${$as_ac_var+set}\" = set"; then
22885 echo $ECHO_N "(cached) $ECHO_C" >&6
22887 if test x
$gcc_no_link = xyes
; then
22888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22890 { (exit 1); exit 1; }; }
22892 cat >conftest.
$ac_ext <<_ACEOF
22895 cat confdefs.h
>>conftest.
$ac_ext
22896 cat >>conftest.
$ac_ext <<_ACEOF
22897 /* end confdefs.h. */
22898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22900 #define $ac_func innocuous_$ac_func
22902 /* System header to define __stub macros and hopefully few prototypes,
22903 which can conflict with char $ac_func (); below.
22904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22905 <limits.h> exists even on freestanding compilers. */
22908 # include <limits.h>
22910 # include <assert.h>
22915 /* Override any gcc2 internal prototype to avoid an error. */
22920 /* We use char because int might match the return type of a gcc2
22921 builtin and then its argument prototype would still apply. */
22923 /* The GNU C library defines this for functions which it implements
22924 to always fail with ENOSYS. Some functions are actually named
22925 something starting with __ and the normal name is an alias. */
22926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22929 char (*f) () = $ac_func;
22938 return f != $ac_func;
22943 rm -f conftest.
$ac_objext conftest
$ac_exeext
22944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22945 (eval $ac_link) 2>conftest.er1
22947 grep -v '^ *+' conftest.er1
>conftest.err
22949 cat conftest.err
>&5
22950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22951 (exit $ac_status); } &&
22952 { ac_try
='test -z "$ac_c_werror_flag"
22953 || test ! -s conftest.err'
22954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22955 (eval $ac_try) 2>&5
22957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22958 (exit $ac_status); }; } &&
22959 { ac_try
='test -s conftest$ac_exeext'
22960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22961 (eval $ac_try) 2>&5
22963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22964 (exit $ac_status); }; }; then
22965 eval "$as_ac_var=yes"
22967 echo "$as_me: failed program was:" >&5
22968 sed 's/^/| /' conftest.
$ac_ext >&5
22970 eval "$as_ac_var=no"
22972 rm -f conftest.err conftest.
$ac_objext \
22973 conftest
$ac_exeext conftest.
$ac_ext
22975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22977 if test `eval echo '${'$as_ac_var'}'` = yes; then
22978 cat >>confdefs.h
<<_ACEOF
22979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22983 cat >>confdefs.h
<<\_ACEOF
22984 #define HAVE_GETHOSTBYADDR_R 1
22987 # There are two different kinds of gethostbyaddr_r.
22988 # We look for the one that returns `int'.
22989 # Hopefully this check is robust enough.
22990 cat >conftest.
$ac_ext <<_ACEOF
22993 cat confdefs.h
>>conftest.
$ac_ext
22994 cat >>conftest.
$ac_ext <<_ACEOF
22995 /* end confdefs.h. */
22999 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23000 $EGREP "int.*gethostbyaddr_r" >/dev
/null
2>&1; then
23003 cat >>confdefs.h
<<\_ACEOF
23004 #define GETHOSTBYADDR_R_RETURNS_INT 1
23018 for ac_func
in gethostname
23020 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23021 echo "$as_me:$LINENO: checking for $ac_func" >&5
23022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23023 if eval "test \"\${$as_ac_var+set}\" = set"; then
23024 echo $ECHO_N "(cached) $ECHO_C" >&6
23026 if test x
$gcc_no_link = xyes
; then
23027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23029 { (exit 1); exit 1; }; }
23031 cat >conftest.
$ac_ext <<_ACEOF
23034 cat confdefs.h
>>conftest.
$ac_ext
23035 cat >>conftest.
$ac_ext <<_ACEOF
23036 /* end confdefs.h. */
23037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23039 #define $ac_func innocuous_$ac_func
23041 /* System header to define __stub macros and hopefully few prototypes,
23042 which can conflict with char $ac_func (); below.
23043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23044 <limits.h> exists even on freestanding compilers. */
23047 # include <limits.h>
23049 # include <assert.h>
23054 /* Override any gcc2 internal prototype to avoid an error. */
23059 /* We use char because int might match the return type of a gcc2
23060 builtin and then its argument prototype would still apply. */
23062 /* The GNU C library defines this for functions which it implements
23063 to always fail with ENOSYS. Some functions are actually named
23064 something starting with __ and the normal name is an alias. */
23065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23068 char (*f) () = $ac_func;
23077 return f != $ac_func;
23082 rm -f conftest.
$ac_objext conftest
$ac_exeext
23083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23084 (eval $ac_link) 2>conftest.er1
23086 grep -v '^ *+' conftest.er1
>conftest.err
23088 cat conftest.err
>&5
23089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23090 (exit $ac_status); } &&
23091 { ac_try
='test -z "$ac_c_werror_flag"
23092 || test ! -s conftest.err'
23093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23094 (eval $ac_try) 2>&5
23096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23097 (exit $ac_status); }; } &&
23098 { ac_try
='test -s conftest$ac_exeext'
23099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23100 (eval $ac_try) 2>&5
23102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23103 (exit $ac_status); }; }; then
23104 eval "$as_ac_var=yes"
23106 echo "$as_me: failed program was:" >&5
23107 sed 's/^/| /' conftest.
$ac_ext >&5
23109 eval "$as_ac_var=no"
23111 rm -f conftest.err conftest.
$ac_objext \
23112 conftest
$ac_exeext conftest.
$ac_ext
23114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23116 if test `eval echo '${'$as_ac_var'}'` = yes; then
23117 cat >>confdefs.h
<<_ACEOF
23118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23122 cat >>confdefs.h
<<\_ACEOF
23123 #define HAVE_GETHOSTNAME 1
23126 cat >conftest.
$ac_ext <<_ACEOF
23129 cat confdefs.h
>>conftest.
$ac_ext
23130 cat >>conftest.
$ac_ext <<_ACEOF
23131 /* end confdefs.h. */
23132 #include <unistd.h>
23135 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23136 $EGREP "gethostname" >/dev
/null
2>&1; then
23139 cat >>confdefs.h
<<\_ACEOF
23140 #define HAVE_GETHOSTNAME_DECL 1
23151 for ac_func
in usleep
23153 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23154 echo "$as_me:$LINENO: checking for $ac_func" >&5
23155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23156 if eval "test \"\${$as_ac_var+set}\" = set"; then
23157 echo $ECHO_N "(cached) $ECHO_C" >&6
23159 if test x
$gcc_no_link = xyes
; then
23160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23162 { (exit 1); exit 1; }; }
23164 cat >conftest.
$ac_ext <<_ACEOF
23167 cat confdefs.h
>>conftest.
$ac_ext
23168 cat >>conftest.
$ac_ext <<_ACEOF
23169 /* end confdefs.h. */
23170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23172 #define $ac_func innocuous_$ac_func
23174 /* System header to define __stub macros and hopefully few prototypes,
23175 which can conflict with char $ac_func (); below.
23176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23177 <limits.h> exists even on freestanding compilers. */
23180 # include <limits.h>
23182 # include <assert.h>
23187 /* Override any gcc2 internal prototype to avoid an error. */
23192 /* We use char because int might match the return type of a gcc2
23193 builtin and then its argument prototype would still apply. */
23195 /* The GNU C library defines this for functions which it implements
23196 to always fail with ENOSYS. Some functions are actually named
23197 something starting with __ and the normal name is an alias. */
23198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23201 char (*f) () = $ac_func;
23210 return f != $ac_func;
23215 rm -f conftest.
$ac_objext conftest
$ac_exeext
23216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23217 (eval $ac_link) 2>conftest.er1
23219 grep -v '^ *+' conftest.er1
>conftest.err
23221 cat conftest.err
>&5
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); } &&
23224 { ac_try
='test -z "$ac_c_werror_flag"
23225 || test ! -s conftest.err'
23226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23227 (eval $ac_try) 2>&5
23229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23230 (exit $ac_status); }; } &&
23231 { ac_try
='test -s conftest$ac_exeext'
23232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23233 (eval $ac_try) 2>&5
23235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23236 (exit $ac_status); }; }; then
23237 eval "$as_ac_var=yes"
23239 echo "$as_me: failed program was:" >&5
23240 sed 's/^/| /' conftest.
$ac_ext >&5
23242 eval "$as_ac_var=no"
23244 rm -f conftest.err conftest.
$ac_objext \
23245 conftest
$ac_exeext conftest.
$ac_ext
23247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23249 if test `eval echo '${'$as_ac_var'}'` = yes; then
23250 cat >>confdefs.h
<<_ACEOF
23251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23254 cat >conftest.
$ac_ext <<_ACEOF
23257 cat confdefs.h
>>conftest.
$ac_ext
23258 cat >>conftest.
$ac_ext <<_ACEOF
23259 /* end confdefs.h. */
23260 #include <unistd.h>
23263 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23264 $EGREP "usleep" >/dev
/null
2>&1; then
23267 cat >>confdefs.h
<<\_ACEOF
23268 #define HAVE_USLEEP_DECL 1
23278 # Look for these functions in the thread library, but only bother
23279 # if using POSIX threads.
23280 if test "$THREADS" = posix
; then
23282 LIBS
="$LIBS $THREADLIBS"
23284 # Look for sched_yield. Up to Solaris 2.6, it is in libposix4, since
23285 # Solaris 7 the name librt is preferred.
23287 for ac_func
in sched_yield
23289 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23290 echo "$as_me:$LINENO: checking for $ac_func" >&5
23291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23292 if eval "test \"\${$as_ac_var+set}\" = set"; then
23293 echo $ECHO_N "(cached) $ECHO_C" >&6
23295 if test x
$gcc_no_link = xyes
; then
23296 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23298 { (exit 1); exit 1; }; }
23300 cat >conftest.
$ac_ext <<_ACEOF
23303 cat confdefs.h
>>conftest.
$ac_ext
23304 cat >>conftest.
$ac_ext <<_ACEOF
23305 /* end confdefs.h. */
23306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23308 #define $ac_func innocuous_$ac_func
23310 /* System header to define __stub macros and hopefully few prototypes,
23311 which can conflict with char $ac_func (); below.
23312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23313 <limits.h> exists even on freestanding compilers. */
23316 # include <limits.h>
23318 # include <assert.h>
23323 /* Override any gcc2 internal prototype to avoid an error. */
23328 /* We use char because int might match the return type of a gcc2
23329 builtin and then its argument prototype would still apply. */
23331 /* The GNU C library defines this for functions which it implements
23332 to always fail with ENOSYS. Some functions are actually named
23333 something starting with __ and the normal name is an alias. */
23334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23337 char (*f) () = $ac_func;
23346 return f != $ac_func;
23351 rm -f conftest.
$ac_objext conftest
$ac_exeext
23352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23353 (eval $ac_link) 2>conftest.er1
23355 grep -v '^ *+' conftest.er1
>conftest.err
23357 cat conftest.err
>&5
23358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23359 (exit $ac_status); } &&
23360 { ac_try
='test -z "$ac_c_werror_flag"
23361 || test ! -s conftest.err'
23362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23363 (eval $ac_try) 2>&5
23365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23366 (exit $ac_status); }; } &&
23367 { ac_try
='test -s conftest$ac_exeext'
23368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23369 (eval $ac_try) 2>&5
23371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23372 (exit $ac_status); }; }; then
23373 eval "$as_ac_var=yes"
23375 echo "$as_me: failed program was:" >&5
23376 sed 's/^/| /' conftest.
$ac_ext >&5
23378 eval "$as_ac_var=no"
23380 rm -f conftest.err conftest.
$ac_objext \
23381 conftest
$ac_exeext conftest.
$ac_ext
23383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23385 if test `eval echo '${'$as_ac_var'}'` = yes; then
23386 cat >>confdefs.h
<<_ACEOF
23387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23392 echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5
23393 echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6
23394 if test "${ac_cv_lib_rt_sched_yield+set}" = set; then
23395 echo $ECHO_N "(cached) $ECHO_C" >&6
23397 ac_check_lib_save_LIBS
=$LIBS
23399 if test x
$gcc_no_link = xyes
; then
23400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23402 { (exit 1); exit 1; }; }
23404 cat >conftest.
$ac_ext <<_ACEOF
23407 cat confdefs.h
>>conftest.
$ac_ext
23408 cat >>conftest.
$ac_ext <<_ACEOF
23409 /* end confdefs.h. */
23411 /* Override any gcc2 internal prototype to avoid an error. */
23415 /* We use char because int might match the return type of a gcc2
23416 builtin and then its argument prototype would still apply. */
23417 char sched_yield ();
23426 rm -f conftest.
$ac_objext conftest
$ac_exeext
23427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23428 (eval $ac_link) 2>conftest.er1
23430 grep -v '^ *+' conftest.er1
>conftest.err
23432 cat conftest.err
>&5
23433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23434 (exit $ac_status); } &&
23435 { ac_try
='test -z "$ac_c_werror_flag"
23436 || test ! -s conftest.err'
23437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23438 (eval $ac_try) 2>&5
23440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23441 (exit $ac_status); }; } &&
23442 { ac_try
='test -s conftest$ac_exeext'
23443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23444 (eval $ac_try) 2>&5
23446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23447 (exit $ac_status); }; }; then
23448 ac_cv_lib_rt_sched_yield
=yes
23450 echo "$as_me: failed program was:" >&5
23451 sed 's/^/| /' conftest.
$ac_ext >&5
23453 ac_cv_lib_rt_sched_yield
=no
23455 rm -f conftest.err conftest.
$ac_objext \
23456 conftest
$ac_exeext conftest.
$ac_ext
23457 LIBS
=$ac_check_lib_save_LIBS
23459 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5
23460 echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6
23461 if test $ac_cv_lib_rt_sched_yield = yes; then
23463 cat >>confdefs.h
<<\_ACEOF
23464 #define HAVE_SCHED_YIELD 1
23467 THREADLIBS
="$THREADLIBS -lrt"
23468 THREADSPEC
="$THREADSPEC -lrt"
23471 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
23472 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
23473 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
23474 echo $ECHO_N "(cached) $ECHO_C" >&6
23476 ac_check_lib_save_LIBS
=$LIBS
23477 LIBS
="-lposix4 $LIBS"
23478 if test x
$gcc_no_link = xyes
; then
23479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23481 { (exit 1); exit 1; }; }
23483 cat >conftest.
$ac_ext <<_ACEOF
23486 cat confdefs.h
>>conftest.
$ac_ext
23487 cat >>conftest.
$ac_ext <<_ACEOF
23488 /* end confdefs.h. */
23490 /* Override any gcc2 internal prototype to avoid an error. */
23494 /* We use char because int might match the return type of a gcc2
23495 builtin and then its argument prototype would still apply. */
23496 char sched_yield ();
23505 rm -f conftest.
$ac_objext conftest
$ac_exeext
23506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23507 (eval $ac_link) 2>conftest.er1
23509 grep -v '^ *+' conftest.er1
>conftest.err
23511 cat conftest.err
>&5
23512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23513 (exit $ac_status); } &&
23514 { ac_try
='test -z "$ac_c_werror_flag"
23515 || test ! -s conftest.err'
23516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23517 (eval $ac_try) 2>&5
23519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23520 (exit $ac_status); }; } &&
23521 { ac_try
='test -s conftest$ac_exeext'
23522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23523 (eval $ac_try) 2>&5
23525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23526 (exit $ac_status); }; }; then
23527 ac_cv_lib_posix4_sched_yield
=yes
23529 echo "$as_me: failed program was:" >&5
23530 sed 's/^/| /' conftest.
$ac_ext >&5
23532 ac_cv_lib_posix4_sched_yield
=no
23534 rm -f conftest.err conftest.
$ac_objext \
23535 conftest
$ac_exeext conftest.
$ac_ext
23536 LIBS
=$ac_check_lib_save_LIBS
23538 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
23539 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
23540 if test $ac_cv_lib_posix4_sched_yield = yes; then
23542 cat >>confdefs.h
<<\_ACEOF
23543 #define HAVE_SCHED_YIELD 1
23546 THREADLIBS
="$THREADLIBS -lposix4"
23547 THREADSPEC
="$THREADSPEC -lposix4"
23556 echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
23557 echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6
23558 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
23559 echo $ECHO_N "(cached) $ECHO_C" >&6
23561 ac_check_lib_save_LIBS
=$LIBS
23563 if test x
$gcc_no_link = xyes
; then
23564 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23566 { (exit 1); exit 1; }; }
23568 cat >conftest.
$ac_ext <<_ACEOF
23571 cat confdefs.h
>>conftest.
$ac_ext
23572 cat >>conftest.
$ac_ext <<_ACEOF
23573 /* end confdefs.h. */
23575 /* Override any gcc2 internal prototype to avoid an error. */
23579 /* We use char because int might match the return type of a gcc2
23580 builtin and then its argument prototype would still apply. */
23581 char clock_gettime ();
23590 rm -f conftest.
$ac_objext conftest
$ac_exeext
23591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23592 (eval $ac_link) 2>conftest.er1
23594 grep -v '^ *+' conftest.er1
>conftest.err
23596 cat conftest.err
>&5
23597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23598 (exit $ac_status); } &&
23599 { ac_try
='test -z "$ac_c_werror_flag"
23600 || test ! -s conftest.err'
23601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23602 (eval $ac_try) 2>&5
23604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23605 (exit $ac_status); }; } &&
23606 { ac_try
='test -s conftest$ac_exeext'
23607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23608 (eval $ac_try) 2>&5
23610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23611 (exit $ac_status); }; }; then
23612 ac_cv_lib_rt_clock_gettime
=yes
23614 echo "$as_me: failed program was:" >&5
23615 sed 's/^/| /' conftest.
$ac_ext >&5
23617 ac_cv_lib_rt_clock_gettime
=no
23619 rm -f conftest.err conftest.
$ac_objext \
23620 conftest
$ac_exeext conftest.
$ac_ext
23621 LIBS
=$ac_check_lib_save_LIBS
23623 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
23624 echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6
23625 if test $ac_cv_lib_rt_clock_gettime = yes; then
23628 cat >>confdefs.h
<<\_ACEOF
23629 #define HAVE_CLOCK_GETTIME 1
23632 case "$THREADSPEC" in
23635 THREADSPEC
="$THREADSPEC -lrt"
23636 THREADLIBS
="$THREADLIBS -lrt"
23644 # We can save a little space at runtime if the mutex has m_count
23645 # or __m_count. This is a nice hack for Linux.
23646 cat >conftest.
$ac_ext <<_ACEOF
23649 cat confdefs.h
>>conftest.
$ac_ext
23650 cat >>conftest.
$ac_ext <<_ACEOF
23651 /* end confdefs.h. */
23652 #include <pthread.h>
23657 extern pthread_mutex_t *mutex; int q = mutex->m_count;
23663 rm -f conftest.
$ac_objext
23664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23665 (eval $ac_compile) 2>conftest.er1
23667 grep -v '^ *+' conftest.er1
>conftest.err
23669 cat conftest.err
>&5
23670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23671 (exit $ac_status); } &&
23672 { ac_try
='test -z "$ac_c_werror_flag"
23673 || test ! -s conftest.err'
23674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23675 (eval $ac_try) 2>&5
23677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23678 (exit $ac_status); }; } &&
23679 { ac_try
='test -s conftest.$ac_objext'
23680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23681 (eval $ac_try) 2>&5
23683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23684 (exit $ac_status); }; }; then
23686 cat >>confdefs.h
<<\_ACEOF
23687 #define PTHREAD_MUTEX_HAVE_M_COUNT 1
23691 echo "$as_me: failed program was:" >&5
23692 sed 's/^/| /' conftest.
$ac_ext >&5
23695 cat >conftest.
$ac_ext <<_ACEOF
23698 cat confdefs.h
>>conftest.
$ac_ext
23699 cat >>conftest.
$ac_ext <<_ACEOF
23700 /* end confdefs.h. */
23701 #include <pthread.h>
23706 extern pthread_mutex_t *mutex; int q = mutex->__m_count;
23712 rm -f conftest.
$ac_objext
23713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23714 (eval $ac_compile) 2>conftest.er1
23716 grep -v '^ *+' conftest.er1
>conftest.err
23718 cat conftest.err
>&5
23719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23720 (exit $ac_status); } &&
23721 { ac_try
='test -z "$ac_c_werror_flag"
23722 || test ! -s conftest.err'
23723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23724 (eval $ac_try) 2>&5
23726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727 (exit $ac_status); }; } &&
23728 { ac_try
='test -s conftest.$ac_objext'
23729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23730 (eval $ac_try) 2>&5
23732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23733 (exit $ac_status); }; }; then
23735 cat >>confdefs.h
<<\_ACEOF
23736 #define PTHREAD_MUTEX_HAVE___M_COUNT 1
23740 echo "$as_me: failed program was:" >&5
23741 sed 's/^/| /' conftest.
$ac_ext >&5
23744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23749 # We require a way to get the time.
23754 for ac_func
in gettimeofday
time ftime
23756 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23757 echo "$as_me:$LINENO: checking for $ac_func" >&5
23758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23759 if eval "test \"\${$as_ac_var+set}\" = set"; then
23760 echo $ECHO_N "(cached) $ECHO_C" >&6
23762 if test x
$gcc_no_link = xyes
; then
23763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23765 { (exit 1); exit 1; }; }
23767 cat >conftest.
$ac_ext <<_ACEOF
23770 cat confdefs.h
>>conftest.
$ac_ext
23771 cat >>conftest.
$ac_ext <<_ACEOF
23772 /* end confdefs.h. */
23773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23775 #define $ac_func innocuous_$ac_func
23777 /* System header to define __stub macros and hopefully few prototypes,
23778 which can conflict with char $ac_func (); below.
23779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23780 <limits.h> exists even on freestanding compilers. */
23783 # include <limits.h>
23785 # include <assert.h>
23790 /* Override any gcc2 internal prototype to avoid an error. */
23795 /* We use char because int might match the return type of a gcc2
23796 builtin and then its argument prototype would still apply. */
23798 /* The GNU C library defines this for functions which it implements
23799 to always fail with ENOSYS. Some functions are actually named
23800 something starting with __ and the normal name is an alias. */
23801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23804 char (*f) () = $ac_func;
23813 return f != $ac_func;
23818 rm -f conftest.
$ac_objext conftest
$ac_exeext
23819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23820 (eval $ac_link) 2>conftest.er1
23822 grep -v '^ *+' conftest.er1
>conftest.err
23824 cat conftest.err
>&5
23825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23826 (exit $ac_status); } &&
23827 { ac_try
='test -z "$ac_c_werror_flag"
23828 || test ! -s conftest.err'
23829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23830 (eval $ac_try) 2>&5
23832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23833 (exit $ac_status); }; } &&
23834 { ac_try
='test -s conftest$ac_exeext'
23835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23836 (eval $ac_try) 2>&5
23838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23839 (exit $ac_status); }; }; then
23840 eval "$as_ac_var=yes"
23842 echo "$as_me: failed program was:" >&5
23843 sed 's/^/| /' conftest.
$ac_ext >&5
23845 eval "$as_ac_var=no"
23847 rm -f conftest.err conftest.
$ac_objext \
23848 conftest
$ac_exeext conftest.
$ac_ext
23850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23852 if test `eval echo '${'$as_ac_var'}'` = yes; then
23853 cat >>confdefs.h
<<_ACEOF
23854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23860 if test "$time_found" = no
; then
23861 { { echo "$as_me:$LINENO: error: no function found to get the time" >&5
23862 echo "$as_me: error: no function found to get the time" >&2;}
23863 { (exit 1); exit 1; }; }
23867 for ac_func
in memmove
23869 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23870 echo "$as_me:$LINENO: checking for $ac_func" >&5
23871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23872 if eval "test \"\${$as_ac_var+set}\" = set"; then
23873 echo $ECHO_N "(cached) $ECHO_C" >&6
23875 if test x
$gcc_no_link = xyes
; then
23876 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23878 { (exit 1); exit 1; }; }
23880 cat >conftest.
$ac_ext <<_ACEOF
23883 cat confdefs.h
>>conftest.
$ac_ext
23884 cat >>conftest.
$ac_ext <<_ACEOF
23885 /* end confdefs.h. */
23886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23888 #define $ac_func innocuous_$ac_func
23890 /* System header to define __stub macros and hopefully few prototypes,
23891 which can conflict with char $ac_func (); below.
23892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23893 <limits.h> exists even on freestanding compilers. */
23896 # include <limits.h>
23898 # include <assert.h>
23903 /* Override any gcc2 internal prototype to avoid an error. */
23908 /* We use char because int might match the return type of a gcc2
23909 builtin and then its argument prototype would still apply. */
23911 /* The GNU C library defines this for functions which it implements
23912 to always fail with ENOSYS. Some functions are actually named
23913 something starting with __ and the normal name is an alias. */
23914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23917 char (*f) () = $ac_func;
23926 return f != $ac_func;
23931 rm -f conftest.
$ac_objext conftest
$ac_exeext
23932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23933 (eval $ac_link) 2>conftest.er1
23935 grep -v '^ *+' conftest.er1
>conftest.err
23937 cat conftest.err
>&5
23938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23939 (exit $ac_status); } &&
23940 { ac_try
='test -z "$ac_c_werror_flag"
23941 || test ! -s conftest.err'
23942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23943 (eval $ac_try) 2>&5
23945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23946 (exit $ac_status); }; } &&
23947 { ac_try
='test -s conftest$ac_exeext'
23948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23949 (eval $ac_try) 2>&5
23951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23952 (exit $ac_status); }; }; then
23953 eval "$as_ac_var=yes"
23955 echo "$as_me: failed program was:" >&5
23956 sed 's/^/| /' conftest.
$ac_ext >&5
23958 eval "$as_ac_var=no"
23960 rm -f conftest.err conftest.
$ac_objext \
23961 conftest
$ac_exeext conftest.
$ac_ext
23963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23965 if test `eval echo '${'$as_ac_var'}'` = yes; then
23966 cat >>confdefs.h
<<_ACEOF
23967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23974 # We require memcpy.
23977 for ac_func
in memcpy
23979 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23980 echo "$as_me:$LINENO: checking for $ac_func" >&5
23981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23982 if eval "test \"\${$as_ac_var+set}\" = set"; then
23983 echo $ECHO_N "(cached) $ECHO_C" >&6
23985 if test x
$gcc_no_link = xyes
; then
23986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23988 { (exit 1); exit 1; }; }
23990 cat >conftest.
$ac_ext <<_ACEOF
23993 cat confdefs.h
>>conftest.
$ac_ext
23994 cat >>conftest.
$ac_ext <<_ACEOF
23995 /* end confdefs.h. */
23996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23998 #define $ac_func innocuous_$ac_func
24000 /* System header to define __stub macros and hopefully few prototypes,
24001 which can conflict with char $ac_func (); below.
24002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24003 <limits.h> exists even on freestanding compilers. */
24006 # include <limits.h>
24008 # include <assert.h>
24013 /* Override any gcc2 internal prototype to avoid an error. */
24018 /* We use char because int might match the return type of a gcc2
24019 builtin and then its argument prototype would still apply. */
24021 /* The GNU C library defines this for functions which it implements
24022 to always fail with ENOSYS. Some functions are actually named
24023 something starting with __ and the normal name is an alias. */
24024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24027 char (*f) () = $ac_func;
24036 return f != $ac_func;
24041 rm -f conftest.
$ac_objext conftest
$ac_exeext
24042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24043 (eval $ac_link) 2>conftest.er1
24045 grep -v '^ *+' conftest.er1
>conftest.err
24047 cat conftest.err
>&5
24048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24049 (exit $ac_status); } &&
24050 { ac_try
='test -z "$ac_c_werror_flag"
24051 || test ! -s conftest.err'
24052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24053 (eval $ac_try) 2>&5
24055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24056 (exit $ac_status); }; } &&
24057 { ac_try
='test -s conftest$ac_exeext'
24058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24059 (eval $ac_try) 2>&5
24061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24062 (exit $ac_status); }; }; then
24063 eval "$as_ac_var=yes"
24065 echo "$as_me: failed program was:" >&5
24066 sed 's/^/| /' conftest.
$ac_ext >&5
24068 eval "$as_ac_var=no"
24070 rm -f conftest.err conftest.
$ac_objext \
24071 conftest
$ac_exeext conftest.
$ac_ext
24073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24075 if test `eval echo '${'$as_ac_var'}'` = yes; then
24076 cat >>confdefs.h
<<_ACEOF
24077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24083 if test "$memcpy_found" = no
; then
24084 { { echo "$as_me:$LINENO: error: memcpy is required" >&5
24085 echo "$as_me: error: memcpy is required" >&2;}
24086 { (exit 1); exit 1; }; }
24088 # Do an additional check on dld, HP-UX for example has dlopen in libdld.sl
24089 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
24090 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
24091 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
24092 echo $ECHO_N "(cached) $ECHO_C" >&6
24094 ac_check_lib_save_LIBS
=$LIBS
24096 if test x
$gcc_no_link = xyes
; then
24097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24099 { (exit 1); exit 1; }; }
24101 cat >conftest.
$ac_ext <<_ACEOF
24104 cat confdefs.h
>>conftest.
$ac_ext
24105 cat >>conftest.
$ac_ext <<_ACEOF
24106 /* end confdefs.h. */
24108 /* Override any gcc2 internal prototype to avoid an error. */
24112 /* We use char because int might match the return type of a gcc2
24113 builtin and then its argument prototype would still apply. */
24123 rm -f conftest.
$ac_objext conftest
$ac_exeext
24124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24125 (eval $ac_link) 2>conftest.er1
24127 grep -v '^ *+' conftest.er1
>conftest.err
24129 cat conftest.err
>&5
24130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24131 (exit $ac_status); } &&
24132 { ac_try
='test -z "$ac_c_werror_flag"
24133 || test ! -s conftest.err'
24134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24135 (eval $ac_try) 2>&5
24137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24138 (exit $ac_status); }; } &&
24139 { ac_try
='test -s conftest$ac_exeext'
24140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24141 (eval $ac_try) 2>&5
24143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24144 (exit $ac_status); }; }; then
24145 ac_cv_lib_dl_dlopen
=yes
24147 echo "$as_me: failed program was:" >&5
24148 sed 's/^/| /' conftest.
$ac_ext >&5
24150 ac_cv_lib_dl_dlopen
=no
24152 rm -f conftest.err conftest.
$ac_objext \
24153 conftest
$ac_exeext conftest.
$ac_ext
24154 LIBS
=$ac_check_lib_save_LIBS
24156 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
24157 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
24158 if test $ac_cv_lib_dl_dlopen = yes; then
24161 cat >>confdefs.h
<<\_ACEOF
24162 #define HAVE_DLOPEN 1
24167 echo "$as_me:$LINENO: checking for dlopen in -ldld" >&5
24168 echo $ECHO_N "checking for dlopen in -ldld... $ECHO_C" >&6
24169 if test "${ac_cv_lib_dld_dlopen+set}" = set; then
24170 echo $ECHO_N "(cached) $ECHO_C" >&6
24172 ac_check_lib_save_LIBS
=$LIBS
24174 if test x
$gcc_no_link = xyes
; then
24175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24177 { (exit 1); exit 1; }; }
24179 cat >conftest.
$ac_ext <<_ACEOF
24182 cat confdefs.h
>>conftest.
$ac_ext
24183 cat >>conftest.
$ac_ext <<_ACEOF
24184 /* end confdefs.h. */
24186 /* Override any gcc2 internal prototype to avoid an error. */
24190 /* We use char because int might match the return type of a gcc2
24191 builtin and then its argument prototype would still apply. */
24201 rm -f conftest.
$ac_objext conftest
$ac_exeext
24202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24203 (eval $ac_link) 2>conftest.er1
24205 grep -v '^ *+' conftest.er1
>conftest.err
24207 cat conftest.err
>&5
24208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24209 (exit $ac_status); } &&
24210 { ac_try
='test -z "$ac_c_werror_flag"
24211 || test ! -s conftest.err'
24212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24213 (eval $ac_try) 2>&5
24215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24216 (exit $ac_status); }; } &&
24217 { ac_try
='test -s conftest$ac_exeext'
24218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24219 (eval $ac_try) 2>&5
24221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24222 (exit $ac_status); }; }; then
24223 ac_cv_lib_dld_dlopen
=yes
24225 echo "$as_me: failed program was:" >&5
24226 sed 's/^/| /' conftest.
$ac_ext >&5
24228 ac_cv_lib_dld_dlopen
=no
24230 rm -f conftest.err conftest.
$ac_objext \
24231 conftest
$ac_exeext conftest.
$ac_ext
24232 LIBS
=$ac_check_lib_save_LIBS
24234 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dlopen" >&5
24235 echo "${ECHO_T}$ac_cv_lib_dld_dlopen" >&6
24236 if test $ac_cv_lib_dld_dlopen = yes; then
24239 cat >>confdefs.h
<<\_ACEOF
24240 #define HAVE_DLOPEN 1
24248 # Some library-finding code we stole from Tcl.
24249 #--------------------------------------------------------------------
24250 # Check for the existence of the -lsocket and -lnsl libraries.
24251 # The order here is important, so that they end up in the right
24252 # order in the command line generated by make. Here are some
24253 # special considerations:
24254 # 1. Use "connect" and "accept" to check for -lsocket, and
24255 # "gethostbyname" to check for -lnsl.
24256 # 2. Use each function name only once: can't redo a check because
24257 # autoconf caches the results of the last check and won't redo it.
24258 # 3. Use -lnsl and -lsocket only if they supply procedures that
24259 # aren't already present in the normal libraries. This is because
24260 # IRIX 5.2 has libraries, but they aren't needed and they're
24261 # bogus: they goof up name resolution if used.
24262 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too.
24263 # To get around this problem, check for both libraries together
24264 # if -lsocket doesn't work by itself.
24265 #--------------------------------------------------------------------
24267 echo "$as_me:$LINENO: checking for socket libraries" >&5
24268 echo $ECHO_N "checking for socket libraries... $ECHO_C" >&6
24269 if test "${gcj_cv_lib_sockets+set}" = set; then
24270 echo $ECHO_N "(cached) $ECHO_C" >&6
24272 gcj_cv_lib_sockets
=
24274 unset ac_cv_func_connect
24275 echo "$as_me:$LINENO: checking for connect" >&5
24276 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24277 if test "${ac_cv_func_connect+set}" = set; then
24278 echo $ECHO_N "(cached) $ECHO_C" >&6
24280 if test x
$gcc_no_link = xyes
; then
24281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24283 { (exit 1); exit 1; }; }
24285 cat >conftest.
$ac_ext <<_ACEOF
24288 cat confdefs.h
>>conftest.
$ac_ext
24289 cat >>conftest.
$ac_ext <<_ACEOF
24290 /* end confdefs.h. */
24291 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24293 #define connect innocuous_connect
24295 /* System header to define __stub macros and hopefully few prototypes,
24296 which can conflict with char connect (); below.
24297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24298 <limits.h> exists even on freestanding compilers. */
24301 # include <limits.h>
24303 # include <assert.h>
24308 /* Override any gcc2 internal prototype to avoid an error. */
24313 /* We use char because int might match the return type of a gcc2
24314 builtin and then its argument prototype would still apply. */
24316 /* The GNU C library defines this for functions which it implements
24317 to always fail with ENOSYS. Some functions are actually named
24318 something starting with __ and the normal name is an alias. */
24319 #if defined (__stub_connect) || defined (__stub___connect)
24322 char (*f) () = connect;
24331 return f != connect;
24336 rm -f conftest.
$ac_objext conftest
$ac_exeext
24337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24338 (eval $ac_link) 2>conftest.er1
24340 grep -v '^ *+' conftest.er1
>conftest.err
24342 cat conftest.err
>&5
24343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24344 (exit $ac_status); } &&
24345 { ac_try
='test -z "$ac_c_werror_flag"
24346 || test ! -s conftest.err'
24347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24348 (eval $ac_try) 2>&5
24350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24351 (exit $ac_status); }; } &&
24352 { ac_try
='test -s conftest$ac_exeext'
24353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24354 (eval $ac_try) 2>&5
24356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24357 (exit $ac_status); }; }; then
24358 ac_cv_func_connect
=yes
24360 echo "$as_me: failed program was:" >&5
24361 sed 's/^/| /' conftest.
$ac_ext >&5
24363 ac_cv_func_connect
=no
24365 rm -f conftest.err conftest.
$ac_objext \
24366 conftest
$ac_exeext conftest.
$ac_ext
24368 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24369 echo "${ECHO_T}$ac_cv_func_connect" >&6
24370 if test $ac_cv_func_connect = yes; then
24376 if test "$gcj_checkSocket" = 1; then
24377 unset ac_cv_func_connect
24378 echo "$as_me:$LINENO: checking for main in -lsocket" >&5
24379 echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
24380 if test "${ac_cv_lib_socket_main+set}" = set; then
24381 echo $ECHO_N "(cached) $ECHO_C" >&6
24383 ac_check_lib_save_LIBS
=$LIBS
24384 LIBS
="-lsocket $LIBS"
24385 if test x
$gcc_no_link = xyes
; then
24386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24388 { (exit 1); exit 1; }; }
24390 cat >conftest.
$ac_ext <<_ACEOF
24393 cat confdefs.h
>>conftest.
$ac_ext
24394 cat >>conftest.
$ac_ext <<_ACEOF
24395 /* end confdefs.h. */
24406 rm -f conftest.
$ac_objext conftest
$ac_exeext
24407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24408 (eval $ac_link) 2>conftest.er1
24410 grep -v '^ *+' conftest.er1
>conftest.err
24412 cat conftest.err
>&5
24413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24414 (exit $ac_status); } &&
24415 { ac_try
='test -z "$ac_c_werror_flag"
24416 || test ! -s conftest.err'
24417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24418 (eval $ac_try) 2>&5
24420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24421 (exit $ac_status); }; } &&
24422 { ac_try
='test -s conftest$ac_exeext'
24423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24424 (eval $ac_try) 2>&5
24426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24427 (exit $ac_status); }; }; then
24428 ac_cv_lib_socket_main
=yes
24430 echo "$as_me: failed program was:" >&5
24431 sed 's/^/| /' conftest.
$ac_ext >&5
24433 ac_cv_lib_socket_main
=no
24435 rm -f conftest.err conftest.
$ac_objext \
24436 conftest
$ac_exeext conftest.
$ac_ext
24437 LIBS
=$ac_check_lib_save_LIBS
24439 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
24440 echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
24441 if test $ac_cv_lib_socket_main = yes; then
24442 gcj_cv_lib_sockets
="-lsocket"
24448 if test "$gcj_checkBoth" = 1; then
24450 LIBS
="$LIBS -lsocket -lnsl"
24451 unset ac_cv_func_accept
24452 echo "$as_me:$LINENO: checking for accept" >&5
24453 echo $ECHO_N "checking for accept... $ECHO_C" >&6
24454 if test "${ac_cv_func_accept+set}" = set; then
24455 echo $ECHO_N "(cached) $ECHO_C" >&6
24457 if test x
$gcc_no_link = xyes
; then
24458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24460 { (exit 1); exit 1; }; }
24462 cat >conftest.
$ac_ext <<_ACEOF
24465 cat confdefs.h
>>conftest.
$ac_ext
24466 cat >>conftest.
$ac_ext <<_ACEOF
24467 /* end confdefs.h. */
24468 /* Define accept to an innocuous variant, in case <limits.h> declares accept.
24469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24470 #define accept innocuous_accept
24472 /* System header to define __stub macros and hopefully few prototypes,
24473 which can conflict with char accept (); below.
24474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24475 <limits.h> exists even on freestanding compilers. */
24478 # include <limits.h>
24480 # include <assert.h>
24485 /* Override any gcc2 internal prototype to avoid an error. */
24490 /* We use char because int might match the return type of a gcc2
24491 builtin and then its argument prototype would still apply. */
24493 /* The GNU C library defines this for functions which it implements
24494 to always fail with ENOSYS. Some functions are actually named
24495 something starting with __ and the normal name is an alias. */
24496 #if defined (__stub_accept) || defined (__stub___accept)
24499 char (*f) () = accept;
24508 return f != accept;
24513 rm -f conftest.
$ac_objext conftest
$ac_exeext
24514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24515 (eval $ac_link) 2>conftest.er1
24517 grep -v '^ *+' conftest.er1
>conftest.err
24519 cat conftest.err
>&5
24520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24521 (exit $ac_status); } &&
24522 { ac_try
='test -z "$ac_c_werror_flag"
24523 || test ! -s conftest.err'
24524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24525 (eval $ac_try) 2>&5
24527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24528 (exit $ac_status); }; } &&
24529 { ac_try
='test -s conftest$ac_exeext'
24530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24531 (eval $ac_try) 2>&5
24533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24534 (exit $ac_status); }; }; then
24535 ac_cv_func_accept
=yes
24537 echo "$as_me: failed program was:" >&5
24538 sed 's/^/| /' conftest.
$ac_ext >&5
24540 ac_cv_func_accept
=no
24542 rm -f conftest.err conftest.
$ac_objext \
24543 conftest
$ac_exeext conftest.
$ac_ext
24545 echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5
24546 echo "${ECHO_T}$ac_cv_func_accept" >&6
24547 if test $ac_cv_func_accept = yes; then
24549 gcj_cv_lib_sockets
="-lsocket -lnsl"
24552 unset ac_cv_func_accept
24555 unset ac_cv_func_gethostbyname
24557 LIBS
="$LIBS $gcj_cv_lib_sockets"
24558 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24559 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24560 if test "${ac_cv_func_gethostbyname+set}" = set; then
24561 echo $ECHO_N "(cached) $ECHO_C" >&6
24563 if test x
$gcc_no_link = xyes
; then
24564 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24566 { (exit 1); exit 1; }; }
24568 cat >conftest.
$ac_ext <<_ACEOF
24571 cat confdefs.h
>>conftest.
$ac_ext
24572 cat >>conftest.
$ac_ext <<_ACEOF
24573 /* end confdefs.h. */
24574 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24576 #define gethostbyname innocuous_gethostbyname
24578 /* System header to define __stub macros and hopefully few prototypes,
24579 which can conflict with char gethostbyname (); below.
24580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24581 <limits.h> exists even on freestanding compilers. */
24584 # include <limits.h>
24586 # include <assert.h>
24589 #undef gethostbyname
24591 /* Override any gcc2 internal prototype to avoid an error. */
24596 /* We use char because int might match the return type of a gcc2
24597 builtin and then its argument prototype would still apply. */
24598 char gethostbyname ();
24599 /* The GNU C library defines this for functions which it implements
24600 to always fail with ENOSYS. Some functions are actually named
24601 something starting with __ and the normal name is an alias. */
24602 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24605 char (*f) () = gethostbyname;
24614 return f != gethostbyname;
24619 rm -f conftest.
$ac_objext conftest
$ac_exeext
24620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24621 (eval $ac_link) 2>conftest.er1
24623 grep -v '^ *+' conftest.er1
>conftest.err
24625 cat conftest.err
>&5
24626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24627 (exit $ac_status); } &&
24628 { ac_try
='test -z "$ac_c_werror_flag"
24629 || test ! -s conftest.err'
24630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24631 (eval $ac_try) 2>&5
24633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24634 (exit $ac_status); }; } &&
24635 { ac_try
='test -s conftest$ac_exeext'
24636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24637 (eval $ac_try) 2>&5
24639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24640 (exit $ac_status); }; }; then
24641 ac_cv_func_gethostbyname
=yes
24643 echo "$as_me: failed program was:" >&5
24644 sed 's/^/| /' conftest.
$ac_ext >&5
24646 ac_cv_func_gethostbyname
=no
24648 rm -f conftest.err conftest.
$ac_objext \
24649 conftest
$ac_exeext conftest.
$ac_ext
24651 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24652 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24653 if test $ac_cv_func_gethostbyname = yes; then
24656 echo "$as_me:$LINENO: checking for main in -lnsl" >&5
24657 echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
24658 if test "${ac_cv_lib_nsl_main+set}" = set; then
24659 echo $ECHO_N "(cached) $ECHO_C" >&6
24661 ac_check_lib_save_LIBS
=$LIBS
24663 if test x
$gcc_no_link = xyes
; then
24664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24666 { (exit 1); exit 1; }; }
24668 cat >conftest.
$ac_ext <<_ACEOF
24671 cat confdefs.h
>>conftest.
$ac_ext
24672 cat >>conftest.
$ac_ext <<_ACEOF
24673 /* end confdefs.h. */
24684 rm -f conftest.
$ac_objext conftest
$ac_exeext
24685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24686 (eval $ac_link) 2>conftest.er1
24688 grep -v '^ *+' conftest.er1
>conftest.err
24690 cat conftest.err
>&5
24691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24692 (exit $ac_status); } &&
24693 { ac_try
='test -z "$ac_c_werror_flag"
24694 || test ! -s conftest.err'
24695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24696 (eval $ac_try) 2>&5
24698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24699 (exit $ac_status); }; } &&
24700 { ac_try
='test -s conftest$ac_exeext'
24701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24702 (eval $ac_try) 2>&5
24704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24705 (exit $ac_status); }; }; then
24706 ac_cv_lib_nsl_main
=yes
24708 echo "$as_me: failed program was:" >&5
24709 sed 's/^/| /' conftest.
$ac_ext >&5
24711 ac_cv_lib_nsl_main
=no
24713 rm -f conftest.err conftest.
$ac_objext \
24714 conftest
$ac_exeext conftest.
$ac_ext
24715 LIBS
=$ac_check_lib_save_LIBS
24717 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
24718 echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
24719 if test $ac_cv_lib_nsl_main = yes; then
24720 gcj_cv_lib_sockets
="$gcj_cv_lib_sockets -lnsl"
24725 unset ac_cv_func_gethostbyname
24729 echo "$as_me:$LINENO: result: $gcj_cv_lib_sockets" >&5
24730 echo "${ECHO_T}$gcj_cv_lib_sockets" >&6
24731 SYSTEMSPEC
="$SYSTEMSPEC $gcj_cv_lib_sockets"
24733 if test "$with_system_zlib" = yes; then
24734 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24735 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24736 if test "${ac_cv_lib_z_deflate+set}" = set; then
24737 echo $ECHO_N "(cached) $ECHO_C" >&6
24739 ac_check_lib_save_LIBS
=$LIBS
24741 if test x
$gcc_no_link = xyes
; then
24742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24744 { (exit 1); exit 1; }; }
24746 cat >conftest.
$ac_ext <<_ACEOF
24749 cat confdefs.h
>>conftest.
$ac_ext
24750 cat >>conftest.
$ac_ext <<_ACEOF
24751 /* end confdefs.h. */
24753 /* Override any gcc2 internal prototype to avoid an error. */
24757 /* We use char because int might match the return type of a gcc2
24758 builtin and then its argument prototype would still apply. */
24768 rm -f conftest.
$ac_objext conftest
$ac_exeext
24769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24770 (eval $ac_link) 2>conftest.er1
24772 grep -v '^ *+' conftest.er1
>conftest.err
24774 cat conftest.err
>&5
24775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24776 (exit $ac_status); } &&
24777 { ac_try
='test -z "$ac_c_werror_flag"
24778 || test ! -s conftest.err'
24779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24780 (eval $ac_try) 2>&5
24782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24783 (exit $ac_status); }; } &&
24784 { ac_try
='test -s conftest$ac_exeext'
24785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24786 (eval $ac_try) 2>&5
24788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24789 (exit $ac_status); }; }; then
24790 ac_cv_lib_z_deflate
=yes
24792 echo "$as_me: failed program was:" >&5
24793 sed 's/^/| /' conftest.
$ac_ext >&5
24795 ac_cv_lib_z_deflate
=no
24797 rm -f conftest.err conftest.
$ac_objext \
24798 conftest
$ac_exeext conftest.
$ac_ext
24799 LIBS
=$ac_check_lib_save_LIBS
24801 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24802 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24803 if test $ac_cv_lib_z_deflate = yes; then
24811 # Test for Gtk stuff, if asked for.
24812 if test "$use_gtk_awt" = yes; then
24816 if test -z "$PKG_CONFIG"; then
24817 # Extract the first word of "pkg-config", so it can be a program name with args.
24818 set dummy pkg-config
; ac_word
=$2
24819 echo "$as_me:$LINENO: checking for $ac_word" >&5
24820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24821 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24822 echo $ECHO_N "(cached) $ECHO_C" >&6
24824 case $PKG_CONFIG in
24826 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24830 for as_dir
in $PATH
24833 test -z "$as_dir" && as_dir
=.
24834 for ac_exec_ext
in '' $ac_executable_extensions; do
24835 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24836 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24843 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24847 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24849 if test -n "$PKG_CONFIG"; then
24850 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24851 echo "${ECHO_T}$PKG_CONFIG" >&6
24853 echo "$as_me:$LINENO: result: no" >&5
24854 echo "${ECHO_T}no" >&6
24859 if test "$PKG_CONFIG" = "no" ; then
24860 echo "*** The pkg-config script could not be found. Make sure it is"
24861 echo "*** in your path, or set the PKG_CONFIG environment variable"
24862 echo "*** to the full path to pkg-config."
24863 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24865 PKG_CONFIG_MIN_VERSION
=0.9.0
24866 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24867 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4" >&5
24868 echo $ECHO_N "checking for gtk+-2.0 >= 2.4... $ECHO_C" >&6
24870 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4" ; then
24871 echo "$as_me:$LINENO: result: yes" >&5
24872 echo "${ECHO_T}yes" >&6
24875 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
24876 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
24877 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4"`
24878 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
24879 echo "${ECHO_T}$GTK_CFLAGS" >&6
24881 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
24882 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
24883 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4"`
24884 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
24885 echo "${ECHO_T}$GTK_LIBS" >&6
24889 ## If we have a custom action on failure, don't print errors, but
24890 ## do set a variable so people can do so.
24891 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4"`
24892 echo $GTK_PKG_ERRORS
24898 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24899 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24903 if test $succeeded = yes; then
24906 { { 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
24907 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;}
24908 { (exit 1); exit 1; }; }
24917 if test -z "$PKG_CONFIG"; then
24918 # Extract the first word of "pkg-config", so it can be a program name with args.
24919 set dummy pkg-config
; ac_word
=$2
24920 echo "$as_me:$LINENO: checking for $ac_word" >&5
24921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24922 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24923 echo $ECHO_N "(cached) $ECHO_C" >&6
24925 case $PKG_CONFIG in
24927 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24931 for as_dir
in $PATH
24934 test -z "$as_dir" && as_dir
=.
24935 for ac_exec_ext
in '' $ac_executable_extensions; do
24936 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24937 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24944 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24948 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24950 if test -n "$PKG_CONFIG"; then
24951 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24952 echo "${ECHO_T}$PKG_CONFIG" >&6
24954 echo "$as_me:$LINENO: result: no" >&5
24955 echo "${ECHO_T}no" >&6
24960 if test "$PKG_CONFIG" = "no" ; then
24961 echo "*** The pkg-config script could not be found. Make sure it is"
24962 echo "*** in your path, or set the PKG_CONFIG environment variable"
24963 echo "*** to the full path to pkg-config."
24964 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24966 PKG_CONFIG_MIN_VERSION
=0.9.0
24967 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24968 echo "$as_me:$LINENO: checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4" >&5
24969 echo $ECHO_N "checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... $ECHO_C" >&6
24971 if $PKG_CONFIG --exists "glib-2.0 >= 2.4 gthread-2.0 >= 2.4" ; then
24972 echo "$as_me:$LINENO: result: yes" >&5
24973 echo "${ECHO_T}yes" >&6
24976 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
24977 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
24978 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
24979 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
24980 echo "${ECHO_T}$GLIB_CFLAGS" >&6
24982 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
24983 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
24984 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
24985 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
24986 echo "${ECHO_T}$GLIB_LIBS" >&6
24990 ## If we have a custom action on failure, don't print errors, but
24991 ## do set a variable so people can do so.
24992 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
24993 echo $GLIB_PKG_ERRORS
24999 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25000 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25004 if test $succeeded = yes; then
25007 { { 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
25008 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;}
25009 { (exit 1); exit 1; }; }
25018 if test -z "$PKG_CONFIG"; then
25019 # Extract the first word of "pkg-config", so it can be a program name with args.
25020 set dummy pkg-config
; ac_word
=$2
25021 echo "$as_me:$LINENO: checking for $ac_word" >&5
25022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25023 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25024 echo $ECHO_N "(cached) $ECHO_C" >&6
25026 case $PKG_CONFIG in
25028 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25032 for as_dir
in $PATH
25035 test -z "$as_dir" && as_dir
=.
25036 for ac_exec_ext
in '' $ac_executable_extensions; do
25037 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25038 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25045 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25049 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25051 if test -n "$PKG_CONFIG"; then
25052 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25053 echo "${ECHO_T}$PKG_CONFIG" >&6
25055 echo "$as_me:$LINENO: result: no" >&5
25056 echo "${ECHO_T}no" >&6
25061 if test "$PKG_CONFIG" = "no" ; then
25062 echo "*** The pkg-config script could not be found. Make sure it is"
25063 echo "*** in your path, or set the PKG_CONFIG environment variable"
25064 echo "*** to the full path to pkg-config."
25065 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25067 PKG_CONFIG_MIN_VERSION
=0.9.0
25068 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25069 echo "$as_me:$LINENO: checking for libart-2.0 >= 2.1" >&5
25070 echo $ECHO_N "checking for libart-2.0 >= 2.1... $ECHO_C" >&6
25072 if $PKG_CONFIG --exists "libart-2.0 >= 2.1" ; then
25073 echo "$as_me:$LINENO: result: yes" >&5
25074 echo "${ECHO_T}yes" >&6
25077 echo "$as_me:$LINENO: checking LIBART_CFLAGS" >&5
25078 echo $ECHO_N "checking LIBART_CFLAGS... $ECHO_C" >&6
25079 LIBART_CFLAGS
=`$PKG_CONFIG --cflags "libart-2.0 >= 2.1"`
25080 echo "$as_me:$LINENO: result: $LIBART_CFLAGS" >&5
25081 echo "${ECHO_T}$LIBART_CFLAGS" >&6
25083 echo "$as_me:$LINENO: checking LIBART_LIBS" >&5
25084 echo $ECHO_N "checking LIBART_LIBS... $ECHO_C" >&6
25085 LIBART_LIBS
=`$PKG_CONFIG --libs "libart-2.0 >= 2.1"`
25086 echo "$as_me:$LINENO: result: $LIBART_LIBS" >&5
25087 echo "${ECHO_T}$LIBART_LIBS" >&6
25091 ## If we have a custom action on failure, don't print errors, but
25092 ## do set a variable so people can do so.
25093 LIBART_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libart-2.0 >= 2.1"`
25094 echo $LIBART_PKG_ERRORS
25100 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25101 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25105 if test $succeeded = yes; then
25108 { { 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
25109 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;}
25110 { (exit 1); exit 1; }; }
25116 # We require the XTest Extension to support java.awt.Robot.
25117 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
25118 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
25119 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
25120 echo $ECHO_N "(cached) $ECHO_C" >&6
25122 ac_check_lib_save_LIBS
=$LIBS
25123 LIBS
="-lXtst ${X_LIBS} $LIBS"
25124 if test x
$gcc_no_link = xyes
; then
25125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25127 { (exit 1); exit 1; }; }
25129 cat >conftest.
$ac_ext <<_ACEOF
25132 cat confdefs.h
>>conftest.
$ac_ext
25133 cat >>conftest.
$ac_ext <<_ACEOF
25134 /* end confdefs.h. */
25136 /* Override any gcc2 internal prototype to avoid an error. */
25140 /* We use char because int might match the return type of a gcc2
25141 builtin and then its argument prototype would still apply. */
25142 char XTestQueryExtension ();
25146 XTestQueryExtension ();
25151 rm -f conftest.
$ac_objext conftest
$ac_exeext
25152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25153 (eval $ac_link) 2>conftest.er1
25155 grep -v '^ *+' conftest.er1
>conftest.err
25157 cat conftest.err
>&5
25158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25159 (exit $ac_status); } &&
25160 { ac_try
='test -z "$ac_c_werror_flag"
25161 || test ! -s conftest.err'
25162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25163 (eval $ac_try) 2>&5
25165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25166 (exit $ac_status); }; } &&
25167 { ac_try
='test -s conftest$ac_exeext'
25168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25169 (eval $ac_try) 2>&5
25171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25172 (exit $ac_status); }; }; then
25173 ac_cv_lib_Xtst_XTestQueryExtension
=yes
25175 echo "$as_me: failed program was:" >&5
25176 sed 's/^/| /' conftest.
$ac_ext >&5
25178 ac_cv_lib_Xtst_XTestQueryExtension
=no
25180 rm -f conftest.err conftest.
$ac_objext \
25181 conftest
$ac_exeext conftest.
$ac_ext
25182 LIBS
=$ac_check_lib_save_LIBS
25184 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
25185 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
25186 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
25189 { { echo "$as_me:$LINENO: error: libXtst not found, required by java.awt.Robot" >&5
25190 echo "$as_me: error: libXtst not found, required by java.awt.Robot" >&2;}
25191 { (exit 1); exit 1; }; }
25196 # On Solaris, and maybe other architectures, the Boehm collector
25198 if test "$GC" = boehm
; then
25201 # IRIX 6 lacks a N64 libdl.so, but only the N32 (default multilib)
25202 # libgcj.spec is used, so override here
25203 SYSTEMSPEC
="$SYSTEMSPEC %{!mabi=64:-ldl}"
25206 echo "$as_me:$LINENO: checking for main in -ldl" >&5
25207 echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6
25208 if test "${ac_cv_lib_dl_main+set}" = set; then
25209 echo $ECHO_N "(cached) $ECHO_C" >&6
25211 ac_check_lib_save_LIBS
=$LIBS
25213 if test x
$gcc_no_link = xyes
; then
25214 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25216 { (exit 1); exit 1; }; }
25218 cat >conftest.
$ac_ext <<_ACEOF
25221 cat confdefs.h
>>conftest.
$ac_ext
25222 cat >>conftest.
$ac_ext <<_ACEOF
25223 /* end confdefs.h. */
25234 rm -f conftest.
$ac_objext conftest
$ac_exeext
25235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25236 (eval $ac_link) 2>conftest.er1
25238 grep -v '^ *+' conftest.er1
>conftest.err
25240 cat conftest.err
>&5
25241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25242 (exit $ac_status); } &&
25243 { ac_try
='test -z "$ac_c_werror_flag"
25244 || test ! -s conftest.err'
25245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25246 (eval $ac_try) 2>&5
25248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25249 (exit $ac_status); }; } &&
25250 { ac_try
='test -s conftest$ac_exeext'
25251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25252 (eval $ac_try) 2>&5
25254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25255 (exit $ac_status); }; }; then
25256 ac_cv_lib_dl_main
=yes
25258 echo "$as_me: failed program was:" >&5
25259 sed 's/^/| /' conftest.
$ac_ext >&5
25261 ac_cv_lib_dl_main
=no
25263 rm -f conftest.err conftest.
$ac_objext \
25264 conftest
$ac_exeext conftest.
$ac_ext
25265 LIBS
=$ac_check_lib_save_LIBS
25267 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_main" >&5
25268 echo "${ECHO_T}$ac_cv_lib_dl_main" >&6
25269 if test $ac_cv_lib_dl_main = yes; then
25270 SYSTEMSPEC
="$SYSTEMSPEC -ldl"
25278 # Use a semicolon as CLASSPATH separator for MinGW, otherwise a colon.
25280 *-mingw32) CLASSPATH_SEPARATOR
=';' ;;
25281 *) CLASSPATH_SEPARATOR
=':' ;;
25285 # We must search the source tree for java.lang, since we still don't
25286 # have libgcj.jar nor java/lang/*.class
25287 GCJ_SAVE_CPPFLAGS
=$CPPFLAGS
25288 CPPFLAGS
="$CPPFLAGS -I`${PWDCMD-pwd}` -I`cd $srcdir && ${PWDCMD-pwd}`"
25290 # Since some classes depend on this one, we need its source available
25291 # before we can do any GCJ compilation test :-(
25292 if test ! -f gnu
/classpath
/Configuration.java
; then
25293 test -d gnu || mkdir gnu
25294 test -d gnu
/classpath || mkdir gnu
/classpath
25295 # Note that it is not crucial that all the values here be correct.
25296 sed -e "s,@prefix@,$prefix," \
25297 -e "s,@VERSION@,$VERSION," \
25298 -e "s,@LIBDEBUG@,false," \
25299 -e "s,@INIT_LOAD_LIBRARY@,false," \
25300 -e "s,@@,$LIBGCJDEBUG," \
25301 -e "s,@default_toolkit@,$TOOLKIT," \
25302 -e "s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,false," \
25303 -e "s,@GTK_CAIRO_ENABLED@,false," \
25304 -e "s,@ECJ_JAR@,," \
25305 < $srcdir/classpath
/gnu
/classpath
/Configuration.java.
in \
25306 > gnu
/classpath
/Configuration.java
25307 # We do not want to redirect the output of the grep below to /dev/null,
25308 # but we add /dev/null to the input list so that grep will print the
25309 # filename of Configuration.java in case it finds any matches.
25310 if grep '@.*@' gnu
/classpath
/Configuration.java
/dev
/null
; then
25311 { { echo "$as_me:$LINENO: error: configure.ac is missing the substitutions above" >&5
25312 echo "$as_me: error: configure.ac is missing the substitutions above" >&2;}
25313 { (exit 1); exit 1; }; }
25320 # Extract the first word of "$ac_prog", so it can be a program name with args.
25321 set dummy
$ac_prog; ac_word
=$2
25322 echo "$as_me:$LINENO: checking for $ac_word" >&5
25323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25324 if test "${ac_cv_prog_GCJ+set}" = set; then
25325 echo $ECHO_N "(cached) $ECHO_C" >&6
25327 if test -n "$GCJ"; then
25328 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
25330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25331 for as_dir
in $PATH
25334 test -z "$as_dir" && as_dir
=.
25335 for ac_exec_ext
in '' $ac_executable_extensions; do
25336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25337 ac_cv_prog_GCJ
="$ac_prog"
25338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25346 GCJ
=$ac_cv_prog_GCJ
25347 if test -n "$GCJ"; then
25348 echo "$as_me:$LINENO: result: $GCJ" >&5
25349 echo "${ECHO_T}$GCJ" >&6
25351 echo "$as_me:$LINENO: result: no" >&5
25352 echo "${ECHO_T}no" >&6
25355 test -n "$GCJ" && break
25357 test -n "$GCJ" || GCJ
="gcj"
25359 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
25360 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
25361 { (exit 1); exit 1; }; }
25362 if test "x${GCJFLAGS-unset}" = xunset
; then
25367 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
25369 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
25370 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
25371 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
25372 echo $ECHO_N "(cached) $ECHO_C" >&6
25374 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
25375 # We make a subdir and do the tests there. Otherwise we can end up
25376 # making bogus files that we don't know about and never remove. For
25377 # instance it was reported that on HP-UX the gcc test will end up
25378 # making a dummy file named `D' -- because `-MD' means `put the output
25381 # Copy depcomp to subdir because otherwise we won't find it if we're
25382 # using a relative directory.
25383 cp "$am_depcomp" conftest.dir
25385 # We will build objects and dependencies in a subdirectory because
25386 # it helps to detect inapplicable dependency modes. For instance
25387 # both Tru64's cc and ICC support -MD to output dependencies as a
25388 # side effect of compilation, but ICC will put the dependencies in
25389 # the current directory while Tru64 will put them in the object
25393 am_cv_GCJ_dependencies_compiler_type
=none
25394 if test "$am_compiler_list" = ""; then
25395 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
25397 for depmode
in $am_compiler_list; do
25398 # Setup a source with many dependencies, because some compilers
25399 # like to wrap large dependency lists on column 80 (with \), and
25400 # we should not choose a depcomp mode which is confused by this.
25402 # We need to recreate these files for each test, as the compiler may
25403 # overwrite some of them when testing with obscure command lines.
25404 # This happens at least with the AIX C compiler.
25406 for i
in 1 2 3 4 5 6; do
25407 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
25408 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
25409 # Solaris 8's {/usr,}/bin/sh.
25410 touch sub
/conftst
$i.h
25412 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
25416 # after this tag, mechanisms are not by side-effect, so they'll
25417 # only be used when explicitly requested
25418 if test "x$enable_dependency_tracking" = xyes
; then
25426 # We check with `-c' and `-o' for the sake of the "dashmstdout"
25427 # mode. It turns out that the SunPro C++ compiler does not properly
25428 # handle `-M -o', and we need to detect this.
25429 if depmode
=$depmode \
25430 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
25431 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
25432 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
25433 >/dev
/null
2>conftest.err
&&
25434 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
25435 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
25436 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
25437 # icc doesn't choke on unknown options, it will just issue warnings
25438 # or remarks (even with -Werror). So we grep stderr for any message
25439 # that says an option was ignored or not supported.
25440 # When given -MP, icc 7.0 and 7.1 complain thusly:
25441 # icc: Command line warning: ignoring option '-M'; no argument required
25442 # The diagnosis changed in icc 8.0:
25443 # icc: Command line remark: option '-MP' not supported
25444 if (grep 'ignoring option' conftest.err ||
25445 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
25446 am_cv_GCJ_dependencies_compiler_type
=$depmode
25453 rm -rf conftest.dir
25455 am_cv_GCJ_dependencies_compiler_type
=none
25459 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
25460 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
25461 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
25466 test "x$enable_dependency_tracking" != xno \
25467 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
25468 am__fastdepGCJ_TRUE
=
25469 am__fastdepGCJ_FALSE
='#'
25471 am__fastdepGCJ_TRUE
='#'
25472 am__fastdepGCJ_FALSE
=
25479 rm -f gnu
/classpath
/Configuration.java
25481 CPPFLAGS
=$GCJ_SAVE_CPPFLAGS
25483 echo "$as_me:$LINENO: checking for void *" >&5
25484 echo $ECHO_N "checking for void *... $ECHO_C" >&6
25485 if test "${ac_cv_type_void_p+set}" = set; then
25486 echo $ECHO_N "(cached) $ECHO_C" >&6
25488 cat >conftest.
$ac_ext <<_ACEOF
25491 cat confdefs.h
>>conftest.
$ac_ext
25492 cat >>conftest.
$ac_ext <<_ACEOF
25493 /* end confdefs.h. */
25494 $ac_includes_default
25500 if (sizeof (void *))
25506 rm -f conftest.
$ac_objext
25507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25508 (eval $ac_compile) 2>conftest.er1
25510 grep -v '^ *+' conftest.er1
>conftest.err
25512 cat conftest.err
>&5
25513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514 (exit $ac_status); } &&
25515 { ac_try
='test -z "$ac_c_werror_flag"
25516 || test ! -s conftest.err'
25517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25518 (eval $ac_try) 2>&5
25520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25521 (exit $ac_status); }; } &&
25522 { ac_try
='test -s conftest.$ac_objext'
25523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25524 (eval $ac_try) 2>&5
25526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25527 (exit $ac_status); }; }; then
25528 ac_cv_type_void_p
=yes
25530 echo "$as_me: failed program was:" >&5
25531 sed 's/^/| /' conftest.
$ac_ext >&5
25533 ac_cv_type_void_p
=no
25535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25537 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
25538 echo "${ECHO_T}$ac_cv_type_void_p" >&6
25540 echo "$as_me:$LINENO: checking size of void *" >&5
25541 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
25542 if test "${ac_cv_sizeof_void_p+set}" = set; then
25543 echo $ECHO_N "(cached) $ECHO_C" >&6
25545 if test "$ac_cv_type_void_p" = yes; then
25546 # The cast to unsigned long works around a bug in the HP C Compiler
25547 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25548 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25549 # This bug is HP SR number 8606223364.
25550 if test "$cross_compiling" = yes; then
25551 # Depending upon the size, compute the lo and hi bounds.
25552 cat >conftest.
$ac_ext <<_ACEOF
25555 cat confdefs.h
>>conftest.
$ac_ext
25556 cat >>conftest.
$ac_ext <<_ACEOF
25557 /* end confdefs.h. */
25558 $ac_includes_default
25562 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
25569 rm -f conftest.
$ac_objext
25570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25571 (eval $ac_compile) 2>conftest.er1
25573 grep -v '^ *+' conftest.er1
>conftest.err
25575 cat conftest.err
>&5
25576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25577 (exit $ac_status); } &&
25578 { ac_try
='test -z "$ac_c_werror_flag"
25579 || test ! -s conftest.err'
25580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25581 (eval $ac_try) 2>&5
25583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25584 (exit $ac_status); }; } &&
25585 { ac_try
='test -s conftest.$ac_objext'
25586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25587 (eval $ac_try) 2>&5
25589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25590 (exit $ac_status); }; }; then
25593 cat >conftest.
$ac_ext <<_ACEOF
25596 cat confdefs.h
>>conftest.
$ac_ext
25597 cat >>conftest.
$ac_ext <<_ACEOF
25598 /* end confdefs.h. */
25599 $ac_includes_default
25603 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
25610 rm -f conftest.
$ac_objext
25611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25612 (eval $ac_compile) 2>conftest.er1
25614 grep -v '^ *+' conftest.er1
>conftest.err
25616 cat conftest.err
>&5
25617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25618 (exit $ac_status); } &&
25619 { ac_try
='test -z "$ac_c_werror_flag"
25620 || test ! -s conftest.err'
25621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25622 (eval $ac_try) 2>&5
25624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25625 (exit $ac_status); }; } &&
25626 { ac_try
='test -s conftest.$ac_objext'
25627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25628 (eval $ac_try) 2>&5
25630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25631 (exit $ac_status); }; }; then
25632 ac_hi
=$ac_mid; break
25634 echo "$as_me: failed program was:" >&5
25635 sed 's/^/| /' conftest.
$ac_ext >&5
25637 ac_lo
=`expr $ac_mid + 1`
25638 if test $ac_lo -le $ac_mid; then
25642 ac_mid
=`expr 2 '*' $ac_mid + 1`
25644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25647 echo "$as_me: failed program was:" >&5
25648 sed 's/^/| /' conftest.
$ac_ext >&5
25650 cat >conftest.
$ac_ext <<_ACEOF
25653 cat confdefs.h
>>conftest.
$ac_ext
25654 cat >>conftest.
$ac_ext <<_ACEOF
25655 /* end confdefs.h. */
25656 $ac_includes_default
25660 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
25667 rm -f conftest.
$ac_objext
25668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25669 (eval $ac_compile) 2>conftest.er1
25671 grep -v '^ *+' conftest.er1
>conftest.err
25673 cat conftest.err
>&5
25674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25675 (exit $ac_status); } &&
25676 { ac_try
='test -z "$ac_c_werror_flag"
25677 || test ! -s conftest.err'
25678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25679 (eval $ac_try) 2>&5
25681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25682 (exit $ac_status); }; } &&
25683 { ac_try
='test -s conftest.$ac_objext'
25684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25685 (eval $ac_try) 2>&5
25687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25688 (exit $ac_status); }; }; then
25691 cat >conftest.
$ac_ext <<_ACEOF
25694 cat confdefs.h
>>conftest.
$ac_ext
25695 cat >>conftest.
$ac_ext <<_ACEOF
25696 /* end confdefs.h. */
25697 $ac_includes_default
25701 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
25708 rm -f conftest.
$ac_objext
25709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25710 (eval $ac_compile) 2>conftest.er1
25712 grep -v '^ *+' conftest.er1
>conftest.err
25714 cat conftest.err
>&5
25715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25716 (exit $ac_status); } &&
25717 { ac_try
='test -z "$ac_c_werror_flag"
25718 || test ! -s conftest.err'
25719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25720 (eval $ac_try) 2>&5
25722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25723 (exit $ac_status); }; } &&
25724 { ac_try
='test -s conftest.$ac_objext'
25725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25726 (eval $ac_try) 2>&5
25728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25729 (exit $ac_status); }; }; then
25730 ac_lo
=$ac_mid; break
25732 echo "$as_me: failed program was:" >&5
25733 sed 's/^/| /' conftest.
$ac_ext >&5
25735 ac_hi
=`expr '(' $ac_mid ')' - 1`
25736 if test $ac_mid -le $ac_hi; then
25740 ac_mid
=`expr 2 '*' $ac_mid`
25742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25745 echo "$as_me: failed program was:" >&5
25746 sed 's/^/| /' conftest.
$ac_ext >&5
25750 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25752 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25753 # Binary search between lo and hi bounds.
25754 while test "x$ac_lo" != "x$ac_hi"; do
25755 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25756 cat >conftest.
$ac_ext <<_ACEOF
25759 cat confdefs.h
>>conftest.
$ac_ext
25760 cat >>conftest.
$ac_ext <<_ACEOF
25761 /* end confdefs.h. */
25762 $ac_includes_default
25766 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
25773 rm -f conftest.
$ac_objext
25774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25775 (eval $ac_compile) 2>conftest.er1
25777 grep -v '^ *+' conftest.er1
>conftest.err
25779 cat conftest.err
>&5
25780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25781 (exit $ac_status); } &&
25782 { ac_try
='test -z "$ac_c_werror_flag"
25783 || test ! -s conftest.err'
25784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25785 (eval $ac_try) 2>&5
25787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25788 (exit $ac_status); }; } &&
25789 { ac_try
='test -s conftest.$ac_objext'
25790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25791 (eval $ac_try) 2>&5
25793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25794 (exit $ac_status); }; }; then
25797 echo "$as_me: failed program was:" >&5
25798 sed 's/^/| /' conftest.
$ac_ext >&5
25800 ac_lo
=`expr '(' $ac_mid ')' + 1`
25802 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25805 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
25806 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
25807 See \`config.log' for more details." >&5
25808 echo "$as_me: error: cannot compute sizeof (void *), 77
25809 See \`config.log' for more details." >&2;}
25810 { (exit 1); exit 1; }; } ;;
25813 if test "$cross_compiling" = yes; then
25814 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25815 See \`config.log' for more details." >&5
25816 echo "$as_me: error: cannot run test program while cross compiling
25817 See \`config.log' for more details." >&2;}
25818 { (exit 1); exit 1; }; }
25820 cat >conftest.
$ac_ext <<_ACEOF
25823 cat confdefs.h
>>conftest.
$ac_ext
25824 cat >>conftest.
$ac_ext <<_ACEOF
25825 /* end confdefs.h. */
25826 $ac_includes_default
25827 long longval () { return (long) (sizeof (void *)); }
25828 unsigned long ulongval () { return (long) (sizeof (void *)); }
25830 #include <stdlib.h>
25835 FILE *f = fopen ("conftest.val", "w");
25838 if (((long) (sizeof (void *))) < 0)
25840 long i = longval ();
25841 if (i != ((long) (sizeof (void *))))
25843 fprintf (f, "%ld\n", i);
25847 unsigned long i = ulongval ();
25848 if (i != ((long) (sizeof (void *))))
25850 fprintf (f, "%lu\n", i);
25852 exit (ferror (f) || fclose (f) != 0);
25858 rm -f conftest
$ac_exeext
25859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25860 (eval $ac_link) 2>&5
25862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25863 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25865 (eval $ac_try) 2>&5
25867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25868 (exit $ac_status); }; }; then
25869 ac_cv_sizeof_void_p
=`cat conftest.val`
25871 echo "$as_me: program exited with status $ac_status" >&5
25872 echo "$as_me: failed program was:" >&5
25873 sed 's/^/| /' conftest.
$ac_ext >&5
25875 ( exit $ac_status )
25876 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
25877 See \`config.log' for more details." >&5
25878 echo "$as_me: error: cannot compute sizeof (void *), 77
25879 See \`config.log' for more details." >&2;}
25880 { (exit 1); exit 1; }; }
25882 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25887 ac_cv_sizeof_void_p
=0
25890 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
25891 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
25892 cat >>confdefs.h
<<_ACEOF
25893 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
25898 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25899 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
25900 if test "${ac_cv_c_bigendian+set}" = set; then
25901 echo $ECHO_N "(cached) $ECHO_C" >&6
25903 # See if sys/param.h defines the BYTE_ORDER macro.
25904 cat >conftest.
$ac_ext <<_ACEOF
25907 cat confdefs.h
>>conftest.
$ac_ext
25908 cat >>conftest.
$ac_ext <<_ACEOF
25909 /* end confdefs.h. */
25910 #include <sys/types.h>
25911 #include <sys/param.h>
25916 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25917 bogus endian macros
25924 rm -f conftest.
$ac_objext
25925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25926 (eval $ac_compile) 2>conftest.er1
25928 grep -v '^ *+' conftest.er1
>conftest.err
25930 cat conftest.err
>&5
25931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25932 (exit $ac_status); } &&
25933 { ac_try
='test -z "$ac_c_werror_flag"
25934 || test ! -s conftest.err'
25935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25936 (eval $ac_try) 2>&5
25938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25939 (exit $ac_status); }; } &&
25940 { ac_try
='test -s conftest.$ac_objext'
25941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25942 (eval $ac_try) 2>&5
25944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25945 (exit $ac_status); }; }; then
25946 # It does; now see whether it defined to BIG_ENDIAN or not.
25947 cat >conftest.
$ac_ext <<_ACEOF
25950 cat confdefs.h
>>conftest.
$ac_ext
25951 cat >>conftest.
$ac_ext <<_ACEOF
25952 /* end confdefs.h. */
25953 #include <sys/types.h>
25954 #include <sys/param.h>
25959 #if BYTE_ORDER != BIG_ENDIAN
25967 rm -f conftest.
$ac_objext
25968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25969 (eval $ac_compile) 2>conftest.er1
25971 grep -v '^ *+' conftest.er1
>conftest.err
25973 cat conftest.err
>&5
25974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25975 (exit $ac_status); } &&
25976 { ac_try
='test -z "$ac_c_werror_flag"
25977 || test ! -s conftest.err'
25978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25979 (eval $ac_try) 2>&5
25981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25982 (exit $ac_status); }; } &&
25983 { ac_try
='test -s conftest.$ac_objext'
25984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25985 (eval $ac_try) 2>&5
25987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25988 (exit $ac_status); }; }; then
25989 ac_cv_c_bigendian
=yes
25991 echo "$as_me: failed program was:" >&5
25992 sed 's/^/| /' conftest.
$ac_ext >&5
25994 ac_cv_c_bigendian
=no
25996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25998 echo "$as_me: failed program was:" >&5
25999 sed 's/^/| /' conftest.
$ac_ext >&5
26001 # It does not; compile a test program.
26002 if test "$cross_compiling" = yes; then
26003 # try to guess the endianness by grepping values into an object file
26004 ac_cv_c_bigendian
=unknown
26005 cat >conftest.
$ac_ext <<_ACEOF
26008 cat confdefs.h
>>conftest.
$ac_ext
26009 cat >>conftest.
$ac_ext <<_ACEOF
26010 /* end confdefs.h. */
26011 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
26012 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
26013 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
26014 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
26015 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
26016 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
26020 _ascii (); _ebcdic ();
26025 rm -f conftest.
$ac_objext
26026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26027 (eval $ac_compile) 2>conftest.er1
26029 grep -v '^ *+' conftest.er1
>conftest.err
26031 cat conftest.err
>&5
26032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26033 (exit $ac_status); } &&
26034 { ac_try
='test -z "$ac_c_werror_flag"
26035 || test ! -s conftest.err'
26036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26037 (eval $ac_try) 2>&5
26039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26040 (exit $ac_status); }; } &&
26041 { ac_try
='test -s conftest.$ac_objext'
26042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26043 (eval $ac_try) 2>&5
26045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26046 (exit $ac_status); }; }; then
26047 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
26048 ac_cv_c_bigendian
=yes
26050 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
26051 if test "$ac_cv_c_bigendian" = unknown
; then
26052 ac_cv_c_bigendian
=no
26054 # finding both strings is unlikely to happen, but who knows?
26055 ac_cv_c_bigendian
=unknown
26059 echo "$as_me: failed program was:" >&5
26060 sed 's/^/| /' conftest.
$ac_ext >&5
26063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26065 cat >conftest.
$ac_ext <<_ACEOF
26068 cat confdefs.h
>>conftest.
$ac_ext
26069 cat >>conftest.
$ac_ext <<_ACEOF
26070 /* end confdefs.h. */
26074 /* Are we little or big endian? From Harbison&Steele. */
26078 char c[sizeof (long)];
26081 exit (u.c[sizeof (long) - 1] == 1);
26084 rm -f conftest
$ac_exeext
26085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26086 (eval $ac_link) 2>&5
26088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26089 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26091 (eval $ac_try) 2>&5
26093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26094 (exit $ac_status); }; }; then
26095 ac_cv_c_bigendian
=no
26097 echo "$as_me: program exited with status $ac_status" >&5
26098 echo "$as_me: failed program was:" >&5
26099 sed 's/^/| /' conftest.
$ac_ext >&5
26101 ( exit $ac_status )
26102 ac_cv_c_bigendian
=yes
26104 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26109 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26110 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
26111 case $ac_cv_c_bigendian in
26114 cat >>confdefs.h
<<\_ACEOF
26115 #define WORDS_BIGENDIAN 1
26121 { { echo "$as_me:$LINENO: error: unknown endianness
26122 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
26123 echo "$as_me: error: unknown endianness
26124 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
26125 { (exit 1); exit 1; }; } ;;
26133 if test -z "$ZLIBSPEC"; then
26134 # Use zlib from the GCC tree.
26135 ZINCS
='-I$(top_srcdir)/../zlib'
26136 ZLIBS
=..
/zlib
/libzgcj_convenience.la
26139 SYS_ZLIBS
="$ZLIBSPEC"
26152 if test "$NATIVE" = yes; then
26162 if test "$enable_shared" = yes; then
26163 ENABLE_SHARED_TRUE
=
26164 ENABLE_SHARED_FALSE
='#'
26166 ENABLE_SHARED_TRUE
='#'
26167 ENABLE_SHARED_FALSE
=
26172 if test "$NEEDS_DATA_START" = yes && test "$NATIVE" = yes; then
26173 NEEDS_DATA_START_TRUE
=
26174 NEEDS_DATA_START_FALSE
='#'
26176 NEEDS_DATA_START_TRUE
='#'
26177 NEEDS_DATA_START_FALSE
=
26182 # Process the option "--enable-version-specific-runtime-libs"
26183 # Calculate toolexeclibdir
26184 case ${version_specific_libs} in
26186 # Need the gcc compiler version to know where to install libraries
26187 # and header files if --enable-version-specific-runtime-libs option
26189 includedir
='$(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/include/'
26190 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
26191 toolexecmainlibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
26192 toolexeclibdir
=$toolexecmainlibdir
26195 if test -n "$with_cross_host" &&
26196 test x
"$with_cross_host" != x
"no"; then
26197 # Install a library built with a cross compiler in tooldir, not libdir.
26198 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
26199 toolexecmainlibdir
='$(toolexecdir)/lib'
26201 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
26202 toolexecmainlibdir
='$(libdir)'
26204 multi_os_directory
=`$CC -print-multi-os-directory`
26205 case $multi_os_directory in
26206 .
) toolexeclibdir
=$toolexecmainlibdir ;; # Avoid trailing /.
26207 *) toolexeclibdir
=$toolexecmainlibdir/$multi_os_directory ;;
26215 # Determine gcj and libgcj version number.
26216 gcjversion
=`cat "$srcdir/../gcc/BASE-VER"`
26217 libgcj_soversion
=`awk -F: '/^[^#].*:/ { print $1 }' $srcdir/libtool-version`
26218 GCJVERSION
=$gcjversion
26221 cat >>confdefs.h
<<_ACEOF
26222 #define GCJVERSION "$GCJVERSION"
26226 # Determine where the standard .db file and GNU Classpath JNI
26227 # libraries are found.
26228 gcjsubdir
=gcj-
$gcjversion-$libgcj_soversion
26229 multi_os_directory
=`$CC -print-multi-os-directory`
26230 case $multi_os_directory in
26232 dbexecdir
='$(libdir)/'$gcjsubdir # Avoid /.
26235 dbexecdir
='$(libdir)/'$multi_os_directory/$gcjsubdir
26241 cat >>confdefs.h
<<\_ACEOF
26242 #define JV_VERSION "1.5.0"
26246 cat >>confdefs.h
<<\_ACEOF
26247 #define JV_API_VERSION "1.5"
26252 case "${with_gxx_include_dir}" in
26254 { { echo "$as_me:$LINENO: error: --with-gxx-include-dir=[dir] requires a directory" >&5
26255 echo "$as_me: error: --with-gxx-include-dir=[dir] requires a directory" >&2;}
26256 { (exit 1); exit 1; }; }
26259 case "${enable_version_specific_runtime_libs}" in
26260 yes) gxx_include_dir
='$(libsubdir)/include/c++' ;;
26262 libstdcxx_incdir
='c++/$(gcc_version)'
26263 gxx_include_dir
='include/$(libstdcxx_incdir)'
26264 if test -n "$with_cross_host" &&
26265 test x
"$with_cross_host" != x
"no"; then
26266 gxx_include_dir
='${prefix}/${target_alias}/'"$gxx_include_dir"
26268 gxx_include_dir
='${prefix}/'"$gxx_include_dir"
26271 *) gxx_include_dir
=${with_gxx_include_dir} ;;
26277 # We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
26278 # On that system, sys/ioctl.h will not include sys/filio.h unless
26279 # BSD_COMP is defined; just including sys/filio.h is simpler.
26280 # We avoid AC_HEADER_DIRENT since we really only care about dirent.h
26281 # for now. If you change this, you also must update natFile.cc.
26305 for ac_header
in unistd.h bstring.h sys
/time.h sys
/types.h fcntl.h \
26306 sys
/ioctl.h sys
/filio.h sys
/stat.h sys
/select.h \
26307 sys
/socket.h netinet
/in.h arpa
/inet.h netdb.h net
/if.h \
26308 pwd.h sys
/config.h stdint.h langinfo.h locale.h \
26309 dirent.h sys
/rw_lock.h magic.h ifaddrs.h
26311 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26312 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26313 echo "$as_me:$LINENO: checking for $ac_header" >&5
26314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26316 echo $ECHO_N "(cached) $ECHO_C" >&6
26318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26319 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26321 # Is the header compilable?
26322 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26323 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26324 cat >conftest.
$ac_ext <<_ACEOF
26327 cat confdefs.h
>>conftest.
$ac_ext
26328 cat >>conftest.
$ac_ext <<_ACEOF
26329 /* end confdefs.h. */
26330 $ac_includes_default
26331 #include <$ac_header>
26333 rm -f conftest.
$ac_objext
26334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26335 (eval $ac_compile) 2>conftest.er1
26337 grep -v '^ *+' conftest.er1
>conftest.err
26339 cat conftest.err
>&5
26340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26341 (exit $ac_status); } &&
26342 { ac_try
='test -z "$ac_c_werror_flag"
26343 || test ! -s conftest.err'
26344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26345 (eval $ac_try) 2>&5
26347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26348 (exit $ac_status); }; } &&
26349 { ac_try
='test -s conftest.$ac_objext'
26350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26351 (eval $ac_try) 2>&5
26353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26354 (exit $ac_status); }; }; then
26355 ac_header_compiler
=yes
26357 echo "$as_me: failed program was:" >&5
26358 sed 's/^/| /' conftest.
$ac_ext >&5
26360 ac_header_compiler
=no
26362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26363 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26364 echo "${ECHO_T}$ac_header_compiler" >&6
26366 # Is the header present?
26367 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26368 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26369 cat >conftest.
$ac_ext <<_ACEOF
26372 cat confdefs.h
>>conftest.
$ac_ext
26373 cat >>conftest.
$ac_ext <<_ACEOF
26374 /* end confdefs.h. */
26375 #include <$ac_header>
26377 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26378 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26380 grep -v '^ *+' conftest.er1
>conftest.err
26382 cat conftest.err
>&5
26383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26384 (exit $ac_status); } >/dev
/null
; then
26385 if test -s conftest.err
; then
26386 ac_cpp_err
=$ac_c_preproc_warn_flag
26387 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26394 if test -z "$ac_cpp_err"; then
26395 ac_header_preproc
=yes
26397 echo "$as_me: failed program was:" >&5
26398 sed 's/^/| /' conftest.
$ac_ext >&5
26400 ac_header_preproc
=no
26402 rm -f conftest.err conftest.
$ac_ext
26403 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26404 echo "${ECHO_T}$ac_header_preproc" >&6
26406 # So? What about this header?
26407 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26409 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26410 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26412 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26413 ac_header_preproc
=yes
26416 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26417 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26418 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26419 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26420 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26421 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26422 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26423 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26424 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26425 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26426 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26427 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26430 ## ---------------------------------- ##
26431 ## Report this to the libjava lists. ##
26432 ## ---------------------------------- ##
26435 sed "s/^/$as_me: WARNING: /" >&2
26438 echo "$as_me:$LINENO: checking for $ac_header" >&5
26439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26441 echo $ECHO_N "(cached) $ECHO_C" >&6
26443 eval "$as_ac_Header=\$ac_header_preproc"
26445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26446 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26449 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26450 cat >>confdefs.h
<<_ACEOF
26451 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26459 for ac_header
in inttypes.h
26461 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26463 echo "$as_me:$LINENO: checking for $ac_header" >&5
26464 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26466 echo $ECHO_N "(cached) $ECHO_C" >&6
26468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26471 # Is the header compilable?
26472 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26473 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26474 cat >conftest.
$ac_ext <<_ACEOF
26477 cat confdefs.h
>>conftest.
$ac_ext
26478 cat >>conftest.
$ac_ext <<_ACEOF
26479 /* end confdefs.h. */
26480 $ac_includes_default
26481 #include <$ac_header>
26483 rm -f conftest.
$ac_objext
26484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26485 (eval $ac_compile) 2>conftest.er1
26487 grep -v '^ *+' conftest.er1
>conftest.err
26489 cat conftest.err
>&5
26490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26491 (exit $ac_status); } &&
26492 { ac_try
='test -z "$ac_c_werror_flag"
26493 || test ! -s conftest.err'
26494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26495 (eval $ac_try) 2>&5
26497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26498 (exit $ac_status); }; } &&
26499 { ac_try
='test -s conftest.$ac_objext'
26500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26501 (eval $ac_try) 2>&5
26503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26504 (exit $ac_status); }; }; then
26505 ac_header_compiler
=yes
26507 echo "$as_me: failed program was:" >&5
26508 sed 's/^/| /' conftest.
$ac_ext >&5
26510 ac_header_compiler
=no
26512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26513 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26514 echo "${ECHO_T}$ac_header_compiler" >&6
26516 # Is the header present?
26517 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26518 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26519 cat >conftest.
$ac_ext <<_ACEOF
26522 cat confdefs.h
>>conftest.
$ac_ext
26523 cat >>conftest.
$ac_ext <<_ACEOF
26524 /* end confdefs.h. */
26525 #include <$ac_header>
26527 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26528 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26530 grep -v '^ *+' conftest.er1
>conftest.err
26532 cat conftest.err
>&5
26533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26534 (exit $ac_status); } >/dev
/null
; then
26535 if test -s conftest.err
; then
26536 ac_cpp_err
=$ac_c_preproc_warn_flag
26537 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26544 if test -z "$ac_cpp_err"; then
26545 ac_header_preproc
=yes
26547 echo "$as_me: failed program was:" >&5
26548 sed 's/^/| /' conftest.
$ac_ext >&5
26550 ac_header_preproc
=no
26552 rm -f conftest.err conftest.
$ac_ext
26553 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26554 echo "${ECHO_T}$ac_header_preproc" >&6
26556 # So? What about this header?
26557 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26559 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26560 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26561 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26562 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26563 ac_header_preproc
=yes
26566 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26567 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26568 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26569 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26570 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26571 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26572 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26573 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26574 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26575 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26576 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26577 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26580 ## ---------------------------------- ##
26581 ## Report this to the libjava lists. ##
26582 ## ---------------------------------- ##
26585 sed "s/^/$as_me: WARNING: /" >&2
26588 echo "$as_me:$LINENO: checking for $ac_header" >&5
26589 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26590 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26591 echo $ECHO_N "(cached) $ECHO_C" >&6
26593 eval "$as_ac_Header=\$ac_header_preproc"
26595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26596 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26599 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26600 cat >>confdefs.h
<<_ACEOF
26601 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26605 cat >>confdefs.h
<<\_ACEOF
26606 #define HAVE_INTTYPES_H 1
26610 cat >>confdefs.h
<<\_ACEOF
26611 #define JV_HAVE_INTTYPES_H 1
26620 echo "$as_me:$LINENO: checking for ssize_t" >&5
26621 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
26622 if test "${ac_cv_type_ssize_t+set}" = set; then
26623 echo $ECHO_N "(cached) $ECHO_C" >&6
26625 cat >conftest.
$ac_ext <<_ACEOF
26628 cat confdefs.h
>>conftest.
$ac_ext
26629 cat >>conftest.
$ac_ext <<_ACEOF
26630 /* end confdefs.h. */
26631 $ac_includes_default
26637 if (sizeof (ssize_t))
26643 rm -f conftest.
$ac_objext
26644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26645 (eval $ac_compile) 2>conftest.er1
26647 grep -v '^ *+' conftest.er1
>conftest.err
26649 cat conftest.err
>&5
26650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26651 (exit $ac_status); } &&
26652 { ac_try
='test -z "$ac_c_werror_flag"
26653 || test ! -s conftest.err'
26654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26655 (eval $ac_try) 2>&5
26657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26658 (exit $ac_status); }; } &&
26659 { ac_try
='test -s conftest.$ac_objext'
26660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26661 (eval $ac_try) 2>&5
26663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26664 (exit $ac_status); }; }; then
26665 ac_cv_type_ssize_t
=yes
26667 echo "$as_me: failed program was:" >&5
26668 sed 's/^/| /' conftest.
$ac_ext >&5
26670 ac_cv_type_ssize_t
=no
26672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26674 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
26675 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
26676 if test $ac_cv_type_ssize_t = yes; then
26680 cat >>confdefs.h
<<_ACEOF
26681 #define ssize_t int
26686 echo "$as_me:$LINENO: checking for magic_t" >&5
26687 echo $ECHO_N "checking for magic_t... $ECHO_C" >&6
26688 if test "${ac_cv_type_magic_t+set}" = set; then
26689 echo $ECHO_N "(cached) $ECHO_C" >&6
26691 cat >conftest.
$ac_ext <<_ACEOF
26694 cat confdefs.h
>>conftest.
$ac_ext
26695 cat >>conftest.
$ac_ext <<_ACEOF
26696 /* end confdefs.h. */
26698 #ifdef HAVE_MAGIC_H
26707 if (sizeof (magic_t))
26713 rm -f conftest.
$ac_objext
26714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26715 (eval $ac_compile) 2>conftest.er1
26717 grep -v '^ *+' conftest.er1
>conftest.err
26719 cat conftest.err
>&5
26720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26721 (exit $ac_status); } &&
26722 { ac_try
='test -z "$ac_c_werror_flag"
26723 || test ! -s conftest.err'
26724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26725 (eval $ac_try) 2>&5
26727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26728 (exit $ac_status); }; } &&
26729 { ac_try
='test -s conftest.$ac_objext'
26730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26731 (eval $ac_try) 2>&5
26733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26734 (exit $ac_status); }; }; then
26735 ac_cv_type_magic_t
=yes
26737 echo "$as_me: failed program was:" >&5
26738 sed 's/^/| /' conftest.
$ac_ext >&5
26740 ac_cv_type_magic_t
=no
26742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26744 echo "$as_me:$LINENO: result: $ac_cv_type_magic_t" >&5
26745 echo "${ECHO_T}$ac_cv_type_magic_t" >&6
26746 if test $ac_cv_type_magic_t = yes; then
26749 cat >>confdefs.h
<<\_ACEOF
26750 #define HAVE_MAGIC_T 1
26756 echo "$as_me:$LINENO: checking for in_addr_t" >&5
26757 echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6
26758 cat >conftest.
$ac_ext <<_ACEOF
26761 cat confdefs.h
>>conftest.
$ac_ext
26762 cat >>conftest.
$ac_ext <<_ACEOF
26763 /* end confdefs.h. */
26764 #include <sys/types.h>
26766 #include <stdlib.h>
26767 #include <stddef.h>
26769 #if HAVE_NETINET_IN_H
26770 #include <netinet/in.h>
26780 rm -f conftest.
$ac_objext
26781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26782 (eval $ac_compile) 2>conftest.er1
26784 grep -v '^ *+' conftest.er1
>conftest.err
26786 cat conftest.err
>&5
26787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26788 (exit $ac_status); } &&
26789 { ac_try
='test -z "$ac_c_werror_flag"
26790 || test ! -s conftest.err'
26791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26792 (eval $ac_try) 2>&5
26794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26795 (exit $ac_status); }; } &&
26796 { ac_try
='test -s conftest.$ac_objext'
26797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26798 (eval $ac_try) 2>&5
26800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26801 (exit $ac_status); }; }; then
26803 cat >>confdefs.h
<<\_ACEOF
26804 #define HAVE_IN_ADDR_T 1
26807 echo "$as_me:$LINENO: result: yes" >&5
26808 echo "${ECHO_T}yes" >&6
26810 echo "$as_me: failed program was:" >&5
26811 sed 's/^/| /' conftest.
$ac_ext >&5
26813 echo "$as_me:$LINENO: result: no" >&5
26814 echo "${ECHO_T}no" >&6
26816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26818 echo "$as_me:$LINENO: checking whether struct ip_mreq is in netinet/in.h" >&5
26819 echo $ECHO_N "checking whether struct ip_mreq is in netinet/in.h... $ECHO_C" >&6
26820 cat >conftest.
$ac_ext <<_ACEOF
26823 cat confdefs.h
>>conftest.
$ac_ext
26824 cat >>conftest.
$ac_ext <<_ACEOF
26825 /* end confdefs.h. */
26826 #include <netinet/in.h>
26830 struct ip_mreq mreq;
26835 rm -f conftest.
$ac_objext
26836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26837 (eval $ac_compile) 2>conftest.er1
26839 grep -v '^ *+' conftest.er1
>conftest.err
26841 cat conftest.err
>&5
26842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26843 (exit $ac_status); } &&
26844 { ac_try
='test -z "$ac_c_werror_flag"
26845 || test ! -s conftest.err'
26846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26847 (eval $ac_try) 2>&5
26849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26850 (exit $ac_status); }; } &&
26851 { ac_try
='test -s conftest.$ac_objext'
26852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26853 (eval $ac_try) 2>&5
26855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26856 (exit $ac_status); }; }; then
26858 cat >>confdefs.h
<<\_ACEOF
26859 #define HAVE_STRUCT_IP_MREQ 1
26862 echo "$as_me:$LINENO: result: yes" >&5
26863 echo "${ECHO_T}yes" >&6
26865 echo "$as_me: failed program was:" >&5
26866 sed 's/^/| /' conftest.
$ac_ext >&5
26868 echo "$as_me:$LINENO: result: no" >&5
26869 echo "${ECHO_T}no" >&6
26871 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26873 echo "$as_me:$LINENO: checking whether struct ipv6_mreq is in netinet/in.h" >&5
26874 echo $ECHO_N "checking whether struct ipv6_mreq is in netinet/in.h... $ECHO_C" >&6
26875 cat >conftest.
$ac_ext <<_ACEOF
26878 cat confdefs.h
>>conftest.
$ac_ext
26879 cat >>conftest.
$ac_ext <<_ACEOF
26880 /* end confdefs.h. */
26881 #include <netinet/in.h>
26885 struct ipv6_mreq mreq6;
26890 rm -f conftest.
$ac_objext
26891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26892 (eval $ac_compile) 2>conftest.er1
26894 grep -v '^ *+' conftest.er1
>conftest.err
26896 cat conftest.err
>&5
26897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26898 (exit $ac_status); } &&
26899 { ac_try
='test -z "$ac_c_werror_flag"
26900 || test ! -s conftest.err'
26901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26902 (eval $ac_try) 2>&5
26904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26905 (exit $ac_status); }; } &&
26906 { ac_try
='test -s conftest.$ac_objext'
26907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26908 (eval $ac_try) 2>&5
26910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26911 (exit $ac_status); }; }; then
26913 cat >>confdefs.h
<<\_ACEOF
26914 #define HAVE_STRUCT_IPV6_MREQ 1
26917 echo "$as_me:$LINENO: result: yes" >&5
26918 echo "${ECHO_T}yes" >&6
26920 echo "$as_me: failed program was:" >&5
26921 sed 's/^/| /' conftest.
$ac_ext >&5
26923 echo "$as_me:$LINENO: result: no" >&5
26924 echo "${ECHO_T}no" >&6
26926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26928 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
26929 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
26930 cat >conftest.
$ac_ext <<_ACEOF
26933 cat confdefs.h
>>conftest.
$ac_ext
26934 cat >>conftest.
$ac_ext <<_ACEOF
26935 /* end confdefs.h. */
26936 #include <netinet/in.h>
26940 struct sockaddr_in6 addr6;
26945 rm -f conftest.
$ac_objext
26946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26947 (eval $ac_compile) 2>conftest.er1
26949 grep -v '^ *+' conftest.er1
>conftest.err
26951 cat conftest.err
>&5
26952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26953 (exit $ac_status); } &&
26954 { ac_try
='test -z "$ac_c_werror_flag"
26955 || test ! -s conftest.err'
26956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26957 (eval $ac_try) 2>&5
26959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26960 (exit $ac_status); }; } &&
26961 { ac_try
='test -s conftest.$ac_objext'
26962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26963 (eval $ac_try) 2>&5
26965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26966 (exit $ac_status); }; }; then
26968 cat >>confdefs.h
<<\_ACEOF
26969 #define HAVE_INET6 1
26972 echo "$as_me:$LINENO: result: yes" >&5
26973 echo "${ECHO_T}yes" >&6
26975 echo "$as_me: failed program was:" >&5
26976 sed 's/^/| /' conftest.
$ac_ext >&5
26978 echo "$as_me:$LINENO: result: no" >&5
26979 echo "${ECHO_T}no" >&6
26981 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26983 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
26984 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
26985 cat >conftest.
$ac_ext <<_ACEOF
26988 cat confdefs.h
>>conftest.
$ac_ext
26989 cat >>conftest.
$ac_ext <<_ACEOF
26990 /* end confdefs.h. */
26991 #define _POSIX_PII_SOCKET
26992 #include <sys/types.h>
26993 #include <sys/socket.h>
27002 rm -f conftest.
$ac_objext
27003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27004 (eval $ac_compile) 2>conftest.er1
27006 grep -v '^ *+' conftest.er1
>conftest.err
27008 cat conftest.err
>&5
27009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27010 (exit $ac_status); } &&
27011 { ac_try
='test -z "$ac_c_werror_flag"
27012 || test ! -s conftest.err'
27013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27014 (eval $ac_try) 2>&5
27016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27017 (exit $ac_status); }; } &&
27018 { ac_try
='test -s conftest.$ac_objext'
27019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27020 (eval $ac_try) 2>&5
27022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27023 (exit $ac_status); }; }; then
27025 cat >>confdefs.h
<<\_ACEOF
27026 #define HAVE_SOCKLEN_T 1
27029 echo "$as_me:$LINENO: result: yes" >&5
27030 echo "${ECHO_T}yes" >&6
27032 echo "$as_me: failed program was:" >&5
27033 sed 's/^/| /' conftest.
$ac_ext >&5
27035 echo "$as_me:$LINENO: result: no" >&5
27036 echo "${ECHO_T}no" >&6
27038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27040 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
27041 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
27042 cat >conftest.
$ac_ext <<_ACEOF
27045 cat confdefs.h
>>conftest.
$ac_ext
27046 cat >>conftest.
$ac_ext <<_ACEOF
27047 /* end confdefs.h. */
27052 struct tm tim; tim.tm_gmtoff = 0;
27057 rm -f conftest.
$ac_objext
27058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27059 (eval $ac_compile) 2>conftest.er1
27061 grep -v '^ *+' conftest.er1
>conftest.err
27063 cat conftest.err
>&5
27064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27065 (exit $ac_status); } &&
27066 { ac_try
='test -z "$ac_c_werror_flag"
27067 || test ! -s conftest.err'
27068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27069 (eval $ac_try) 2>&5
27071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27072 (exit $ac_status); }; } &&
27073 { ac_try
='test -s conftest.$ac_objext'
27074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27075 (eval $ac_try) 2>&5
27077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27078 (exit $ac_status); }; }; then
27080 cat >>confdefs.h
<<\_ACEOF
27081 #define STRUCT_TM_HAS_GMTOFF 1
27084 echo "$as_me:$LINENO: result: yes" >&5
27085 echo "${ECHO_T}yes" >&6
27087 echo "$as_me: failed program was:" >&5
27088 sed 's/^/| /' conftest.
$ac_ext >&5
27090 echo "$as_me:$LINENO: result: no" >&5
27091 echo "${ECHO_T}no" >&6
27092 echo "$as_me:$LINENO: checking for global timezone variable" >&5
27093 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
27094 cat >conftest.
$ac_ext <<_ACEOF
27097 cat confdefs.h
>>conftest.
$ac_ext
27098 cat >>conftest.
$ac_ext <<_ACEOF
27099 /* end confdefs.h. */
27104 void i(){long z2 = 2*timezone;}
27109 rm -f conftest.
$ac_objext
27110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27111 (eval $ac_compile) 2>conftest.er1
27113 grep -v '^ *+' conftest.er1
>conftest.err
27115 cat conftest.err
>&5
27116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27117 (exit $ac_status); } &&
27118 { ac_try
='test -z "$ac_c_werror_flag"
27119 || test ! -s conftest.err'
27120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27121 (eval $ac_try) 2>&5
27123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27124 (exit $ac_status); }; } &&
27125 { ac_try
='test -s conftest.$ac_objext'
27126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27127 (eval $ac_try) 2>&5
27129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27130 (exit $ac_status); }; }; then
27132 cat >>confdefs.h
<<\_ACEOF
27133 #define HAVE_TIMEZONE 1
27136 echo "$as_me:$LINENO: result: yes" >&5
27137 echo "${ECHO_T}yes" >&6
27139 echo "$as_me: failed program was:" >&5
27140 sed 's/^/| /' conftest.
$ac_ext >&5
27142 echo "$as_me:$LINENO: result: no" >&5
27143 echo "${ECHO_T}no" >&6
27144 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
27145 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
27146 cat >conftest.
$ac_ext <<_ACEOF
27149 cat confdefs.h
>>conftest.
$ac_ext
27150 cat >>conftest.
$ac_ext <<_ACEOF
27151 /* end confdefs.h. */
27156 long z2 = _timezone;
27161 rm -f conftest.
$ac_objext
27162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27163 (eval $ac_compile) 2>conftest.er1
27165 grep -v '^ *+' conftest.er1
>conftest.err
27167 cat conftest.err
>&5
27168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27169 (exit $ac_status); } &&
27170 { ac_try
='test -z "$ac_c_werror_flag"
27171 || test ! -s conftest.err'
27172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27173 (eval $ac_try) 2>&5
27175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27176 (exit $ac_status); }; } &&
27177 { ac_try
='test -s conftest.$ac_objext'
27178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27179 (eval $ac_try) 2>&5
27181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27182 (exit $ac_status); }; }; then
27184 cat >>confdefs.h
<<\_ACEOF
27185 #define HAVE_UNDERSCORE_TIMEZONE 1
27188 echo "$as_me:$LINENO: result: yes" >&5
27189 echo "${ECHO_T}yes" >&6
27191 echo "$as_me: failed program was:" >&5
27192 sed 's/^/| /' conftest.
$ac_ext >&5
27194 echo "$as_me:$LINENO: result: no" >&5
27195 echo "${ECHO_T}no" >&6
27197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27199 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27201 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27203 for ac_prog
in perl
27205 # Extract the first word of "$ac_prog", so it can be a program name with args.
27206 set dummy
$ac_prog; ac_word
=$2
27207 echo "$as_me:$LINENO: checking for $ac_word" >&5
27208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27209 if test "${ac_cv_prog_PERL+set}" = set; then
27210 echo $ECHO_N "(cached) $ECHO_C" >&6
27212 if test -n "$PERL"; then
27213 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
27215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27216 for as_dir
in $PATH
27219 test -z "$as_dir" && as_dir
=.
27220 for ac_exec_ext
in '' $ac_executable_extensions; do
27221 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27222 ac_cv_prog_PERL
="$ac_prog"
27223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27231 PERL
=$ac_cv_prog_PERL
27232 if test -n "$PERL"; then
27233 echo "$as_me:$LINENO: result: $PERL" >&5
27234 echo "${ECHO_T}$PERL" >&6
27236 echo "$as_me:$LINENO: result: no" >&5
27237 echo "${ECHO_T}no" >&6
27240 test -n "$PERL" && break
27242 test -n "$PERL" || PERL
="false"
27246 SIGNAL_HANDLER_AUX
=
27250 SIGNAL_HANDLER
=include
/i386-signal.h
27252 sparc
*-sun-solaris*)
27253 SIGNAL_HANDLER
=include
/sparc-signal.h
27256 # SYSDEP_SOURCES=sysdep/ia64.c
27257 # test -d sysdep || mkdir sysdep
27260 SIGNAL_HANDLER
=include
/pa-signal.h
27263 SIGNAL_HANDLER
=include
/hppa-signal.h
27266 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27269 SIGNAL_HANDLER
=include
/powerpc-signal.h
27272 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27275 SIGNAL_HANDLER
=include
/s390-signal.h
27278 SIGNAL_HANDLER
=include
/x86_64-signal.h
27279 SIGNAL_HANDLER_AUX
=include
/i386-signal.h
27282 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27285 SIGNAL_HANDLER
=include
/sh-signal.h
27288 SIGNAL_HANDLER
=include
/win32-signal.h
27291 SIGNAL_HANDLER
=include
/mips-signal.h
27294 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27296 powerpc
*-*-darwin* | i?
86-*-darwin9* | x86_64-
*-darwin9*)
27297 SIGNAL_HANDLER
=include
/darwin-signal.h
27300 SIGNAL_HANDLER
=include
/default-signal.h
27304 # If we're using sjlj exceptions, forget what we just learned.
27305 if test "$enable_sjlj_exceptions" = yes; then
27306 SIGNAL_HANDLER
=include
/default-signal.h
27307 SIGNAL_HANDLER_AUX
=
27312 if test -z "$SIGNAL_HANDLER_AUX"; then
27313 SIGNAL_HANDLER_AUX
=$SIGNAL_HANDLER
27316 ac_config_links
="$ac_config_links include/java-signal.h:$SIGNAL_HANDLER include/java-signal-aux.h:$SIGNAL_HANDLER_AUX"
27319 if test "${multilib}" = "yes"; then
27320 multilib_arg
="--enable-multilib"
27325 # See if we support thread-local storage.
27327 # Check whether --enable-tls or --disable-tls was given.
27328 if test "${enable_tls+set}" = set; then
27329 enableval
="$enable_tls"
27331 case "$enableval" in
27333 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
27334 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
27335 { (exit 1); exit 1; }; } ;;
27342 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
27343 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
27344 if test "${gcc_cv_have_tls+set}" = set; then
27345 echo $ECHO_N "(cached) $ECHO_C" >&6
27348 if test "$cross_compiling" = yes; then
27349 if test x
$gcc_no_link = xyes
; then
27350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27352 { (exit 1); exit 1; }; }
27354 cat >conftest.
$ac_ext <<_ACEOF
27355 __thread int a; int b; int main() { return a = b; }
27357 rm -f conftest.
$ac_objext conftest
$ac_exeext
27358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27359 (eval $ac_link) 2>conftest.er1
27361 grep -v '^ *+' conftest.er1
>conftest.err
27363 cat conftest.err
>&5
27364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27365 (exit $ac_status); } &&
27366 { ac_try
='test -z "$ac_c_werror_flag"
27367 || test ! -s conftest.err'
27368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27369 (eval $ac_try) 2>&5
27371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27372 (exit $ac_status); }; } &&
27373 { ac_try
='test -s conftest$ac_exeext'
27374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27375 (eval $ac_try) 2>&5
27377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27378 (exit $ac_status); }; }; then
27379 gcc_cv_have_tls
=yes
27381 echo "$as_me: failed program was:" >&5
27382 sed 's/^/| /' conftest.
$ac_ext >&5
27386 rm -f conftest.err conftest.
$ac_objext \
27387 conftest
$ac_exeext conftest.
$ac_ext
27391 cat >conftest.
$ac_ext <<_ACEOF
27392 __thread int a; int b; int main() { return a = b; }
27394 rm -f conftest
$ac_exeext
27395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27396 (eval $ac_link) 2>&5
27398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27399 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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); }; }; then
27405 chktls_save_LDFLAGS
="$LDFLAGS"
27406 LDFLAGS
="-static $LDFLAGS"
27407 if test x
$gcc_no_link = xyes
; then
27408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27410 { (exit 1); exit 1; }; }
27412 cat >conftest.
$ac_ext <<_ACEOF
27413 int main() { return 0; }
27415 rm -f conftest.
$ac_objext conftest
$ac_exeext
27416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27417 (eval $ac_link) 2>conftest.er1
27419 grep -v '^ *+' conftest.er1
>conftest.err
27421 cat conftest.err
>&5
27422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27423 (exit $ac_status); } &&
27424 { ac_try
='test -z "$ac_c_werror_flag"
27425 || test ! -s conftest.err'
27426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27427 (eval $ac_try) 2>&5
27429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27430 (exit $ac_status); }; } &&
27431 { ac_try
='test -s conftest$ac_exeext'
27432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27433 (eval $ac_try) 2>&5
27435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27436 (exit $ac_status); }; }; then
27437 if test "$cross_compiling" = yes; then
27438 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27439 See \`config.log' for more details." >&5
27440 echo "$as_me: error: cannot run test program while cross compiling
27441 See \`config.log' for more details." >&2;}
27442 { (exit 1); exit 1; }; }
27444 cat >conftest.
$ac_ext <<_ACEOF
27445 __thread int a; int b; int main() { return a = b; }
27447 rm -f conftest
$ac_exeext
27448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27449 (eval $ac_link) 2>&5
27451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27452 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27454 (eval $ac_try) 2>&5
27456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27457 (exit $ac_status); }; }; then
27458 gcc_cv_have_tls
=yes
27460 echo "$as_me: program exited with status $ac_status" >&5
27461 echo "$as_me: failed program was:" >&5
27462 sed 's/^/| /' conftest.
$ac_ext >&5
27464 ( exit $ac_status )
27467 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27470 echo "$as_me: failed program was:" >&5
27471 sed 's/^/| /' conftest.
$ac_ext >&5
27473 gcc_cv_have_tls
=yes
27475 rm -f conftest.err conftest.
$ac_objext \
27476 conftest
$ac_exeext conftest.
$ac_ext
27477 LDFLAGS
="$chktls_save_LDFLAGS"
27478 if test $gcc_cv_have_tls = yes; then
27479 chktls_save_CFLAGS
="$CFLAGS"
27480 thread_CFLAGS
=failed
27481 for flag
in '' '-pthread' '-lpthread'; do
27482 CFLAGS
="$flag $chktls_save_CFLAGS"
27483 if test x
$gcc_no_link = xyes
; then
27484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27486 { (exit 1); exit 1; }; }
27488 cat >conftest.
$ac_ext <<_ACEOF
27491 cat confdefs.h
>>conftest.
$ac_ext
27492 cat >>conftest.
$ac_ext <<_ACEOF
27493 /* end confdefs.h. */
27494 #include <pthread.h>
27495 void *g(void *d) { return NULL; }
27499 pthread_t t; pthread_create(&t,NULL,g,NULL);
27504 rm -f conftest.
$ac_objext conftest
$ac_exeext
27505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27506 (eval $ac_link) 2>conftest.er1
27508 grep -v '^ *+' conftest.er1
>conftest.err
27510 cat conftest.err
>&5
27511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27512 (exit $ac_status); } &&
27513 { ac_try
='test -z "$ac_c_werror_flag"
27514 || test ! -s conftest.err'
27515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27516 (eval $ac_try) 2>&5
27518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27519 (exit $ac_status); }; } &&
27520 { ac_try
='test -s conftest$ac_exeext'
27521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27522 (eval $ac_try) 2>&5
27524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27525 (exit $ac_status); }; }; then
27526 thread_CFLAGS
="$flag"
27528 echo "$as_me: failed program was:" >&5
27529 sed 's/^/| /' conftest.
$ac_ext >&5
27532 rm -f conftest.err conftest.
$ac_objext \
27533 conftest
$ac_exeext conftest.
$ac_ext
27534 if test "X$thread_CFLAGS" != Xfailed
; then
27538 CFLAGS
="$chktls_save_CFLAGS"
27539 if test "X$thread_CFLAGS" != Xfailed
; then
27540 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
27541 if test "$cross_compiling" = yes; then
27542 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27543 See \`config.log' for more details." >&5
27544 echo "$as_me: error: cannot run test program while cross compiling
27545 See \`config.log' for more details." >&2;}
27546 { (exit 1); exit 1; }; }
27548 cat >conftest.
$ac_ext <<_ACEOF
27551 cat confdefs.h
>>conftest.
$ac_ext
27552 cat >>conftest.
$ac_ext <<_ACEOF
27553 /* end confdefs.h. */
27554 #include <pthread.h>
27556 static int *a_in_other_thread;
27558 thread_func (void *arg)
27560 a_in_other_thread = &a;
27567 void *thread_retval;
27568 int *a_in_main_thread;
27569 if (pthread_create (&thread, (pthread_attr_t *)0,
27570 thread_func, (void *)0))
27572 a_in_main_thread = &a;
27573 if (pthread_join (thread, &thread_retval))
27575 return (a_in_other_thread == a_in_main_thread);
27580 rm -f conftest
$ac_exeext
27581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27582 (eval $ac_link) 2>&5
27584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27585 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27587 (eval $ac_try) 2>&5
27589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27590 (exit $ac_status); }; }; then
27591 gcc_cv_have_tls
=yes
27593 echo "$as_me: program exited with status $ac_status" >&5
27594 echo "$as_me: failed program was:" >&5
27595 sed 's/^/| /' conftest.
$ac_ext >&5
27597 ( exit $ac_status )
27600 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27602 CFLAGS
="$chktls_save_CFLAGS"
27606 echo "$as_me: program exited with status $ac_status" >&5
27607 echo "$as_me: failed program was:" >&5
27608 sed 's/^/| /' conftest.
$ac_ext >&5
27610 ( exit $ac_status )
27613 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27616 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
27617 echo "${ECHO_T}$gcc_cv_have_tls" >&6
27618 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27620 cat >>confdefs.h
<<\_ACEOF
27626 # For _Unwind_GetIPInfo.
27631 ac_cpp
='$CXXCPP $CPPFLAGS'
27632 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27633 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27634 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27636 ac_save_CXXFLAGS
="$CXXFLAGS"
27637 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
27638 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
27639 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
27640 if test "${gcc_cv_getipinfo+set}" = set; then
27641 echo $ECHO_N "(cached) $ECHO_C" >&6
27644 if test x
$gcc_no_link = xyes
; then
27645 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27647 { (exit 1); exit 1; }; }
27649 cat >conftest.
$ac_ext <<_ACEOF
27652 cat confdefs.h
>>conftest.
$ac_ext
27653 cat >>conftest.
$ac_ext <<_ACEOF
27654 /* end confdefs.h. */
27655 extern "C" { extern void _Unwind_GetIPInfo(); }
27659 _Unwind_GetIPInfo();
27664 rm -f conftest.
$ac_objext conftest
$ac_exeext
27665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27666 (eval $ac_link) 2>conftest.er1
27668 grep -v '^ *+' conftest.er1
>conftest.err
27670 cat conftest.err
>&5
27671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27672 (exit $ac_status); } &&
27673 { ac_try
='test -z "$ac_cxx_werror_flag"
27674 || test ! -s conftest.err'
27675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27676 (eval $ac_try) 2>&5
27678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27679 (exit $ac_status); }; } &&
27680 { ac_try
='test -s conftest$ac_exeext'
27681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27682 (eval $ac_try) 2>&5
27684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27685 (exit $ac_status); }; }; then
27686 gcc_cv_getipinfo
=yes
27688 echo "$as_me: failed program was:" >&5
27689 sed 's/^/| /' conftest.
$ac_ext >&5
27691 gcc_cv_getipinfo
=no
27693 rm -f conftest.err conftest.
$ac_objext \
27694 conftest
$ac_exeext conftest.
$ac_ext
27698 if test $gcc_cv_getipinfo = yes; then
27700 cat >>confdefs.h
<<\_ACEOF
27701 #define HAVE_GETIPINFO 1
27705 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
27706 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
27707 CXXFLAGS
="$ac_save_CXXFLAGS"
27709 ac_cpp
='$CPP $CPPFLAGS'
27710 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27711 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27712 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27716 # See if linker supports anonymous version scripts.
27717 echo "$as_me:$LINENO: checking whether ld supports anonymous version scripts" >&5
27718 echo $ECHO_N "checking whether ld supports anonymous version scripts... $ECHO_C" >&6
27719 if test "${libjava_cv_anon_version_script+set}" = set; then
27720 echo $ECHO_N "(cached) $ECHO_C" >&6
27722 save_CFLAGS
="$CFLAGS"; save_LDFLAGS
="$LDFLAGS"
27723 libjava_cv_anon_version_script
=no
27724 CFLAGS
="$CFLAGS -fPIC"; LDFLAGS
="$LDFLAGS -shared -Wl,--version-script,conftest.map"
27725 echo '{ global: globalsymb*; local: *; };' > conftest.map
27726 if test x
$gcc_no_link = xyes
; then
27727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27729 { (exit 1); exit 1; }; }
27731 cat >conftest.
$ac_ext <<_ACEOF
27734 cat confdefs.h
>>conftest.
$ac_ext
27735 cat >>conftest.
$ac_ext <<_ACEOF
27736 /* end confdefs.h. */
27737 void globalsymbol (void) {} void localsymbol (void) {}
27746 rm -f conftest.
$ac_objext conftest
$ac_exeext
27747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27748 (eval $ac_link) 2>conftest.er1
27750 grep -v '^ *+' conftest.er1
>conftest.err
27752 cat conftest.err
>&5
27753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27754 (exit $ac_status); } &&
27755 { ac_try
='test -z "$ac_c_werror_flag"
27756 || test ! -s conftest.err'
27757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27758 (eval $ac_try) 2>&5
27760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27761 (exit $ac_status); }; } &&
27762 { ac_try
='test -s conftest$ac_exeext'
27763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27764 (eval $ac_try) 2>&5
27766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27767 (exit $ac_status); }; }; then
27768 libjava_cv_anon_version_script
=yes
27770 echo "$as_me: failed program was:" >&5
27771 sed 's/^/| /' conftest.
$ac_ext >&5
27774 rm -f conftest.err conftest.
$ac_objext \
27775 conftest
$ac_exeext conftest.
$ac_ext
27776 CFLAGS
="$save_CFLAGS"; LDFLAGS
="$save_LDFLAGS"
27779 echo "$as_me:$LINENO: result: $libjava_cv_anon_version_script" >&5
27780 echo "${ECHO_T}$libjava_cv_anon_version_script" >&6
27783 if test "$libjava_cv_anon_version_script" = yes; then
27784 ANONVERSCRIPT_TRUE
=
27785 ANONVERSCRIPT_FALSE
='#'
27787 ANONVERSCRIPT_TRUE
='#'
27788 ANONVERSCRIPT_FALSE
=
27792 # Check if linker supports static linking on a per library basis
27793 LD_START_STATIC_SPEC
=
27794 LD_FINISH_STATIC_SPEC
=
27795 if $LD --help 2>&1 |
grep -q -e -call_shared ; then
27796 if $LD --help 2>&1 |
grep -q -e -non_shared ; then
27797 LD_START_STATIC_SPEC
='%{static-libgcj:-non_shared}'
27798 LD_FINISH_STATIC_SPEC
='%{static-libgcj:-call_shared}'
27804 here
=`${PWDCMD-pwd}`
27807 # We get this from the environment.
27810 ac_config_files
="$ac_config_files Makefile libgcj.pc libgcj.spec libgcj-test.spec gcj/Makefile include/Makefile testsuite/Makefile"
27813 if test ${multilib} = yes; then
27814 multilib_arg
="--enable-multilib"
27819 ac_config_files
="$ac_config_files scripts/jar"
27821 cat >confcache
<<\_ACEOF
27822 # This file is a shell script that caches the results of configure
27823 # tests run on this system so they can be shared between configure
27824 # scripts and configure runs, see configure's option --config-cache.
27825 # It is not useful on other systems. If it contains results you don't
27826 # want to keep, you may remove or edit it.
27828 # config.status only pays attention to the cache file if you give it
27829 # the --recheck option to rerun configure.
27831 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27832 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27833 # following values.
27837 # The following way of writing the cache mishandles newlines in values,
27838 # but we know of no workaround that is simple, portable, and efficient.
27839 # So, don't put newlines in cache variables' values.
27840 # Ultrix sh set writes to stderr and can't be redirected directly,
27841 # and sets the high bit in the cache file unless we assign to the vars.
27844 case `(ac_space=' '; set | grep ac_space) 2>&1` in
27846 # `set' does not quote correctly, so add quotes (double-quote
27847 # substitution turns \\\\ into \\, and sed turns \\ into \).
27850 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27853 # `set' quotes correctly as required by POSIX, so do not add quotes.
27855 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
27862 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27864 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27866 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
27867 if test -w $cache_file; then
27868 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
27869 cat confcache
>$cache_file
27871 echo "not updating unwritable cache $cache_file"
27876 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
27877 # Let make expand exec_prefix.
27878 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
27880 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27881 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27882 # trailing colons and then remove the whole line if VPATH becomes empty
27883 # (actually we leave an empty line to preserve line numbers).
27884 if test "x$srcdir" = x.
; then
27885 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
27886 s/:*\$(srcdir):*/:/;
27887 s/:*\${srcdir}:*/:/;
27889 s/^\([^=]*=[ ]*\):*/\1/;
27895 DEFS
=-DHAVE_CONFIG_H
27899 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
27900 # 1. Remove the extension, and $U if already installed.
27901 ac_i
=`echo "$ac_i" |
27902 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
27904 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
27905 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
27907 LIBOBJS
=$ac_libobjs
27909 LTLIBOBJS
=$ac_ltlibobjs
27912 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
27913 { { echo "$as_me:$LINENO: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
27914 Usually this means the macro was only invoked conditionally." >&5
27915 echo "$as_me: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
27916 Usually this means the macro was only invoked conditionally." >&2;}
27917 { (exit 1); exit 1; }; }
27919 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
27920 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
27921 Usually this means the macro was only invoked conditionally." >&5
27922 echo "$as_me: error: conditional \"AMDEP\" was never defined.
27923 Usually this means the macro was only invoked conditionally." >&2;}
27924 { (exit 1); exit 1; }; }
27926 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27927 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
27928 Usually this means the macro was only invoked conditionally." >&5
27929 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
27930 Usually this means the macro was only invoked conditionally." >&2;}
27931 { (exit 1); exit 1; }; }
27933 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
27934 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
27935 Usually this means the macro was only invoked conditionally." >&5
27936 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
27937 Usually this means the macro was only invoked conditionally." >&2;}
27938 { (exit 1); exit 1; }; }
27940 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
27941 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
27942 Usually this means the macro was only invoked conditionally." >&5
27943 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
27944 Usually this means the macro was only invoked conditionally." >&2;}
27945 { (exit 1); exit 1; }; }
27947 if test -z "${XLIB_AWT_TRUE}" && test -z "${XLIB_AWT_FALSE}"; then
27948 { { echo "$as_me:$LINENO: error: conditional \"XLIB_AWT\" was never defined.
27949 Usually this means the macro was only invoked conditionally." >&5
27950 echo "$as_me: error: conditional \"XLIB_AWT\" was never defined.
27951 Usually this means the macro was only invoked conditionally." >&2;}
27952 { (exit 1); exit 1; }; }
27954 if test -z "${X_AWT_TRUE}" && test -z "${X_AWT_FALSE}"; then
27955 { { echo "$as_me:$LINENO: error: conditional \"X_AWT\" was never defined.
27956 Usually this means the macro was only invoked conditionally." >&5
27957 echo "$as_me: error: conditional \"X_AWT\" was never defined.
27958 Usually this means the macro was only invoked conditionally." >&2;}
27959 { (exit 1); exit 1; }; }
27961 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
27962 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
27963 Usually this means the macro was only invoked conditionally." >&5
27964 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
27965 Usually this means the macro was only invoked conditionally." >&2;}
27966 { (exit 1); exit 1; }; }
27968 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
27969 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
27970 Usually this means the macro was only invoked conditionally." >&5
27971 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
27972 Usually this means the macro was only invoked conditionally." >&2;}
27973 { (exit 1); exit 1; }; }
27975 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
27976 { { echo "$as_me:$LINENO: error: conditional \"TESTSUBDIR\" was never defined.
27977 Usually this means the macro was only invoked conditionally." >&5
27978 echo "$as_me: error: conditional \"TESTSUBDIR\" was never defined.
27979 Usually this means the macro was only invoked conditionally." >&2;}
27980 { (exit 1); exit 1; }; }
27982 if test -z "${BUILD_ECJ1_TRUE}" && test -z "${BUILD_ECJ1_FALSE}"; then
27983 { { echo "$as_me:$LINENO: error: conditional \"BUILD_ECJ1\" was never defined.
27984 Usually this means the macro was only invoked conditionally." >&5
27985 echo "$as_me: error: conditional \"BUILD_ECJ1\" was never defined.
27986 Usually this means the macro was only invoked conditionally." >&2;}
27987 { (exit 1); exit 1; }; }
27989 if test -z "${INSTALL_ECJ_JAR_TRUE}" && test -z "${INSTALL_ECJ_JAR_FALSE}"; then
27990 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_ECJ_JAR\" was never defined.
27991 Usually this means the macro was only invoked conditionally." >&5
27992 echo "$as_me: error: conditional \"INSTALL_ECJ_JAR\" was never defined.
27993 Usually this means the macro was only invoked conditionally." >&2;}
27994 { (exit 1); exit 1; }; }
27996 if test -z "${JAVA_HOME_SET_TRUE}" && test -z "${JAVA_HOME_SET_FALSE}"; then
27997 { { echo "$as_me:$LINENO: error: conditional \"JAVA_HOME_SET\" was never defined.
27998 Usually this means the macro was only invoked conditionally." >&5
27999 echo "$as_me: error: conditional \"JAVA_HOME_SET\" was never defined.
28000 Usually this means the macro was only invoked conditionally." >&2;}
28001 { (exit 1); exit 1; }; }
28003 if test -z "${SUPPRESS_LIBGCJ_BC_TRUE}" && test -z "${SUPPRESS_LIBGCJ_BC_FALSE}"; then
28004 { { echo "$as_me:$LINENO: error: conditional \"SUPPRESS_LIBGCJ_BC\" was never defined.
28005 Usually this means the macro was only invoked conditionally." >&5
28006 echo "$as_me: error: conditional \"SUPPRESS_LIBGCJ_BC\" was never defined.
28007 Usually this means the macro was only invoked conditionally." >&2;}
28008 { (exit 1); exit 1; }; }
28010 if test -z "${INTERPRETER_TRUE}" && test -z "${INTERPRETER_FALSE}"; then
28011 { { echo "$as_me:$LINENO: error: conditional \"INTERPRETER\" was never defined.
28012 Usually this means the macro was only invoked conditionally." >&5
28013 echo "$as_me: error: conditional \"INTERPRETER\" was never defined.
28014 Usually this means the macro was only invoked conditionally." >&2;}
28015 { (exit 1); exit 1; }; }
28017 if test -z "${USING_WIN32_PLATFORM_TRUE}" && test -z "${USING_WIN32_PLATFORM_FALSE}"; then
28018 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
28019 Usually this means the macro was only invoked conditionally." >&5
28020 echo "$as_me: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
28021 Usually this means the macro was only invoked conditionally." >&2;}
28022 { (exit 1); exit 1; }; }
28024 if test -z "${USING_POSIX_PLATFORM_TRUE}" && test -z "${USING_POSIX_PLATFORM_FALSE}"; then
28025 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
28026 Usually this means the macro was only invoked conditionally." >&5
28027 echo "$as_me: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
28028 Usually this means the macro was only invoked conditionally." >&2;}
28029 { (exit 1); exit 1; }; }
28031 if test -z "${USING_DARWIN_CRT_TRUE}" && test -z "${USING_DARWIN_CRT_FALSE}"; then
28032 { { echo "$as_me:$LINENO: error: conditional \"USING_DARWIN_CRT\" was never defined.
28033 Usually this means the macro was only invoked conditionally." >&5
28034 echo "$as_me: error: conditional \"USING_DARWIN_CRT\" was never defined.
28035 Usually this means the macro was only invoked conditionally." >&2;}
28036 { (exit 1); exit 1; }; }
28038 if test -z "${USING_BOEHMGC_TRUE}" && test -z "${USING_BOEHMGC_FALSE}"; then
28039 { { echo "$as_me:$LINENO: error: conditional \"USING_BOEHMGC\" was never defined.
28040 Usually this means the macro was only invoked conditionally." >&5
28041 echo "$as_me: error: conditional \"USING_BOEHMGC\" was never defined.
28042 Usually this means the macro was only invoked conditionally." >&2;}
28043 { (exit 1); exit 1; }; }
28045 if test -z "${USING_NOGC_TRUE}" && test -z "${USING_NOGC_FALSE}"; then
28046 { { echo "$as_me:$LINENO: error: conditional \"USING_NOGC\" was never defined.
28047 Usually this means the macro was only invoked conditionally." >&5
28048 echo "$as_me: error: conditional \"USING_NOGC\" was never defined.
28049 Usually this means the macro was only invoked conditionally." >&2;}
28050 { (exit 1); exit 1; }; }
28052 if test -z "${USING_POSIX_THREADS_TRUE}" && test -z "${USING_POSIX_THREADS_FALSE}"; then
28053 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_THREADS\" was never defined.
28054 Usually this means the macro was only invoked conditionally." >&5
28055 echo "$as_me: error: conditional \"USING_POSIX_THREADS\" was never defined.
28056 Usually this means the macro was only invoked conditionally." >&2;}
28057 { (exit 1); exit 1; }; }
28059 if test -z "${USING_WIN32_THREADS_TRUE}" && test -z "${USING_WIN32_THREADS_FALSE}"; then
28060 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_THREADS\" was never defined.
28061 Usually this means the macro was only invoked conditionally." >&5
28062 echo "$as_me: error: conditional \"USING_WIN32_THREADS\" was never defined.
28063 Usually this means the macro was only invoked conditionally." >&2;}
28064 { (exit 1); exit 1; }; }
28066 if test -z "${USING_NO_THREADS_TRUE}" && test -z "${USING_NO_THREADS_FALSE}"; then
28067 { { echo "$as_me:$LINENO: error: conditional \"USING_NO_THREADS\" was never defined.
28068 Usually this means the macro was only invoked conditionally." >&5
28069 echo "$as_me: error: conditional \"USING_NO_THREADS\" was never defined.
28070 Usually this means the macro was only invoked conditionally." >&2;}
28071 { (exit 1); exit 1; }; }
28073 if test -z "${USE_LIBGCJ_BC_TRUE}" && test -z "${USE_LIBGCJ_BC_FALSE}"; then
28074 { { echo "$as_me:$LINENO: error: conditional \"USE_LIBGCJ_BC\" was never defined.
28075 Usually this means the macro was only invoked conditionally." >&5
28076 echo "$as_me: error: conditional \"USE_LIBGCJ_BC\" was never defined.
28077 Usually this means the macro was only invoked conditionally." >&2;}
28078 { (exit 1); exit 1; }; }
28080 if test -z "${USING_GCC_TRUE}" && test -z "${USING_GCC_FALSE}"; then
28081 { { echo "$as_me:$LINENO: error: conditional \"USING_GCC\" was never defined.
28082 Usually this means the macro was only invoked conditionally." >&5
28083 echo "$as_me: error: conditional \"USING_GCC\" was never defined.
28084 Usually this means the macro was only invoked conditionally." >&2;}
28085 { (exit 1); exit 1; }; }
28087 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
28088 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
28089 Usually this means the macro was only invoked conditionally." >&5
28090 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
28091 Usually this means the macro was only invoked conditionally." >&2;}
28092 { (exit 1); exit 1; }; }
28094 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
28095 { { echo "$as_me:$LINENO: error: conditional \"NATIVE\" was never defined.
28096 Usually this means the macro was only invoked conditionally." >&5
28097 echo "$as_me: error: conditional \"NATIVE\" was never defined.
28098 Usually this means the macro was only invoked conditionally." >&2;}
28099 { (exit 1); exit 1; }; }
28101 if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
28102 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SHARED\" was never defined.
28103 Usually this means the macro was only invoked conditionally." >&5
28104 echo "$as_me: error: conditional \"ENABLE_SHARED\" was never defined.
28105 Usually this means the macro was only invoked conditionally." >&2;}
28106 { (exit 1); exit 1; }; }
28108 if test -z "${NEEDS_DATA_START_TRUE}" && test -z "${NEEDS_DATA_START_FALSE}"; then
28109 { { echo "$as_me:$LINENO: error: conditional \"NEEDS_DATA_START\" was never defined.
28110 Usually this means the macro was only invoked conditionally." >&5
28111 echo "$as_me: error: conditional \"NEEDS_DATA_START\" was never defined.
28112 Usually this means the macro was only invoked conditionally." >&2;}
28113 { (exit 1); exit 1; }; }
28115 if test -z "${ANONVERSCRIPT_TRUE}" && test -z "${ANONVERSCRIPT_FALSE}"; then
28116 { { echo "$as_me:$LINENO: error: conditional \"ANONVERSCRIPT\" was never defined.
28117 Usually this means the macro was only invoked conditionally." >&5
28118 echo "$as_me: error: conditional \"ANONVERSCRIPT\" was never defined.
28119 Usually this means the macro was only invoked conditionally." >&2;}
28120 { (exit 1); exit 1; }; }
28123 : ${CONFIG_STATUS=./config.status}
28124 ac_clean_files_save
=$ac_clean_files
28125 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
28126 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
28127 echo "$as_me: creating $CONFIG_STATUS" >&6;}
28128 cat >$CONFIG_STATUS <<_ACEOF
28130 # Generated by $as_me.
28131 # Run this file to recreate the current configuration.
28132 # Compiler output produced by configure, useful for debugging
28133 # configure, is in config.log if it exists.
28136 ac_cs_recheck=false
28138 SHELL=\${CONFIG_SHELL-$SHELL}
28141 cat >>$CONFIG_STATUS <<\_ACEOF
28142 ## --------------------- ##
28143 ## M4sh Initialization. ##
28144 ## --------------------- ##
28146 # Be Bourne compatible
28147 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
28150 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
28151 # is contrary to our usage. Disable this feature.
28152 alias -g '${1+"$@"}'='"$@"'
28153 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
28156 DUALCASE
=1; export DUALCASE
# for MKS sh
28158 # Support unset when possible.
28159 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
28166 # Work around bugs in pre-3.0 UWIN ksh.
28167 $as_unset ENV MAIL MAILPATH
28174 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
28175 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
28176 LC_TELEPHONE LC_TIME
28178 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
28179 eval $as_var=C
; export $as_var
28185 # Required to use basename.
28186 if expr a
: '\(a\)' >/dev
/null
2>&1; then
28192 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
28193 as_basename
=basename
28199 # Name of the executable.
28200 as_me
=`$as_basename "$0" ||
28201 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
28202 X"$0" : 'X\(//\)$' \| \
28203 X"$0" : 'X\(/\)$' \| \
28204 . : '\(.\)' 2>/dev/null ||
28206 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
28207 /^X\/\(\/\/\)$/{ s//\1/; q; }
28208 /^X\/\(\/\).*/{ s//\1/; q; }
28212 # PATH needs CR, and LINENO needs CR and PATH.
28213 # Avoid depending upon Character Ranges.
28214 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
28215 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
28216 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
28217 as_cr_digits
='0123456789'
28218 as_cr_alnum
=$as_cr_Letters$as_cr_digits
28220 # The user is always right.
28221 if test "${PATH_SEPARATOR+set}" != set; then
28222 echo "#! /bin/sh" >conf$$.sh
28223 echo "exit 0" >>conf$$.sh
28225 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
28234 as_lineno_1
=$LINENO
28235 as_lineno_2
=$LINENO
28236 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
28237 test "x$as_lineno_1" != "x$as_lineno_2" &&
28238 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
28239 # Find who we are. Look in the path if we contain no path at all
28242 *[\\/]* ) as_myself
=$0 ;;
28243 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28244 for as_dir
in $PATH
28247 test -z "$as_dir" && as_dir
=.
28248 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
28253 # We did not find ourselves, most probably we were run as `sh COMMAND'
28254 # in which case we are not to be found in the path.
28255 if test "x$as_myself" = x
; then
28258 if test ! -f "$as_myself"; then
28259 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
28260 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
28261 { (exit 1); exit 1; }; }
28263 case $CONFIG_SHELL in
28265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28266 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
28269 test -z "$as_dir" && as_dir
=.
28270 for as_base
in sh bash ksh sh5
; do
28273 if ("$as_dir/$as_base" -c '
28274 as_lineno_1=$LINENO
28275 as_lineno_2=$LINENO
28276 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
28277 test "x$as_lineno_1" != "x$as_lineno_2" &&
28278 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
28279 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
28280 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
28281 CONFIG_SHELL
=$as_dir/$as_base
28282 export CONFIG_SHELL
28283 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
28291 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
28292 # uniformly replaced by the line number. The first 'sed' inserts a
28293 # line-number line before each line; the second 'sed' does the real
28294 # work. The second script uses 'N' to pair each line-number line
28295 # with the numbered line, and appends trailing '-' during
28296 # substitution so that $LINENO is not a special case at line end.
28297 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
28298 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
28299 sed '=' <$as_myself |
28304 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
28307 s,^['$as_cr_digits']*\n,,
28308 ' >$as_me.lineno
&&
28309 chmod +x
$as_me.lineno ||
28310 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
28311 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
28312 { (exit 1); exit 1; }; }
28314 # Don't try to exec as it changes $[0], causing all sort of problems
28315 # (the dirname of $[0] is not the place where we might find the
28316 # original and so on. Autoconf is especially sensible to this).
28318 # Exit status is that of the last command.
28323 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
28324 *c
*,-n*) ECHO_N
= ECHO_C
='
28326 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
28327 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
28330 if expr a
: '\(a\)' >/dev
/null
2>&1; then
28336 rm -f conf$$ conf$$.exe conf$$.
file
28338 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
28339 # We could just check for DJGPP; but this test a) works b) is more generic
28340 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
28341 if test -f conf$$.exe
; then
28342 # Don't use ln at all; we don't have any links
28347 elif ln conf$$.
file conf$$
2>/dev
/null
; then
28352 rm -f conf$$ conf$$.exe conf$$.
file
28354 if mkdir
-p .
2>/dev
/null
; then
28357 test -d .
/-p && rmdir .
/-p
28361 as_executable_p
="test -f"
28363 # Sed expression to map a string onto a valid CPP name.
28364 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
28366 # Sed expression to map a string onto a valid variable name.
28367 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
28371 # We need space, tab and new line, in precisely that order.
28381 # Open the log real soon, to keep \$[0] and so on meaningful, and to
28382 # report actual input values of CONFIG_FILES etc. instead of their
28383 # values after options handling. Logging --version etc. is OK.
28387 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
28388 ## Running $as_me. ##
28393 This file was extended by libjava $as_me version-unused, which was
28394 generated by GNU Autoconf 2.59. Invocation command line was
28396 CONFIG_FILES = $CONFIG_FILES
28397 CONFIG_HEADERS = $CONFIG_HEADERS
28398 CONFIG_LINKS = $CONFIG_LINKS
28399 CONFIG_COMMANDS = $CONFIG_COMMANDS
28403 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
28407 # Files that config.status was made for.
28408 if test -n "$ac_config_files"; then
28409 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
28412 if test -n "$ac_config_headers"; then
28413 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
28416 if test -n "$ac_config_links"; then
28417 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
28420 if test -n "$ac_config_commands"; then
28421 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
28424 cat >>$CONFIG_STATUS <<\_ACEOF
28427 \`$as_me' instantiates files from templates according to the
28428 current configuration.
28430 Usage: $0 [OPTIONS] [FILE]...
28432 -h, --help print this help, then exit
28433 -V, --version print version number, then exit
28434 -q, --quiet do not print progress messages
28435 -d, --debug don't remove temporary files
28436 --recheck update $as_me by reconfiguring in the same conditions
28437 --file=FILE[:TEMPLATE]
28438 instantiate the configuration file FILE
28439 --header=FILE[:TEMPLATE]
28440 instantiate the configuration header FILE
28442 Configuration files:
28445 Configuration headers:
28448 Configuration links:
28451 Configuration commands:
28454 Report bugs to <bug-autoconf@gnu.org>."
28457 cat >>$CONFIG_STATUS <<_ACEOF
28459 libjava config.status version-unused
28460 configured by $0, generated by GNU Autoconf 2.59,
28461 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
28463 Copyright (C) 2003 Free Software Foundation, Inc.
28464 This config.status script is free software; the Free Software Foundation
28465 gives unlimited permission to copy, distribute and modify it."
28470 cat >>$CONFIG_STATUS <<\_ACEOF
28471 # If no file are specified by the user, then we need to provide default
28472 # value. By we need to know if files were specified by the user.
28478 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
28479 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
28487 *) # This is not an option, so the user has probably given explicit
28490 ac_need_defaults
=false
;;
28494 # Handling of the options.
28496 cat >>$CONFIG_STATUS <<\_ACEOF
28497 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
28499 --version |
--vers* |
-V )
28500 echo "$ac_cs_version"; exit 0 ;;
28502 # Conflict between --help and --header
28503 { { echo "$as_me:$LINENO: error: ambiguous option: $1
28504 Try \`$0 --help' for more information." >&5
28505 echo "$as_me: error: ambiguous option: $1
28506 Try \`$0 --help' for more information." >&2;}
28507 { (exit 1); exit 1; }; };;
28508 --help |
--hel |
-h )
28509 echo "$ac_cs_usage"; exit 0 ;;
28510 --debug |
--d* |
-d )
28512 --file |
--fil |
--fi |
--f )
28514 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
28515 ac_need_defaults
=false
;;
28516 --header |
--heade |
--head |
--hea )
28518 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
28519 ac_need_defaults
=false
;;
28520 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
28521 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
28524 # This is an error.
28525 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
28526 Try \`$0 --help' for more information." >&5
28527 echo "$as_me: error: unrecognized option: $1
28528 Try \`$0 --help' for more information." >&2;}
28529 { (exit 1); exit 1; }; } ;;
28531 *) ac_config_targets
="$ac_config_targets $1" ;;
28537 ac_configure_extra_args
=
28539 if $ac_cs_silent; then
28541 ac_configure_extra_args
="$ac_configure_extra_args --silent"
28545 cat >>$CONFIG_STATUS <<_ACEOF
28546 if \$ac_cs_recheck; then
28547 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
28548 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
28553 cat >>$CONFIG_STATUS <<_ACEOF
28555 # INIT-COMMANDS section.
28562 with_multisubdir="$with_multisubdir"
28563 with_multisrctop="$with_multisrctop"
28564 with_target_subdir="$with_target_subdir"
28565 ac_configure_args="${multilib_arg} ${ac_configure_args}"
28566 multi_basedir="$multi_basedir"
28567 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
28569 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
28572 # The HP-UX ksh and POSIX shell print the target directory to stdout
28573 # if CDPATH is set.
28574 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
28576 sed_quote_subst='$sed_quote_subst'
28577 double_quote_subst='$double_quote_subst'
28578 delay_variable_subst='$delay_variable_subst'
28579 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
28580 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
28581 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
28582 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
28583 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
28584 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
28585 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
28586 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
28587 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
28588 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
28589 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
28590 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
28591 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
28592 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
28593 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
28594 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
28595 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
28596 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
28597 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
28598 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
28599 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
28600 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
28601 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
28602 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
28603 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
28604 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
28605 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
28606 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28607 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
28608 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
28609 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
28610 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
28611 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
28612 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
28613 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28614 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28615 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28616 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
28617 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
28618 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
28619 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
28620 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
28621 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
28622 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"`'
28623 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
28624 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
28625 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
28626 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
28627 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
28628 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
28629 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
28630 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
28631 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
28632 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
28633 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
28634 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28635 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28636 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
28637 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
28638 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
28639 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
28640 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
28641 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28642 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28643 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28644 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28645 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28646 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28647 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
28648 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
28649 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
28650 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
28651 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
28652 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
28653 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
28654 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
28655 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
28656 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
28657 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
28658 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
28659 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
28660 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
28661 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
28662 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28663 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
28664 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
28665 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28666 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
28667 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
28668 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
28669 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
28670 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
28671 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
28672 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
28673 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
28674 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
28675 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
28676 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
28677 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28678 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28679 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28680 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
28681 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
28682 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
28683 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
28684 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
28685 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
28686 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
28687 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
28688 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
28689 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
28690 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
28691 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
28692 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
28693 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
28694 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
28695 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28696 LD_GCJ='`$ECHO "X$LD_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28697 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28698 old_archive_cmds_GCJ='`$ECHO "X$old_archive_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28699 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28700 compiler_GCJ='`$ECHO "X$compiler_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28701 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28702 GCC_GCJ='`$ECHO "X$GCC_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28703 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28704 lt_prog_compiler_no_builtin_flag_GCJ='`$ECHO "X$lt_prog_compiler_no_builtin_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28705 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28706 lt_prog_compiler_wl_GCJ='`$ECHO "X$lt_prog_compiler_wl_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28707 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28708 lt_prog_compiler_pic_GCJ='`$ECHO "X$lt_prog_compiler_pic_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28709 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28710 lt_prog_compiler_static_GCJ='`$ECHO "X$lt_prog_compiler_static_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28711 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28712 lt_cv_prog_compiler_c_o_GCJ='`$ECHO "X$lt_cv_prog_compiler_c_o_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28713 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28714 archive_cmds_need_lc_GCJ='`$ECHO "X$archive_cmds_need_lc_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28715 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28716 enable_shared_with_static_runtimes_GCJ='`$ECHO "X$enable_shared_with_static_runtimes_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28717 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28718 export_dynamic_flag_spec_GCJ='`$ECHO "X$export_dynamic_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28719 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28720 whole_archive_flag_spec_GCJ='`$ECHO "X$whole_archive_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28721 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28722 compiler_needs_object_GCJ='`$ECHO "X$compiler_needs_object_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28723 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28724 old_archive_from_new_cmds_GCJ='`$ECHO "X$old_archive_from_new_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28725 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28726 old_archive_from_expsyms_cmds_GCJ='`$ECHO "X$old_archive_from_expsyms_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28727 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28728 archive_cmds_GCJ='`$ECHO "X$archive_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28729 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28730 archive_expsym_cmds_GCJ='`$ECHO "X$archive_expsym_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28731 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28732 module_cmds_GCJ='`$ECHO "X$module_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28733 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28734 module_expsym_cmds_GCJ='`$ECHO "X$module_expsym_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28735 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28736 with_gnu_ld_GCJ='`$ECHO "X$with_gnu_ld_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28737 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28738 allow_undefined_flag_GCJ='`$ECHO "X$allow_undefined_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28739 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28740 no_undefined_flag_GCJ='`$ECHO "X$no_undefined_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28741 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28742 hardcode_libdir_flag_spec_GCJ='`$ECHO "X$hardcode_libdir_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28743 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28744 hardcode_libdir_flag_spec_ld_GCJ='`$ECHO "X$hardcode_libdir_flag_spec_ld_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28745 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28746 hardcode_libdir_separator_GCJ='`$ECHO "X$hardcode_libdir_separator_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28747 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28748 hardcode_direct_GCJ='`$ECHO "X$hardcode_direct_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28749 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28750 hardcode_direct_absolute_GCJ='`$ECHO "X$hardcode_direct_absolute_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28751 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28752 hardcode_minus_L_GCJ='`$ECHO "X$hardcode_minus_L_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28753 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28754 hardcode_shlibpath_var_GCJ='`$ECHO "X$hardcode_shlibpath_var_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28755 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28756 hardcode_automatic_GCJ='`$ECHO "X$hardcode_automatic_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28757 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28758 inherit_rpath_GCJ='`$ECHO "X$inherit_rpath_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28759 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28760 link_all_deplibs_GCJ='`$ECHO "X$link_all_deplibs_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28761 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28762 fix_srcfile_path_GCJ='`$ECHO "X$fix_srcfile_path_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28763 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28764 always_export_symbols_GCJ='`$ECHO "X$always_export_symbols_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28765 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28766 export_symbols_cmds_GCJ='`$ECHO "X$export_symbols_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28767 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28768 exclude_expsyms_GCJ='`$ECHO "X$exclude_expsyms_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28769 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28770 include_expsyms_GCJ='`$ECHO "X$include_expsyms_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28771 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28772 prelink_cmds_GCJ='`$ECHO "X$prelink_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28773 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28774 file_list_spec_GCJ='`$ECHO "X$file_list_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28775 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28776 hardcode_action_GCJ='`$ECHO "X$hardcode_action_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28777 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28778 predep_objects_GCJ='`$ECHO "X$predep_objects_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28779 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28780 postdep_objects_GCJ='`$ECHO "X$postdep_objects_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28781 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28782 predeps_GCJ='`$ECHO "X$predeps_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28783 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28784 postdeps_GCJ='`$ECHO "X$postdeps_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28785 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28786 compiler_lib_search_path_GCJ='`$ECHO "X$compiler_lib_search_path_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28789 LTCFLAGS='$LTCFLAGS'
28790 compiler='$compiler_DEFAULT'
28792 # Quote evaled strings.
28803 deplibs_check_method \
28812 lt_cv_sys_global_symbol_pipe \
28813 lt_cv_sys_global_symbol_to_cdecl \
28814 lt_cv_sys_global_symbol_to_c_name_address \
28817 lt_prog_compiler_no_builtin_flag \
28818 lt_prog_compiler_wl \
28819 lt_prog_compiler_pic \
28820 lt_prog_compiler_static \
28821 lt_cv_prog_compiler_c_o \
28824 export_dynamic_flag_spec \
28825 whole_archive_flag_spec \
28826 compiler_needs_object \
28828 allow_undefined_flag \
28829 no_undefined_flag \
28830 hardcode_libdir_flag_spec \
28831 hardcode_libdir_flag_spec_ld \
28832 hardcode_libdir_separator \
28837 variables_saved_for_relink \
28839 library_names_spec \
28848 compiler_lib_search_path \
28853 lt_prog_compiler_no_builtin_flag_CXX \
28854 lt_prog_compiler_no_builtin_flag_GCJ \
28855 lt_prog_compiler_wl_CXX \
28856 lt_prog_compiler_wl_GCJ \
28857 lt_prog_compiler_pic_CXX \
28858 lt_prog_compiler_pic_GCJ \
28859 lt_prog_compiler_static_CXX \
28860 lt_prog_compiler_static_GCJ \
28861 lt_cv_prog_compiler_c_o_CXX \
28862 lt_cv_prog_compiler_c_o_GCJ \
28863 export_dynamic_flag_spec_CXX \
28864 export_dynamic_flag_spec_GCJ \
28865 whole_archive_flag_spec_CXX \
28866 whole_archive_flag_spec_GCJ \
28867 compiler_needs_object_CXX \
28868 compiler_needs_object_GCJ \
28871 allow_undefined_flag_CXX \
28872 allow_undefined_flag_GCJ \
28873 no_undefined_flag_CXX \
28874 no_undefined_flag_GCJ \
28875 hardcode_libdir_flag_spec_CXX \
28876 hardcode_libdir_flag_spec_GCJ \
28877 hardcode_libdir_flag_spec_ld_CXX \
28878 hardcode_libdir_flag_spec_ld_GCJ \
28879 hardcode_libdir_separator_CXX \
28880 hardcode_libdir_separator_GCJ \
28881 fix_srcfile_path_CXX \
28882 fix_srcfile_path_GCJ \
28883 exclude_expsyms_CXX \
28884 exclude_expsyms_GCJ \
28885 include_expsyms_CXX \
28886 include_expsyms_GCJ \
28887 file_list_spec_CXX \
28888 file_list_spec_GCJ \
28889 predep_objects_CXX \
28890 predep_objects_GCJ \
28891 postdep_objects_CXX \
28892 postdep_objects_GCJ \
28897 compiler_lib_search_path_CXX \
28898 compiler_lib_search_path_GCJ; do
28899 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
28900 *[\\\\\\\`\\"\\\$]*)
28901 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
28904 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
28909 # Double-quote double-evaled strings.
28910 for var in reload_cmds \
28911 old_postinstall_cmds \
28912 old_postuninstall_cmds \
28914 extract_expsyms_cmds \
28915 old_archive_from_new_cmds \
28916 old_archive_from_expsyms_cmds \
28918 archive_expsym_cmds \
28920 module_expsym_cmds \
28921 export_symbols_cmds \
28924 postuninstall_cmds \
28926 sys_lib_search_path_spec \
28927 sys_lib_dlsearch_path_spec \
28928 old_archive_cmds_CXX \
28929 old_archive_cmds_GCJ \
28930 old_archive_from_new_cmds_CXX \
28931 old_archive_from_new_cmds_GCJ \
28932 old_archive_from_expsyms_cmds_CXX \
28933 old_archive_from_expsyms_cmds_GCJ \
28936 archive_expsym_cmds_CXX \
28937 archive_expsym_cmds_GCJ \
28940 module_expsym_cmds_CXX \
28941 module_expsym_cmds_GCJ \
28942 export_symbols_cmds_CXX \
28943 export_symbols_cmds_GCJ \
28945 prelink_cmds_GCJ; do
28946 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
28947 *[\\\\\\\`\\"\\\$]*)
28948 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
28951 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
28956 # Fix-up fallback echo if it was mangled by the above quoting rules.
28958 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
28962 ac_aux_dir='$ac_aux_dir'
28963 xsi_shell='$xsi_shell'
28964 lt_shell_append='$lt_shell_append'
28966 # See if we are running on zsh, and set the options which allow our
28967 # commands through without removal of \ escapes INIT.
28968 if test -n "\${ZSH_VERSION+set}" ; then
28969 setopt NO_GLOB_SUBST
28975 TIMESTAMP='$TIMESTAMP'
28990 cat >>$CONFIG_STATUS <<\_ACEOF
28991 for ac_config_target
in $ac_config_targets
28993 case "$ac_config_target" in
28994 # Handling of arguments.
28995 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
28996 "libgcj.pc" ) CONFIG_FILES
="$CONFIG_FILES libgcj.pc" ;;
28997 "libgcj.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj.spec" ;;
28998 "libgcj-test.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj-test.spec" ;;
28999 "gcj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gcj/Makefile" ;;
29000 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
29001 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
29002 "scripts/jar" ) CONFIG_FILES
="$CONFIG_FILES scripts/jar" ;;
29003 "include/platform.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/platform.h:include/$PLATFORMH" ;;
29004 "java/io/natFile.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc" ;;
29005 "java/lang/natConcreteProcess.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc" ;;
29006 "java/net/natVMInetAddress.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc" ;;
29007 "java/net/natVMNetworkInterface.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc" ;;
29008 "gnu/java/net/natPlainSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc" ;;
29009 "gnu/java/net/natPlainDatagramSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc" ;;
29010 "gnu/java/nio/natVMPipe.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc" ;;
29011 "gnu/java/nio/natVMSelector.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc" ;;
29012 "gnu/java/nio/channels/natFileChannelImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc" ;;
29013 "include/java-gc.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-gc.h:include/$GCHDR" ;;
29014 "include/java-threads.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-threads.h:include/$THREADH" ;;
29015 "sysdep/locks.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/locks.h:sysdep/$sysdeps_dir/locks.h" ;;
29016 "sysdep/backtrace.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/backtrace.h:$fallback_backtrace_h" ;;
29017 "sysdep/descriptor.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/descriptor.h:$descriptor_h" ;;
29018 "include/java-signal.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal.h:$SIGNAL_HANDLER" ;;
29019 "include/java-signal-aux.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal-aux.h:$SIGNAL_HANDLER_AUX" ;;
29020 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
29021 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
29022 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
29023 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
29024 "gcj/libgcj-config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS gcj/libgcj-config.h" ;;
29025 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
29026 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
29027 { (exit 1); exit 1; }; };;
29031 # If the user did not use the arguments to specify the items to instantiate,
29032 # then the envvar interface is used. Set only those that are not.
29033 # We use the long form for the default assignment because of an extremely
29034 # bizarre bug on SunOS 4.1.3.
29035 if $ac_need_defaults; then
29036 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
29037 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
29038 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
29039 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
29042 # Have a temporary directory for convenience. Make it in the build tree
29043 # simply because there is no reason to put it here, and in addition,
29044 # creating and moving files from /tmp can sometimes cause problems.
29045 # Create a temporary directory, and hook for its removal unless debugging.
29048 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
29049 trap '{ (exit 1); exit 1; }' 1 2 13 15
29052 # Create a (secure) tmp directory for tmp files.
29055 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
29056 test -n "$tmp" && test -d "$tmp"
29059 tmp
=.
/confstat$$
-$RANDOM
29060 (umask 077 && mkdir
$tmp)
29063 echo "$me: cannot create a temporary directory in ." >&2
29064 { (exit 1); exit 1; }
29069 cat >>$CONFIG_STATUS <<_ACEOF
29072 # CONFIG_FILES section.
29075 # No need to generate the scripts if there are no CONFIG_FILES.
29076 # This happens for instance when ./config.status config.h
29077 if test -n "\$CONFIG_FILES"; then
29078 # Protect against being on the right side of a sed subst in config.status.
29079 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
29080 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
29081 s,@SHELL@,$SHELL,;t t
29082 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
29083 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
29084 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
29085 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
29086 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
29087 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
29088 s,@exec_prefix@,$exec_prefix,;t t
29089 s,@prefix@,$prefix,;t t
29090 s,@program_transform_name@,$program_transform_name,;t t
29091 s,@bindir@,$bindir,;t t
29092 s,@sbindir@,$sbindir,;t t
29093 s,@libexecdir@,$libexecdir,;t t
29094 s,@datadir@,$datadir,;t t
29095 s,@sysconfdir@,$sysconfdir,;t t
29096 s,@sharedstatedir@,$sharedstatedir,;t t
29097 s,@localstatedir@,$localstatedir,;t t
29098 s,@libdir@,$libdir,;t t
29099 s,@includedir@,$includedir,;t t
29100 s,@oldincludedir@,$oldincludedir,;t t
29101 s,@infodir@,$infodir,;t t
29102 s,@mandir@,$mandir,;t t
29103 s,@build_alias@,$build_alias,;t t
29104 s,@host_alias@,$host_alias,;t t
29105 s,@target_alias@,$target_alias,;t t
29106 s,@DEFS@,$DEFS,;t t
29107 s,@ECHO_C@,$ECHO_C,;t t
29108 s,@ECHO_N@,$ECHO_N,;t t
29109 s,@ECHO_T@,$ECHO_T,;t t
29110 s,@LIBS@,$LIBS,;t t
29111 s,@build@,$build,;t t
29112 s,@build_cpu@,$build_cpu,;t t
29113 s,@build_vendor@,$build_vendor,;t t
29114 s,@build_os@,$build_os,;t t
29115 s,@build_libsubdir@,$build_libsubdir,;t t
29116 s,@build_subdir@,$build_subdir,;t t
29117 s,@host_subdir@,$host_subdir,;t t
29118 s,@target_subdir@,$target_subdir,;t t
29119 s,@multi_basedir@,$multi_basedir,;t t
29120 s,@host@,$host,;t t
29121 s,@host_cpu@,$host_cpu,;t t
29122 s,@host_vendor@,$host_vendor,;t t
29123 s,@host_os@,$host_os,;t t
29124 s,@target@,$target,;t t
29125 s,@target_cpu@,$target_cpu,;t t
29126 s,@target_vendor@,$target_vendor,;t t
29127 s,@target_os@,$target_os,;t t
29128 s,@target_noncanonical@,$target_noncanonical,;t t
29129 s,@LN_S@,$LN_S,;t t
29130 s,@mkinstalldirs@,$mkinstalldirs,;t t
29131 s,@JAVA_MAINTAINER_MODE_TRUE@,$JAVA_MAINTAINER_MODE_TRUE,;t t
29132 s,@JAVA_MAINTAINER_MODE_FALSE@,$JAVA_MAINTAINER_MODE_FALSE,;t t
29134 s,@ac_ct_CC@,$ac_ct_CC,;t t
29135 s,@EXEEXT@,$EXEEXT,;t t
29136 s,@OBJEXT@,$OBJEXT,;t t
29138 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
29139 s,@CFLAGS@,$CFLAGS,;t t
29140 s,@CXXFLAGS@,$CXXFLAGS,;t t
29141 s,@LDFLAGS@,$LDFLAGS,;t t
29142 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
29143 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
29144 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
29145 s,@CYGPATH_W@,$CYGPATH_W,;t t
29146 s,@PACKAGE@,$PACKAGE,;t t
29147 s,@VERSION@,$VERSION,;t t
29148 s,@ACLOCAL@,$ACLOCAL,;t t
29149 s,@AUTOCONF@,$AUTOCONF,;t t
29150 s,@AUTOMAKE@,$AUTOMAKE,;t t
29151 s,@AUTOHEADER@,$AUTOHEADER,;t t
29152 s,@MAKEINFO@,$MAKEINFO,;t t
29153 s,@install_sh@,$install_sh,;t t
29154 s,@STRIP@,$STRIP,;t t
29155 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
29156 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
29157 s,@mkdir_p@,$mkdir_p,;t t
29159 s,@SET_MAKE@,$SET_MAKE,;t t
29160 s,@am__leading_dot@,$am__leading_dot,;t t
29161 s,@AMTAR@,$AMTAR,;t t
29162 s,@am__tar@,$am__tar,;t t
29163 s,@am__untar@,$am__untar,;t t
29164 s,@DEPDIR@,$DEPDIR,;t t
29165 s,@am__include@,$am__include,;t t
29166 s,@am__quote@,$am__quote,;t t
29167 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
29168 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
29169 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
29170 s,@CCDEPMODE@,$CCDEPMODE,;t t
29171 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
29172 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
29173 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
29174 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
29175 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
29177 s,@ac_ct_AS@,$ac_ct_AS,;t t
29179 s,@ac_ct_LD@,$ac_ct_LD,;t t
29181 s,@ac_ct_AR@,$ac_ct_AR,;t t
29182 s,@RANLIB@,$RANLIB,;t t
29183 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
29186 s,@UNZIP@,$UNZIP,;t t
29187 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
29188 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
29189 s,@MAINT@,$MAINT,;t t
29190 s,@LIBGCJ_CFLAGS@,$LIBGCJ_CFLAGS,;t t
29191 s,@LIBGCJ_CXXFLAGS@,$LIBGCJ_CXXFLAGS,;t t
29192 s,@LIBGCJ_JAVAFLAGS@,$LIBGCJ_JAVAFLAGS,;t t
29193 s,@LIBGCJ_LD_SYMBOLIC@,$LIBGCJ_LD_SYMBOLIC,;t t
29194 s,@LIBGCJ_LD_SYMBOLIC_FUNCTIONS@,$LIBGCJ_LD_SYMBOLIC_FUNCTIONS,;t t
29195 s,@LIBGCJDEBUG@,$LIBGCJDEBUG,;t t
29196 s,@TOOLKIT@,$TOOLKIT,;t t
29197 s,@XLIB_AWT_TRUE@,$XLIB_AWT_TRUE,;t t
29198 s,@XLIB_AWT_FALSE@,$XLIB_AWT_FALSE,;t t
29199 s,@X_AWT_TRUE@,$X_AWT_TRUE,;t t
29200 s,@X_AWT_FALSE@,$X_AWT_FALSE,;t t
29201 s,@GCJ_FOR_ECJX@,$GCJ_FOR_ECJX,;t t
29202 s,@GCJH@,$GCJH,;t t
29203 s,@host_exeext@,$host_exeext,;t t
29204 s,@INCLTDL@,$INCLTDL,;t t
29205 s,@LIBLTDL@,$LIBLTDL,;t t
29206 s,@DIRLTDL@,$DIRLTDL,;t t
29207 s,@LIBTOOL@,$LIBTOOL,;t t
29209 s,@EGREP@,$EGREP,;t t
29210 s,@FGREP@,$FGREP,;t t
29211 s,@GREP@,$GREP,;t t
29212 s,@DUMPBIN@,$DUMPBIN,;t t
29213 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
29215 s,@lt_ECHO@,$lt_ECHO,;t t
29217 s,@CPPFLAGS@,$CPPFLAGS,;t t
29218 s,@CXXCPP@,$CXXCPP,;t t
29220 s,@GCJFLAGS@,$GCJFLAGS,;t t
29221 s,@GCJDEPMODE@,$GCJDEPMODE,;t t
29222 s,@am__fastdepGCJ_TRUE@,$am__fastdepGCJ_TRUE,;t t
29223 s,@am__fastdepGCJ_FALSE@,$am__fastdepGCJ_FALSE,;t t
29224 s,@subdirs@,$subdirs,;t t
29225 s,@TESTSUBDIR_TRUE@,$TESTSUBDIR_TRUE,;t t
29226 s,@TESTSUBDIR_FALSE@,$TESTSUBDIR_FALSE,;t t
29227 s,@ECJ_BUILD_JAR@,$ECJ_BUILD_JAR,;t t
29228 s,@ECJ_JAR@,$ECJ_JAR,;t t
29229 s,@BUILD_ECJ1_TRUE@,$BUILD_ECJ1_TRUE,;t t
29230 s,@BUILD_ECJ1_FALSE@,$BUILD_ECJ1_FALSE,;t t
29231 s,@INSTALL_ECJ_JAR_TRUE@,$INSTALL_ECJ_JAR_TRUE,;t t
29232 s,@INSTALL_ECJ_JAR_FALSE@,$INSTALL_ECJ_JAR_FALSE,;t t
29233 s,@JAVA_HOME_SET_TRUE@,$JAVA_HOME_SET_TRUE,;t t
29234 s,@JAVA_HOME_SET_FALSE@,$JAVA_HOME_SET_FALSE,;t t
29235 s,@JAVA_HOME@,$JAVA_HOME,;t t
29236 s,@SUPPRESS_LIBGCJ_BC_TRUE@,$SUPPRESS_LIBGCJ_BC_TRUE,;t t
29237 s,@SUPPRESS_LIBGCJ_BC_FALSE@,$SUPPRESS_LIBGCJ_BC_FALSE,;t t
29238 s,@INTERPRETER@,$INTERPRETER,;t t
29239 s,@INTERPRETER_TRUE@,$INTERPRETER_TRUE,;t t
29240 s,@INTERPRETER_FALSE@,$INTERPRETER_FALSE,;t t
29241 s,@LIBFFI@,$LIBFFI,;t t
29242 s,@LIBFFIINCS@,$LIBFFIINCS,;t t
29243 s,@PLATFORM@,$PLATFORM,;t t
29244 s,@USING_WIN32_PLATFORM_TRUE@,$USING_WIN32_PLATFORM_TRUE,;t t
29245 s,@USING_WIN32_PLATFORM_FALSE@,$USING_WIN32_PLATFORM_FALSE,;t t
29246 s,@USING_POSIX_PLATFORM_TRUE@,$USING_POSIX_PLATFORM_TRUE,;t t
29247 s,@USING_POSIX_PLATFORM_FALSE@,$USING_POSIX_PLATFORM_FALSE,;t t
29248 s,@USING_DARWIN_CRT_TRUE@,$USING_DARWIN_CRT_TRUE,;t t
29249 s,@USING_DARWIN_CRT_FALSE@,$USING_DARWIN_CRT_FALSE,;t t
29250 s,@SYSTEMSPEC@,$SYSTEMSPEC,;t t
29251 s,@ZLIBSPEC@,$ZLIBSPEC,;t t
29252 s,@ZLIBTESTSPEC@,$ZLIBTESTSPEC,;t t
29253 s,@X_CFLAGS@,$X_CFLAGS,;t t
29254 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
29255 s,@X_LIBS@,$X_LIBS,;t t
29256 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
29257 s,@extra_ldflags_libjava@,$extra_ldflags_libjava,;t t
29258 s,@extra_gij_ldflags@,$extra_gij_ldflags,;t t
29259 s,@extra_ldflags@,$extra_ldflags,;t t
29260 s,@LIBSTDCXXSPEC@,$LIBSTDCXXSPEC,;t t
29261 s,@LIBGCJTESTSPEC@,$LIBGCJTESTSPEC,;t t
29262 s,@GCLIBS@,$GCLIBS,;t t
29263 s,@GCINCS@,$GCINCS,;t t
29264 s,@GCDEPS@,$GCDEPS,;t t
29265 s,@GCSPEC@,$GCSPEC,;t t
29266 s,@JC1GCSPEC@,$JC1GCSPEC,;t t
29267 s,@GCTESTSPEC@,$GCTESTSPEC,;t t
29268 s,@USING_BOEHMGC_TRUE@,$USING_BOEHMGC_TRUE,;t t
29269 s,@USING_BOEHMGC_FALSE@,$USING_BOEHMGC_FALSE,;t t
29270 s,@USING_NOGC_TRUE@,$USING_NOGC_TRUE,;t t
29271 s,@USING_NOGC_FALSE@,$USING_NOGC_FALSE,;t t
29272 s,@THREADLIBS@,$THREADLIBS,;t t
29273 s,@THREADINCS@,$THREADINCS,;t t
29274 s,@THREADDEPS@,$THREADDEPS,;t t
29275 s,@THREADSPEC@,$THREADSPEC,;t t
29276 s,@THREADSTARTFILESPEC@,$THREADSTARTFILESPEC,;t t
29277 s,@THREADLDFLAGS@,$THREADLDFLAGS,;t t
29278 s,@THREADCXXFLAGS@,$THREADCXXFLAGS,;t t
29279 s,@USING_POSIX_THREADS_TRUE@,$USING_POSIX_THREADS_TRUE,;t t
29280 s,@USING_POSIX_THREADS_FALSE@,$USING_POSIX_THREADS_FALSE,;t t
29281 s,@USING_WIN32_THREADS_TRUE@,$USING_WIN32_THREADS_TRUE,;t t
29282 s,@USING_WIN32_THREADS_FALSE@,$USING_WIN32_THREADS_FALSE,;t t
29283 s,@USING_NO_THREADS_TRUE@,$USING_NO_THREADS_TRUE,;t t
29284 s,@USING_NO_THREADS_FALSE@,$USING_NO_THREADS_FALSE,;t t
29285 s,@USE_LIBGCJ_BC_TRUE@,$USE_LIBGCJ_BC_TRUE,;t t
29286 s,@USE_LIBGCJ_BC_FALSE@,$USE_LIBGCJ_BC_FALSE,;t t
29287 s,@LIBGCJ_SPEC@,$LIBGCJ_SPEC,;t t
29288 s,@HASH_SYNC_SPEC@,$HASH_SYNC_SPEC,;t t
29289 s,@USING_GCC_TRUE@,$USING_GCC_TRUE,;t t
29290 s,@USING_GCC_FALSE@,$USING_GCC_FALSE,;t t
29291 s,@LIBICONV@,$LIBICONV,;t t
29292 s,@LTLIBICONV@,$LTLIBICONV,;t t
29293 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
29294 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
29295 s,@GTK_LIBS@,$GTK_LIBS,;t t
29296 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
29297 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
29298 s,@LIBART_CFLAGS@,$LIBART_CFLAGS,;t t
29299 s,@LIBART_LIBS@,$LIBART_LIBS,;t t
29300 s,@CLASSPATH_SEPARATOR@,$CLASSPATH_SEPARATOR,;t t
29301 s,@ZLIBS@,$ZLIBS,;t t
29302 s,@SYS_ZLIBS@,$SYS_ZLIBS,;t t
29303 s,@ZINCS@,$ZINCS,;t t
29304 s,@DIVIDESPEC@,$DIVIDESPEC,;t t
29305 s,@CHECKREFSPEC@,$CHECKREFSPEC,;t t
29306 s,@EXCEPTIONSPEC@,$EXCEPTIONSPEC,;t t
29307 s,@BACKTRACESPEC@,$BACKTRACESPEC,;t t
29308 s,@IEEESPEC@,$IEEESPEC,;t t
29309 s,@NATIVE_TRUE@,$NATIVE_TRUE,;t t
29310 s,@NATIVE_FALSE@,$NATIVE_FALSE,;t t
29311 s,@ENABLE_SHARED_TRUE@,$ENABLE_SHARED_TRUE,;t t
29312 s,@ENABLE_SHARED_FALSE@,$ENABLE_SHARED_FALSE,;t t
29313 s,@NEEDS_DATA_START_TRUE@,$NEEDS_DATA_START_TRUE,;t t
29314 s,@NEEDS_DATA_START_FALSE@,$NEEDS_DATA_START_FALSE,;t t
29315 s,@GCC_UNWIND_INCLUDE@,$GCC_UNWIND_INCLUDE,;t t
29316 s,@toolexecdir@,$toolexecdir,;t t
29317 s,@toolexecmainlibdir@,$toolexecmainlibdir,;t t
29318 s,@toolexeclibdir@,$toolexeclibdir,;t t
29319 s,@GCJVERSION@,$GCJVERSION,;t t
29320 s,@dbexecdir@,$dbexecdir,;t t
29321 s,@gxx_include_dir@,$gxx_include_dir,;t t
29322 s,@libstdcxx_incdir@,$libstdcxx_incdir,;t t
29323 s,@PERL@,$PERL,;t t
29324 s,@SYSDEP_SOURCES@,$SYSDEP_SOURCES,;t t
29325 s,@ANONVERSCRIPT_TRUE@,$ANONVERSCRIPT_TRUE,;t t
29326 s,@ANONVERSCRIPT_FALSE@,$ANONVERSCRIPT_FALSE,;t t
29327 s,@LD_START_STATIC_SPEC@,$LD_START_STATIC_SPEC,;t t
29328 s,@LD_FINISH_STATIC_SPEC@,$LD_FINISH_STATIC_SPEC,;t t
29329 s,@here@,$here,;t t
29330 s,@LIBOBJS@,$LIBOBJS,;t t
29331 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
29336 cat >>$CONFIG_STATUS <<\_ACEOF
29337 # Split the substitutions into bite-sized pieces for seds with
29338 # small command number limits, like on Digital OSF/1 and HP-UX.
29339 ac_max_sed_lines
=48
29340 ac_sed_frag
=1 # Number of current file.
29341 ac_beg
=1 # First line for current file.
29342 ac_end
=$ac_max_sed_lines # Line after last line for current file.
29345 while $ac_more_lines; do
29346 if test $ac_beg -gt 1; then
29347 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
29349 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
29351 if test ! -s $tmp/subs.frag
; then
29352 ac_more_lines
=false
29354 # The purpose of the label and of the branching condition is to
29355 # speed up the sed processing (if there are no `@' at all, there
29356 # is no need to browse any of the substitutions).
29357 # These are the two extra sed commands mentioned above.
29359 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
29360 if test -z "$ac_sed_cmds"; then
29361 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
29363 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
29365 ac_sed_frag
=`expr $ac_sed_frag + 1`
29367 ac_end
=`expr $ac_end + $ac_max_sed_lines`
29370 if test -z "$ac_sed_cmds"; then
29373 fi # test -n "$CONFIG_FILES"
29376 cat >>$CONFIG_STATUS <<\_ACEOF
29377 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
29378 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
29380 - |
*:- |
*:-:* ) # input from stdin
29382 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29383 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29384 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29385 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29386 * ) ac_file_in
=$ac_file.
in ;;
29389 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
29390 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
29391 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29392 X"$ac_file" : 'X\(//\)[^/]' \| \
29393 X"$ac_file" : 'X\(//\)$' \| \
29394 X"$ac_file" : 'X\(/\)' \| \
29395 . : '\(.\)' 2>/dev/null ||
29397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29398 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29399 /^X\(\/\/\)$/{ s//\1/; q; }
29400 /^X\(\/\).*/{ s//\1/; q; }
29402 { if $as_mkdir_p; then
29407 while test ! -d "$as_dir"; do
29408 as_dirs
="$as_dir $as_dirs"
29409 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
29410 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29411 X"$as_dir" : 'X\(//\)[^/]' \| \
29412 X"$as_dir" : 'X\(//\)$' \| \
29413 X"$as_dir" : 'X\(/\)' \| \
29414 . : '\(.\)' 2>/dev/null ||
29416 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29417 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29418 /^X\(\/\/\)$/{ s//\1/; q; }
29419 /^X\(\/\).*/{ s//\1/; q; }
29422 test ! -n "$as_dirs" || mkdir
$as_dirs
29423 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29424 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29425 { (exit 1); exit 1; }; }; }
29429 if test "$ac_dir" != .
; then
29430 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
29431 # A "../" for each directory in $ac_dir_suffix.
29432 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
29434 ac_dir_suffix
= ac_top_builddir
=
29438 .
) # No --srcdir option. We are building in place.
29440 if test -z "$ac_top_builddir"; then
29443 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
29445 [\\/]* | ?
:[\\/]* ) # Absolute path.
29446 ac_srcdir
=$srcdir$ac_dir_suffix;
29447 ac_top_srcdir
=$srcdir ;;
29448 *) # Relative path.
29449 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
29450 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
29453 # Do not use `cd foo && pwd` to compute absolute paths, because
29454 # the directories may not exist.
29456 .
) ac_abs_builddir
="$ac_dir";;
29459 .
) ac_abs_builddir
=`pwd`;;
29460 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
29461 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
29464 case $ac_abs_builddir in
29465 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29467 case ${ac_top_builddir}.
in
29468 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
29469 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29470 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
29473 case $ac_abs_builddir in
29474 .
) ac_abs_srcdir
=$ac_srcdir;;
29477 .
) ac_abs_srcdir
=$ac_abs_builddir;;
29478 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
29479 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
29482 case $ac_abs_builddir in
29483 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
29485 case $ac_top_srcdir in
29486 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
29487 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
29488 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
29494 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
29495 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
29498 if test x
"$ac_file" != x-
; then
29499 { echo "$as_me:$LINENO: creating $ac_file" >&5
29500 echo "$as_me: creating $ac_file" >&6;}
29503 # Let's still pretend it is `configure' which instantiates (i.e., don't
29504 # use $as_me), people would be surprised to read:
29505 # /* config.h. Generated by config.status. */
29506 if test x
"$ac_file" = x-
; then
29509 configure_input
="$ac_file. "
29511 configure_input
=$configure_input"Generated from `echo $ac_file_in |
29512 sed 's,.*/,,'` by configure."
29514 # First look for the input files in the build tree, otherwise in the
29516 ac_file_inputs
=`IFS=:
29517 for f in $ac_file_in; do
29519 -) echo $tmp/stdin ;;
29521 # Absolute (can't be DOS-style, as IFS=:)
29522 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29523 echo "$as_me: error: cannot find input file: $f" >&2;}
29524 { (exit 1); exit 1; }; }
29527 if test -f "$f"; then
29530 elif test -f "$srcdir/$f"; then
29535 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29536 echo "$as_me: error: cannot find input file: $f" >&2;}
29537 { (exit 1); exit 1; }; }
29540 done` ||
{ (exit 1); exit 1; }
29542 cat >>$CONFIG_STATUS <<_ACEOF
29546 cat >>$CONFIG_STATUS <<\_ACEOF
29548 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
29549 s
,@configure_input@
,$configure_input,;t t
29550 s
,@srcdir@
,$ac_srcdir,;t t
29551 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
29552 s
,@top_srcdir@
,$ac_top_srcdir,;t t
29553 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
29554 s
,@builddir@
,$ac_builddir,;t t
29555 s
,@abs_builddir@
,$ac_abs_builddir,;t t
29556 s
,@top_builddir@
,$ac_top_builddir,;t t
29557 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
29558 s
,@INSTALL@
,$ac_INSTALL,;t t
29559 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
29561 if test x"$ac_file" != x-; then
29562 mv $tmp/out $ac_file
29568 # Run the commands associated with the file.
29570 scripts/jar ) chmod +x scripts/jar ;;
29574 cat >>$CONFIG_STATUS <<\_ACEOF
29577 # CONFIG_HEADER section.
29580 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
29581 # NAME is the cpp macro being defined and VALUE is the value it is being given.
29583 # ac_d sets the value in "#define NAME VALUE" lines.
29584 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
29585 ac_dB
='[ ].*$,\1#\2'
29588 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
29589 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
29590 ac_uB
='$,\1#\2define\3'
29594 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
29595 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
29597 - |
*:- |
*:-:* ) # input from stdin
29599 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29600 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29601 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29602 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29603 * ) ac_file_in
=$ac_file.
in ;;
29606 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
29607 echo "$as_me: creating $ac_file" >&6;}
29609 # First look for the input files in the build tree, otherwise in the
29611 ac_file_inputs
=`IFS=:
29612 for f in $ac_file_in; do
29614 -) echo $tmp/stdin ;;
29616 # Absolute (can't be DOS-style, as IFS=:)
29617 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29618 echo "$as_me: error: cannot find input file: $f" >&2;}
29619 { (exit 1); exit 1; }; }
29620 # Do quote $f, to prevent DOS paths from being IFS'd.
29623 if test -f "$f"; then
29626 elif test -f "$srcdir/$f"; then
29631 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29632 echo "$as_me: error: cannot find input file: $f" >&2;}
29633 { (exit 1); exit 1; }; }
29636 done` ||
{ (exit 1); exit 1; }
29637 # Remove the trailing spaces.
29638 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
29642 # Transform confdefs.h into two sed scripts, `conftest.defines' and
29643 # `conftest.undefs', that substitutes the proper values into
29644 # config.h.in to produce config.h. The first handles `#define'
29645 # templates, and the second `#undef' templates.
29646 # And first: Protect against being on the right side of a sed subst in
29647 # config.status. Protect against being in an unquoted here document
29648 # in config.status.
29649 rm -f conftest.defines conftest.undefs
29650 # Using a here document instead of a string reduces the quoting nightmare.
29651 # Putting comments in sed scripts is not portable.
29653 # `end' is used to avoid that the second main sed command (meant for
29654 # 0-ary CPP macros) applies to n-ary macro definitions.
29655 # See the Autoconf documentation for `clear'.
29656 cat >confdef2sed.
sed <<\_ACEOF
29661 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
29663 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
29666 # If some macros were called several times there might be several times
29667 # the same #defines, which is useless. Nevertheless, we may not want to
29668 # sort them, since we want the *last* AC-DEFINE to be honored.
29669 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
29670 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
29671 rm -f confdef2sed.sed
29673 # This sed command replaces #undef with comments. This is necessary, for
29674 # example, in the case of _POSIX_SOURCE, which is predefined and required
29675 # on some systems where configure will not decide to define it.
29676 cat >>conftest.undefs <<\_ACEOF
29677 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
29680 # Break up conftest.defines because some shells have a limit on the size
29681 # of here documents, and old seds have small limits too (100 cmds).
29682 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
29683 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
29684 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
29685 echo ' :' >>$CONFIG_STATUS
29686 rm -f conftest.tail
29687 while grep . conftest.defines >/dev/null
29689 # Write a limited-size here document to $tmp/defines.sed.
29690 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
29691 # Speed up: don't consider the non `#define' lines.
29692 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
29693 # Work around the forget-to-reset-the-flag bug.
29694 echo 't clr' >>$CONFIG_STATUS
29695 echo ': clr' >>$CONFIG_STATUS
29696 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
29698 sed -f $tmp/defines.sed $tmp/in >$tmp/out
29700 mv $tmp/out $tmp/in
29702 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
29703 rm -f conftest.defines
29704 mv conftest.
tail conftest.defines
29706 rm -f conftest.defines
29707 echo ' fi # grep' >>$CONFIG_STATUS
29708 echo >>$CONFIG_STATUS
29710 # Break up conftest.undefs because some shells have a limit on the size
29711 # of here documents, and old seds have small limits too (100 cmds).
29712 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
29713 rm -f conftest.
tail
29714 while grep . conftest.undefs
>/dev
/null
29716 # Write a limited-size here document to $tmp/undefs.sed.
29717 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
29718 # Speed up: don't consider the non
`#undef'
29719 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
29720 # Work around the forget-to-reset-the-flag bug.
29721 echo 't clr' >>$CONFIG_STATUS
29722 echo ': clr' >>$CONFIG_STATUS
29723 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
29725 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
29727 mv $tmp/out $tmp/in
29729 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
29730 rm -f conftest.undefs
29731 mv conftest.tail conftest.undefs
29733 rm -f conftest.undefs
29735 cat >>$CONFIG_STATUS <<\_ACEOF
29736 # Let's still pretend it is `configure
' which instantiates (i.e., don't
29737 # use $as_me), people would be surprised to read:
29738 # /* config.h. Generated by config.status. */
29739 if test x
"$ac_file" = x-
; then
29740 echo "/* Generated by configure. */" >$tmp/config.h
29742 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
29744 cat $tmp/in >>$tmp/config.h
29746 if test x
"$ac_file" != x-
; then
29747 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
29748 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
29749 echo "$as_me: $ac_file is unchanged" >&6;}
29751 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
29752 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29753 X"$ac_file" : 'X\(//\)[^/]' \| \
29754 X"$ac_file" : 'X\(//\)$' \| \
29755 X"$ac_file" : 'X\(/\)' \| \
29756 . : '\(.\)' 2>/dev/null ||
29758 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29759 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29760 /^X\(\/\/\)$/{ s//\1/; q; }
29761 /^X\(\/\).*/{ s//\1/; q; }
29763 { if $as_mkdir_p; then
29768 while test ! -d "$as_dir"; do
29769 as_dirs
="$as_dir $as_dirs"
29770 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
29771 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29772 X"$as_dir" : 'X\(//\)[^/]' \| \
29773 X"$as_dir" : 'X\(//\)$' \| \
29774 X"$as_dir" : 'X\(/\)' \| \
29775 . : '\(.\)' 2>/dev/null ||
29777 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29778 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29779 /^X\(\/\/\)$/{ s//\1/; q; }
29780 /^X\(\/\).*/{ s//\1/; q; }
29783 test ! -n "$as_dirs" || mkdir
$as_dirs
29784 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29785 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29786 { (exit 1); exit 1; }; }; }
29789 mv $tmp/config.h
$ac_file
29793 rm -f $tmp/config.h
29795 # Compute $ac_file's index in $config_headers.
29797 for _am_header
in $config_headers :; do
29798 case $_am_header in
29799 $ac_file |
$ac_file:* )
29802 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
29805 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
29806 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29807 X$ac_file : 'X\(//\)[^/]' \| \
29808 X$ac_file : 'X\(//\)$' \| \
29809 X$ac_file : 'X\(/\)' \| \
29810 . : '\(.\)' 2>/dev/null ||
29812 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29813 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29814 /^X\(\/\/\)$/{ s//\1/; q; }
29815 /^X\(\/\).*/{ s//\1/; q; }
29816 s/.*/./; q'`/stamp-h
$_am_stamp_count
29819 cat >>$CONFIG_STATUS <<\_ACEOF
29822 # CONFIG_LINKS section.
29825 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
29826 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
29827 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29829 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
29830 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
29832 if test ! -r $srcdir/$ac_source; then
29833 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
29834 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
29835 { (exit 1); exit 1; }; }
29839 # Make relative symlinks.
29840 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
29841 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29842 X"$ac_dest" : 'X\(//\)[^/]' \| \
29843 X"$ac_dest" : 'X\(//\)$' \| \
29844 X"$ac_dest" : 'X\(/\)' \| \
29845 . : '\(.\)' 2>/dev/null ||
29847 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29848 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29849 /^X\(\/\/\)$/{ s//\1/; q; }
29850 /^X\(\/\).*/{ s//\1/; q; }
29852 { if $as_mkdir_p; then
29853 mkdir
-p "$ac_dest_dir"
29855 as_dir
="$ac_dest_dir"
29857 while test ! -d "$as_dir"; do
29858 as_dirs
="$as_dir $as_dirs"
29859 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
29860 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29861 X"$as_dir" : 'X\(//\)[^/]' \| \
29862 X"$as_dir" : 'X\(//\)$' \| \
29863 X"$as_dir" : 'X\(/\)' \| \
29864 . : '\(.\)' 2>/dev/null ||
29866 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29867 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29868 /^X\(\/\/\)$/{ s//\1/; q; }
29869 /^X\(\/\).*/{ s//\1/; q; }
29872 test ! -n "$as_dirs" || mkdir
$as_dirs
29873 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
29874 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
29875 { (exit 1); exit 1; }; }; }
29879 if test "$ac_dest_dir" != .
; then
29880 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
29881 # A "../" for each directory in $ac_dir_suffix.
29882 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
29884 ac_dir_suffix
= ac_top_builddir
=
29888 .
) # No --srcdir option. We are building in place.
29890 if test -z "$ac_top_builddir"; then
29893 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
29895 [\\/]* | ?
:[\\/]* ) # Absolute path.
29896 ac_srcdir
=$srcdir$ac_dir_suffix;
29897 ac_top_srcdir
=$srcdir ;;
29898 *) # Relative path.
29899 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
29900 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
29903 # Do not use `cd foo && pwd` to compute absolute paths, because
29904 # the directories may not exist.
29906 .
) ac_abs_builddir
="$ac_dest_dir";;
29908 case "$ac_dest_dir" in
29909 .
) ac_abs_builddir
=`pwd`;;
29910 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
29911 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
29914 case $ac_abs_builddir in
29915 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29917 case ${ac_top_builddir}.
in
29918 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
29919 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29920 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
29923 case $ac_abs_builddir in
29924 .
) ac_abs_srcdir
=$ac_srcdir;;
29927 .
) ac_abs_srcdir
=$ac_abs_builddir;;
29928 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
29929 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
29932 case $ac_abs_builddir in
29933 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
29935 case $ac_top_srcdir in
29936 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
29937 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
29938 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
29944 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
29945 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
29948 # Try a symlink, then a hard link, then a copy.
29949 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
29950 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
29951 cp -p $srcdir/$ac_source $ac_dest ||
29952 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
29953 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
29954 { (exit 1); exit 1; }; }
29957 cat >>$CONFIG_STATUS <<\_ACEOF
29960 # CONFIG_COMMANDS section.
29962 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
29963 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
29964 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29965 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
29966 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29967 X"$ac_dest" : 'X\(//\)[^/]' \| \
29968 X"$ac_dest" : 'X\(//\)$' \| \
29969 X"$ac_dest" : 'X\(/\)' \| \
29970 . : '\(.\)' 2>/dev/null ||
29972 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29973 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29974 /^X\(\/\/\)$/{ s//\1/; q; }
29975 /^X\(\/\).*/{ s//\1/; q; }
29977 { if $as_mkdir_p; then
29982 while test ! -d "$as_dir"; do
29983 as_dirs
="$as_dir $as_dirs"
29984 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
29985 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29986 X"$as_dir" : 'X\(//\)[^/]' \| \
29987 X"$as_dir" : 'X\(//\)$' \| \
29988 X"$as_dir" : 'X\(/\)' \| \
29989 . : '\(.\)' 2>/dev/null ||
29991 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29992 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29993 /^X\(\/\/\)$/{ s//\1/; q; }
29994 /^X\(\/\).*/{ s//\1/; q; }
29997 test ! -n "$as_dirs" || mkdir
$as_dirs
29998 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29999 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30000 { (exit 1); exit 1; }; }; }
30004 if test "$ac_dir" != .
; then
30005 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30006 # A "../" for each directory in $ac_dir_suffix.
30007 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30009 ac_dir_suffix
= ac_top_builddir
=
30013 .
) # No --srcdir option. We are building in place.
30015 if test -z "$ac_top_builddir"; then
30018 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
30020 [\\/]* | ?
:[\\/]* ) # Absolute path.
30021 ac_srcdir
=$srcdir$ac_dir_suffix;
30022 ac_top_srcdir
=$srcdir ;;
30023 *) # Relative path.
30024 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
30025 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
30028 # Do not use `cd foo && pwd` to compute absolute paths, because
30029 # the directories may not exist.
30031 .
) ac_abs_builddir
="$ac_dir";;
30034 .
) ac_abs_builddir
=`pwd`;;
30035 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
30036 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
30039 case $ac_abs_builddir in
30040 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30042 case ${ac_top_builddir}.
in
30043 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
30044 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30045 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
30048 case $ac_abs_builddir in
30049 .
) ac_abs_srcdir
=$ac_srcdir;;
30052 .
) ac_abs_srcdir
=$ac_abs_builddir;;
30053 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
30054 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
30057 case $ac_abs_builddir in
30058 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
30060 case $ac_top_srcdir in
30061 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
30062 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
30063 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
30068 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
30069 echo "$as_me: executing $ac_dest commands" >&6;}
30072 # Only add multilib support code if we just rebuilt the top-level
30074 case " $CONFIG_FILES " in
30076 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
30079 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
30080 # Strip MF so we end up with the name of the file.
30081 mf
=`echo "$mf" | sed -e 's/:.*$//'`
30082 # Check whether this is an Automake generated Makefile or not.
30083 # We used to match only the files named `Makefile.in', but
30084 # some people rename them; so instead we look at the file content.
30085 # Grep'ing the first line is not enough: some people post-process
30086 # each Makefile.in and add a new line on top of each file to say so.
30087 # So let's grep whole file.
30088 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
30089 dirpart
=`(dirname "$mf") 2>/dev/null ||
30090 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30091 X"$mf" : 'X\(//\)[^/]' \| \
30092 X"$mf" : 'X\(//\)$' \| \
30093 X"$mf" : 'X\(/\)' \| \
30094 . : '\(.\)' 2>/dev/null ||
30096 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30097 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30098 /^X\(\/\/\)$/{ s//\1/; q; }
30099 /^X\(\/\).*/{ s//\1/; q; }
30104 # Extract the definition of DEPDIR, am__include, and am__quote
30105 # from the Makefile without running `make'.
30106 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
30107 test -z "$DEPDIR" && continue
30108 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
30109 test -z "am__include" && continue
30110 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
30111 # When using ansi2knr, U may be empty or an underscore; expand it
30112 U
=`sed -n 's/^U = //p' < "$mf"`
30113 # Find all dependency output files, they are included files with
30114 # $(DEPDIR) in their names. We invoke sed twice because it is the
30115 # simplest approach to changing $(DEPDIR) to its actual value in the
30117 for file in `sed -n "
30118 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
30119 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
30120 # Make sure the directory exists.
30121 test -f "$dirpart/$file" && continue
30122 fdir
=`(dirname "$file") 2>/dev/null ||
30123 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30124 X"$file" : 'X\(//\)[^/]' \| \
30125 X"$file" : 'X\(//\)$' \| \
30126 X"$file" : 'X\(/\)' \| \
30127 . : '\(.\)' 2>/dev/null ||
30129 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30130 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30131 /^X\(\/\/\)$/{ s//\1/; q; }
30132 /^X\(\/\).*/{ s//\1/; q; }
30134 { if $as_mkdir_p; then
30135 mkdir
-p $dirpart/$fdir
30137 as_dir
=$dirpart/$fdir
30139 while test ! -d "$as_dir"; do
30140 as_dirs
="$as_dir $as_dirs"
30141 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30142 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30143 X"$as_dir" : 'X\(//\)[^/]' \| \
30144 X"$as_dir" : 'X\(//\)$' \| \
30145 X"$as_dir" : 'X\(/\)' \| \
30146 . : '\(.\)' 2>/dev/null ||
30148 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30149 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30150 /^X\(\/\/\)$/{ s//\1/; q; }
30151 /^X\(\/\).*/{ s//\1/; q; }
30154 test ! -n "$as_dirs" || mkdir
$as_dirs
30155 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
30156 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
30157 { (exit 1); exit 1; }; }; }
30159 # echo "creating $dirpart/$file"
30160 echo '# dummy' > "$dirpart/$file"
30166 # See if we are running on zsh, and set the options which allow our
30167 # commands through without removal of \ escapes.
30168 if test -n "${ZSH_VERSION+set}" ; then
30169 setopt NO_GLOB_SUBST
30172 cfgfile
="${ofile}T"
30173 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
30176 cat <<_LT_EOF >> "$cfgfile"
30179 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
30180 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
30181 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
30182 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
30184 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
30185 # 2006, 2007 Free Software Foundation, Inc.
30187 # This file is part of GNU Libtool:
30188 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
30190 # This program is free software; you can redistribute it and/or modify
30191 # it under the terms of the GNU General Public License as published by
30192 # the Free Software Foundation; either version 2 of the License, or
30193 # (at your option) any later version.
30195 # This program is distributed in the hope that it will be useful, but
30196 # WITHOUT ANY WARRANTY; without even the implied warranty of
30197 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
30198 # General Public License for more details.
30200 # You should have received a copy of the GNU General Public License
30201 # along with this program; if not, a copy can be downloaded from
30202 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
30203 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
30204 # MA 02110-1301, USA.
30206 # As a special exception to the GNU General Public License, if you
30207 # distribute this file as part of a program that contains a
30208 # configuration script generated by Autoconf, you may include it under
30209 # the same distribution terms that you use for the rest of that program.
30212 # The names of the tagged configurations supported by this script.
30213 available_tags="CXX GCJ "
30215 # ### BEGIN LIBTOOL CONFIG
30217 # Which release of libtool.m4 was used?
30218 macro_version=$macro_version
30219 macro_revision=$macro_revision
30221 # Whether or not to build shared libraries.
30222 build_libtool_libs=$enable_shared
30224 # Whether or not to build static libraries.
30225 build_old_libs=$enable_static
30227 # What type of objects to build.
30230 # Whether or not to optimize for fast installation.
30231 fast_install=$enable_fast_install
30234 host_alias=$host_alias
30238 # The build system.
30239 build_alias=$build_alias
30243 # A sed program that does not truncate output.
30246 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
30247 Xsed="\$SED -e 1s/^X//"
30249 # A grep program that handles long lines.
30255 # A literal string matcher.
30258 # A BSD- or MS-compatible name lister.
30261 # Whether we need soft or hard links.
30264 # What is the maximum length of a command?
30265 max_cmd_len=$max_cmd_len
30267 # Object file suffix (normally "o").
30270 # Executable file suffix (normally "").
30273 # whether the shell understands "unset".
30276 # turn spaces into newlines.
30279 # turn newlines into spaces.
30282 # How to create reloadable object files.
30283 reload_flag=$lt_reload_flag
30284 reload_cmds=$lt_reload_cmds
30286 # Method to check whether dependent libraries are shared objects.
30287 deplibs_check_method=$lt_deplibs_check_method
30289 # Command to use when deplibs_check_method == "file_magic".
30290 file_magic_cmd=$lt_file_magic_cmd
30294 AR_FLAGS=$lt_AR_FLAGS
30296 # A symbol stripping program.
30299 # Commands used to install an old-style archive.
30301 old_postinstall_cmds=$lt_old_postinstall_cmds
30302 old_postuninstall_cmds=$lt_old_postuninstall_cmds
30307 # LTCC compiler flags.
30308 LTCFLAGS=$lt_CFLAGS
30310 # Take the output of nm and produce a listing of raw symbols and C names.
30311 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
30313 # Transform the output of nm in a proper C declaration.
30314 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
30316 # Transform the output of nm in a C name address pair.
30317 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
30319 # The name of the directory that contains temporary libtool files.
30322 # Shell to use when invoking shell scripts.
30325 # An echo program that does not interpret backslashes.
30328 # Used to examine libraries when file_magic_cmd begins with "file".
30329 MAGIC_CMD=$MAGIC_CMD
30331 # Must we lock files when doing compilation?
30332 need_locks=$lt_need_locks
30334 # Old archive suffix (normally "a").
30337 # Shared library suffix (normally ".so").
30338 shrext_cmds=$lt_shrext_cmds
30340 # The commands to extract the exported symbol list from a shared archive.
30341 extract_expsyms_cmds=$lt_extract_expsyms_cmds
30343 # Variables whose values should be saved in libtool wrapper scripts and
30344 # restored at link time.
30345 variables_saved_for_relink=$lt_variables_saved_for_relink
30347 # Do we need the "lib" prefix for modules?
30348 need_lib_prefix=$need_lib_prefix
30350 # Do we need a version for libraries?
30351 need_version=$need_version
30353 # Library versioning type.
30354 version_type=$version_type
30356 # Shared library runtime path variable.
30357 runpath_var=$runpath_var
30359 # Shared library path variable.
30360 shlibpath_var=$shlibpath_var
30362 # Is shlibpath searched before the hard-coded library search path?
30363 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
30365 # Format of library name prefix.
30366 libname_spec=$lt_libname_spec
30368 # List of archive names. First name is the real one, the rest are links.
30369 # The last name is the one that the linker finds with -lNAME
30370 library_names_spec=$lt_library_names_spec
30372 # The coded name of the library, if different from the real name.
30373 soname_spec=$lt_soname_spec
30375 # Command to use after installation of a shared archive.
30376 postinstall_cmds=$lt_postinstall_cmds
30378 # Command to use after uninstallation of a shared archive.
30379 postuninstall_cmds=$lt_postuninstall_cmds
30381 # Commands used to finish a libtool library installation in a directory.
30382 finish_cmds=$lt_finish_cmds
30384 # As "finish_cmds", except a single script fragment to be evaled but
30386 finish_eval=$lt_finish_eval
30388 # Whether we should hardcode library paths into libraries.
30389 hardcode_into_libs=$hardcode_into_libs
30391 # Compile-time system search path for libraries.
30392 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
30394 # Run-time system search path for libraries.
30395 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
30397 # Whether dlopen is supported.
30398 dlopen_support=$enable_dlopen
30400 # Whether dlopen of programs is supported.
30401 dlopen_self=$enable_dlopen_self
30403 # Whether dlopen of statically linked programs is supported.
30404 dlopen_self_static=$enable_dlopen_self_static
30406 # Commands to strip libraries.
30407 old_striplib=$lt_old_striplib
30408 striplib=$lt_striplib
30411 # The linker used to build libraries.
30414 # Commands used to build an old-style archive.
30415 old_archive_cmds=$lt_old_archive_cmds
30417 # A language specific compiler.
30420 # Is the compiler the GNU compiler?
30423 # Compiler flag to turn off builtin functions.
30424 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
30426 # How to pass a linker flag through the compiler.
30427 wl=$lt_lt_prog_compiler_wl
30429 # Additional compiler flags for building library objects.
30430 pic_flag=$lt_lt_prog_compiler_pic
30432 # Compiler flag to prevent dynamic linking.
30433 link_static_flag=$lt_lt_prog_compiler_static
30435 # Does compiler simultaneously support -c and -o options?
30436 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
30438 # Whether or not to add -lc for building shared libraries.
30439 build_libtool_need_lc=$archive_cmds_need_lc
30441 # Whether or not to disallow shared libs when runtime libs are static.
30442 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
30444 # Compiler flag to allow reflexive dlopens.
30445 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
30447 # Compiler flag to generate shared objects directly from archives.
30448 whole_archive_flag_spec=$lt_whole_archive_flag_spec
30450 # Whether the compiler copes with passing no objects directly.
30451 compiler_needs_object=$lt_compiler_needs_object
30453 # Create an old-style archive from a shared archive.
30454 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
30456 # Create a temporary old-style archive to link instead of a shared archive.
30457 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
30459 # Commands used to build a shared archive.
30460 archive_cmds=$lt_archive_cmds
30461 archive_expsym_cmds=$lt_archive_expsym_cmds
30463 # Commands used to build a loadable module if different from building
30464 # a shared archive.
30465 module_cmds=$lt_module_cmds
30466 module_expsym_cmds=$lt_module_expsym_cmds
30468 # Whether we are building with GNU ld or not.
30469 with_gnu_ld=$lt_with_gnu_ld
30471 # Flag that allows shared libraries with undefined symbols to be built.
30472 allow_undefined_flag=$lt_allow_undefined_flag
30474 # Flag that enforces no undefined symbols.
30475 no_undefined_flag=$lt_no_undefined_flag
30477 # Flag to hardcode \$libdir into a binary during linking.
30478 # This must work even if \$libdir does not exist
30479 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
30481 # If ld is used when linking, flag to hardcode \$libdir into a binary
30482 # during linking. This must work even if \$libdir does not exist.
30483 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
30485 # Whether we need a single "-rpath" flag with a separated argument.
30486 hardcode_libdir_separator=$lt_hardcode_libdir_separator
30488 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30489 # DIR into the resulting binary.
30490 hardcode_direct=$hardcode_direct
30492 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30493 # DIR into the resulting binary and the resulting library dependency is
30494 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
30495 # library is relocated.
30496 hardcode_direct_absolute=$hardcode_direct_absolute
30498 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30499 # into the resulting binary.
30500 hardcode_minus_L=$hardcode_minus_L
30502 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
30503 # into the resulting binary.
30504 hardcode_shlibpath_var=$hardcode_shlibpath_var
30506 # Set to "yes" if building a shared library automatically hardcodes DIR
30507 # into the library and all subsequent libraries and executables linked
30509 hardcode_automatic=$hardcode_automatic
30511 # Set to yes if linker adds runtime paths of dependent libraries
30512 # to runtime path list.
30513 inherit_rpath=$inherit_rpath
30515 # Whether libtool must link a program against all its dependency libraries.
30516 link_all_deplibs=$link_all_deplibs
30518 # Fix the shell variable \$srcfile for the compiler.
30519 fix_srcfile_path=$lt_fix_srcfile_path
30521 # Set to "yes" if exported symbols are required.
30522 always_export_symbols=$always_export_symbols
30524 # The commands to list exported symbols.
30525 export_symbols_cmds=$lt_export_symbols_cmds
30527 # Symbols that should not be listed in the preloaded symbols.
30528 exclude_expsyms=$lt_exclude_expsyms
30530 # Symbols that must always be exported.
30531 include_expsyms=$lt_include_expsyms
30533 # Commands necessary for linking programs (against libraries) with templates.
30534 prelink_cmds=$lt_prelink_cmds
30536 # Specify filename containing input files.
30537 file_list_spec=$lt_file_list_spec
30539 # How to hardcode a shared library path into an executable.
30540 hardcode_action=$hardcode_action
30542 # Dependencies to place before and after the objects being linked to
30543 # create a shared library.
30544 predep_objects=$lt_predep_objects
30545 postdep_objects=$lt_postdep_objects
30546 predeps=$lt_predeps
30547 postdeps=$lt_postdeps
30549 # The library search path used internally by the compiler when linking
30550 # a shared library.
30551 compiler_lib_search_path=$lt_compiler_lib_search_path
30553 # ### END LIBTOOL CONFIG
30559 cat <<\_LT_EOF
>> "$cfgfile"
30560 # AIX sometimes has problems with the GCC collect2 program. For some
30561 # reason, if we set the COLLECT_NAMES environment variable, the problems
30562 # vanish in a puff of smoke.
30563 if test "X${COLLECT_NAMES+set}" != Xset
; then
30565 export COLLECT_NAMES
30572 ltmain
="$ac_aux_dir/ltmain.sh"
30575 # We use sed instead of cat because bash on DJGPP gets confused if
30576 # if finds mixed CR/LF and LF-only lines. Since sed operates in
30577 # text mode, it properly converts lines to CR/LF. This bash problem
30578 # is reportedly fixed, but why not run on old versions too?
30579 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
30580 ||
(rm -f "$cfgfile"; exit 1)
30584 cat << \_LT_EOF
>> "$cfgfile"
30585 # func_dirname file append nondir_replacement
30586 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
30587 # otherwise set result to NONDIR_REPLACEMENT.
30591 */*) func_dirname_result
="${1%/*}${2}" ;;
30592 * ) func_dirname_result
="${3}" ;;
30596 # func_basename file
30599 func_basename_result
="${1##*/}"
30602 # func_stripname prefix suffix name
30603 # strip PREFIX and SUFFIX off of NAME.
30604 # PREFIX and SUFFIX must not contain globbing or regex special
30605 # characters, hashes, percent signs, but SUFFIX may contain a leading
30606 # dot (in which case that matches only a dot).
30609 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
30610 # positional parameters, so assign one to ordinary parameter first.
30611 func_stripname_result
=${3}
30612 func_stripname_result
=${func_stripname_result#"${1}"}
30613 func_stripname_result
=${func_stripname_result%"${2}"}
30619 func_opt_split_opt
=${1%%=*}
30620 func_opt_split_arg
=${1#*=}
30627 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
30628 *) func_lo2o_result
=${1} ;;
30633 *) # Bourne compatible functions.
30634 cat << \_LT_EOF
>> "$cfgfile"
30635 # func_dirname file append nondir_replacement
30636 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
30637 # otherwise set result to NONDIR_REPLACEMENT.
30640 # Extract subdirectory from the argument.
30641 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
30642 if test "X$func_dirname_result" = "X${1}"; then
30643 func_dirname_result
="${3}"
30645 func_dirname_result
="$func_dirname_result${2}"
30649 # func_basename file
30652 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
30655 # func_stripname prefix suffix name
30656 # strip PREFIX and SUFFIX off of NAME.
30657 # PREFIX and SUFFIX must not contain globbing or regex special
30658 # characters, hashes, percent signs, but SUFFIX may contain a leading
30659 # dot (in which case that matches only a dot).
30660 # func_strip_suffix prefix name
30664 .
*) func_stripname_result
=`$ECHO "X${3}" \
30665 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
30666 *) func_stripname_result
=`$ECHO "X${3}" \
30667 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
30672 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
30673 my_sed_long_arg
='1s/^-[^=]*=//'
30678 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
30679 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
30685 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
30690 case $lt_shell_append in
30692 cat << \_LT_EOF
>> "$cfgfile"
30694 # func_append var value
30695 # Append VALUE to the end of shell variable VAR.
30703 cat << \_LT_EOF
>> "$cfgfile"
30705 # func_append var value
30706 # Append VALUE to the end of shell variable VAR.
30716 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
30717 ||
(rm -f "$cfgfile"; exit 1)
30719 mv -f "$cfgfile" "$ofile" ||
30720 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
30724 cat <<_LT_EOF >> "$ofile"
30726 # ### BEGIN LIBTOOL TAG CONFIG: CXX
30728 # The linker used to build libraries.
30731 # Commands used to build an old-style archive.
30732 old_archive_cmds=$lt_old_archive_cmds_CXX
30734 # A language specific compiler.
30735 CC=$lt_compiler_CXX
30737 # Is the compiler the GNU compiler?
30740 # Compiler flag to turn off builtin functions.
30741 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
30743 # How to pass a linker flag through the compiler.
30744 wl=$lt_lt_prog_compiler_wl_CXX
30746 # Additional compiler flags for building library objects.
30747 pic_flag=$lt_lt_prog_compiler_pic_CXX
30749 # Compiler flag to prevent dynamic linking.
30750 link_static_flag=$lt_lt_prog_compiler_static_CXX
30752 # Does compiler simultaneously support -c and -o options?
30753 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
30755 # Whether or not to add -lc for building shared libraries.
30756 build_libtool_need_lc=$archive_cmds_need_lc_CXX
30758 # Whether or not to disallow shared libs when runtime libs are static.
30759 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
30761 # Compiler flag to allow reflexive dlopens.
30762 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
30764 # Compiler flag to generate shared objects directly from archives.
30765 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
30767 # Whether the compiler copes with passing no objects directly.
30768 compiler_needs_object=$lt_compiler_needs_object_CXX
30770 # Create an old-style archive from a shared archive.
30771 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
30773 # Create a temporary old-style archive to link instead of a shared archive.
30774 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
30776 # Commands used to build a shared archive.
30777 archive_cmds=$lt_archive_cmds_CXX
30778 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
30780 # Commands used to build a loadable module if different from building
30781 # a shared archive.
30782 module_cmds=$lt_module_cmds_CXX
30783 module_expsym_cmds=$lt_module_expsym_cmds_CXX
30785 # Whether we are building with GNU ld or not.
30786 with_gnu_ld=$lt_with_gnu_ld_CXX
30788 # Flag that allows shared libraries with undefined symbols to be built.
30789 allow_undefined_flag=$lt_allow_undefined_flag_CXX
30791 # Flag that enforces no undefined symbols.
30792 no_undefined_flag=$lt_no_undefined_flag_CXX
30794 # Flag to hardcode \$libdir into a binary during linking.
30795 # This must work even if \$libdir does not exist
30796 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
30798 # If ld is used when linking, flag to hardcode \$libdir into a binary
30799 # during linking. This must work even if \$libdir does not exist.
30800 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
30802 # Whether we need a single "-rpath" flag with a separated argument.
30803 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
30805 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30806 # DIR into the resulting binary.
30807 hardcode_direct=$hardcode_direct_CXX
30809 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30810 # DIR into the resulting binary and the resulting library dependency is
30811 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
30812 # library is relocated.
30813 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
30815 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30816 # into the resulting binary.
30817 hardcode_minus_L=$hardcode_minus_L_CXX
30819 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
30820 # into the resulting binary.
30821 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
30823 # Set to "yes" if building a shared library automatically hardcodes DIR
30824 # into the library and all subsequent libraries and executables linked
30826 hardcode_automatic=$hardcode_automatic_CXX
30828 # Set to yes if linker adds runtime paths of dependent libraries
30829 # to runtime path list.
30830 inherit_rpath=$inherit_rpath_CXX
30832 # Whether libtool must link a program against all its dependency libraries.
30833 link_all_deplibs=$link_all_deplibs_CXX
30835 # Fix the shell variable \$srcfile for the compiler.
30836 fix_srcfile_path=$lt_fix_srcfile_path_CXX
30838 # Set to "yes" if exported symbols are required.
30839 always_export_symbols=$always_export_symbols_CXX
30841 # The commands to list exported symbols.
30842 export_symbols_cmds=$lt_export_symbols_cmds_CXX
30844 # Symbols that should not be listed in the preloaded symbols.
30845 exclude_expsyms=$lt_exclude_expsyms_CXX
30847 # Symbols that must always be exported.
30848 include_expsyms=$lt_include_expsyms_CXX
30850 # Commands necessary for linking programs (against libraries) with templates.
30851 prelink_cmds=$lt_prelink_cmds_CXX
30853 # Specify filename containing input files.
30854 file_list_spec=$lt_file_list_spec_CXX
30856 # How to hardcode a shared library path into an executable.
30857 hardcode_action=$hardcode_action_CXX
30859 # Dependencies to place before and after the objects being linked to
30860 # create a shared library.
30861 predep_objects=$lt_predep_objects_CXX
30862 postdep_objects=$lt_postdep_objects_CXX
30863 predeps=$lt_predeps_CXX
30864 postdeps=$lt_postdeps_CXX
30866 # The library search path used internally by the compiler when linking
30867 # a shared library.
30868 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
30870 # ### END LIBTOOL TAG CONFIG: CXX
30874 cat <<_LT_EOF >> "$ofile"
30876 # ### BEGIN LIBTOOL TAG CONFIG: GCJ
30878 # The linker used to build libraries.
30881 # Commands used to build an old-style archive.
30882 old_archive_cmds=$lt_old_archive_cmds_GCJ
30884 # A language specific compiler.
30885 CC=$lt_compiler_GCJ
30887 # Is the compiler the GNU compiler?
30890 # Compiler flag to turn off builtin functions.
30891 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
30893 # How to pass a linker flag through the compiler.
30894 wl=$lt_lt_prog_compiler_wl_GCJ
30896 # Additional compiler flags for building library objects.
30897 pic_flag=$lt_lt_prog_compiler_pic_GCJ
30899 # Compiler flag to prevent dynamic linking.
30900 link_static_flag=$lt_lt_prog_compiler_static_GCJ
30902 # Does compiler simultaneously support -c and -o options?
30903 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
30905 # Whether or not to add -lc for building shared libraries.
30906 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
30908 # Whether or not to disallow shared libs when runtime libs are static.
30909 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
30911 # Compiler flag to allow reflexive dlopens.
30912 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
30914 # Compiler flag to generate shared objects directly from archives.
30915 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
30917 # Whether the compiler copes with passing no objects directly.
30918 compiler_needs_object=$lt_compiler_needs_object_GCJ
30920 # Create an old-style archive from a shared archive.
30921 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
30923 # Create a temporary old-style archive to link instead of a shared archive.
30924 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
30926 # Commands used to build a shared archive.
30927 archive_cmds=$lt_archive_cmds_GCJ
30928 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
30930 # Commands used to build a loadable module if different from building
30931 # a shared archive.
30932 module_cmds=$lt_module_cmds_GCJ
30933 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
30935 # Whether we are building with GNU ld or not.
30936 with_gnu_ld=$lt_with_gnu_ld_GCJ
30938 # Flag that allows shared libraries with undefined symbols to be built.
30939 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
30941 # Flag that enforces no undefined symbols.
30942 no_undefined_flag=$lt_no_undefined_flag_GCJ
30944 # Flag to hardcode \$libdir into a binary during linking.
30945 # This must work even if \$libdir does not exist
30946 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
30948 # If ld is used when linking, flag to hardcode \$libdir into a binary
30949 # during linking. This must work even if \$libdir does not exist.
30950 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
30952 # Whether we need a single "-rpath" flag with a separated argument.
30953 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
30955 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30956 # DIR into the resulting binary.
30957 hardcode_direct=$hardcode_direct_GCJ
30959 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30960 # DIR into the resulting binary and the resulting library dependency is
30961 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
30962 # library is relocated.
30963 hardcode_direct_absolute=$hardcode_direct_absolute_GCJ
30965 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30966 # into the resulting binary.
30967 hardcode_minus_L=$hardcode_minus_L_GCJ
30969 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
30970 # into the resulting binary.
30971 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
30973 # Set to "yes" if building a shared library automatically hardcodes DIR
30974 # into the library and all subsequent libraries and executables linked
30976 hardcode_automatic=$hardcode_automatic_GCJ
30978 # Set to yes if linker adds runtime paths of dependent libraries
30979 # to runtime path list.
30980 inherit_rpath=$inherit_rpath_GCJ
30982 # Whether libtool must link a program against all its dependency libraries.
30983 link_all_deplibs=$link_all_deplibs_GCJ
30985 # Fix the shell variable \$srcfile for the compiler.
30986 fix_srcfile_path=$lt_fix_srcfile_path_GCJ
30988 # Set to "yes" if exported symbols are required.
30989 always_export_symbols=$always_export_symbols_GCJ
30991 # The commands to list exported symbols.
30992 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
30994 # Symbols that should not be listed in the preloaded symbols.
30995 exclude_expsyms=$lt_exclude_expsyms_GCJ
30997 # Symbols that must always be exported.
30998 include_expsyms=$lt_include_expsyms_GCJ
31000 # Commands necessary for linking programs (against libraries) with templates.
31001 prelink_cmds=$lt_prelink_cmds_GCJ
31003 # Specify filename containing input files.
31004 file_list_spec=$lt_file_list_spec_GCJ
31006 # How to hardcode a shared library path into an executable.
31007 hardcode_action=$hardcode_action_GCJ
31009 # Dependencies to place before and after the objects being linked to
31010 # create a shared library.
31011 predep_objects=$lt_predep_objects_GCJ
31012 postdep_objects=$lt_postdep_objects_GCJ
31013 predeps=$lt_predeps_GCJ
31014 postdeps=$lt_postdeps_GCJ
31016 # The library search path used internally by the compiler when linking
31017 # a shared library.
31018 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
31020 # ### END LIBTOOL TAG CONFIG: GCJ
31028 cat >>$CONFIG_STATUS <<\_ACEOF
31030 { (exit 0); exit 0; }
31032 chmod +x
$CONFIG_STATUS
31033 ac_clean_files
=$ac_clean_files_save
31036 # configure is writing to config.log, and then calls config.status.
31037 # config.status does its own redirection, appending to config.log.
31038 # Unfortunately, on DOS this fails, as config.log is still kept open
31039 # by configure, so config.status won't be able to write to it; its
31040 # output is simply discarded. So we exec the FD to /dev/null,
31041 # effectively closing config.log, so it can be properly (re)opened and
31042 # appended to by config.status. When coming back to configure, we
31043 # need to make the FD available again.
31044 if test "$no_create" != yes; then
31046 ac_config_status_args
=
31047 test "$silent" = yes &&
31048 ac_config_status_args
="$ac_config_status_args --quiet"
31050 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
31052 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
31053 # would make configure fail if this is the last instruction.
31054 $ac_cs_success ||
{ (exit 1); exit 1; }
31058 # CONFIG_SUBDIRS section, as fixed in confsubdir.m4.
31060 if test "$no_recursion" != yes; then
31062 # Remove --cache-file and --srcdir arguments so they do not pile up.
31063 ac_sub_configure_args
=
31065 eval "set x $ac_configure_args"
31069 if test -n "$ac_prev"; then
31074 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
31075 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
31076 ac_prev
=cache_file
;;
31077 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
31078 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
31081 --config-cache |
-C)
31083 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
31085 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
31087 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
31089 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
31093 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
31095 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
31099 # Always prepend --prefix to ensure using the same prefix
31100 # in subdir configurations.
31101 ac_arg
="--prefix=$prefix"
31103 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
31105 ac_sub_configure_args
="$ac_arg $ac_sub_configure_args"
31108 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
31110 # Do not complain, so a configure script can configure whichever
31111 # parts of a large source tree are present.
31112 test -d "$srcdir/$ac_dir" ||
continue
31114 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
31115 echo "$as_me: configuring in $ac_dir" >&6;}
31116 { if $as_mkdir_p; then
31121 while test ! -d "$as_dir"; do
31122 as_dirs
="$as_dir $as_dirs"
31123 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31124 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31125 X"$as_dir" : 'X\(//\)[^/]' \| \
31126 X"$as_dir" : 'X\(//\)$' \| \
31127 X"$as_dir" : 'X\(/\)' \| \
31128 . : '\(.\)' 2>/dev/null ||
31130 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31131 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31132 /^X\(\/\/\)$/{ s//\1/; q; }
31133 /^X\(\/\).*/{ s//\1/; q; }
31136 test ! -n "$as_dirs" || mkdir
$as_dirs
31137 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31138 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31139 { (exit 1); exit 1; }; }; }
31143 if test "$ac_dir" != .
; then
31144 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31145 # A "../" for each directory in $ac_dir_suffix.
31146 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31148 ac_dir_suffix
= ac_top_builddir
=
31152 .
) # No --srcdir option. We are building in place.
31154 if test -z "$ac_top_builddir"; then
31157 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
31159 [\\/]* | ?
:[\\/]* ) # Absolute path.
31160 ac_srcdir
=$srcdir$ac_dir_suffix;
31161 ac_top_srcdir
=$srcdir ;;
31162 *) # Relative path.
31163 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
31164 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
31167 # Do not use `cd foo && pwd` to compute absolute paths, because
31168 # the directories may not exist.
31170 .
) ac_abs_builddir
="$ac_dir";;
31173 .
) ac_abs_builddir
=`pwd`;;
31174 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
31175 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
31178 case $ac_abs_builddir in
31179 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31181 case ${ac_top_builddir}.
in
31182 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
31183 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31184 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
31187 case $ac_abs_builddir in
31188 .
) ac_abs_srcdir
=$ac_srcdir;;
31191 .
) ac_abs_srcdir
=$ac_abs_builddir;;
31192 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
31193 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
31196 case $ac_abs_builddir in
31197 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
31199 case $ac_top_srcdir in
31200 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
31201 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
31202 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
31209 # Check for guested configure; otherwise get Cygnus style configure.
31210 if test -f "$ac_srcdir/configure.gnu"; then
31211 ac_sub_configure
=$ac_srcdir/configure.gnu
31212 elif test -f "$ac_srcdir/configure"; then
31213 ac_sub_configure
=$ac_srcdir/configure
31214 elif test -f "$ac_srcdir/configure.in"; then
31215 # This should be Cygnus configure.
31216 ac_sub_configure
=$ac_aux_dir/configure
31218 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
31219 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
31223 # The recursion is here.
31224 if test -n "$ac_sub_configure"; then
31225 # Make the cache file name correct relative to the subdirectory.
31226 case $cache_file in
31227 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
31228 *) # Relative path.
31229 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
31232 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
31233 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
31234 # The eval makes quoting arguments work.
31235 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
31236 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
31237 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
31238 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
31239 { (exit 1); exit 1; }; }